/* ═══════════════════════════════════════════════════════════════
   CHARTE GRAPHIQUE DAVID NOTAIRES (Agence Brio, janvier 2025)
   Feuille chargée APRÈS style.css : elle ne fait que corriger.
   Lot 1 (20 nov. 2026, essai local) : couleurs, polices, titres de
   section, repères de chapitre, boutons. style.css reste inchangé.
═══════════════════════════════════════════════════════════════ */

/* ── Police d'accompagnement de la charte : Lexend Deca (licence OFL,
      hébergée sur le site, police variable 300 à 600) ── */
@font-face {
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(fonts/lexend-deca-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(fonts/lexend-deca-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;
}

/* ── Couleurs de la charte ── */
:root {
  --olive:        #82785C;   /* RAL 6013 */
  --olive-dark:   #5F5842;
  --olive-mid:    #9A9073;
  --olive-light:  #C9BFA6;
  --olive-subtle: rgba(130,120,92,.08);
  --olive-nuit:   #4F4936;   /* dérivé, sections sombres */

  --cream:        #F4EBE4;   /* RAL 075 92 05 */
  --cream-dark:   #E5DCD6;   /* RAL 030 90 05 */
  --cream-mid:    #EAE3D7;   /* RAL 9001 */
  --pierre:       #D4CCC1;   /* RAL 080 80 05 */
  --rose:         #FFF6F0;   /* RAL 050 92 05 */

  --gold:         #BC7C2B;   /* ocre (RAL 070 60 50) à la place du doré */
  --gold-light:   #DFA262;
  --brun:         #733720;
  --terre:        #AB5F42;

  --dark:         #2B2620;
  --mid:          #4A443B;
  --muted:        #766D61;

  --font-sans:    'Lexend Deca', 'Helvetica Neue', Arial, sans-serif;
}

body { background: var(--rose); font-weight: 300; }

/* Fonds blancs → blanc rosé de la charte */
#search, #expertises, #equipe, #contact, #carrieres { background: var(--rose); }

/* ── Titres de section : ils n'avaient aucun style (Montserrat gras 19,5 px) ── */
.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--dark);
  margin: 0 0 18px;
}
.section-title em { font-style: italic; color: var(--olive); }
.galerie-title { font-size: clamp(38px, 4.8vw, 64px); line-height: 1.08; }
.galerie-title em { color: var(--olive); }
.section-sub { font-size: 17px; line-height: 1.7; color: var(--mid); }

/* ── Repères de chapitre : chiffre romain dans un ovale (charte, sommaire) ──
      Remplacent les surtitres en capitales très espacées. */
main, body { counter-reset: chapitre; }
#expertises .eyebrow, #equipe .eyebrow, #galerie .eyebrow,
#blog .eyebrow, #contact .eyebrow, #carrieres .eyebrow {
  counter-increment: chapitre;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--olive);
  margin-bottom: 4px;
}
#expertises .eyebrow::before, #equipe .eyebrow::before, #galerie .eyebrow::before,
#blog .eyebrow::before, #contact .eyebrow::before, #carrieres .eyebrow::before {
  content: counter(chapitre, upper-roman);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1;
}
/* Autres surtitres (haut de page, fenêtres) : plus sobres */
.eyebrow { letter-spacing: .14em; font-weight: 400; }

/* ── Menu ── */
.nav-links a {
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}

