/* ==========================================================================
   Polices hébergées sur le site
   --------------------------------------------------------------------------
   Lora et Inter sont ici servies depuis assets/fonts/ et non plus depuis
   Google Fonts. Aucune requête ne part donc vers un serveur tiers : c'est ce
   qui rend exacte la phrase des mentions légales sur l'absence de dépendance.

   Ce sont des polices variables : un seul fichier couvre toutes les graisses
   de 400 à 700, d'où « font-weight: 400 700 ».

   Les deux jeux « latin » et « latin-ext » sont séparés : le navigateur ne
   télécharge le second que s'il rencontre un caractère qui l'exige.

   Licence : SIL Open Font License 1.1 pour les deux familles — l'hébergement
   sur votre propre serveur est expressément autorisé.
   ========================================================================== */

@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/lora-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/lora-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora'; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url(fonts/lora-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora'; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url(fonts/lora-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   AURÉA CONSEIL — Feuille de style unique
   --------------------------------------------------------------------------
   Charte : Lora · #1C2F52 (marine) · #EEC68B (sable) · #BF9000 (doré)
   Pour changer une couleur partout sur le site, modifiez-la une seule fois
   dans le bloc « :root » ci-dessous.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables — la palette et les mesures du site
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs de marque */
  --navy:        #1C2F52;
  --navy-deep:   #142340;
  --navy-soft:   #2A3F66;
  --sand:        #EEC68B;
  --gold:        #BF9000;
  --gold-light:  #D8A93A;

  /* Neutres dérivés */
  --bg:          #FDFBF7;
  --bg-alt:      #F8F2E8;
  --ink:         #2A3550;
  --ink-soft:    #6E7183;
  --line:        #E7DDCD;
  --white:       #FFFFFF;

  /* Typographie */
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Échelle typographique — un seul endroit pour toute la hiérarchie.
     --t-titre     : titres de carte et de bloc (Lora, marine)
     --t-corps     : le texte courant, cartes comprises
     --t-surtitre  : sur-titres en petites capitales espacées
     --t-petit     : mentions secondaires (liens, notes)
     Ces quatre valeurs sont redéfinies une seule fois pour le téléphone,
     en bas de fichier : tout le site suit. */
  --t-titre:     1.32rem;
  --t-surtitre:  .74rem;
  --t-corps:     1.0625rem;  /* 17 px — le texte courant, cartes comprises */
  --t-petit:     .84rem;     /* mentions secondaires : liens, notes de bas de bloc */

  /* Mesures */
  --container: 1180px;
  --narrow: 800px;
  --mesure: 700px;   /* longueur de ligne maximale du texte courant (~78 signes) */
  --header-h: 88px;
  --section-y: 104px;
  --radius: 2px;
  --radius-btn: 9px;    /* angles des boutons — augmentez pour plus d'arrondi */
  --radius-field: 7px;  /* angles des champs de formulaire */

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(28, 47, 82, .04), 0 8px 24px rgba(28, 47, 82, .06);
  --shadow-md: 0 2px 4px rgba(28, 47, 82, .06), 0 18px 44px rgba(28, 47, 82, .12);
}

/* --------------------------------------------------------------------------
   2. Réinitialisation et bases
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 500;
  line-height: 1.22;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.45rem); }
h3 { font-size: var(--t-titre); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--navy); }

::selection { background: var(--sand); color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Lien d'évitement pour la navigation au clavier */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: var(--white);
  padding: 12px 20px; font-size: .9rem;
}
.skip-link:focus { left: 12px; top: 12px; color: var(--white); }

/* --------------------------------------------------------------------------
   3. Mise en page : conteneurs et sections
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}
/* margin-inline:auto : indispensable quand la classe est utilisée seule,
   sans « container », sinon le bloc reste collé à gauche. */
.container--narrow { max-width: var(--narrow); margin-inline: auto; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .62); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.86); }
.section--navy h2, .section--navy h3 { color: var(--white); }

/* En-tête de section : sur-titre doré, titre, filet, chapô */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--t-surtitre);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.section--navy .eyebrow { color: var(--sand); }

.rule {
  width: 58px; height: 2px; border: 0; margin: 26px 0 0;
  background: var(--gold);
}
.rule--center { margin-inline: auto; }
.section--navy .rule { background: var(--sand); }

