/* ══════════════════════════════════════════════════════════════════════
   ÉCOLE NID DOUILLET — style.css
   Static PHP/HTML site (Hostinger, no WordPress/Elementor).
   ------------------------------------------------------------------------
   ONE stylesheet for the whole site. Linked from every page via
   <link rel="stylesheet" href="/style.css">.

   RULE: this file is the single source of truth for how components
   LOOK and BEHAVE everywhere. If a page needs something page-specific
   (different column count, different spacing), add a small <style>
   block at the bottom of that page's <head> overriding a CSS variable
   — never redeclare a whole class. If a genuinely new component shows
   up on a page, build it there first, then move its base rules here
   once it's reused on a second page.
   ══════════════════════════════════════════════════════════════════════ */


/* ────────────────────────────────────────────────────────────────────
   1. DESIGN TOKENS
   ──────────────────────────────────────────────────────────────────── */
:root {

  /* GREEN */
  --color-green: #149A6C;
  --color-green-text: #0E6E4E;
  --color-green-light: #ECF9F3;
  --color-green-rgb: 20, 154, 108;

  /* BLUE */
  --color-blue: #1E97C9;
  --color-blue-text: #106586;
  --color-blue-light: #EDF7FD;
  --color-blue-rgb: 30, 151, 201;

  /* ROSE */
  --color-rose: #E84A6A;
  --color-rose-text: #C2185B;
  --color-rose-light: #FFF2F5;
  --color-rose-rgb: 232, 74, 106;

  /* NAVY (CTA / focus / links) */
  --color-navy: #304E78;
  --color-navy-rgb: 48, 78, 120;
  --color-cta-hover: #223856;

  /* NEUTRALS */
  --color-primary: #14140F;
  --color-primary-rgb: 20, 20, 15;
  --color-muted: #4A4A4A;
  --color-muted-light: rgba(74, 74, 74, 0.6);
  --color-white: #FFFFFF;
  --color-white-rgb: 255, 255, 255;
  --color-off-white: #FDFBF7;
  --color-section-alt: #F5F7F6;
  --color-border: rgba(20, 20, 15, 0.08);

  /* BRANDS */
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1FB855;
  --color-whatsapp-rgb: 37, 211, 102;
  --color-star: #F5B731;

  /* FOOTER */
  --color-footer-bg: #122C20;
  --color-footer-text: rgba(255, 255, 255, 0.65);
  --color-footer-heading: #FFFFFF;

  /* SPACING SCALE (rem, 4px base) */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.25rem;  --sp-6: 1.5rem;   --sp-8: 2rem;      --sp-10: 2.5rem;
  --sp-12: 3rem;    --sp-16: 4rem;    --sp-20: 5rem;     --sp-24: 6rem;

  /* RADII */
  --radius-sm: 0.5rem; --radius-md: 0.75rem; --radius-lg: 1rem;
  --radius-xl: 1.5rem; --radius-full: 999px;

  /* SHADOWS (solid, no gradients) */
  --shadow-card: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 4px 14px rgba(0,0,0,0.08), 0 12px 32px rgba(0,0,0,0.06);
  --shadow-sticky: 0 -4px 20px rgba(0,0,0,0.08);
  --shadow-float: 0 6px 20px rgba(var(--color-whatsapp-rgb), 0.4);

  /* Z-INDEX */
  --z-header: 100; --z-sticky: 90; --z-dropdown: 110; --z-modal: 200;

  /* LAYOUT */
  --container-max: 87.5rem;   /* 1400px */
  --pad-mobile: var(--sp-4);
  --pad-tablet: var(--sp-8);
  --pad-desktop: var(--sp-6);

  /* TYPOGRAPHY — system stack, zero web fonts */
  --font-system: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* TRANSITIONS */
  --ease-standard: 0.2s ease;
  --ease-panel: 0.3s ease;
}


/* ────────────────────────────────────────────────────────────────────
   2. RESET
   ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-system);
  color: var(--color-primary);
  background-color: var(--color-off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }

/* Defensive global safety-net: any inline SVG icon that isn't given an
   explicit size by a more specific component rule below defaults to a
   sane small icon size instead of rendering at an uncontrolled/huge
   size. More specific rules (.btn svg, .nd-card__icon svg, etc.) have
   higher CSS specificity and continue to override this as intended. */
svg { width: 1.2rem; height: 1.2rem; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }


/* ────────────────────────────────────────────────────────────────────
   3. TYPOGRAPHY BASE
   ──────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--color-primary); }
h1 { font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.1rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { color: var(--color-muted); }
.nd-measure { max-width: 65ch; }


/* ────────────────────────────────────────────────────────────────────
   4. ACCESSIBILITY BASE
   ──────────────────────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--color-navy); outline-offset: 2px; border-radius: var(--radius-sm); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ────────────────────────────────────────────────────────────────────
   5. LAYOUT / CONTAINER / UTILITIES
   ──────────────────────────────────────────────────────────────────── */
.container-max {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--pad-mobile);
}
@media (min-width: 48rem) { .container-max { padding-inline: var(--pad-tablet); } }
@media (min-width: 75rem) { .container-max { padding-inline: var(--pad-desktop); } }

.section { padding-block: var(--sp-16); }
.section--alt { background-color: var(--color-section-alt); }

.hide-mobile { display: none; }
.hide-desktop { display: block; }
@media (min-width: 48rem) {
  .hide-mobile { display: block; }
  .hide-desktop { display: none; }
}


/* ────────────────────────────────────────────────────────────────────
   6. SECTION HEADER PATTERN (centered, below-the-fold everywhere)
   ──────────────────────────────────────────────────────────────────── */
.nd-section__header {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: var(--sp-3); margin-bottom: var(--sp-10);
}
.nd-section__subtitle { max-width: 65ch; margin-inline: auto; color: var(--color-muted); }


/* ────────────────────────────────────────────────────────────────────
   7. BADGE / EYEBROW
   ──────────────────────────────────────────────────────────────────── */
.nd-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4); border-radius: var(--radius-full);
  background-color: var(--color-green-light); color: var(--color-green-text);
  font-size: 0.85rem; font-weight: 600;
}
.nd-badge--blue { background-color: var(--color-blue-light); color: var(--color-blue-text); }
.nd-badge--rose { background-color: var(--color-rose-light); color: var(--color-rose-text); }
.nd-badge__icon { width: 1rem; height: 1rem; flex-shrink: 0; }


/* ────────────────────────────────────────────────────────────────────
   8. BUTTONS
   ──────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 3rem; padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-md); font-weight: 600; font-size: 0.95rem;
  transition: transform var(--ease-standard), box-shadow var(--ease-standard);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.15rem; height: 1.15rem; stroke: currentColor; fill: none; }

.btn-primary { background-color: var(--color-navy); color: var(--color-white); }
.btn-primary:hover { background-color: var(--color-cta-hover); box-shadow: var(--shadow-card-hover); }

.btn-secondary { background-color: transparent; color: var(--color-navy); border: 1.5px solid var(--color-border); }
.btn-secondary:hover { border-color: var(--color-navy); }

.btn-whatsapp { background-color: var(--color-whatsapp); color: var(--color-white); }
.btn-whatsapp:hover { background-color: var(--color-whatsapp-hover); box-shadow: var(--shadow-card-hover); }


/* ────────────────────────────────────────────────────────────────────
   9. CARDS
   ──────────────────────────────────────────────────────────────────── */
.nd-card {
  --accent-color: var(--color-green);
  --accent-light: var(--color-green-light);
  --accent-text: var(--color-green-text);
  position: relative;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--ease-standard), transform var(--ease-standard);
}
.nd-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }

.nd-card--green { --accent-color: var(--color-green); --accent-light: var(--color-green-light); --accent-text: var(--color-green-text); }
.nd-card--blue  { --accent-color: var(--color-blue);  --accent-light: var(--color-blue-light);  --accent-text: var(--color-blue-text); }
.nd-card--rose  { --accent-color: var(--color-rose);  --accent-light: var(--color-rose-light);  --accent-text: var(--color-rose-text); }

.nd-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: var(--radius-md);
  background-color: var(--accent-light); color: var(--accent-color);
  margin-bottom: var(--sp-4);
}
.nd-card__icon svg { width: 1.5rem; height: 1.5rem; stroke: currentColor; fill: none; }
.nd-card__title { color: var(--color-primary); margin-bottom: var(--sp-2); }
.nd-card__text { color: var(--color-muted); font-size: 0.95rem; }

.nd-card--media { padding: 0; overflow: hidden; }
.nd-card--media::before { display: none; }


/* ────────────────────────────────────────────────────────────────────
   10. GRID (column count via --grid-cols, override per page if needed)
   ──────────────────────────────────────────────────────────────────── */