/* ── Boutons : pilule, casse normale ── */
.btn {
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 26px;
}
.btn-sm { font-size: 14px; padding: 10px 20px; }
.btn-gold { background: var(--gold); color: #24190D; }      /* texte foncé : contraste suffisant sur l'ocre */
.btn-gold:hover { background: var(--gold-light); color: #24190D; }
.btn-olive { background: var(--olive); color: var(--rose); }
.btn-olive:hover { background: var(--olive-dark); }
#nav-commencer { background: var(--gold); color: #24190D; }
#nav-commencer:hover { background: var(--gold-light); }

/* ═══════════════════════════════════════════════════════════════
   LOT 2 (20 nov. 2026) : haut de page plein écran, « Notre vision »,
   expertises en liste, équipe sur olive sombre, blog à la une.
═══════════════════════════════════════════════════════════════ */

/* ── Haut de page : photo plein écran, texte sur voile olive ── */
#hero {
  display: block;
  min-height: max(640px, 100svh);
  padding-top: 0;
  background: var(--olive-nuit);
}
#hero .hero-right {
  position: absolute;
  inset: 0;
  min-height: 0;
  z-index: 0;
  background: var(--olive-nuit);
}
#hero .hero-right::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(62,57,40,.92) 0%, rgba(62,57,40,.74) 36%, rgba(62,57,40,.18) 72%, rgba(62,57,40,0) 100%),
    linear-gradient(0deg, rgba(40,36,25,.5), rgba(40,36,25,0) 45%);
}
#hero .hero-right::after { display: none; }
#hero .hero-photo { object-position: center 40%; }
#hero .hero-left {
  position: relative;
  z-index: 2;
  background: transparent;
  min-height: max(640px, 100svh);
  display: flex;
  align-items: flex-end;
  max-width: 1360px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 80px) clamp(16px, 5vw, 80px) clamp(56px, 10vh, 120px);
}
#hero .hero-left::before { display: none; }
#hero .hero-content { max-width: 760px; }
#hero .hero-title { font-size: clamp(48px, 6.6vw, 104px); line-height: 1.02; margin-bottom: 26px; }
#hero .hero-title em { color: var(--gold-light); }
#hero .hero-desc { font-size: 18px; max-width: 520px; color: rgba(255,246,240,.88); margin-bottom: 36px; }
#hero .hero-btns { margin-bottom: 0; }
#hero .hero-divider { display: none; }
#hero .hero-badge {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  right: clamp(16px, 5vw, 80px);
  bottom: clamp(56px, 10vh, 120px);
}
#hero .hero-badge-logo { height: clamp(110px, 11vw, 170px); }
@media (max-width: 900px) {
  #hero .hero-right::before {
    background: linear-gradient(0deg, rgba(55,50,35,.94) 0%, rgba(55,50,35,.74) 55%, rgba(55,50,35,.3) 100%);
  }
  #hero .hero-badge { display: none; }
}
@media (max-width: 480px) {
  #hero .hero-left { padding-top: calc(var(--nav-height) + 120px); }
  #hero .hero-desc { font-size: 16px; }
}

/* ── « Notre vision » (section ajoutée par charte.js) ── */
.vision { background: var(--cream); padding: clamp(96px, 12vw, 160px) 0 clamp(80px, 10vw, 140px); }
.vision-label { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 400; color: var(--olive); }
.vision-label::before {
  content: "✦";
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 44px; border: 1px solid currentColor; border-radius: 50%;
  font-size: 13px;
}
.vision-texte {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.15;
  color: var(--dark);
  max-width: 20ch;
  margin: 28px 0 0;
}
.vision-texte em { font-style: italic; color: var(--olive); }
.vision-texte span { transition: opacity .35s; }
.vision-anime .vision-texte span { opacity: .18; }
.vision-anime .vision-texte span.lu { opacity: 1; }
.vision .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(64px, 8vw, 110px);
  border-top: 1px solid var(--pierre);
}
.vision .hero-stat {
  flex-direction: row;
  align-items: baseline;
  gap: 18px;
  padding: 34px 20px 0 28px;
  border-left: 1px solid var(--olive);
}
.vision .hero-stat + .hero-stat { margin-left: 28px; }
.vision .stat-num {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(64px, 7.5vw, 120px);
  line-height: .8;
  color: var(--brun);
}
.vision .hero-stat:nth-child(2) .stat-num { color: var(--gold); }
.vision .hero-stat:nth-child(3) .stat-num { color: var(--olive); }
.vision .stat-label {
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  color: var(--olive);
  line-height: 1.25;
  max-width: 11ch;
}
@media (max-width: 760px) {
  .vision .hero-stats { grid-template-columns: 1fr; }
  .vision .hero-stat + .hero-stat { margin-left: 0; margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .vision-anime .vision-texte span { opacity: 1; }
}

/* ── Expertises : liste éditoriale au lieu de 7 cartes ── */
#exp-grid.exp-grid {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 80px) 40px;
}
#exp-grid .exp-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 52px;
  grid-template-areas: "titre tag fleche" "titre court fleche";
  column-gap: 40px;
  align-items: center;
  width: auto;
  max-width: none;
  flex: none;
  margin: 0;
  padding: 32px 18px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--pierre);
  border-radius: 0;
  box-shadow: none;
  transform: none;
  transition: background .3s, padding .3s;
}
#exp-grid .exp-card:last-child { border-bottom: 1px solid var(--pierre); }
#exp-grid .exp-card::before,
#exp-grid .exp-top,
#exp-grid .exp-tags { display: none; }
#exp-grid .exp-title {
  grid-area: titre;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(28px, 2.9vw, 40px);
  line-height: 1.1;
  margin: 0;
  transition: color .3s;
}
#exp-grid .exp-tagline {
  grid-area: tag;
  align-self: end;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 6px;
}
#exp-grid .exp-short {
  grid-area: court;
  align-self: start;
  font-size: 15.5px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#exp-grid .exp-bottom { grid-area: fleche; justify-content: flex-end; margin: 0; padding: 0; border: 0; }