.sec-head { max-width: 780px; margin-bottom: 58px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .rule { margin-inline: auto; }

.lead {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  line-height: 1.62;
  color: var(--navy);
  font-weight: 400;
}
.section--navy .lead { color: var(--white); }

.muted { color: var(--ink-soft); }

/* Corps de texte long */
.prose { max-width: 76ch; }
.prose h3 { margin-top: 2.4em; }
.prose h3:first-child { margin-top: 0; }
.prose .rule { margin-block: 14px 30px; }

/* --------------------------------------------------------------------------
   4. Recadrage d'image (affiche une portion d'une grande image)
   Les variables --iw/--ih (taille réelle) et --cx/--cy/--cw/--ch (zone à
   montrer, en pixels) sont posées dans le HTML, image par image.
   -------------------------------------------------------------------------- */
.crop { position: relative; overflow: hidden; background: var(--bg-alt); }

/* Méthode universelle : l'image est agrandie puis décalée derrière une fenêtre.
   La zone montrée épouse exactement le bloc (léger étirement si les
   proportions diffèrent). */
.crop > img {
  position: absolute;
  max-width: none;
  width:  calc(var(--iw) / var(--cw) * 100%);
  height: calc(var(--ih) / var(--ch) * 100%);
  left:   calc(var(--cx) / var(--cw) * -100%);
  top:    calc(var(--cy) / var(--ch) * -100%);
}

/* Ancrage haut : quand le bloc est plus large que la zone recadrée, le « cover »
   rogne en haut et en bas. Cette variante conserve le haut de l'image — utile
   dès qu'il y a des visages ou un ciel dans la partie supérieure. */
.crop--haut > img { object-position: center top; }

/* Méthode moderne (Chrome, Edge, Safari) : même résultat, mais sans aucune
   déformation — la zone est cadrée puis recadrée en « cover ». */
@supports (object-view-box: inset(0px)) {
  .crop > img {
    /* Positionnement absolu : l'image remplit toujours son cadre, même quand
       la hauteur du bloc vient d'un min-height. Sans cela, un liseré de fond
       apparaît sous la photo. */
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-view-box: inset(
      calc(var(--cy) * 1px)
      calc((var(--iw) - var(--cx) - var(--cw)) * 1px)
      calc((var(--ih) - var(--cy) - var(--ch)) * 1px)
      calc(var(--cx) * 1px)
    );
  }
}

/* --------------------------------------------------------------------------
   5. En-tête du site
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 251, 247, .93);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
}

/* Bloc-marque : feuille du logo + nom composé */
.brand { display: flex; align-items: center; gap: 13px; }
.brand__mark {
  width: 38px; height: 40px; flex: none;
  --iw: 683; --ih: 683; --cx: 222; --cy: 52; --cw: 268; --ch: 268;
  background: transparent;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif); font-size: 1.32rem; font-weight: 500;
  letter-spacing: .16em; color: var(--navy);
}
.brand__sub {
  font-family: var(--sans); font-size: .58rem; font-weight: 600;
  letter-spacing: .34em; color: var(--gold); margin-top: 5px;
}

/* Navigation */
.nav { display: flex; align-items: center; gap: 4px; }
/* Barre serrée volontairement : huit entrées doivent tenir sur une seule ligne
   jusqu'au seuil du menu déroulant (1200 px). Élargir ces valeurs fait
   déborder l'en-tête entre 1200 et 1300 px. */
.nav a {
  position: relative;
  font-size: .83rem; font-weight: 500; color: var(--ink);
  padding: 10px 10px; border-radius: var(--radius);
  white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }


/* Bouton d'accès à l'espace client, en fin de barre de navigation */
.nav__espace { gap: 7px; }
/* « .nav a » (0,1,1) écrase la couleur de « .btn--gold » (0,1,0) : sans ce
   rappel, le bouton Espace client garde le gris du texte courant. */
.nav a.nav__espace { color: var(--navy); }
.nav__espace svg { flex: none; opacity: .95; }


