/*
 * Auroventa marketing portal — styles.
 * Mirrors docs/Auroventa_Design_System.md. Brand palette dresses the frame; gold is
 * accent/CTA only (~10%). The 60/30/10 recipe: light neutrals dominate, navy structures,
 * gold points the eye at the single primary action per section.
 */
:root {
  /* Brand (fixed) */
  --color-navy: #001f5b;
  --color-gold: #efa00b;
  --color-slate: #4a4a4a;
  --color-light: #f5f5f5;
  --color-white: #ffffff;

  /* Vertical signature — edition IDENTITY, never a CTA (gold stays the action colour) */
  --color-vertical-gardens: #237b54;

  /* Buttons */
  --btn-primary-bg: #001f5b; --btn-primary-fg: #ffffff;
  --btn-cta-bg: #efa00b; --btn-cta-fg: #001f5b; /* navy on gold */

  /* Type — Inter for body; Poppins display option for portal hero headings (§6) */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Poppins', var(--font-sans);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 1px 3px rgba(0, 31, 91, 0.08), 0 8px 24px rgba(0, 31, 91, 0.06);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-navy);
  background: var(--color-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

a { color: var(--color-navy); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

.muted { color: var(--color-slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-cta { background: var(--btn-cta-bg); color: var(--btn-cta-fg); box-shadow: 0 4px 14px rgba(239, 160, 11, 0.35); }
.btn-cta:hover { box-shadow: 0 6px 20px rgba(239, 160, 11, 0.45); }
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.btn-ghost { background: transparent; color: var(--color-navy); border-color: rgba(0, 31, 91, 0.25); }
.btn-ghost-light { background: transparent; color: var(--color-white); border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: var(--color-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav img.logo { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--color-white); text-decoration: none; }
.nav-links .btn { padding: 0.55rem 1.1rem; }

/* Language switcher (FR / EN) */
.lang-switch { display: inline-flex; align-items: center; gap: 0.1rem; font-size: 0.85rem; }
.lang-switch a { color: rgba(255, 255, 255, 0.55); font-weight: 600; padding: 0 0.35rem; }
.lang-switch a:hover { color: var(--color-white); text-decoration: none; }
.lang-switch a.is-active { color: var(--color-gold); }
.lang-switch .sep { color: rgba(255, 255, 255, 0.3); }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Hero (navy band) ---------- */
.hero { background: linear-gradient(160deg, #001f5b 0%, #002a7a 100%); color: var(--color-white); padding: 5rem 0 5.5rem; }
.hero .container { max-width: 880px; text-align: center; }
.hero h1 { color: var(--color-white); }
.hero .tagline { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem; font-weight: 600; color: var(--color-gold); margin-bottom: 1.25rem; }
.hero p.lede { font-size: 1.2rem; color: rgba(255, 255, 255, 0.85); max-width: 640px; margin: 0 auto 2rem; }
.hero .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--color-slate); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--color-gold); margin-bottom: 0.6rem; }
.bg-white { background: var(--color-white); }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--color-white);
  border: 1px solid rgba(0, 31, 91, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.bg-white .card { background: var(--color-light); box-shadow: none; }
.card .icon { width: 44px; height: 44px; border-radius: var(--radius-md); display: grid; place-items: center; margin-bottom: 1rem; background: rgba(0, 31, 91, 0.06); font-size: 1.4rem; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--color-slate); margin: 0; font-size: 0.97rem; }

/* ---------- Stats / proof ---------- */
.stats { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }
.stat .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--color-gold); display: block; }
.stat .label { color: var(--color-slate); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--color-navy); color: var(--color-white); text-align: center; border-radius: var(--radius-lg); padding: 3rem 1.5rem; }
.cta-band h2 { color: var(--color-white); }
.cta-band p { color: rgba(255, 255, 255, 0.8); max-width: 520px; margin: 0 auto 1.75rem; }

/* ---------- Editions ---------- */
.edition { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; justify-content: space-between; border: 1px solid rgba(0,31,91,0.08); border-radius: var(--radius-lg); padding: 1.75rem; background: var(--color-white); box-shadow: var(--shadow-card); }
.edition .tag { font-weight: 600; font-size: 0.8rem; padding: 0.25rem 0.7rem; border-radius: 999px; }
.tag-live { background: rgba(35, 123, 84, 0.12); color: var(--color-vertical-gardens); }
.tag-soon { background: rgba(74, 74, 74, 0.1); color: var(--color-slate); }

/* ---------- FAQ ---------- */
.faq details { background: var(--color-white); border: 1px solid rgba(0,31,91,0.08); border-radius: var(--radius-md); padding: 1rem 1.25rem; margin-bottom: 0.75rem; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--color-gold); font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0.75rem 0 0; color: var(--color-slate); }

/* ---------- Footer ---------- */
.footer { background: var(--color-navy); color: rgba(255,255,255,0.7); padding: 3rem 0 2rem; }
.footer .container { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.footer img.logo { height: 40px; margin-bottom: 1rem; }
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: var(--color-white); }
.footer .cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer h4 { color: var(--color-white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.75rem; }
.footer ul { list-style: none; padding: 0; margin: 0; font-size: 0.92rem; }
.footer li { margin-bottom: 0.5rem; }
.footer .legal { width: 100%; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 1rem; padding-top: 1.5rem; font-size: 0.85rem; }

/* ---------- Gardens edition accent ---------- */
.gardens .eyebrow, .gardens .hero .tagline { color: var(--color-gold); }
.gardens .edition-mark { color: var(--color-vertical-gardens); font-weight: 700; }
.green-rule { height: 4px; width: 56px; background: var(--color-vertical-gardens); border-radius: 999px; margin: 0 auto 1.25rem; }