#exp-grid .exp-more {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--pierre);
  justify-content: center;
  font-size: 0; gap: 0;
  color: var(--dark);
  transition: background .3s, border-color .3s, transform .3s;
}
#exp-grid .exp-more svg { width: 16px; height: 16px; }
#exp-grid .exp-card:hover,
#exp-grid .exp-card:focus-visible { background: var(--cream); padding-left: 30px; transform: none; box-shadow: none; }
#exp-grid .exp-card:hover .exp-title { color: var(--olive); }
#exp-grid .exp-card:hover .exp-more { background: var(--gold); border-color: var(--gold); transform: rotate(-45deg); gap: 0; }
@media (max-width: 900px) {
  #exp-grid .exp-card {
    grid-template-columns: 1fr 44px;
    grid-template-areas: "titre fleche" "tag tag" "court court";
    row-gap: 10px;
    padding: 26px 6px;
  }
  #exp-grid .exp-card:hover { padding-left: 6px; }
  #exp-grid .exp-tagline { margin-top: 6px; }
  #exp-grid .exp-more { width: 44px; height: 44px; }
}

/* ── Équipe sur olive sombre ── */
#equipe { background: var(--olive-nuit); padding-bottom: clamp(80px, 10vw, 140px); }
#equipe .eyebrow { color: var(--gold-light); }
#equipe .section-title { color: var(--rose); }
#equipe .section-title em { color: var(--gold-light); }
#equipe .section-sub { color: rgba(255,246,240,.78); }
#equipe .team-card { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
#equipe .team-card:hover { transform: none; box-shadow: none; }
#equipe .tc-photo-wrap { height: auto; aspect-ratio: 7 / 5; border-radius: 2px; overflow: hidden; }
#equipe .tc-body { padding: 20px 0 0; }
#equipe .tc-titre { color: var(--gold-light); font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 14px; }
#equipe .tc-name { font-family: var(--font-serif); font-weight: 300; font-size: clamp(26px, 2.4vw, 34px); color: var(--rose); }
#equipe .tc-name a { color: inherit; }
#equipe .tc-bio-text { color: rgba(255,246,240,.72); }
#equipe .tc-profil-btn {
  background: transparent; border: 1px solid rgba(255,246,240,.4); color: var(--rose);
  border-radius: 999px; letter-spacing: 0; text-transform: none; font-size: 14px; padding: 9px 18px;
}
#equipe .tc-profil-btn:hover { background: rgba(255,246,240,.1); border-color: var(--rose); color: var(--rose); }
#equipe .mosaique-titre { color: var(--rose); font-weight: 300; }
#equipe .mosaique-titre em { color: var(--gold-light); }
#equipe .equipe-cta .btn-olive { background: var(--gold); color: #24190D; }
#equipe .equipe-cta .btn-olive:hover { background: var(--gold-light); }