/* Boutons — deux niveaux seulement, dans la même famille dorée :
   plein (action principale) et contour (action secondaire). Le contour est
   doré sur fond clair, sable sur fond marine, pour rester lisible. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: .85rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 15px 28px; border: 1.5px solid transparent; border-radius: var(--radius-btn);
  cursor: pointer; transition: all .24s ease; text-align: center;
}
.btn--gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--gold:hover { background: var(--sand); border-color: var(--sand); color: var(--navy); }
.btn--outline { border-color: var(--gold); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--light { background: transparent; color: var(--sand); border-color: var(--sand); }
.btn--light:hover { background: var(--sand); color: var(--navy); border-color: var(--sand); }
.btn--sm { padding: 12px 17px; font-size: .75rem; }

/* Lien fléché discret */
.arrow-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: .82rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
}
.arrow-link span { transition: transform .24s ease; display: inline-block; }
.arrow-link:hover { color: var(--navy); }
.arrow-link:hover span { transform: translateX(5px); }

/* Bouton menu (mobile) */
.burger {
  display: none; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius-btn);
  cursor: pointer; align-items: center; justify-content: center;
}
.burger span {
  display: block; position: relative; width: 19px; height: 1.5px;
  background: var(--navy); transition: background .2s ease;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 1.5px;
  background: var(--navy); transition: transform .28s ease, top .2s ease;
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Bannières (hero)
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media .crop { position: absolute; inset: 0; background: var(--navy); }
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(20,35,64,.94) 0%, rgba(20,35,64,.80) 42%, rgba(20,35,64,.46) 100%),
    linear-gradient(to top, rgba(20,35,64,.55) 0%, rgba(20,35,64,0) 45%);
}
.hero__inner {
  position: relative; z-index: 2;
  padding-block: 132px 118px;
  max-width: 760px;
}
.hero h1 { color: var(--white); margin-bottom: 0; }
.hero .eyebrow { color: var(--sand); }
.hero__lead {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
  line-height: 1.66;
  color: rgba(255,255,255,.84);
  margin-top: 30px; max-width: 620px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }

/* Bannière d'accueil, plus haute */
.hero--home .hero__inner { padding-block: 176px 160px; }
.hero--home h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }

/* Bannière de page intérieure sans photo */
.hero--plain { background: var(--navy-deep); }
.hero--plain .hero__inner { padding-block: 116px 96px; }

/* --------------------------------------------------------------------------
   7. Bandeau manifeste (phrase forte sur fond marine)
   -------------------------------------------------------------------------- */
.band { background: var(--navy); color: var(--white); text-align: center; }
.band__inner { padding-block: 96px; max-width: 900px; margin-inline: auto; }
/* Phrase-manifeste entièrement dorée sur le fond marine */
.band__quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.9vw, 2.2rem);
  line-height: 1.42; color: var(--sand); margin: 0;
}
/* Une seule et même graisse, un seul et même style : pas d'italique qui
   viendrait rompre l'unité typographique du bandeau. */
.band__quote em { color: var(--sand); font-style: normal; }
.band__text {
  font-family: var(--serif);
  margin-top: 28px; color: rgba(255,255,255,.78);
  font-size: 1.02rem; line-height: 1.68; max-width: 720px; margin-inline: auto;
}

/* Ligne de rythme : Analyser — Décider — Mettre en œuvre */
.cadence {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 10px 22px; margin-top: 44px;
  font-family: var(--serif); font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  color: var(--sand); letter-spacing: .04em;
}
.cadence i { font-style: normal; color: rgba(255,255,255,.35); }

/* --------------------------------------------------------------------------
   8. Grilles et cartes
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 30px; }
.grid > *, .split > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--gap-lg { gap: 46px; }

/* Carte « univers » (Privé / Dirigeants / Entreprise) */
.univers {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.univers:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--sand); }
.univers__media { height: 250px; }
.univers__body { padding: 34px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.univers__name {
  font-family: var(--serif); font-size: var(--t-titre); letter-spacing: .12em;
  text-transform: uppercase; color: var(--navy); margin: 0;
}
.univers__aud {
  font-family: var(--serif); font-style: italic; color: var(--gold);
  font-size: 1.02rem; margin: 6px 0 0;
}
.univers__desc { margin: 22px 0 0; font-size: var(--t-corps); color: var(--ink-soft); }
.univers__tags {
  margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line);
  font-size: .8rem; color: var(--ink-soft); line-height: 1.9; letter-spacing: .01em;
}
.univers__cta { margin-top: 26px; padding-top: 0; }
.univers__cta .arrow-link { font-size: .76rem; letter-spacing: .07em; }
.univers__body > .univers__cta { margin-top: auto; padding-top: 26px; }