.nd-grid {
  --grid-cols: 4;
  display: grid;
  grid-template-columns: repeat(var(--grid-cols), 1fr);
  gap: var(--sp-6);
}
@media (max-width: 61.9375rem) { .nd-grid { --grid-cols: 2; } }
@media (max-width: 47.9375rem) { .nd-grid { --grid-cols: 1; } }


/* ────────────────────────────────────────────────────────────────────
   11. CALLOUT
   ──────────────────────────────────────────────────────────────────── */
.callout { display: flex; gap: var(--sp-4); padding: var(--sp-5) var(--sp-6); border-radius: var(--radius-md); border: 1px solid transparent; }
.callout__icon { flex-shrink: 0; width: 1.5rem; height: 1.5rem; stroke: currentColor; fill: none; }
.callout__title { font-weight: 700; margin-bottom: var(--sp-1); }
.callout__text { font-size: 0.92rem; }
.callout--green { background-color: var(--color-green-light); border-color: rgba(var(--color-green-rgb),0.2); color: var(--color-green-text); }
.callout--blue  { background-color: var(--color-blue-light);  border-color: rgba(var(--color-blue-rgb),0.2);  color: var(--color-blue-text); }
.callout--rose  { background-color: var(--color-rose-light);  border-color: rgba(var(--color-rose-rgb),0.2);  color: var(--color-rose-text); }
.callout--whatsapp { background-color: rgba(var(--color-whatsapp-rgb),0.08); border-color: rgba(var(--color-whatsapp-rgb),0.25); color: var(--color-whatsapp-hover); }


/* ────────────────────────────────────────────────────────────────────
   12. TRUST RIBBON
   ──────────────────────────────────────────────────────────────────── */
.nd-ribbon {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--sp-3) var(--sp-6); padding-block: var(--sp-4);
  font-size: 0.9rem; color: var(--color-muted);
}
.nd-ribbon__item { display: inline-flex; align-items: center; gap: var(--sp-2); }
.nd-ribbon__item svg { width: 1.1rem; height: 1.1rem; stroke: currentColor; fill: none; }
.nd-ribbon__sep { display: inline-flex; align-items: center; justify-content: center; opacity: 0.4; }
.nd-ribbon .nd-star { color: var(--color-star); }
.nd-star-icon { color: var(--color-star); width: 1.05rem; height: 1.05rem; flex-shrink: 0; vertical-align: -2px; }
.nd-ribbon-icon { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }


/* ────────────────────────────────────────────────────────────────────
   13. HERO SHELL
   ──────────────────────────────────────────────────────────────────── */
.nd-hero { padding-block: var(--sp-16) var(--sp-10); }
.nd-hero__grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-10); align-items: center; }
@media (min-width: 64rem) { .nd-hero__grid { grid-template-columns: 1.1fr 1fr; } }
.nd-hero__media {
  order: -1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-color: var(--color-section-alt);
}
@media (min-width: 64rem) { .nd-hero__media { order: 0; } }
.nd-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
.nd-hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-block: var(--sp-5); }

.nd-fadeUp { animation: nd-fadeUp 0.5s ease both; }
@keyframes nd-fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }


/* ────────────────────────────────────────────────────────────────────
   14. ACCORDION / FAQ (one reusable mechanic site-wide)
   ──────────────────────────────────────────────────────────────────── */
.nd-faq-section { max-width: 50rem; margin-inline: auto; width: 100%; }
.nd-faq__item { border-bottom: 1px solid var(--color-border); }
.nd-faq__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding-block: var(--sp-5); text-align: left; font-weight: 600; color: var(--color-primary);
}
.nd-faq__trigger svg { flex-shrink: 0; width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none; transition: transform var(--ease-panel); }
.nd-faq__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Collapsed by default — same max-height technique as the header
   drawer-sub, proven to work without relying on grid-template-rows
   animation support. */
.nd-faq__panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--ease-panel), opacity var(--ease-panel);
}
.nd-faq__panel.is-open {
  max-height: 40rem; /* generous ceiling, real content is always shorter */
  opacity: 1;
}
.nd-faq__panel-inner {
  color: var(--color-muted);
  padding-bottom: var(--sp-5);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
@media (max-width: 47.9375rem) {
  .nd-faq__trigger { font-size: 0.95rem; }
  .nd-faq__panel-inner { font-size: 0.92rem; }
}


/* ────────────────────────────────────────────────────────────────────
   15. TIMELINE
   ──────────────────────────────────────────────────────────────────── */
.nd-timeline { display: flex; flex-direction: column; gap: var(--sp-6); }
.nd-timeline__item { display: flex; gap: var(--sp-4); position: relative; }
.nd-timeline__marker {
  flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-full);
  background-color: var(--color-green); color: var(--color-white);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
}
.nd-timeline__item:not(:last-child)::after {
  content: ""; position: absolute; left: 1.25rem; top: 2.75rem;
  width: 2px; height: calc(100% - 0.5rem); background-color: var(--color-border);
}
@media (min-width: 64rem) {
  .nd-timeline--horizontal { flex-direction: row; }
  .nd-timeline--horizontal .nd-timeline__item:not(:last-child)::after {
    left: 2.75rem; top: 1.25rem; width: calc(100% - 0.5rem); height: 2px;
  }
}