/* ── Blog : premier article à la une, cartes plus sobres ── */
#blog .blog-grid { gap: clamp(28px, 3vw, 44px); }
#blog .blog-card { background: transparent; box-shadow: none; border-radius: 0; }
#blog .blog-card.visible:hover { transform: none; box-shadow: none; }
#blog .bc-img-wrap { border-radius: 2px; }
#blog .bc-body { padding: 20px 0 0; }
#blog .bc-title { font-weight: 400; font-size: 24px; line-height: 1.2; }
#blog .blog-card:hover .bc-title { color: var(--olive); }
#blog .bc-cat { letter-spacing: 0; text-transform: none; font-weight: 500; border-radius: 999px; }
#blog .bc-read { letter-spacing: 0; text-transform: none; font-size: 14.5px; }
#blog .bc-footer { border-top-color: var(--pierre); }
@media (min-width: 901px) {
  #blog .blog-grid .blog-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
    padding-bottom: clamp(40px, 5vw, 64px);
    border-bottom: 1px solid var(--pierre);
  }
  #blog .blog-grid .blog-card:first-child .bc-img-wrap { aspect-ratio: 3 / 2; }
  #blog .blog-grid .blog-card:first-child .bc-body { padding: 0; }
  #blog .blog-grid .blog-card:first-child .bc-title { font-size: clamp(32px, 3.2vw, 46px); font-weight: 300; -webkit-line-clamp: 4; }
  #blog .blog-grid .blog-card:first-child .bc-excerpt { -webkit-line-clamp: 4; font-size: 16.5px; }
  #blog .blog-grid .blog-card:first-child .bc-footer { border-top: 0; }
}


/* ═══════════════════════════════════════════════════════════════
   CHARTE, LOT 3 (20 nov. 2026, essai local) : CONTACT ET PIED DE PAGE
═══════════════════════════════════════════════════════════════ */

/* ── Contact : formulaire épuré, coordonnées sur olive sombre ── */
#contact .contact-body { gap: 0; grid-template-columns: 1.2fr 1fr; align-items: stretch; }
#contact .contact-form-col {
  background: #fff; border: 1px solid var(--pierre, #D4CCC1); border-right: 0;
  border-radius: 4px 0 0 4px; box-shadow: none; padding: 48px 48px 40px;
}
#contact .contact-info-col {
  background: var(--olive-nuit, #4F4936); color: #F4EBE4;
  border: 0; border-radius: 0 4px 4px 0; box-shadow: none;
  padding: 48px 44px 40px; gap: 28px; position: relative;
}
/* filet vertical de la charte */
#contact .contact-info-col::before {
  content: ''; position: absolute; left: 22px; top: 48px; bottom: 40px;
  width: 1px; background: rgba(244,235,228,.18);
}
#contact .contact-infos { gap: 22px; }
#contact .ci-item { gap: 16px; }
#contact .ci-icon-wrap {
  width: 38px; height: 38px; border-radius: 50%;
  background: transparent; border: 1px solid rgba(223,162,98,.55); color: #DFA262;
}
#contact .ci-label {
  text-transform: none; letter-spacing: .01em; font-weight: 500;
  font-size: 13px; color: rgba(244,235,228,.62); margin-bottom: 4px;
}
#contact .ci-value, #contact .ci-value a { color: #F4EBE4; }
#contact .ci-value a:hover { color: #DFA262; }
#contact .ci-value strong { color: #F4EBE4; font-weight: 500; }
/* téléphone en grand */
#contact .ci-item:nth-child(2) .ci-value a {
  font-family: var(--font-serif); font-weight: 400; letter-spacing: .01em;
  font-size: clamp(30px, 3vw, 42px); line-height: 1.1;
}
#contact .contact-map { border: 1px solid rgba(244,235,228,.16); box-shadow: none; border-radius: 4px; }
#contact .map-consent { background: rgba(244,235,228,.06); }
#contact .map-consent-txt { color: rgba(244,235,228,.72); }
#contact .map-consent-link { color: #DFA262; }
#contact .map-consent .btn-olive {
  background: transparent; border: 1px solid rgba(244,235,228,.5); color: #F4EBE4;
}
#contact .map-consent .btn-olive:hover { background: #F4EBE4; color: #2B2620; }
/* secret professionnel mis en valeur */
#contact .cf-secret {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--pierre, #D4CCC1);
}
@media (max-width: 960px) {
  #contact .contact-body { grid-template-columns: 1fr; }
  #contact .contact-form-col { border-right: 1px solid var(--pierre, #D4CCC1); border-top: 0; border-radius: 0 0 4px 4px; }
  #contact .contact-info-col { border-radius: 4px 4px 0 0; }
}
@media (max-width: 600px) {
  #contact .contact-form-col { padding: 32px 20px 28px; }
  #contact .contact-info-col { padding: 32px 20px 28px 36px; }
  #contact .contact-info-col::before { left: 18px; top: 32px; bottom: 28px; }
}