/* Bloc icône + titre + texte */
.feature { }
.feature__icon { color: var(--gold); margin-bottom: 20px; }
.feature__icon svg { display: block; }
.feature h3 {
  font-family: var(--serif); font-size: var(--t-titre); font-weight: 500;
  letter-spacing: 0; text-transform: none; color: var(--navy);
  line-height: 1.3; margin-bottom: 14px;
}
.feature p { font-size: var(--t-corps); color: var(--ink-soft); }

/* Variante encadrée, sur fond crème */
.feature--boxed {
  background: var(--white); border: 1px solid var(--line); padding: 38px 32px;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.feature--boxed:hover { border-color: var(--sand); box-shadow: var(--shadow-sm); }

/* Grille façon planche : séparateurs en filets fins */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.feature-grid > .feature {
  padding: 46px 38px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid--2 > .feature { padding: 52px 46px; }

/* Titre de bannière particulièrement long */
.hero h1.h1--long { font-size: clamp(1.65rem, 3vw, 2.5rem); }

/* Cartes d'accès de l'espace client : deux choix de même poids visuel,
   d'où la hauteur égale et le bouton aligné en bas. */
.acces {
  background: var(--white); border: 1px solid var(--line); padding: 46px 40px 42px;
  display: flex; flex-direction: column; height: 100%; text-align: center;
}
.acces__icon { color: var(--gold); margin-bottom: 22px; }
.acces__icon svg { display: block; margin-inline: auto; }
.acces h2,
.acces h3 { font-family: var(--serif); font-weight: 500; color: var(--navy);
  font-size: var(--t-titre); margin-bottom: 0; }
.acces--center { max-width: 640px; margin-inline: auto; height: auto; }
.acces .rule { margin: 18px auto 24px; }
.acces p { font-size: var(--t-corps); color: var(--ink-soft); }
.acces .acces__cta { margin-top: auto; padding-top: 30px; }

/* Carte de mission (mission globale / ciblée / suivi) */
.mission {
  background: var(--white); border: 1px solid var(--line); padding: 42px 36px 38px;
  display: flex; flex-direction: column; height: 100%;
}
.mission__kicker {
  font-size: var(--t-surtitre); font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 16px;
}
.mission h3 { font-family: var(--serif); font-size: var(--t-titre); text-transform: none; letter-spacing: 0; }
.mission p { font-size: var(--t-corps); color: var(--ink-soft); }
/* Filet doré sous le titre de chaque carte : même point d'ancrage pour les
   trois, ce qui uniformise leur rythme quelle que soit la longueur du texte. */
.mission .rule { margin: 16px 0 22px; }
.mission__steps {
  margin-top: auto; padding-top: 26px; border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: .95rem; letter-spacing: .02em;
}
/* Ces deux règles sont volontairement écrites « .mission p.xxx » : la règle
   « .mission p » ci-dessus est plus spécifique qu'une simple classe et écrasait
   sinon les couleurs, laissant les sur-titres en gris au lieu du doré. */
.mission p.mission__kicker { color: var(--gold); font-size: var(--t-surtitre); letter-spacing: .18em; }
.mission p.mission__steps { color: var(--navy); }

/* Deux colonnes texte + image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { min-height: 460px; }
/* Enfant direct uniquement : sinon la règle s'appliquerait aussi aux petits
   recadrages imbriqués (le logo de l'encart portrait, par exemple). */
.split__media > .crop { height: 100%; min-height: 460px; }

/* Variante pour une photographie réelle : elle s'affiche dans ses proportions
   d'origine, sans recadrage latéral qui couperait les personnes. */
.split__media.split__media--photo { min-height: 0; }
.split__media--photo > img { display: block; width: 100%; height: auto; }
/* Portrait : jamais agrandi au-delà de sa taille réelle (385 px de large),
   sinon il devient flou. Centré dans sa colonne. */
.split__media--portrait > img { max-width: 385px; margin-inline: auto; }

/* Liste de partenaires */
.partner {
  padding: 34px 0; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 230px minmax(0, var(--mesure)); gap: 40px; align-items: start;
}
.partner:first-of-type { border-top: 1px solid var(--line); }
/* Ces titres sont écrits en <p> et non en <h3> : sans rappel du poids et de
   l'interligne, ils héritent du 400 du texte courant et paraissent plus pâles
   et plus petits que les vrais titres, à taille pourtant identique. */
.partner__name { font-family: var(--serif); font-size: var(--t-titre); font-weight: 500;
  line-height: 1.22; color: var(--navy); margin: 0; }
.partner__role {
  font-size: var(--t-surtitre); font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin: 8px 0 0;
}
/* « .partner p » est plus spécifique qu'une simple classe : sans les rappels
   ci-dessous, il écraserait la taille et la couleur du nom et de l'intitulé,
   et les trois lignes s'afficheraient identiques. */
.partner p { font-size: var(--t-corps); color: var(--ink-soft); margin: 0; }
.partner p.partner__name { font-family: var(--serif); font-size: var(--t-titre); font-weight: 500; color: var(--navy); line-height: 1.22; }
.partner p.partner__role { font-size: var(--t-surtitre); color: var(--gold); }
.partner p.partner__lien { font-size: var(--t-petit); }


/* Les trois cabinets confrères — traitement strictement identique pour les
   trois, y compris Auréa : c'est le propos de la section. */
.confreres {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.confrere {
  padding: 34px 26px; text-align: center;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.confrere__nom {
  font-family: var(--serif); font-size: var(--t-titre); font-weight: 500; color: var(--navy);
  margin: 0; line-height: 1.22;
}
.confrere__cabinet {
  font-size: var(--t-surtitre); font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin: 12px 0 0;
}
.confrere__ville {
  font-family: var(--serif); font-style: italic; font-size: .95rem;
  color: var(--ink-soft); margin: 6px 0 0;
}

/* Lien vers le site d'un partenaire, sous son intitulé */
.partner__lien { margin: 10px 0 0; font-size: var(--t-petit); }
.partner__lien a { color: var(--gold); border-bottom: 1px solid transparent; }
.partner__lien a:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* Repères chiffrés / mise en avant d'un tarif */
.figure-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.figure { text-align: center; padding: 40px 26px; background: var(--white); border: 1px solid var(--line); }
.figure__num { font-family: var(--serif); font-size: 2.5rem; color: var(--navy); line-height: 1; }
.figure__label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 14px; }

/* Phrase de chute : conclut un bloc de texte courant en s'en détachant
   nettement — fond sable, filet doré, serif marine. Résout l'effet
   « paragraphe de plus » quand la phrase est en réalité une conclusion. */
.chute {
  margin: 36px 0 0; padding: 26px 30px;
  background: var(--bg-alt); border-left: 3px solid var(--gold);
  font-family: var(--serif); color: var(--navy);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.58;
}

/* Note encadrée */
.note {
  border-left: 2px solid var(--gold); background: var(--white);
  padding: 30px 34px; font-size: var(--t-corps);
  max-width: calc(var(--mesure) + 68px);
}
.note--sand { background: var(--bg-alt); border-left-color: var(--gold); }

/* Bande de photos en pied de section */
.photo-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.photo-strip .crop { aspect-ratio: 6 / 5; }
.photo-strip--4 { grid-template-columns: repeat(4, 1fr); }
.photo-strip--4 .crop { aspect-ratio: 11 / 10; }
.photo-strip--5 { grid-template-columns: repeat(5, 1fr); }
.photo-strip--5 .crop { aspect-ratio: 5 / 4; }

/* Appel à l'action de fin de page */
.cta { background: var(--bg-alt); text-align: center; }
.cta__inner { padding-block: 92px; max-width: 720px; margin-inline: auto; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta p { color: var(--ink-soft); margin-top: 18px; }
.cta .btn { margin-top: 34px; }

/* --------------------------------------------------------------------------
   9. Formulaire (contact)
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
/* min-width:0 : sans cela, un menu déroulant aux intitulés longs impose sa
   largeur à la colonne et fait déborder la page sur mobile. */
.form__row > *, .field { min-width: 0; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: var(--t-surtitre); font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--navy);
}
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: var(--t-corps); color: var(--ink);
  width: 100%; min-width: 0; max-width: 100%;
  padding: 14px 16px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-field);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(191, 144, 0, .12);
}
.form .btn { justify-self: start; }
.form__note { font-size: var(--t-petit); color: var(--ink-soft); }

/* Emplacement réservé à une photo que Caroline fournira */
.portrait-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; text-align: center;
  background: var(--bg-alt); border: 1px solid var(--sand);
  min-height: 520px; padding: 40px 30px;
}
.portrait-slot__mark {
  width: 62px; height: 64px;
  --iw: 683; --ih: 683; --cx: 222; --cy: 52; --cw: 268; --ch: 268;
  background: transparent; opacity: .5;
}
.portrait-slot__label {
  font-size: .72rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin: 0;
}
.portrait-slot__hint { font-size: .88rem; color: var(--ink-soft); margin: 0; max-width: 260px; }

