/* ============================================================
   realisationtessier.ca — Feuille de style principale
   MAQUETTE Accueil (v1) — direction visuelle pour approbation
   Palette de marque extraite du PowerPoint :
     indigo #122D8C · violet #5B1895 · magenta #5F1376
     texte blanc cassé #FFFDF8 · accent or #F0B44A
   Police : Barlow Semi Condensed (titres) / Barlow (texte)
   ============================================================ */

:root {
  --c-indigo:   #122D8C;
  --c-violet:   #5B1895;
  --c-magenta:  #5F1376;
  --c-ink:      #FFFDF8;
  --c-gold:     #F0B44A;
  --c-ink-dim:  rgba(255,253,248,.72);
  --grad-brand: linear-gradient(135deg,#122D8C 0%,#372391 45%,#5B1895 78%,#5F1376 100%);
  --font-head:  "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --font-body:  "Barlow", "Segoe UI", system-ui, sans-serif;
  --maxw: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--grad-brand);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Section plein écran ---------- */
.screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(14px, 2.4vw, 28px) clamp(16px, 4vw, 56px);
  position: relative;
}

/* ---------- Barre supérieure : hamburger + langue ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Barre supérieure FIXE unique (One Page) — hamburger + langue */
.topbar-fixed {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(12px,2vw,20px) clamp(16px,4vw,56px);
  pointer-events: none;                 /* laisse passer les clics… */
}
.topbar-fixed > * { pointer-events: auto; }  /* …sauf sur les contrôles */
.topbar-fixed .lang button { text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.topbar-fixed .hamburger span { box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.hamburger {
  width: 46px; height: 40px;
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.hamburger span {
  height: 2.5px; width: 100%; background: var(--c-ink); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger:hover span { background: var(--c-gold); }

.lang {
  font-family: var(--font-head);
  letter-spacing: .06em;
  font-size: 15px;
  display: inline-flex; align-items: center; gap: 10px;
}
.lang button {
  background: none; border: 0; color: var(--c-ink-dim); cursor: pointer;
  font: inherit; padding: 4px 2px; letter-spacing: inherit;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.lang button.is-active { color: var(--c-ink); border-color: var(--c-gold); }
.lang button:hover { color: var(--c-ink); }
.lang .sep { opacity: .4; }

/* ---------- En-tête (Accueil uniquement) ---------- */
#accueil { padding-top: clamp(14px,2vh,22px); } /* nom aligné avec la barre fixe */
.masthead { text-align: center; margin: clamp(2px,0.6vh,8px) auto 0; max-width: 1000px; }
.masthead .name {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .10em;
  font-size: clamp(27px, 4.5vw, 56px);   /* nom = typo principale (-10%) */
  text-transform: uppercase;
  line-height: 1.0;
}
.masthead .tagline {
  font-family: var(--font-head);
  font-weight: 700;                          /* gras */
  color: var(--c-ink);                       /* blanc plein */
  font-variant: small-caps;                  /* petites majuscules */
  letter-spacing: .07em;
  font-size: clamp(14.5px, 1.6vw, 19px);     /* +15% puis +3% */
  margin-top: 6px;
}
.masthead .hero {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.0;
  font-size: clamp(19px, 2.85vw, 36px);   /* slogan = typo secondaire (-5%) */
  margin: clamp(4px,1vh,10px) 0 6px;
  background: linear-gradient(90deg,#FFFDF8 0%,#FFE9BE 60%,#F0B44A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.masthead .intro {
  color: var(--c-ink-dim);
  font-size: clamp(13px, 1.4vw, 16.5px);
  max-width: 760px; margin: 0 auto;
}

/* ---------- Damier (6 tuiles = menu central) ---------- */
.damier {
  flex: 1; min-height: 0;                 /* remplit l'espace, ne déborde jamais */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr 1fr;            /* 2 rangées qui remplissent la hauteur dispo */
  gap: clamp(8px, .9vw, 14px);
  margin: clamp(8px,1.4vw,16px) auto 0;
  width: 100%; max-width: var(--maxw);
  align-content: stretch;
}
.tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 0;                          /* la tuile épouse sa cellule de grille */
  isolation: isolate;
  box-shadow: 0 6px 22px rgba(0,0,0,.28);
}
.tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  filter: brightness(.92);                 /* visuels assombris -8% (lisibilité) */
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s;
  z-index: -2;
}
.tile::after { /* voile pour lisibilité du texte (foncé en HAUT, où est le texte) */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,6,30,.82) 0%, rgba(10,6,30,.40) 46%, rgba(10,6,30,.12) 100%);
  transition: background .4s;
}
.tile-body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-start;  /* textes en haut, titres alignés */
  padding: clamp(12px,1.6vw,20px);
}
.tile-title {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: clamp(15px, 1.5vw, 21px);
  line-height: 1.06;
}
.tile-title::after {
  content: ""; display: block; height: 2px; width: 34px; margin-top: 8px;
  background: var(--c-gold);
  transition: width .35s ease;
}
.tile-sub {
  color: rgba(255,253,248,.95);
  font-weight: 700;                 /* sous-titres en gras */
  font-size: clamp(11.5px, 1.05vw, 13.5px);
  margin-top: 8px;
  max-width: 42ch;
  opacity: 1; transform: none;      /* toujours visibles sous le titre */
  transition: opacity .35s ease, transform .35s ease;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.tile:hover img { transform: scale(1.10); }
.tile:hover::after { background: linear-gradient(180deg, rgba(95,19,118,.82) 0%, rgba(20,10,45,.42) 55%, rgba(10,6,30,.12) 100%); }
.tile:hover .tile-title::after { width: 72px; }
.tile:hover .tile-sub { opacity: 1; transform: translateY(0); }
.tile:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 2px; }

/* ---------- Pied de page (Accueil uniquement) ---------- */
.footer {
  margin-top: clamp(6px,1.2vh,14px);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
}
.footer .lets-talk {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: clamp(16px,1.7vw,22px);
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  color: var(--c-ink); transition: color .2s;
}
.footer .lets-talk:hover { color: var(--c-gold); }
.footer .lets-talk svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.contact-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px,2vw,30px); }
.contact-row a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c-ink-dim); font-size: 14.5px; letter-spacing: .02em;
  padding: 6px 4px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.contact-row a:hover { color: var(--c-ink); border-color: var(--c-gold); }
