/* =========================================================
   RASOOL — Design system « direction claire » (validé 08/06/2026)
   Bordeaux + crème · Cormorant (titres) + Open Sans (corps)
   Iconographie FontAwesome solid · inspiration cabinet Chine Feger
   Source unique partagée par toutes les pages.
   ========================================================= */

:root {
  --bordeaux:        #6B1F2E;
  --bordeaux-fonce:  #561522;
  --creme:           #FAF4E8;
  --creme-fonce:     #F1E7D3;
  --blanc:           #FFFFFF;
  --noir:            #1A1A1A;
  --texte:           #1A1A1A;
  --gris:            #1A1A1A;
  --gris-clair:      #444444;
  --gris-papier:     #E5E0D7;
  --marine:          #2B3145; /* accent profond optionnel (titres footer, ancres) */

  --font-titre: 'Cormorant', Georgia, 'Times New Roman', serif;
  --font-corps: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;

  --container: 1180px;
  --container-narrow: 800px;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(26,26,26,0.06);
  --shadow-md: 0 6px 22px rgba(26,26,26,0.09);
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-corps);
  font-size: 17px;
  line-height: 1.65;
  color: var(--texte);
  background: var(--blanc);
}
h1, h2, h3, h4 { font-family: var(--font-titre); color: var(--noir); line-height: 1.12; font-weight: 700; margin: 0 0 16px; }
p { margin: 0 0 18px; }
strong, b { font-weight: 700; color: var(--noir); }
a { color: var(--bordeaux); text-decoration: none; transition: color .2s; }
a:hover { color: var(--bordeaux-fonce); }
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, .burger:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bordeaux); margin-bottom: 16px; display: block; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-family: var(--font-corps); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 3px; cursor: pointer; transition: all .2s; border: 2px solid transparent; }
.btn-primary { background: var(--bordeaux); color: var(--blanc); border-color: var(--bordeaux); }
.btn-primary:hover { background: var(--bordeaux-fonce); border-color: var(--bordeaux-fonce); color: var(--blanc); }
.btn-outline { background: transparent; color: var(--bordeaux); border-color: var(--bordeaux); }
.btn-outline:hover { background: var(--bordeaux); color: var(--blanc); }