/* ────────────────────────────────────────────────────────────────────
   16. SIMULATOR (tarifs/age calculators — shared shell)
   ──────────────────────────────────────────────────────────────────── */
.nd-simulator {
  background-color: var(--color-white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card); padding: var(--sp-8);
  display: grid; grid-template-columns: 1fr; gap: var(--sp-8);
}
@media (min-width: 64rem) { .nd-simulator { grid-template-columns: 1fr 1fr; } }
.nd-simulator__result {
  background-color: var(--color-section-alt); border-radius: var(--radius-lg);
  padding: var(--sp-6); display: flex; flex-direction: column; justify-content: center; gap: var(--sp-2);
}
.nd-simulator__amount { font-size: 2rem; font-weight: 800; color: var(--color-navy); }
.nd-simulator label { display: flex; align-items: center; gap: var(--sp-3); padding-block: var(--sp-2); font-size: 0.95rem; }
.nd-simulator input[type="checkbox"] { width: 1.15rem; height: 1.15rem; accent-color: var(--color-navy); }


/* ────────────────────────────────────────────────────────────────────
   16.5 TABS (section switcher — TPS/PS/MS/GS style, reused site-wide)
   ──────────────────────────────────────────────────────────────────── */
.nd-tabs__nav {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  justify-content: center; margin-bottom: var(--sp-8);
  overflow-x: auto; padding-bottom: var(--sp-1);
}
.nd-tabs__trigger {
  flex-shrink: 0;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background-color: var(--color-white);
  font-weight: 600; font-size: 0.9rem;
  color: var(--color-muted);
  transition: all var(--ease-standard);
}
.nd-tabs__trigger.is-active {
  background-color: var(--color-navy); border-color: var(--color-navy); color: var(--color-white);
}
.nd-tabs__panel { display: none; }
.nd-tabs__panel.is-active { display: block; animation: nd-fadeUp 0.3s ease both; }


/* ────────────────────────────────────────────────────────────────────
   16.7 SCHEDULE LIST (daily timetable rows — used on Crèche, Maternelle)
   ──────────────────────────────────────────────────────────────────── */
.nd-schedule-list { display: flex; flex-direction: column; }
.nd-schedule-list__row { display: flex; align-items: baseline; gap: var(--sp-4); padding-block: var(--sp-3); border-bottom: 1px solid var(--color-border); }
.nd-schedule-list__time { flex-shrink: 0; width: 5.5rem; font-weight: 700; color: var(--color-navy); font-size: 0.9rem; }
.nd-schedule-list__text { font-size: 0.92rem; color: var(--color-muted); }
.nd-schedule-list__optional { font-size: 0.78rem; color: var(--color-rose-text); font-weight: 600; }


/* ────────────────────────────────────────────────────────────────────
   16.8 TEAM CARD (staff profile — used on Crèche, Maternelle, Équipe)
   ──────────────────────────────────────────────────────────────────── */
.nd-team-card { text-align: center; }
.nd-team-card img { width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover; margin-inline: auto; margin-bottom: var(--sp-4); }
.nd-team-card__role { font-size: 0.82rem; color: var(--color-green-text); font-weight: 700; margin-bottom: var(--sp-2); }
.nd-team-card__quote { font-size: 0.86rem; font-style: italic; color: var(--color-muted); margin-top: var(--sp-3); }


/* ────────────────────────────────────────────────────────────────────
   16.9 BENEFIT ROW (icon + title + text row — used on Pédagogie, Équipe)
   ──────────────────────────────────────────────────────────────────── */
.nd-benefit-row { display: flex; align-items: flex-start; gap: var(--sp-3); padding-block: var(--sp-3); border-bottom: 1px solid var(--color-border); }
.nd-benefit-row:last-child { border-bottom: none; }
.nd-benefit-row__icon { flex-shrink: 0; font-size: 1.2rem; }
.nd-benefit-row__icon svg { width: 1.2rem; height: 1.2rem; }
.nd-benefit-row__title { font-weight: 700; font-size: 0.92rem; color: var(--color-primary); }
.nd-benefit-row__text { font-size: 0.88rem; color: var(--color-muted); }