/* Vignette en attente d'une photo précise, au format d'une case de bande */
.photo-todo {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 12px;
  background: var(--bg-alt); border: 1px dashed var(--gold);
  aspect-ratio: 6 / 5;
}
.photo-todo__mark {
  width: 26px; height: 27px; flex: none; opacity: .55;
  --iw: 683; --ih: 683; --cx: 222; --cy: 52; --cw: 268; --ch: 268;
  background: transparent;
}
.photo-todo__label {
  font-size: .56rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--gold); margin: 0; line-height: 1.5;
}
.photo-todo__hint { font-size: .6rem; color: var(--ink-soft); margin: 0; line-height: 1.45; }

/* Encart signalant un élément non actif dans la maquette */
.placeholder-box {
  border: 1px dashed var(--sand); background: var(--white);
  padding: 46px 34px; text-align: center; color: var(--ink-soft); font-size: .95rem;
}
.placeholder-box strong { display: block; margin-bottom: 8px; }

/* Champ à compléter par Caroline */
.todo {
  background: rgba(238, 198, 139, .35); color: var(--navy);
  padding: 1px 7px; font-size: .88em; font-weight: 600;
  border-bottom: 1px dashed var(--gold);
}

/* --------------------------------------------------------------------------
   10. Coordonnées et mentions légales
   -------------------------------------------------------------------------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.contact-list li { display: grid; grid-template-columns: 26px 1fr; gap: 16px; align-items: start; }
.contact-list svg { color: var(--gold); margin-top: 3px; }
.contact-list b { display: block; font-family: var(--sans); font-size: var(--t-surtitre); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--navy); margin-bottom: 5px; }
.contact-list span { color: var(--ink-soft); font-size: var(--t-corps); }

.legal h2 { font-size: 1.5rem; margin-top: 2.4em; }
.legal h2:first-of-type { margin-top: 0; }
.legal dl { display: grid; grid-template-columns: 260px 1fr; gap: 10px 30px; margin: 0 0 1.6em; font-size: var(--t-corps); }
.legal dt { font-weight: 600; color: var(--navy); }
.legal dd { margin: 0; color: var(--ink-soft); }
.legal ul { padding-left: 20px; color: var(--ink-soft); font-size: var(--t-corps); }
.legal li { margin-bottom: 12px; }

/* --------------------------------------------------------------------------
   11. Pied de page
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.68); font-size: .92rem; }
.site-footer__top { padding-block: 76px 58px; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 50px; }
.site-footer h4 {
  font-family: var(--sans); font-size: var(--t-surtitre); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--sand); margin-bottom: 22px;
}
.site-footer a { color: rgba(255,255,255,.68); }
.site-footer a:hover { color: var(--sand); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-brand__name {
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: .18em;
  color: var(--white); margin: 0;
}
.footer-brand__sub {
  font-size: .6rem; font-weight: 600; letter-spacing: .34em;
  text-transform: uppercase; color: var(--sand); margin: 8px 0 0;
}
.footer-brand__tag {
  font-family: var(--serif); font-style: italic; color: rgba(255,255,255,.7);
  margin: 22px 0 0; max-width: 300px;
}
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding-block: 26px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  font-size: .8rem; color: rgba(255,255,255,.5);
}

/* --------------------------------------------------------------------------
   12. Apparition en fondu au défilement
   -------------------------------------------------------------------------- */
