/* ============================================================
   OPTEMYS — Feuille de style partagée
   Direction : minimaliste, bleu/vert, pilotage & confiance
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Palette */
  --navy: #0A2540;
  --ink: #0B1F2A;
  --teal: #0F766E;
  --teal-600: #0D857B;
  --mint: #2DD4BF;
  --mint-soft: #CFF5EE;
  --paper: #FFFFFF;
  --mist: #EEF5F3;
  --slate: #566B69;
  --line: #E1EAE8;

  /* Typo */
  --display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Échelle */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.36rem + 0.7vw, 1.95rem);
  --step-3: clamp(1.95rem, 1.7rem + 1.25vw, 2.85rem);
  --step-4: clamp(2.5rem, 2rem + 2.5vw, 4.3rem);

  /* Espace & rayons */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --maxw: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -28px rgba(10, 37, 64, 0.35);
  --shadow-sm: 0 8px 24px -16px rgba(10, 37, 64, 0.3);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--navy);
}

p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--mint);
  border-radius: 2px;
}

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

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--teal);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  border: 1.5px solid var(--bg);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); background: var(--teal-600); border-color: var(--teal-600); }
.btn svg { width: 18px; height: 18px; }

.btn--ghost {
  --bg: transparent;
  --fg: var(--navy);
  border-color: var(--line);
}
.btn--ghost:hover { --bg: var(--mist); background: var(--mist); border-color: var(--line); color: var(--navy); }

.btn--light {
  --bg: #fff; --fg: var(--navy); border-color: #fff;
}
.btn--light:hover { background: var(--mint-soft); border-color: var(--mint-soft); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--teal);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -22px rgba(10,37,64,0.6);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.brand .mark { width: auto; height: 60px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--mist); }
.nav-links a[aria-current="page"] { color: var(--teal); }