/* ============ HEADER ============ */
.site-header { background: var(--creme); border-bottom: 0; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 14px 0; }
.logo-wrap { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 88px; width: auto; display: block; }
.nav-main { display: flex; gap: 30px; list-style: none; padding: 0; margin: 0; align-items: center; }
.nav-main a { color: var(--noir); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; padding: 6px 0; position: relative; }
.nav-main a:hover, .nav-main a.active { color: var(--bordeaux); }
.nav-main > li > a { display: inline-block; transform-origin: center; transition: transform .18s ease, color .2s ease; }
/* Barre bordeaux sous l'onglet : cachee par defaut, apparait au survol et sur l'onglet actif */
.nav-main > li > a::before { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--bordeaux); opacity: 0; transition: opacity .2s ease; }
.nav-main > li > a:hover::before, .nav-main > li > a.active::before { opacity: 1; }
/* Au survol : le texte de l'onglet grossit legerement */
.nav-main > li > a:hover { transform: scale(1.08); }
.header-cta { background: var(--bordeaux); color: var(--blanc); padding: 11px 22px; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 3px; }
.header-cta:hover { background: var(--bordeaux-fonce); color: var(--blanc); }
/* Menu déroulant Expertises */
.nav-main .has-dropdown { position: relative; }
.nav-main .nav-expertises::after { content: " \25BE"; font-size: 10px; }
.nav-main .dropdown { position: absolute; top: 100%; left: 0; min-width: 248px; background: #fff; border: 1px solid var(--gris-papier); border-top: 3px solid var(--bordeaux); box-shadow: 0 12px 32px rgba(26,26,26,.14); list-style: none; padding: 10px 0; margin: 10px 0 0; opacity: 0; visibility: hidden; transition: opacity .18s, visibility .18s; z-index: 120; }
.nav-main .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; }
.nav-main .dropdown li { margin: 0; }
.nav-main .dropdown li a { display: block; padding: 9px 20px; font-size: 14px; font-weight: 600; color: var(--noir); white-space: nowrap; }
.nav-main .dropdown li a:hover { color: var(--bordeaux); background: var(--creme); }
.nav-main .dropdown li a::after { display: none; }
/* Sous-menus expertises (niveau 2) */
html { scroll-padding-top: 88px; }
.nav-main .dropdown li.has-sub { position: relative; }
.nav-main .dropdown li.has-sub > a { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.nav-main .dropdown li.has-sub > a::after { content: "\203A"; display: inline; position: static; color: var(--bordeaux); font-size: 15px; }
.nav-main .subdropdown { position: absolute; top: -13px; left: 100%; min-width: 272px; background: #fff; border: 1px solid var(--gris-papier); border-top: 3px solid var(--bordeaux); box-shadow: 0 12px 32px rgba(26,26,26,.14); list-style: none; padding: 10px 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .18s, visibility .18s; z-index: 130; }
.nav-main .dropdown li.has-sub:hover > .subdropdown { opacity: 1; visibility: visible; }
.nav-main .subdropdown li { margin: 0; }
.nav-main .subdropdown li a { display: block; padding: 8px 20px; font-size: 13px; font-weight: 500; color: var(--noir); white-space: nowrap; }
.nav-main .subdropdown li a:hover { color: var(--bordeaux); background: var(--creme); }
.nav-main .subdropdown li a::after { display: none; }
.burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; width: 44px; height: 44px; align-items: center; justify-content: center; }
.burger span { width: 26px; height: 2px; background: var(--noir); display: block; transition: .3s; }
@media (max-width: 1023px) {
  .nav-main, .header-cta { display: none; }
  .burger { display: flex; }
  /* Panneau menu : étroit, aligné à droite (pas pleine largeur) */
  .site-header.nav-open nav { position: absolute; top: calc(100% + 6px); left: auto; right: clamp(8px,3vw,16px); width: min(320px, 86vw); background: var(--creme); border: 1px solid var(--gris-papier); border-radius: 12px; box-shadow: var(--shadow-md); overflow: hidden; overflow-y: auto; max-height: calc(100vh - 84px); }
  .site-header.nav-open .nav-main { display: flex; flex-direction: column; gap: 0; padding: 6px 0; }
  .site-header.nav-open .nav-main > li { width: 100%; }
  .site-header.nav-open .nav-main a { display: flex; align-items: center; min-height: 46px; padding: 11px 20px; }
  .site-header.nav-open .nav-main a.active::after { display: none; }
  .site-header.nav-open .nav-main > li > a::before { display: none; }
  /* Niveau 1 : Expertises (replié par défaut) */
  .site-header.nav-open .nav-main .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0; margin: 0; min-width: 0; background: var(--creme); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .site-header.nav-open .nav-main .has-dropdown.open .dropdown { max-height: 1800px; }
  .nav-main .nav-expertises::after { display: inline-block; transition: transform .25s; }
  .site-header.nav-open .nav-main .has-dropdown.open .nav-expertises::after { transform: rotate(180deg); }
  .site-header.nav-open .nav-main .dropdown li a { padding-left: 34px; }
  /* Niveau 2 : sous-rubriques (repliées, dépliables par expertise) */
  .site-header.nav-open .nav-main .dropdown li.has-sub > a::after { content: "\25BE"; display: inline-block; position: static; color: var(--bordeaux); font-size: 12px; transition: transform .25s; }
  .site-header.nav-open .nav-main .dropdown li.has-sub.open > a::after { transform: rotate(180deg); }
  .site-header.nav-open .nav-main .subdropdown { position: static; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0; margin: 0; min-width: 0; background: #fff; max-height: 0; overflow: hidden; transition: max-height .28s ease; }
  .site-header.nav-open .nav-main .dropdown li.has-sub.open > .subdropdown { max-height: 620px; }
  .site-header.nav-open .nav-main .subdropdown li a { padding-left: 46px; font-weight: 500; min-height: 42px; }
  /* Accueil : menu mobile ouvert sur fond crème -> liens foncés (sinon blanc sur crème illisible) */
  .home .site-header.nav-open .nav-main a, .home .site-header.nav-open .nav-main .nav-expertises { color: var(--noir); }
  .home .site-header.nav-open .nav-main a:hover, .home .site-header.nav-open .nav-main a.active { color: var(--bordeaux); }
}
@media (max-width: 768px) { .site-footer a { display: inline-block; padding: 4px 0; } }

/* ============ HERO accueil (photo gauche / texte droite) ============ */
.hero { background: var(--creme); border-bottom: 1px solid var(--gris-papier); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; max-width: 1320px; margin: 0 auto; }
.hero-photo { position: relative; min-height: 560px; background-size: cover; background-position: 50% 22%; }
.hero-text { padding: 80px clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.hero-text h1 { font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: 1.08; letter-spacing: 0.005em; color: var(--noir); font-weight: 700; margin-bottom: 10px; max-width: 22ch; }
.hero-text h1 em { font-style: normal; color: var(--bordeaux); font-weight: 700; }
.hero-divider { width: 64px; height: 3px; background: var(--bordeaux); margin: 22px 0 26px; border: 0; }
.hero-text .lead { font-size: 19px; line-height: 1.6; color: var(--texte); max-width: 46ch; margin-bottom: 16px; }
.hero-text .lead strong { color: var(--noir); font-weight: 700; }
.hero-domaines { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gris); margin: 8px 0 32px; }
.hero-domaines span { position: relative; }
.hero-domaines span:not(:last-child)::after { content: "·"; color: var(--bordeaux); margin-left: 18px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-photo { min-height: 380px; background-position: 50% 18%; } .hero-text { padding: 48px 28px 56px; } }

/* ============ PAGE-HERO (bandeau clair pages intérieures) ============ */
.page-hero { background: var(--bordeaux); border-bottom: 0; padding: 56px 0 48px; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: rgba(255,255,255,0.78); }
.page-hero .eyebrow { margin-bottom: 14px; color: #fff; opacity: 0.9; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); max-width: 20ch; margin-bottom: 16px; color: #fff; }
.page-hero h1 em { font-style: normal; color: var(--creme); }
.page-hero p { font-size: 19px; color: rgba(255,255,255,0.85); max-width: 60ch; margin: 0; }
.breadcrumb { font-size: 13px; letter-spacing: 0.04em; color: var(--gris-clair); margin-bottom: 22px; }
.breadcrumb a { color: var(--gris); }
.breadcrumb a:hover { color: var(--bordeaux); }
.breadcrumb span { margin: 0 8px; color: var(--gris-papier); }

/* ============ BANDEAU CONFIANCE ============ */
.trust { background: var(--blanc); border-bottom: 1px solid var(--gris-papier); }
.trust-inner { display: flex; flex-wrap: wrap; gap: 14px 48px; align-items: center; justify-content: center; padding: 22px 0; }
.trust-item { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--gris); }
.trust-item strong { font-family: var(--font-titre); font-size: 26px; color: var(--bordeaux); font-weight: 700; }

/* ============ SECTIONS génériques ============ */
.section { padding: 88px 0; }
.section.bg-creme { background: var(--creme); }
.section.bg-blanc { background: var(--blanc); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.section-head h2 em { font-style: normal; color: var(--bordeaux); }
/* Balai : aucun mot des titres ne doit rester en italique (demande Me Rasool) */
h1 em, h2 em, h3 em { font-style: normal; }
.section-head p { color: var(--gris); }

/* Prose (corps d'article / contenu riche) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 40px 0 14px; }
.prose h3 { font-size: 1.35rem; margin: 30px 0 10px; }
.prose p { font-size: 18px; line-height: 1.75; color: var(--texte); text-align: justify; }
.split-text p { text-align: justify; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 18px; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: 10px; line-height: 1.6; }
.prose ul li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--bordeaux); position: absolute; left: 0; font-size: 13px; top: 4px; }
.prose blockquote { border-left: 3px solid var(--bordeaux); background: var(--creme); margin: 28px 0; padding: 22px 28px; font-family: var(--font-titre); font-style: italic; font-size: 1.4rem; color: var(--noir); }

/* ============ SPLIT image + texte ============ */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split.rev { grid-template-columns: 7fr 5fr; }
.split-photo { position: relative; }
.split-photo img { width: 100%; display: block; border-radius: var(--radius); }
.split-photo::before { content: ""; position: absolute; left: -14px; top: -14px; width: 92px; height: 92px; border-top: 3px solid var(--bordeaux); border-left: 3px solid var(--bordeaux); }
.split-text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.split-text h2 em { font-style: normal; color: var(--bordeaux); }
.split-text p { font-size: 17px; line-height: 1.7; color: var(--texte); }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: 1fr; } .split-photo { max-width: 460px; } }

/* Liste de faits / parcours */
.facts { list-style: none; padding: 0; margin: 24px 0; }
.facts li { position: relative; padding: 14px 0 14px 38px; border-bottom: 1px solid var(--gris-papier); font-size: 16px; color: var(--texte); }
.facts li:last-child { border-bottom: 0; }
.facts li i { position: absolute; left: 0; top: 16px; color: var(--bordeaux); font-size: 18px; }
.facts li strong { color: var(--noir); font-weight: 700; }

/* ============ CARTES expertises (icônes par matière) ============ */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .exp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .exp-grid { grid-template-columns: 1fr; } }
.exp-card { background: var(--blanc); border: 1px solid var(--gris-papier); border-radius: var(--radius); padding: 34px 28px; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: all .25s; }
.exp-card p { text-align: justify; }
.exp-card:hover { border-color: var(--bordeaux); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.exp-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--creme); color: var(--bordeaux); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.exp-ico i { font-size: 26px; line-height: 1; }
.exp-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.exp-card p { font-size: 15px; color: var(--gris); line-height: 1.6; margin-bottom: 18px; flex: 1; }
.exp-link { color: var(--bordeaux); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; }
.exp-link::after { content: " →"; }
/* Expertises : grande carte pleine largeur + duo 1x1 */
.exp-feature { flex-direction: row; align-items: center; gap: clamp(22px, 3.2vw, 44px); padding: clamp(30px, 3.6vw, 48px); margin-bottom: 22px; }
.exp-feature .exp-ico { width: 92px; height: 92px; margin-bottom: 0; flex: 0 0 auto; }
.exp-feature .exp-ico i { font-size: 42px; }
.exp-feature-body { flex: 1; }
.exp-feature-body h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: 12px; }
.exp-feature-body p { font-size: 16px; }
@media (max-width: 640px) { .exp-feature { flex-direction: column; align-items: flex-start; text-align: left; } }
.exp-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .exp-duo { grid-template-columns: 1fr; } }
/* Bandeau simulateur (repris de la page Dommage corporel) */
.simu-cta { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); flex-wrap: wrap; margin-top: 22px; background: var(--bordeaux); color: #fff; border-radius: var(--radius); padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow-md); }
.simu-cta-ico { font-size: 38px; color: #fff; flex: 0 0 auto; }
.simu-cta-txt { flex: 1 1 300px; }
.simu-cta-txt h3 { color: #fff; margin: 0 0 6px; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.simu-cta-txt p { color: rgba(255,255,255,0.9); margin: 0; font-size: 16px; line-height: 1.55; }
.simu-cta-btn { flex: 0 0 auto; background: #fff; color: var(--bordeaux); border-color: #fff; }
.simu-cta-btn:hover { background: var(--creme); color: var(--bordeaux); border-color: var(--creme); }

/* ============ TÉMOIGNAGES ============ */
.temoins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .temoins-grid { grid-template-columns: 1fr; } }
.temoin-card { background: var(--creme); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.temoin-stars { color: var(--bordeaux); letter-spacing: 2px; margin-bottom: 14px; font-size: 16px; }
.temoin-text { font-style: italic; color: var(--noir); font-size: 16px; line-height: 1.6; margin-bottom: 18px; flex: 1; }
.temoin-author { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gris); padding-top: 14px; border-top: 1px solid var(--gris-papier); }

/* ============ CTA FINAL ============ */
.cta { padding: 80px 0; background: var(--creme); text-align: center; }
.cta-card { max-width: 760px; margin: 0 auto; background: var(--blanc); border: 1px solid var(--gris-papier); border-top: 4px solid var(--bordeaux); border-radius: var(--radius); padding: 56px 40px; box-shadow: var(--shadow-md); }
.cta-card h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); margin-bottom: 12px; }
.cta-card p { color: var(--gris); font-size: 18px; max-width: 60ch; margin: 0 auto 28px; text-align: justify; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.site-footer { background: var(--noir); color: var(--creme); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 { color: var(--blanc); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-corps); }
.site-footer p { color: rgba(248,244,237,0.8); font-size: 14px; line-height: 1.7; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(248,244,237,0.8); font-size: 14px; }
.site-footer a:hover { color: var(--blanc); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(248,244,237,0.55); }

/* Marque maquette */
.maquette-mark { position: fixed; top: 8px; right: 8px; background: var(--bordeaux); color: #fff; padding: 6px 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; z-index: 100; border-radius: 3px; }

/* ============ HERO FONDU (accueil) — photo qui se fond dans le texte ============ */
.hero-fused { position: relative; display: flex; align-items: center; min-height: 80vh; background: var(--creme); border-bottom: 1px solid var(--gris-papier); overflow: hidden; }
.hero-photo-pane { position: absolute; top: 0; bottom: 0; left: 0; right: auto; width: 78%; background-size: cover; background-position: 42% center; z-index: 0; }
.hero-photo-pane::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,244,232,0) 0%, rgba(250,244,232,0) 34%, rgba(250,244,232,0.15) 45%, rgba(250,244,232,0.5) 55%, rgba(250,244,232,0.85) 64%, rgba(250,244,232,0.96) 75%, var(--creme) 100%); }
.hero-text-pane { position: relative; z-index: 2; margin-left: auto; width: min(46%, 540px); padding: 56px clamp(28px, 4vw, 72px) 56px 0; }
.hero-text-pane .htext { max-width: 470px; }
.hero-fused .eyebrow { margin-bottom: 14px; }
.hero-fused h1 { font-size: clamp(2.3rem, 3.4vw, 3.5rem); line-height: 1.09; color: var(--noir); margin-bottom: 14px; }
.hero-fused h1 em { font-style: normal; color: var(--bordeaux); }
.hero-fused .lead { font-size: 18px; line-height: 1.65; color: var(--texte); margin-bottom: 22px; font-weight: 400; }
.hero-fused .lead strong { color: var(--noir); font-weight: 700; }
.hero-fused .hero-domaines { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--noir); margin: 4px 0 26px; }
.hero-fused .hero-domaines span:not(:last-child)::after { content: "·"; color: var(--bordeaux); margin-left: 16px; font-weight: 700; }
.hero-fused .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px 30px; border-top: 1px solid var(--gris-papier); padding-top: 18px; }
.hero-stats span { font-size: 14px; color: var(--gris); }
.hero-stats strong { font-family: var(--font-titre); font-size: 22px; color: var(--bordeaux); font-weight: 700; margin-right: 5px; }
@media (max-width: 880px) {
  .hero-fused { flex-direction: column; min-height: auto; }
  .hero-photo-pane { position: relative; inset: auto; width: 100%; height: 320px; background-position: center 20%; }
  .hero-photo-pane::after { inset: auto; left: 0; right: 0; bottom: -1px; width: 100%; height: 62%; background: linear-gradient(180deg, rgba(250,244,232,0) 0%, rgba(250,244,232,0) 38%, rgba(250,244,232,0.5) 72%, rgba(250,244,232,0.9) 90%, var(--creme) 100%); }
  .hero-text-pane { position: relative; z-index: 2; width: 100%; margin-left: 0; padding: 8px 24px 48px; }
  .hero-text-pane .htext { max-width: none; }
}