.contact-row svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- Flèches de navigation d'ancre ---------- */
.nav-arrow {
  position: absolute; right: clamp(16px,4vw,56px);
  bottom: 14px; z-index: 6;              /* au-dessus du contenu, toujours cliquable */
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,253,248,.10); border: 1px solid rgba(255,253,248,.35);
  color: var(--c-ink); cursor: pointer; transition: background .25s, transform .25s;
  animation: bob 2.2s ease-in-out infinite;
}
.nav-arrow:hover { background: var(--c-gold); color: #2a1240; transform: translateY(-3px); }
.nav-arrow svg { width: 22px; height: 22px; fill: currentColor; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(6px);} }

/* ---------- Menu latéral (sidebar) ---------- */
.sidebar {
  position: fixed; top: 0; left: 0; height: 100%; width: min(340px, 84vw);
  background: linear-gradient(160deg,#0e2277,#3a1560 70%,#5f1376);
  box-shadow: 8px 0 40px rgba(0,0,0,.45);
  transform: translateX(-100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  z-index: 60; padding: 28px 26px; display: flex; flex-direction: column;
}
.sidebar.open { transform: translateX(0); }
.sidebar .close { align-self: flex-end; background: none; border: 0; color: var(--c-ink); font-size: 30px; cursor: pointer; line-height: 1; }
.sidebar nav { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.sidebar nav a {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em;
  font-size: 18px; padding: 11px 6px; border-bottom: 1px solid rgba(255,253,248,.12);
  transition: color .2s, padding-left .2s;
}
.sidebar nav a:hover { color: var(--c-gold); padding-left: 12px; }
.backdrop {
  position: fixed; inset: 0; background: rgba(6,3,20,.55); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 55;
}
.backdrop.show { opacity: 1; visibility: visible; }

/* ============================================================
   PAGE CONTACT (« Parlons-en »)
   Gabarit : visuel de fond · ligne oblique · filtre sombre à
   droite (lisibilité formulaire) · visuel intégral à gauche.
   ============================================================ */
.contact {
  position: relative;
  overflow: hidden;
  background: #0b0a1a url("../images/contact-bg.jpg") center/cover no-repeat;
}
/* La barre supérieure reste dans le flux (jamais de chevauchement) */
.contact > .topbar { position: relative; z-index: 3; }
/* Filtre transparent sombre — moitié DROITE, séparée par une oblique */
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(11,8,26,0) 0%, rgba(11,8,26,.35) 30%, rgba(11,8,26,.82) 55%);
  -webkit-clip-path: polygon(44% 0, 100% 0, 100% 100%, 56% 100%);
          clip-path: polygon(44% 0, 100% 0, 100% 100%, 56% 100%);
}
/* Le trait oblique lui-même */
.contact::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; z-index: 1;
  width: 2px; background: linear-gradient(180deg, rgba(240,180,74,0), var(--c-gold) 45%, rgba(240,180,74,0));
  transform: skewX(-9deg); transform-origin: top;
}
.contact-grid {
  position: relative; z-index: 2;
  flex: 1;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,64px);
  align-content: center; align-items: center;
  padding: clamp(20px,4vh,48px) 0;
}
.contact-lead {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; line-height: .98;
  font-size: clamp(30px,4vw,48px);
  background: linear-gradient(90deg,#FFFDF8,#FFE9BE 60%,#F0B44A);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: clamp(18px,2.4vw,28px);
}

/* Colonne gauche : coordonnées (sur visuel intégral, sans filtre) */
.coords { display: flex; flex-direction: column; gap: 14px; max-width: 440px; }
.coord {
  display: flex; align-items: center; gap: 16px;
  color: var(--c-ink); width: fit-content;
  padding: 6px 4px;
  text-shadow: 0 1px 10px rgba(0,0,0,.9), 0 0 3px rgba(0,0,0,.9); /* lisibilité sans filtre */
}
.coord .ico {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,253,248,.14); border: 1px solid rgba(255,253,248,.5);
  transition: background .25s, transform .25s; box-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.coord .ico svg { width: 21px; height: 21px; fill: var(--c-ink); }
.coord .meta { display: flex; flex-direction: column; line-height: 1.2; }
.coord .value {
  font-size: clamp(16px,1.6vw,19px); font-weight: 500;
  border-bottom: 1px solid transparent; width: fit-content; transition: border-color .2s;
}
.coord .hint {
  font-family: var(--font-head); font-size: 12.5px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--c-ink-dim); margin-top: 3px;
  display: inline-flex; align-items: center; gap: 5px;
}
.coord .hint::after { content: "\203A"; font-size: 15px; transition: transform .2s; } /* › */
.coord:hover .ico { background: var(--c-gold); transform: translateY(-2px); }
.coord:hover .ico svg { fill: #2a1240; }
.coord:hover .value { border-color: var(--c-gold); }
.coord:hover .hint { color: var(--c-gold); }
.coord:hover .hint::after { transform: translateX(4px); }
.coord:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 4px; border-radius: 8px; }