.nav-cta { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.nav-cta .btn { white-space: nowrap; }
/* Libellé court du bouton d'en-tête, activé sur petits écrans */
.lbl-short { display: none; }
.nav-phone { font-weight: 600; color: var(--navy); white-space: nowrap; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #E9F2F0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section-head { max-width: 56ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h1,
.section-head h2 { font-size: var(--step-3); margin-top: 0.8rem; }
.section-head p { margin-top: 1rem; font-size: var(--step-1); color: var(--slate); line-height: 1.5; }
.section--navy .section-head p { color: #B7CDCA; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 {
  font-size: var(--step-4);
  font-weight: 700;
  letter-spacing: -0.035em;
}
.hero h1 .accent { position: relative; color: var(--teal); white-space: nowrap; }
.hero h1 .accent svg {
  position: absolute;
  left: 0; right: 0; bottom: -0.14em;
  width: 100%; height: 0.32em;
  color: var(--mint);
}
.hero-lead {
  margin-top: 1.5rem;
  font-size: var(--step-1);
  color: var(--slate);
  line-height: 1.55;
  max-width: 46ch;
}
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-meta {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero-meta div { display: flex; flex-direction: column; gap: 0.15rem; }
.hero-meta dt { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.hero-meta dd { margin: 0; font-size: var(--step--1); color: var(--slate); }
.hero-meta dd.langs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.9rem; }
.lang { display: inline-flex; align-items: center; gap: 0.4rem; }
.flag {
  width: 20px;
  height: 14px;
  flex: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(10, 37, 64, 0.12);
}

.hero-visual { position: relative; min-width: 0; }
.hero-visual svg { width: 100%; height: auto; filter: drop-shadow(var(--shadow)); }

/* ---------- Cartes services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--mint-soft); }
.card-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--mist);
  color: var(--teal);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--step-1); }
.card p { color: var(--slate); font-size: 0.98rem; line-height: 1.55; flex: 1; }
.bullet-list {
  list-style: disc;
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
  color: var(--slate);
  font-size: 0.98rem;
  line-height: 1.55;
}
.bullet-list li::marker { color: var(--teal); }
.card .bullet-list { flex: 1; }
.card .link-arrow { margin-top: 0.25rem; }

.cards--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Bilingue (FR / ES) ---------- */
/* Les deux versions sont dans le HTML ; seule la langue active est affichée.
   Sans JS, tout reste visible : le contenu est accessible dans les deux langues. */
.lang-switch {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.3rem;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.lang-btn:hover { color: var(--navy); }
.lang-btn.is-active {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
html.js .i18n[data-lang="fr"] [data-lang="es"],
html.js .i18n[data-lang="es"] [data-lang="fr"] { display: none; }

/* ---------- Valeurs ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.25rem;
}
.value { display: flex; flex-direction: column; gap: 0.6rem; }
.value .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--mint);
  letter-spacing: 0.05em;
}
.value h3 { font-size: var(--step-1); }
.value p { color: #B7CDCA; font-size: 0.96rem; line-height: 1.55; }
.section--mist .value p { color: var(--slate); }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3.25rem);
  background: linear-gradient(135deg, var(--navy), #0E3A53);
  border-radius: var(--radius);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(45,212,191,0.32), transparent 65%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; font-size: var(--step-2); position: relative; }
.cta-band p { color: #B7CDCA; margin-top: 0.6rem; position: relative; max-width: 48ch; }
.cta-band .btn { position: relative; }

/* ---------- À propos ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.portrait {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--mint-soft), var(--mist));
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .initials {
  font-family: var(--display);
  font-weight: 700;
  font-size: 4rem;
  color: var(--teal);
}
.portrait-badge {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  padding: 0.7rem 1rem;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.portrait-badge strong { display: block; font-family: var(--display); color: var(--navy); }
.portrait-badge span { font-size: var(--step--1); color: var(--slate); }

.about-text h1,
.about-text h2 { font-size: var(--step-3); }
.about-text p { margin-top: 1.1rem; color: var(--slate); font-size: var(--step-0); line-height: 1.65; }
.checklist { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--ink); }
.checklist svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 2px; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { padding-top: 1.5rem; border-top: 2px solid var(--line); }
.step .num { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--teal); }
.step h3 { font-size: var(--step-1); margin-top: 0.6rem; }
.step p { margin-top: 0.5rem; color: var(--slate); font-size: 0.96rem; line-height: 1.55; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.info-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item .ic {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  background: var(--mist);
  color: var(--teal);
  display: grid; place-items: center;
}
.info-item .ic svg { width: 22px; height: 22px; }
.info-item .lbl { font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); }
.info-item .val { font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.info-item a.val:hover { color: var(--teal); }

.booking {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow-sm);
}
.booking h3 { font-size: var(--step-1); }
.booking p { color: var(--slate); margin-top: 0.4rem; font-size: 0.98rem; }
.typeform-slot {
  margin-top: 1.25rem;
  min-height: 480px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--mist);
}
/* Substitut affiché tant que le Typeform n'est pas branché */
.typeform-fallback {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem;
  border: 2px dashed var(--line);
  border-radius: var(--radius-sm);
  color: var(--slate);
}
.typeform-fallback svg { width: 46px; height: 46px; color: var(--teal); }

/* Emplacement du calendrier Calendly */
.calendly-slot {
  margin-top: 1.25rem;
  min-width: 320px;
  height: 700px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.map-frame {
  margin-top: 1.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 260px; border: 0; }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--navy);
  color: #B7CDCA;
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.75rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand .mark { height: 83px; }
.footer-brand p { margin-top: 1rem; max-width: 38ch; color: #93AEAB; font-size: 0.96rem; }
.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a:hover { color: var(--mint); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.88rem;
  color: #7B9794;
}
/* Liens légaux du pied de page : obligatoires, donc toujours atteignables,
   mais discrets — ils ne doivent pas concurrencer la navigation principale. */
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.6rem; }
/* Choix assumé : même couleur que le copyright (#7B9794 hérité de .footer-bottom),
   ni soulignement ni teinte distincte, pour que la ligne reste homogène. Rien ne
   signale donc visuellement que ce sont des liens tant qu'on ne les survole pas —
   c'est le compromis retenu au profit de l'harmonie du pied de page. Le survol en
   mint reste le seul indice, avec le curseur. */
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--mint); }

/* ---------- Pages légales (texte long) ---------- */
/* Utilisé par /mentions-legales et /politique-de-confidentialite : du texte
   suivi, à lire, sans les cartes ni les colonnes du reste du site. */
.legal { max-width: 70ch; }
.legal h2 {
  font-size: var(--step-2);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: 2rem; }
.legal h3 { font-size: var(--step-1); margin-top: 2rem; }
.legal p, .legal ul { margin-top: 1rem; color: var(--slate); }
.legal ul { padding-left: 1.25rem; }
.legal li + li { margin-top: 0.5rem; }
.legal a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--navy); font-weight: 600; }

/* Fiche d'identité : libellé / valeur, lisible aussi en lecture d'écran */
.legal-facts { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.legal-facts div {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) 1fr;
  gap: 0.25rem 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.legal-facts dt { font-weight: 600; color: var(--navy); }
.legal-facts dd { margin: 0; color: var(--slate); }
@media (max-width: 620px) {
  .legal-facts div { grid-template-columns: 1fr; }
}

/* Marqueur des informations manquantes.
   Volontairement criard : ces pages ne doivent pas partir en ligne tant qu'il
   en reste un seul. deploy-ssh.sh bloque d'ailleurs le déploiement s'il en
   trouve. */
.todo {
  background: #FFE9A8;
  color: #7A5B00;
  font-weight: 600;
  padding: 0.1em 0.45em;
  border-radius: 4px;
  border: 1px dashed #C79A00;
}

/* ---------- Animations (progressive enhancement) ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* La barre de navigation passe en menu burger plus tôt que le reste :
   avec cinq rubriques, elle déborde avant 900px. */
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta .nav-phone { display: none; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: #fff;
    padding: 1rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 0.8rem 1rem; }
  .nav-cta .btn { padding: 0.7rem 1.1rem; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: -1; max-width: 460px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 360px; aspect-ratio: 4/4.4; }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-band { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Petits écrans : l'en-tête et le titre du hero doivent tenir dans la largeur.
   Sans ça, le « nowrap » de .accent élargit la grille et toute la page débordait. */
@media (max-width: 680px) {
  .hero h1 .accent { white-space: normal; }
  .hero h1 .accent svg { display: none; }

  .nav { gap: 0.6rem; }
  /* Le logo peut se réduire plutôt que de pousser le bouton hors de l'écran */
  .site-header .brand { flex: 0 1 auto; min-width: 0; }
  .site-header .brand .mark { height: auto; max-height: 50px; max-width: 100%; }
  .nav-cta { gap: 0.5rem; }
  .nav-cta .btn { padding: 0.75rem 1.05rem; font-size: 0.95rem; }
  .nav-cta .btn .lbl-long { display: none; }
  .nav-cta .btn .lbl-short { display: inline; }
  .nav-toggle { width: 42px; height: 42px; }
}

@media (max-width: 540px) {
  .values { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.2rem 1.8rem; }
  .lang-switch { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