/* ── Pied de page : olive très sombre, ovale crème, filets verticaux ── */
#footer { background: #2E2A20; color: rgba(244,235,228,.72); }
#footer .footer-main { border-bottom-color: rgba(244,235,228,.1); }
#footer .footer-logo-img {
  height: 112px; background: none; border: 0; padding: 0;
  filter: none; opacity: .92; border-radius: 0;
}
#footer .footer-logo-link:hover .footer-logo-img { background: none; opacity: 1; }
#footer .footer-tagline { color: rgba(244,235,228,.6); }
#footer .footer-col-title {
  text-transform: none; letter-spacing: .01em; font-weight: 500;
  font-size: 15px; color: #DFA262;
}
#footer .footer-links a, #footer .footer-address, #footer .footer-info-link { color: rgba(244,235,228,.7); }
#footer .footer-links a:hover, #footer .footer-info-link:hover { color: #F4EBE4; }
#footer .footer-social-link { border-radius: 50%; border-color: rgba(244,235,228,.2); color: rgba(244,235,228,.7); }
#footer .footer-social-link:hover { border-color: #DFA262; color: #DFA262; background: transparent; }
#footer .footer-copy, #footer .footer-legal a { color: rgba(244,235,228,.45); }
#footer .footer-legal a:hover { color: #F4EBE4; }
@media (min-width: 1081px) {
  #footer .footer-col + .footer-col { border-left: 1px solid rgba(244,235,228,.12); padding-left: 32px; }
}
/* Lot 3, ajustements après contrôle : colonnes du pied de page alignées à gauche, libellés du formulaire en casse normale */
#footer .footer-grid { gap: 40px; grid-template-columns: 1.4fr 1.3fr 1fr 1.3fr; }
#footer .footer-col { text-align: left; align-items: flex-start; }
#footer .footer-links a:hover { padding-left: 0; }
#contact .cf-label {
  text-transform: none; letter-spacing: .01em; font-weight: 500; font-size: 13.5px; color: #4F4936;
}
@media (max-width: 1080px) {
  #footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  #footer .footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   RELECTURE AVEC PAUL (20 nov. 2026) : 7 corrections
═══════════════════════════════════════════════════════════════ */

/* 1. Menu sur l'olive du logo : le cadre du JPEG disparaît */
#nav { background: rgba(130,123,94,.97); border-bottom-color: transparent; }
#nav.scrolled { box-shadow: 0 2px 28px rgba(0,0,0,.18); }
#nav .nav-links a { color: #F4EBE4; }
#nav .nav-links a:hover, #nav .nav-links a.active { color: #fff; }
#nav .nav-links a::after { background: var(--gold-light); }
#nav .lang-btn { color: rgba(244,235,228,.7); }
#nav .lang-btn.active, #nav .lang-btn:hover { color: #fff; }
#nav .lang-sep { color: rgba(244,235,228,.4); }
#nav .nav-divider { background: rgba(244,235,228,.25); }
#nav .burger span { background: #F4EBE4; }
#nav .nav-logo-img { height: 64px; }

/* 2. Dernières petites capitales espacées → casse normale */
.blog-filter-btn {
  text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px;
  border: 1px solid var(--pierre); background: transparent; color: var(--mid); padding: 9px 18px;
}
.blog-filter-btn:hover { color: var(--olive); border-color: var(--olive); }
.blog-filter-btn.active { background: var(--olive); border-color: var(--olive); color: var(--rose); }
.search-shortcuts-label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; color: var(--muted); }
.search-tag { text-transform: none; letter-spacing: 0; border-radius: 999px; font-size: 14px; font-weight: 400; }
#hero .eyebrow { text-transform: none; letter-spacing: .02em; font-size: 15px; font-weight: 400; color: rgba(255,246,240,.82); }