/* ============ HERO PLAT (accueil) — fond crème uni + photo détourée ============ */
.hero-flat { background: var(--creme); border-bottom: 1px solid var(--gris-papier); overflow: hidden; }
.hero-flat-inner { max-width: 1320px; margin: 0 auto; padding: 0 clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: stretch; gap: clamp(16px, 3vw, 40px); }
.hero-flat .hf-text { align-self: center; padding: 60px 0; }
.hero-flat .hf-text h1 { font-size: clamp(2.3rem, 3.4vw, 3.5rem); line-height: 1.09; color: var(--noir); margin-bottom: 14px; }
.hero-flat .hf-text h1 em { font-style: normal; color: var(--bordeaux); }
.hero-flat .hf-text .lead { font-size: 18px; line-height: 1.65; color: var(--texte); margin-bottom: 18px; font-weight: 400; max-width: 48ch; }
.hero-flat .hf-text .lead strong { color: var(--noir); font-weight: 700; }
.hero-flat .hf-photo { align-self: end; display: flex; justify-content: flex-end; }
.hero-flat .hf-photo img { height: clamp(380px, 70vh, 760px); width: auto; display: block; }
@media (max-width: 880px) {
  .hero-flat-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-flat .hf-text { padding: 32px 0 8px; text-align: center; }
  .hero-flat .hf-text .lead { margin-left: auto; margin-right: auto; }
  .hero-flat .hf-text .hero-domaines, .hero-flat .hf-text .hero-actions { justify-content: center; }
  .hero-flat .hf-photo { justify-content: center; }
  .hero-flat .hf-photo img { height: 340px; }
}