/* Le contenu n'est masqué que si JavaScript est actif : sans lui, tout
   s'affiche normalement. */
.js .reveal { opacity: 0; transform: translateY(18px); }
.reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   13. Adaptation aux écrans plus petits
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  :root { --section-y: 84px; }
  .split { gap: 44px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 44px; }
}

/* Le menu déroulant se déclenche tôt : la barre compte huit entrées et exige
   environ 1170 px pour tenir sur une ligne. Ne pas descendre ce seuil sans
   raccourcir la navigation. */
@media (max-width: 1180px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 16px 24px 30px;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .28s ease, opacity .28s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 15px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 20px; }
}

@media (max-width: 900px) {
  .grid--2, .grid--3, .figure-row { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media, .split__media > .crop { min-height: 320px; }
  .portrait-slot { min-height: 380px; }
  .partner { grid-template-columns: 1fr; gap: 14px; }
  .confreres { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; gap: 4px 0; }
  .legal dd { margin-bottom: 14px; }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .photo-strip--4 { grid-template-columns: repeat(2, 1fr); }
  .photo-strip--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  :root { --section-y: 68px; --header-h: 76px; }
  body { font-size: 16px; }
  .container { padding-inline: 20px; }
  .hero__inner { padding-block: 92px 78px; }
  .hero--home .hero__inner { padding-block: 108px 92px; }
  .band__inner { padding-block: 64px; }
  .cta__inner { padding-block: 64px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid > .feature { padding: 34px 24px; }
  .form__row { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; gap: 38px; padding-block: 56px 42px; }
  .brand__name { font-size: 1.15rem; }
  .mission { padding: 32px 26px; }
  .sec-head { margin-bottom: 40px; }
  .btn { width: 100%; }
  .hero__actions .btn { width: auto; }

  /* ----- Lisibilité sur téléphone -------------------------------------
     Les petites capitales espacées descendent à 9-11 px sur mobile, ce qui
     est trop petit pour une lecture confortable. On les remonte au-dessus
     de 12 px en redéfinissant les deux jetons de l'échelle : tout le site
     suit, sans reprendre chaque composant un par un. */
  :root { --t-titre: 1.18rem; --t-surtitre: .8rem; --t-corps: 1rem; --t-petit: .88rem; }
  .brand__sub { font-size: .68rem; letter-spacing: .28em; }
  .footer-brand__sub { font-size: .72rem; }
  .mission p.mission__kicker { font-size: var(--t-surtitre); }
  /* Rappel plus spécifique : « .partner p.partner__role » l'emporterait sinon
     et le mobile retomberait à 11,8 px. */
  .partner p.partner__role { font-size: var(--t-surtitre); }
  .partner__role,
  .confrere__cabinet,
  .figure__label,
  .portrait-slot__label,
  .photo-todo__label,
  .cartouche b,
  .contact-list b,
  .field label,
  .site-footer h4 { font-size: var(--t-surtitre); letter-spacing: .18em; }
  .univers__tags { font-size: .88rem; line-height: 1.85; }
  .partner__lien,
  .form__note,
  .site-footer__bottom { font-size: var(--t-petit); }
  .btn { font-size: .88rem; }
  .btn--sm { font-size: .82rem; }
  .topbar__link { font-size: .8rem; }
  .note p,
  .warn { font-size: var(--t-corps); }

  /* Zones tactiles : au moins 44 px de haut pour tous les liens autonomes */
  .contact-list a,
  .partner__lien a,
  .arrow-link { display: inline-flex; align-items: center; min-height: 44px; }
}

/* --------------------------------------------------------------------------
   14. Impression
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .burger, .cta, .hero__media { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .hero { background: #fff; }
  .hero h1, .hero__lead { color: #000; }
}

/* Piège à robots : hors écran, hors parcours clavier, invisible aux lecteurs
   d'écran. Ne jamais le passer en display:none, certains robots le détectent. */
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Case de consentement du formulaire de contact */
.field--consent label {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start;
  font-size: var(--t-petit); font-weight: 400; letter-spacing: 0;
  text-transform: none; color: var(--ink-soft); line-height: 1.6; cursor: pointer;
}
.field--consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); }
.field--consent a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