/* Colonne droite : formulaire */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form label {
  font-family: var(--font-head); letter-spacing: .04em; font-size: 13.5px;
  text-transform: uppercase; color: var(--c-ink-dim);
}
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: 15.5px; color: var(--c-ink);
  background: rgba(255,253,248,.07);
  border: 1px solid rgba(255,253,248,.28); border-radius: 8px;
  padding: 12px 14px; transition: border-color .2s, background .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--c-gold); background: rgba(255,253,248,.12);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,253,248,.4); }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* honeypot */
.field-error { color: #ffb3ae; font-size: 13px; min-height: 1em; }
.btn-send {
  align-self: flex-start; margin-top: 4px;
  font-family: var(--font-head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  font-size: 16px; color: #2a1240; cursor: pointer;
  background: linear-gradient(90deg,#FFE9BE,#F0B44A); border: 0; border-radius: 8px;
  padding: 13px 30px; transition: transform .2s, box-shadow .2s;
}
.btn-send:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(240,180,74,.35); }
.form-status { font-size: 14.5px; min-height: 1.4em; margin-top: 4px; }
.form-status.ok  { color: #a9f0c5; }
.form-status.err { color: #ffb3ae; }

@media (max-width: 820px) {
  .contact::before { -webkit-clip-path: none; clip-path: none;
    background: linear-gradient(180deg, rgba(11,8,26,.25), rgba(11,8,26,.85)); }
  .contact::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .coords a { text-shadow: 0 1px 8px rgba(0,0,0,.9); }
}

/* ============================================================
   SECTIONS DE CONTENU — même gabarit oblique que Contact
   Gauche : visuel intégral (sans filtre) · ligne oblique ·
   Droite : texte sur filtre sombre (lisibilité).
   ============================================================ */
.contentsec {
  position: relative;
  overflow: hidden;
  padding: 0;                       /* le bandeau et le corps gèrent leur propre marge */
  background: #0b0a1a center/cover no-repeat;
}
/* Bandeau titre en haut (dégradé, bord net) — comme le PowerPoint */
.sec-header {
  position: relative; z-index: 4;
  background: linear-gradient(90deg, var(--c-indigo) 0%, #3a1f9a 55%, var(--c-violet) 100%);
  padding: clamp(74px,9vh,96px) clamp(16px,4vw,56px) clamp(14px,2.2vw,24px); /* haut : dégage la barre fixe */
}
.sec-header .sec-title { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
/* Filtre sombre — moitié DROITE, séparée par l'oblique (lisibilité du texte) */
.contentsec::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(11,8,26,0) 0%, rgba(11,8,26,.5) 34%, rgba(11,8,26,.9) 54%, rgba(11,8,26,.92) 100%);
  -webkit-clip-path: polygon(44% 0, 100% 0, 100% 100%, 56% 100%);
          clip-path: polygon(44% 0, 100% 0, 100% 100%, 56% 100%);
}
/* Trait oblique doré */
.contentsec::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; z-index: 1;
  width: 2px; background: linear-gradient(180deg, rgba(240,180,74,0), var(--c-gold) 45%, rgba(240,180,74,0));
  transform: skewX(-9deg); transform-origin: top;
}
/* Titre de section — dans le bandeau, en petites capitales (comme le deck) */
.sec-title {
  font-family: var(--font-head); font-weight: 700;
  font-variant: small-caps; text-transform: none;   /* grandes initiales, reste en petites capitales */
  letter-spacing: .012em; line-height: 1.02;
  font-size: clamp(30px,5vw,60px);
  color: var(--c-ink); width: 100%;
}
/* Milieu : sous-titre à GAUCHE de l'oblique · paragraphes à DROITE */
.sec-split {
  position: relative; z-index: 2; flex: 1;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,64px);
  padding: clamp(14px,3vh,34px) clamp(16px,4vw,56px) clamp(44px,6vh,72px);
}
.sec-subtitle {
  align-self: center;         /* centré verticalement, comme les diapos de contenu */
  font-family: var(--font-head); font-weight: 700; line-height: 1.06;
  font-size: clamp(24px,3.4vw,44px);
  color: rgba(255,253,248,.96);
  text-shadow: 0 2px 16px rgba(0,0,0,.72);
  max-width: 15ch;
}
.sec-body { align-self: center; }
/* Parcours : sous-titre ancré en bas-gauche (comme la diapo) */
.sec-parcours .sec-subtitle { align-self: end; }
.sec-body p {
  color: rgba(255,253,248,.94); font-size: clamp(15px,1.45vw,17.5px); /* +1px lisibilité */
  line-height: 1.5; margin-bottom: 14px; max-width: 46ch;
  font-weight: 400;                       /* uniforme : aucun gras aléatoire */
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.sec-body p:last-child { margin-bottom: 0; }

@media (max-width: 820px) {
  .contentsec::before { -webkit-clip-path: none; clip-path: none;
    background: linear-gradient(180deg, rgba(11,8,26,.30), rgba(11,8,26,.85)); }
  .contentsec::after { display: none; }
  .sec-split { grid-template-columns: 1fr; gap: 14px; padding-bottom: 60px; }
  .sec-subtitle { align-self: start; color: var(--c-gold); font-size: clamp(20px,6vw,30px); max-width: none; }
}

/* ---------- Paire de flèches ↑ ↓ (sections intermédiaires) ---------- */
.nav-arrows {
  position: absolute; right: clamp(16px,4vw,56px); bottom: 14px;
  display: flex; gap: 10px; z-index: 6;
}
.nav-arrows .nav-arrow { position: static; transform: none; left: auto; animation: none; }
.nav-arrows .nav-arrow:hover { transform: translateY(-3px); }

/* ============================================================
   FAQ (accordéon) — fond dégradé de marque, comme l'Accueil
   ============================================================ */
.faq {
  padding-top: clamp(70px,9vh,96px); justify-content: flex-start;
  position: relative;
  background-image: url('../images/bg-faq.jpg');
  background-image: image-set(url('../images/bg-faq.webp') type('image/webp'), url('../images/bg-faq.jpg') type('image/jpeg'));
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
/* Voile de lisibilité sur le fond FAQ (texte blanc de l'accordéon) */
.faq::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(11,8,26,.62) 0%, rgba(11,8,26,.48) 45%, rgba(11,8,26,.66) 100%);
}
.faq-inner {
  position: relative; z-index: 1;
  flex: 1; width: 100%; max-width: 900px; margin: 0 auto;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(10px,2vh,24px) 0 clamp(52px,7vh,80px);
}
.faq-title {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: clamp(28px,4vw,48px); text-align: center;
  margin-bottom: clamp(16px,3vh,30px);
}
.faq-title::after { content: ""; display: block; height: 3px; width: 64px; margin: 14px auto 0; background: var(--c-gold); }
.faq-list { border-top: 1px solid rgba(255,253,248,.16); }
.faq-item { border-bottom: 1px solid rgba(255,253,248,.16); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; color: var(--c-ink);
  font-family: var(--font-head); font-weight: 600; letter-spacing: .01em;
  font-size: clamp(16px,1.7vw,20px); text-align: left;
  padding: clamp(14px,1.8vh,20px) 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: color .2s;
}
.faq-q:hover, .faq-item.open .faq-q { color: var(--c-gold); }
.faq-q .chev { width: 22px; height: 22px; flex: none; fill: currentColor; transition: transform .3s; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .38s ease; }
.faq-item.open .faq-a { max-height: 360px; }
.faq-a p {
  color: rgba(255,253,248,.9); font-size: clamp(14px,1.4vw,16.5px); line-height: 1.55;
  padding: 0 4px clamp(16px,2vh,20px); max-width: 80ch;
}

/* ---------- Responsive (Accueil) ---------- */
@media (max-width: 900px) {
  #accueil { padding-top: clamp(58px,9vh,74px); }        /* nom sous la barre fixe */
  .damier { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; align-content: center; }
  .tile { aspect-ratio: 16 / 10; }                        /* hauteur naturelle + défilement */
  .tile-sub { opacity: 1; transform: none; }              /* pas de survol au tactile */
}
@media (max-width: 560px) {
  .damier { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16 / 9; }
  .masthead .hero { font-size: clamp(28px,10.5vw,49px); }
}

/* ============================================================
   TÉLÉPHONE MOBILE (iPhone) — réglages fins < 560px
   ============================================================ */
@media (max-width: 560px) {
  /* Barre supérieure plus compacte */
  .topbar-fixed { padding: 10px 16px; }
  .lang { font-size: 13px; gap: 7px; }
  .hamburger { width: 42px; height: 36px; }

  /* Accueil : en-tête aéré + place sous le pied pour la flèche */
  #accueil { padding-bottom: 66px; }
  .masthead .name { letter-spacing: .06em; }
  .masthead .tagline { max-width: 30ch; margin-left: auto; margin-right: auto; }
  .masthead .intro { font-size: 14px; max-width: 42ch; }

  /* Tuiles : titres/sous-titres bien lisibles empilés */
  .tile-title { font-size: 18px; }
  .tile-sub { font-size: 13px; max-width: none; }

  /* Sections de contenu : titres, corps et espacements */
  .sec-header { padding-top: clamp(64px,12vh,80px); }
  .sec-title { font-size: clamp(26px,7.5vw,40px); }
  .sec-subtitle { font-size: clamp(21px,6.4vw,30px); }
  .sec-split { padding-bottom: 78px; }        /* dégage la flèche en bas à droite */
  .sec-body p { max-width: none; font-size: 15px; }

  /* FAQ pleine largeur */
  .faq-a p { max-width: none; }

  /* Contact : formulaire respirant, bouton pleine largeur */
  .contact-grid { padding: 24px 0 78px; }
  .btn-send { align-self: stretch; text-align: center; }

  /* Flèches : conservées à droite, légèrement réduites */
  .nav-arrow { width: 40px; height: 40px; bottom: 12px; }
  .nav-arrow svg { width: 20px; height: 20px; }
  .nav-arrows { bottom: 12px; }
}