/* ============ HERO CINÉMATOGRAPHIQUE (accueil) — photo plein cadre + voile + texte (modèle nausica/kedjar) ============ */
.hero-cine { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero-cine-photo { position: absolute; inset: 0; background-size: cover; background-position: center 28%; z-index: 0; }
.hero-cine-blur { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(8px) brightness(0.5) saturate(0.85); transform: scale(1.6); z-index: 0; }
.hero-cine-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(43,12,18,0.56) 0%, rgba(43,12,18,0.36) 38%, rgba(43,12,18,0.14) 70%, rgba(43,12,18,0.03) 100%); }
.hero-cine-inner { position: relative; z-index: 2; width: 100%; max-width: 540px; margin-left: auto; margin-right: clamp(20px, 2.5vw, 44px); padding: 96px 0 64px; text-align: center; }
.hero-cine .eyebrow { color: var(--creme); opacity: 0.92; }
.hero-cine h1 { color: var(--creme); font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1.05; max-width: 17ch; margin: 0 auto 18px; }
.hero-cine h1 em { font-style: normal; color: #fff; }
.hero-cine .lead { color: rgba(250,244,232,0.94); font-size: clamp(17px,1.4vw,20px); line-height: 1.6; max-width: 48ch; margin: 0 auto 22px; }
.hero-cine .hero-domaines { color: var(--creme); margin-bottom: 30px; justify-content: center; }
.hero-cine .hero-domaines span:not(:last-child)::after { content: "·"; color: var(--creme); margin-left: 16px; }
.hero-cine .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-light-outline { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-family: var(--font-corps); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 3px; border: 2px solid rgba(239,225,196,0.85); background: transparent; color: #EFE1C4; transition: all .2s; }
.btn-light-outline:hover { background: #EFE1C4; color: var(--bordeaux); border-color: #EFE1C4; }

/* Header transparent fondu sur le hero (accueil), crème au scroll */
.home .site-header { position: absolute; top: 0; left: 0; right: 0; background: transparent; border-bottom: 0; }
.home .site-header .nav-main a, .home .site-header .nav-main .nav-expertises { color: #EFE1C4; }
.home .site-header .nav-main a:hover { color: var(--creme); }
.home .site-header .nav-main .dropdown li a { color: var(--noir); }
.home .site-header .nav-main .dropdown li a:hover { color: var(--bordeaux); }
.home .site-header .nav-main .subdropdown li a { color: var(--noir); }
.home .site-header .nav-main .subdropdown li a:hover { color: var(--bordeaux); }
.home .site-header .logo-img { filter: brightness(0) invert(1); height: 106px; }
.home .site-header .burger span { background: #EFE1C4; }
.home .site-header.scrolled { position: fixed; background: var(--creme); box-shadow: var(--shadow-sm); }
.home .site-header.scrolled .nav-main a, .home .site-header.scrolled .nav-main .nav-expertises { color: var(--noir); }
.home .site-header.scrolled .nav-main a:hover { color: var(--bordeaux); }
.home .site-header.scrolled .logo-img { filter: none; }
.home .site-header.scrolled .burger span { background: var(--noir); }
@media (max-width: 880px) {
  .hero-cine { flex-direction: column; min-height: auto; }
  .hero-cine-photo { position: relative; inset: auto; right: auto; left: auto; width: 100%; height: 320px; background-position: center 45%; }
  .hero-cine-photo::after { background: linear-gradient(180deg, rgba(43,12,18,0.12) 0%, rgba(43,12,18,0.42) 100%); }
  .hero-cine-inner { max-width: none; margin: 0; padding: 40px clamp(24px,5vw,40px) 52px; background: #2b0c12; }
}

/* Bandeau expertise fondu : image à droite, texte à gauche */
.exp-hero { position: relative; display: flex; align-items: center; min-height: 52vh; background: #2b0c12; overflow: hidden; }
.exp-hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.exp-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,12,18,0.82) 0%, rgba(43,12,18,0.62) 30%, rgba(43,12,18,0.34) 55%, rgba(43,12,18,0.12) 78%, rgba(43,12,18,0.04) 100%); }
.exp-hero-txt { position: relative; z-index: 2; width: min(50%, 560px); padding: 48px clamp(28px, 4vw, 64px); }
.exp-hero-inner { max-width: 480px; }
.exp-hero-inner .breadcrumb { margin-bottom: 14px; }
.exp-hero-inner .breadcrumb, .exp-hero-inner .breadcrumb a { color: rgba(255,255,255,0.78); }
.exp-hero-inner .eyebrow { margin-bottom: 12px; color: #fff; opacity: 0.9; }
.exp-hero-inner h1 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.1; color: #fff; margin: 0; }
.exp-hero-inner h1 em { font-style: normal; color: var(--creme); }
@media (max-width: 880px) {
  .exp-hero { flex-direction: column; min-height: auto; }
  .exp-hero-photo { position: relative; inset: auto; right: auto; left: auto; width: 100%; height: 280px; }
  .exp-hero-photo::after { background: linear-gradient(180deg, rgba(43,12,18,0.2) 0%, rgba(43,12,18,0.5) 60%, rgba(43,12,18,0.85) 100%); }
  .exp-hero-txt { position: relative; z-index: 2; width: 100%; padding: 30px 24px 40px; background: #2b0c12; }
  .exp-hero-inner { max-width: none; }
}