/* 3. Titres de section alignés à gauche, texte à droite, comme Équipe et Blog */
#expertises .exp-section-head {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px 64px; align-items: end;
  text-align: left; max-width: var(--max-w);
}
#expertises .exp-head-right { text-align: left; max-width: 560px; justify-self: end; margin: 0 0 6px; }
#galerie .galerie-header {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 0 64px; align-items: end; text-align: left;
}
#galerie .galerie-header .eyebrow { grid-column: 1; grid-row: 1; justify-self: start; }
#galerie .galerie-title { grid-column: 1; grid-row: 2; margin-bottom: 0; }
#galerie .galerie-sub { grid-column: 2; grid-row: 2; margin: 0 0 6px; max-width: 560px; justify-self: end; font-size: 17px; line-height: 1.7; }
@media (max-width: 900px) {
  #expertises .exp-section-head, #galerie .galerie-header { grid-template-columns: 1fr; }
  #expertises .exp-head-right, #galerie .galerie-sub { justify-self: start; }
  #galerie .galerie-sub { grid-column: 1; grid-row: 3; margin-top: 16px; }
}

/* 4. Recherche (déplacée après « Notre vision » par charte.js) : plus discrète */
#search { padding: 56px 0 8px; background: var(--rose); }
#search .search-title, #search h2 { font-weight: 300; }

/* 5. Voile du haut de page allégé : les photos claires de l'étude se voient */
#hero .hero-right::before {
  background:
    linear-gradient(90deg, rgba(62,57,40,.80) 0%, rgba(62,57,40,.52) 36%, rgba(62,57,40,.08) 70%, rgba(62,57,40,0) 100%),
    linear-gradient(0deg, rgba(40,36,25,.38), rgba(40,36,25,0) 40%);
}
@media (max-width: 900px) {
  #hero .hero-right::before {
    background: linear-gradient(0deg, rgba(55,50,35,.9) 0%, rgba(55,50,35,.6) 50%, rgba(55,50,35,.15) 100%);
  }
}

