/* ============================================================
   Prima Luce Partners — Stylesheet
   Palette : #0b1628 (bleu nuit) | #c9a84c (or) | #f5f0e8 (crème)
   ============================================================ */

:root {
  --night: #0b1628;
  --night-mid: #111f35;
  --night-soft: #1a2d47;
  --gold: #c9a84c;
  --gold-light: #e0c47a;
  --cream: #f5f0e8;
  --cream-mid: #ede6d6;
  --white: #ffffff;
  --text: #2c3e50;
  --text-light: #6b7a8d;
  --font-serif: 'Cormorant Garant', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 32px rgba(11,22,40,0.10);
  --shadow-lg: 0 12px 48px rgba(11,22,40,0.18);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition);
}
#nav.scrolled {
  background: rgba(11,22,40,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--cream); font-size: 0.82rem; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.75; transition: opacity var(--transition), color var(--transition);
}
.nav-links a:hover { opacity: 1; color: var(--gold); }
.lang-switch {
  border: 1px solid rgba(201,168,76,0.4) !important;
  padding: 0.2rem 0.7rem; border-radius: 3px;
  opacity: 1 !important; color: var(--gold) !important;
  font-size: 0.75rem !important;
  margin-left: 1rem;
}
.lang-switch:hover { background: rgba(201,168,76,0.1); }
/* Lang switch toujours visible */
a.lang-switch { display: inline-flex !important; }
.nav-toggle { display: none; background: none; border: none; color: var(--cream); font-size: 1.5rem; cursor: pointer; }

/* ── HERO ── */
#hero {
  position: relative; min-height: 100vh;
  background: linear-gradient(135deg, var(--night) 0%, var(--night-mid) 60%, #0d1e3a 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.05) 0%, transparent 50%);
}
.hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 5rem 2rem 6rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.hero-logo { width: min(290px, 40vw); height: min(290px, 40vw); object-fit: contain; margin-bottom: 0.5rem; mix-blend-mode: lighten; }
#hero h1 {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--cream); letter-spacing: 0.04em; line-height: 1.1;
}
.hero-tagline {
  font-family: var(--font-serif); font-style: italic; font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gold-light); line-height: 1.6; max-width: 600px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 0.5rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center;
  padding: 0.85rem 2.2rem; border-radius: 3px;
  font-family: var(--font-sans); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: all var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: var(--gold); color: var(--night); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.3); }
.btn-outline { background: transparent; color: var(--cream); border: 1px solid rgba(201,168,76,0.5); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ── SECTIONS ── */
section { padding: 7rem 0; }
.section-label {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
section h2 {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--night); line-height: 1.2; margin-bottom: 3.5rem;
}

/* ── ABOUT ── */
#about { background: var(--white); }
.about-intro {
  max-width: 720px; margin-bottom: 3.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.about-intro p {
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 300;
  color: var(--text); line-height: 1.9;
}
.about-intro em { font-style: italic; color: var(--night); font-weight: 400; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.about-block {
  padding: 2.5rem 2rem; border: 1px solid var(--cream-mid); border-radius: var(--radius);
  transition: box-shadow var(--transition), transform var(--transition);
}
.about-block:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.about-icon { font-size: 1.6rem; color: var(--gold); margin-bottom: 1.2rem; }
.about-block h3 {
  font-family: var(--font-serif); font-weight: 400; font-size: 1.35rem;
  color: var(--night); margin-bottom: 0.8rem;
}
.about-block p { font-size: 0.93rem; color: var(--text-light); line-height: 1.8; }

/* ── APPS ── */
#apps { background: var(--cream); }
#apps h2 { color: var(--night); }
.apps-intro {
  font-size: 0.97rem; color: var(--text-light); line-height: 1.8;
  max-width: 600px; margin-bottom: 3rem; margin-top: -2rem;
}
.apps-summary {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.app-divider { height: 1px; background: var(--cream-mid); margin: 0 2rem; }
.app-summary-card {
  display: flex; gap: 2rem; padding: 2.5rem 2.5rem; align-items: flex-start;
  transition: background var(--transition);
}
.app-summary-card:hover { background: #fdfcf9; }
.app-summary-left { flex-shrink: 0; }
.app-summary-icon {
  width: 72px; height: 72px; border-radius: 18px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.app-summary-icon img { width: 72px; height: 72px; object-fit: cover; }
.app-icon-emoji { font-size: 2.2rem; }
.piclibris-bg { background: linear-gradient(135deg, #2c1810, #5c3220); }
.skanmyfood-bg { background: linear-gradient(135deg, #0b2818, #1a4a2e); }
.app-summary-body { flex: 1; }
.app-summary-header {
  display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.3rem;
}
.app-summary-header h3 {
  font-family: var(--font-serif); font-weight: 400; font-size: 1.7rem; color: var(--night);
}
.app-platform {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,168,76,0.4);
  padding: 0.2rem 0.7rem; border-radius: 20px;
}
.app-summary-tagline {
  font-family: var(--font-serif); font-style: italic;
  color: var(--gold); font-size: 0.97rem; margin-bottom: 0.7rem;
}
.app-summary-desc {
  font-size: 0.92rem; color: var(--text-light); line-height: 1.75; margin-bottom: 1.3rem;
}
.app-stores { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1.1rem; border-radius: 6px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.03em;
  transition: all var(--transition);
}
.store-badge svg { width: 16px; height: 16px; flex-shrink: 0; }
.store-apple { background: var(--night); color: var(--white); }
.store-apple:hover { background: var(--night-soft); transform: translateY(-2px); }
.store-google { background: var(--gold); color: var(--night); }
.store-google:hover { background: var(--gold-light); transform: translateY(-2px); }
.store-soon {
  background: transparent; color: var(--text-light);
  border: 1px solid var(--cream-mid); cursor: default;
  opacity: 0.7;
}

/* ── CONTACT ── */
#contact { background: var(--night); }
#contact .section-label { color: var(--gold); }
#contact h2 { color: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold);
}
.contact-item a, .contact-item span { color: var(--cream); font-size: 0.95rem; line-height: 1.6; }
.contact-item a:hover { color: var(--gold-light); }
.contact-cta p { color: rgba(245,240,232,0.6); font-size: 0.95rem; line-height: 1.8; margin-bottom: 2rem; }

/* ── FOOTER ── */
footer {
  background: #070f1c; padding: 2.5rem 0;
  border-top: 1px solid rgba(201,168,76,0.12);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo { height: 34px; width: auto; opacity: 0.65; }
.footer-copy { font-size: 0.78rem; color: rgba(245,240,232,0.35); }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { font-size: 0.78rem; color: rgba(245,240,232,0.35); transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(11,22,40,0.98); backdrop-filter: blur(12px);
    padding: 1.5rem 2rem; gap: 1.2rem;
    border-top: 1px solid rgba(201,168,76,0.2);
  }
  .nav-toggle { display: block; }
  .app-summary-card { flex-direction: column; gap: 1.2rem; padding: 2rem 1.5rem; }
  .hero-br { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}