/* ────────────────────────────────────────────────────────────────────
   16.95 LEGAL CONTENT (typography for plain-text legal pages)
   ──────────────────────────────────────────────────────────────────── */
.nd-legal-content { max-width: 50rem; margin-inline: auto; }
.nd-legal-content h2 { margin-top: var(--sp-10); margin-bottom: var(--sp-3); font-size: 1.3rem; }
.nd-legal-content h2:first-child { margin-top: 0; }
.nd-legal-content h3 { margin-top: var(--sp-6); margin-bottom: var(--sp-2); font-size: 1.05rem; }
.nd-legal-content p { margin-bottom: var(--sp-4); font-size: 0.95rem; line-height: 1.7; }
.nd-legal-content ul { margin: var(--sp-3) 0 var(--sp-4) var(--sp-5); list-style: disc; }
.nd-legal-content li { margin-bottom: var(--sp-2); font-size: 0.95rem; }
.nd-legal-content table { width: 100%; border-collapse: collapse; margin-block: var(--sp-4); }
.nd-legal-content th, .nd-legal-content td { padding: var(--sp-3); border-bottom: 1px solid var(--color-border); text-align: left; font-size: 0.9rem; }
.nd-legal-content strong { color: var(--color-primary); }
.nd-legal-content a { color: var(--color-green-text); text-decoration: underline; }
.nd-legal-content__updated { font-size: 0.85rem; color: var(--color-muted); margin-bottom: var(--sp-8); }


/* ────────────────────────────────────────────────────────────────────
   16.96 QUOTE (pull-quote / citation — used on Pédagogie, Équipe, Inscription, Maternelle)
   ──────────────────────────────────────────────────────────────────── */
.nd-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.6;
  border-left: 3px solid var(--color-green);
  padding-left: var(--sp-4);
  max-width: 45rem;
  margin-inline: auto;
}
.nd-quote footer {
  font-style: normal;
  font-weight: 700;
  margin-top: var(--sp-2);
  font-size: 0.85rem;
  color: var(--color-primary);
}
.nd-quote--centered {
  border-left: none;
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}


/* ────────────────────────────────────────────────────────────────────
   17. HEADER SHELL
   ──────────────────────────────────────────────────────────────────── */
.nd-header { position: sticky; top: 0; z-index: var(--z-header); background-color: var(--color-white); }
.nd-header__top-strip { background-color: var(--color-green-text); color: var(--color-white); font-size: 0.82rem; }
.nd-header__top-strip-inner { display: flex; justify-content: center; align-items: center; gap: var(--sp-4); padding-block: var(--sp-2); }
@media (max-width: 47.9375rem) { .nd-header__top-strip { display: none; } }

.nd-header__inner {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between;
  gap: var(--sp-6); padding-block: var(--sp-4); border-bottom: 1px solid var(--color-border);
}
.nd-header__logo { font-weight: 800; font-size: 1.15rem; color: var(--color-navy); }
.nd-header__logo span { display: block; font-size: 0.7rem; font-weight: 600; color: var(--color-muted); }

.nd-header__nav { display: none; }
@media (min-width: 75rem) { .nd-header__nav { display: flex; align-items: center; gap: var(--sp-6); } }
.nd-header__nav a { font-size: 0.92rem; font-weight: 600; transition: color var(--ease-standard); }
.nd-header__nav a:hover, .nd-header__nav a.is-active { color: var(--color-green-text); }

.nd-header__dropdown { position: relative; }
.nd-header__dropdown-panel {
  position: absolute; top: calc(100% + 0.5rem); min-width: 12rem;
  background-color: var(--color-white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-hover); padding: var(--sp-2); z-index: var(--z-dropdown);
  display: none;
}
.nd-header__dropdown-panel.is-open { display: block; }
.nd-header__dropdown-panel a { display: block; padding: var(--sp-2) var(--sp-3); border-radius: var(--radius-sm); font-weight: 500; }
.nd-header__dropdown-panel a:hover { background-color: var(--color-section-alt); }
.nd-header__dropdown:first-of-type .nd-header__dropdown-panel { left: 0; right: auto; }
.nd-header__dropdown:last-of-type .nd-header__dropdown-panel { right: 0; left: auto; }