/* 6. Espaces resserrés (même rythme partout : 96 px, 80 px ≤ 900 px, 64 px ≤ 480 px) */
#galerie { padding: 96px 0; }
#blog { padding-top: 96px; }
#carrieres { padding: 96px 0; }
@media (max-width: 900px) { #galerie, #carrieres { padding: 80px 0; } #blog { padding-top: 80px; } }
@media (max-width: 480px) { #galerie, #carrieres { padding: 64px 0; } #blog { padding-top: 64px; } }

/* 7. Notaires : grands portraits 4:5, nom et fonction, toute la carte mène au profil
      (la bio complète reste sur la page du notaire) */
#equipe .team-card { position: relative; }
#equipe .tc-photo-wrap { aspect-ratio: 4 / 5; }
#equipe .tc-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .6s; filter: saturate(.88);
}
#equipe .team-card:hover .tc-photo { transform: scale(1.04); filter: saturate(1); }
#equipe .tc-bio-text { display: none; }
#equipe .tc-name { margin-top: 4px; }
#equipe .tc-name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
#equipe .tc-profil-btn {
  position: relative; z-index: 2; border: 0; padding: 0; margin-top: 10px; background: none;
  color: var(--gold-light); font-size: 14px;
}
#equipe .tc-profil-btn:hover { background: none; color: var(--rose); }
@media (prefers-reduced-motion: reduce) { #equipe .team-card:hover .tc-photo { transform: none; } }
/* Relecture, ajustements après contrôle : sections de même fond séparées par un filet,
   pas par deux marges qui s'additionnent ; titre de L'Étude sur 2 lignes */
@media (min-width: 901px) { #galerie .galerie-header { grid-template-columns: 1.4fr 1fr; } }
#blog { padding-top: 0; }
#blog .blog-header { border-top: 1px solid var(--pierre); padding-top: 80px; }
#carrieres { padding-top: 0; }
#carrieres .container > :first-child { border-top: 1px solid var(--pierre); padding-top: 80px; }
@media (max-width: 900px) {
  #blog, #carrieres { padding-top: 0; }
  #blog .blog-header, #carrieres .container > :first-child { padding-top: 64px; }
}
@media (max-width: 480px) {
  #blog .blog-header, #carrieres .container > :first-child { padding-top: 48px; }
}

/* ═══════════════════════════════════════════════════════════════
   BANDEAU PHOTO DE L'ÉTUDE (20 nov. 2026, demande de Paul)
   Créé par charte.js : photo claire en couleur (galerie-13), en-tête
   de la galerie posé dessus, léger mouvement au défilement.
═══════════════════════════════════════════════════════════════ */
#galerie { padding-top: 0; }
#galerie .bandeau-etude {
  position: relative; overflow: hidden;
  min-height: max(560px, 82vh);
  display: flex; align-items: flex-end;
  margin-bottom: 96px; background: var(--olive-nuit);
}
#galerie .bandeau-photo {
  position: absolute; inset: -12% 0; z-index: 0;
  background: center 55% / cover no-repeat;
  will-change: transform;
}
#galerie .bandeau-etude::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(46,42,32,.86) 0%, rgba(46,42,32,.62) 42%, rgba(46,42,32,.12) 75%, rgba(46,42,32,0) 100%);
}
#galerie .bandeau-etude .galerie-header {
  position: relative; z-index: 2; width: 100%; margin: 0 auto;
  padding-bottom: clamp(48px, 7vw, 96px);
}
#galerie .bandeau-etude .eyebrow { color: #F4EBE4; }
#galerie .bandeau-etude .galerie-title { color: #FFF6F0; }
#galerie .bandeau-etude .galerie-title em { color: var(--gold-light); }
#galerie .bandeau-droite { grid-column: 2; grid-row: 2; justify-self: end; max-width: 520px; margin-bottom: 6px; }
#galerie .bandeau-droite .galerie-sub { margin: 0; color: rgba(255,246,240,.9); max-width: none; }
#galerie .bandeau-lien {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px;
  color: #FFF6F0; font-size: 15px; text-decoration: none;
  border-bottom: 1px solid var(--gold-light); padding-bottom: 4px; transition: color .2s;
}
#galerie .bandeau-lien:hover { color: var(--gold-light); }
@media (max-width: 900px) {
  #galerie .bandeau-etude { min-height: 520px; margin-bottom: 64px; }
  #galerie .bandeau-etude::after { background: linear-gradient(0deg, rgba(46,42,32,.88) 0%, rgba(46,42,32,.6) 50%, rgba(46,42,32,.1) 100%); }
  #galerie .bandeau-droite { grid-column: 1; grid-row: 3; justify-self: start; margin-top: 16px; }
}
@media (max-width: 480px) { #galerie .bandeau-etude { margin-bottom: 48px; } }
@media (prefers-reduced-motion: reduce) { #galerie .bandeau-photo { inset: 0; transform: none !important; } }

/* Auteurs sur les cartes du blog (ajoutés par charte.js) */
#blog .bc-auteur { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--olive); font-weight: 400; }
#blog .blog-card:first-child .bc-auteur { font-size: 15px; margin-top: 14px; }

/* ═══════════════════════════════════════════════════════════════
   RELECTURE COMPLÈTE (20 nov. 2026) : 3 corrections
═══════════════════════════════════════════════════════════════ */

/* 1. Équipe sur téléphone : 2 portraits par ligne (la section faisait environ 4 900 px) */
@media (max-width: 540px) {
  #equipe .team-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  #equipe .tc-body { padding-top: 12px; }
  #equipe .tc-titre { font-size: 12.5px; }
  #equipe .tc-name { font-size: 21px; line-height: 1.15; overflow-wrap: anywhere; }
  #equipe .tc-profil-btn { font-size: 13px; margin-top: 6px; }
}

/* 2. « Voir plus d'articles » : bouton arrondi, casse normale, police de la charte */
.blog-load-more {
  border-radius: 999px; border: 1px solid var(--olive);
  font-family: var(--font-sans); text-transform: none; letter-spacing: 0;
  font-size: 15px; font-weight: 500; padding: 13px 30px; color: var(--olive);
}
.blog-load-more:hover { background: var(--olive); color: var(--rose); }

/* 3. « Notre vision » : la phrase traverse la page sur grand écran */
.vision-texte { max-width: 30ch; font-size: clamp(34px, 4.8vw, 70px); }
/* Photos de la galerie : angles arrondis comme la mosaïque, espace un peu plus large */
#galerie .galerie-grid { gap: 8px; }
#galerie .gal-photo { border-radius: 8px; }
@media (max-width: 600px) { #galerie .galerie-grid { gap: 6px; } #galerie .gal-photo { border-radius: 6px; } }