.nd-header__burger { display: inline-flex; flex-direction: column; gap: 5px; padding: var(--sp-2); }
@media (min-width: 75rem) { .nd-header__burger { display: none; } }
.nd-header__burger span { width: 24px; height: 2px; background-color: var(--color-primary); border-radius: 2px; transition: transform var(--ease-standard), opacity var(--ease-standard); }
.nd-header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nd-header__burger.is-open span:nth-child(2) { opacity: 0; }
.nd-header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nd-header__drawer {
  position: fixed; inset: 0; background-color: var(--color-white); z-index: var(--z-modal);
  transform: translateX(100%); transition: transform var(--ease-panel); overflow-y: auto; padding: var(--sp-6);
}
.nd-header__drawer.is-open { transform: translateX(0); }
.nd-header__drawer a { display: block; padding-block: var(--sp-3); font-weight: 600; border-bottom: 1px solid var(--color-border); }

.nd-header__drawer-sub {
  display: block !important; max-height: 0 !important; opacity: 0 !important; visibility: hidden !important; overflow: hidden !important;
  transition: max-height 0.3s ease !important, opacity 0.3s ease !important, visibility 0.3s ease !important;
}
.nd-header__drawer-sub.is-open { max-height: 21.875rem !important; opacity: 1 !important; visibility: visible !important; }


/* ────────────────────────────────────────────────────────────────────
   18. FOOTER SHELL
   ──────────────────────────────────────────────────────────────────── */
.nd-footer { background-color: var(--color-footer-bg); color: var(--color-footer-text); padding-block: var(--sp-16) var(--sp-8); }
.nd-footer__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-8); margin-bottom: var(--sp-12); }
@media (max-width: 61.9375rem) { .nd-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 47.9375rem) { .nd-footer__grid { grid-template-columns: 1fr; text-align: center; } }
.nd-footer__heading { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-footer-heading); margin-bottom: var(--sp-4); }
.nd-footer__link { display: block; padding-block: var(--sp-1); font-size: 0.9rem; color: var(--color-footer-text); transition: color var(--ease-standard); }
.nd-footer__link svg { width: 0.95rem; height: 0.95rem; flex-shrink: 0; vertical-align: -2px; margin-right: 0.3rem; }
.nd-footer__link:hover { color: var(--color-green); }
.nd-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: var(--sp-6);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-4);
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
}
@media (max-width: 47.9375rem) { .nd-footer__bottom { flex-direction: column; text-align: center; } }
.nd-footer__cta {
  background-color: rgba(255,255,255,0.05); border-radius: var(--radius-lg);
  padding: var(--sp-6); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-4); margin-bottom: var(--sp-10);
}
.nd-footer__cta h3 { color: var(--color-white); }
.nd-footer__cta p { color: var(--color-footer-text); }


/* ────────────────────────────────────────────────────────────────────
   19. STICKY CTA (mobile only) + FLOATING WHATSAPP
   ──────────────────────────────────────────────────────────────────── */
.nd-sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--z-sticky);
  background-color: var(--color-white); border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-sticky); padding: var(--sp-3) var(--sp-4);
}
@media (min-width: 48rem) { .nd-sticky-cta { display: none; } }
.nd-sticky-cta__inner { max-width: var(--container-max); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }

.nd-float-wa {
  position: fixed; bottom: var(--sp-8); right: var(--sp-8); z-index: var(--z-sticky);
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; border-radius: var(--radius-full);
  background-color: var(--color-whatsapp); color: var(--color-white);
  box-shadow: var(--shadow-float); transition: transform var(--ease-standard);
}
.nd-float-wa:hover { transform: scale(1.1); }
.nd-float-wa svg { width: 1.75rem; height: 1.75rem; fill: currentColor; }
@media (max-width: 47.9375rem) { .nd-float-wa { bottom: 5.5rem; right: var(--sp-4); } }


/* ────────────────────────────────────────────────────────────────────
   20. ICON HOVER ANIMATION
   ──────────────────────────────────────────────────────────────────── */
.nd-icon-animate { transition: transform var(--ease-standard), background-color var(--ease-standard); }
.nd-card:hover .nd-icon-animate, a:hover .nd-icon-animate { transform: scale(1.08); }


/* ════════════════════════════════════════════════════════════════════
   END OF style.css — page-specific tweaks go in a small <style> block
   inside that page's own <head>, overriding a variable already
   defined above (--grid-cols, --accent-color, padding-block, etc).
   ════════════════════════════════════════════════════════════════════ */
