/* ==========================================================
   Cuisines Didier Pascal — feuille de style
   Palette : noir, blanc, gris chauds. Typo : Cormorant Garamond + Inter
   ========================================================== */

:root {
  --noir: #0d0d0d;
  --anthracite: #1c1b1a;
  --gris-fonce: #4a4744;
  --gris: #8a8580;
  --gris-clair: #d9d5d0;
  --creme: #f5f3f0;
  --blanc: #ffffff;
  --rouge: #b3141c;        /* touche d'accent */
  --rouge-vif: #d61f28;    /* accent sur fond noir */
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
  --gouttiere: clamp(20px, 5vw, 64px);
  --transition: 0.35s cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--anthracite);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--noir);
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.2em; }

.conteneur { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gouttiere); }
.surtitre {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .72rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gris); margin-bottom: 18px; font-weight: 400;
}
.surtitre::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 34px;
  font: 400 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--noir);
  background: var(--noir); color: var(--blanc);
  cursor: pointer; transition: background var(--transition), color var(--transition);
}
.btn:hover { background: transparent; color: var(--noir); }
.btn--clair { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.btn--clair:hover { background: transparent; color: var(--blanc); }
.btn--contour { background: transparent; color: var(--noir); }
.btn--contour:hover { background: var(--noir); color: var(--blanc); }
.btn--contour-clair { background: transparent; color: var(--blanc); border-color: rgba(255,255,255,.6); }
.btn--contour-clair:hover { background: var(--blanc); color: var(--noir); }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background var(--transition), box-shadow var(--transition);
}
.entete__barre { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.entete__logo img { height: 52px; width: auto; }
.entete__logo .logo-noir { display: none; }
.entete.est-plein, .page-interne .entete { background: var(--blanc); box-shadow: 0 1px 0 var(--gris-clair); }
.entete.est-plein .logo-blanc, .page-interne .entete .logo-blanc { display: none; }
.entete.est-plein .logo-noir, .page-interne .entete .logo-noir { display: block; }

.nav { display: flex; align-items: center; gap: 38px; }
.nav__lien {
  position: relative; text-decoration: none; color: var(--blanc);
  font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400;
  padding: 6px 0;
}
.nav__lien::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.nav__lien:hover::after, .nav__lien[aria-current="page"]::after { transform: scaleX(1); }
.est-plein .nav__lien, .page-interne .nav__lien { color: var(--noir); }
.nav__tel { color: var(--blanc); text-decoration: none; font-size: .9rem; letter-spacing: .06em; padding-left: 38px; border-left: 1px solid rgba(255,255,255,.35); }
.est-plein .nav__tel, .page-interne .nav__tel { color: var(--noir); border-color: var(--gris-clair); }

.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 28px; height: 1px; background: var(--blanc); margin: 7px 0; transition: transform var(--transition), opacity var(--transition); }
.est-plein .burger span, .page-interne .burger span { background: var(--noir); }

@media (max-width: 960px) {
  .burger { display: block; position: relative; z-index: 60; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 30px;
    background: var(--noir); opacity: 0; visibility: hidden; transition: opacity var(--transition), visibility var(--transition);
  }
  .nav__lien, .est-plein .nav__lien, .page-interne .nav__lien { color: var(--blanc); font-size: .95rem; }
  .nav__tel, .est-plein .nav__tel, .page-interne .nav__tel { color: var(--blanc); border: 0; padding: 0; font-size: 1.2rem; }
  .menu-ouvert .nav { opacity: 1; visibility: visible; }
  .menu-ouvert .burger span { background: var(--blanc); }
  .menu-ouvert .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-ouvert .burger span:nth-child(2) { opacity: 0; }
  .menu-ouvert .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .entete__barre { height: 76px; }
  .entete__logo img { height: 42px; }
}

/* ---------- Héros accueil ---------- */
.heros {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; color: var(--blanc); overflow: hidden;
}
.heros__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: zoom 14s ease-out forwards; }
.heros::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.75) 100%); }
.heros__contenu { position: relative; z-index: 1; padding-bottom: clamp(60px, 12vh, 130px); }
.heros h1 { color: var(--blanc); max-width: 13ch; }
.heros h1 em { font-style: italic; }
.heros__texte { max-width: 520px; font-size: 1.08rem; color: rgba(255,255,255,.85); margin-bottom: 36px; }
.heros .surtitre { color: rgba(255,255,255,.75); }
.heros__actions { display: flex; flex-wrap: wrap; gap: 16px; }
@keyframes zoom { to { transform: scale(1); } }

/* ---------- Bandeau page interne ---------- */
.bandeau { padding: 190px 0 80px; background: var(--creme); border-bottom: 1px solid var(--gris-clair); }
.bandeau h1 { margin-bottom: .3em; }
.bandeau p { max-width: 620px; color: var(--gris-fonce); margin: 0; }
@media (max-width: 960px) { .bandeau { padding: 150px 0 60px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 150px) 0; }
.section--creme { background: var(--creme); }
.section--noire { background: var(--noir); color: rgba(255,255,255,.8); }
.section--noire h2, .section--noire h3 { color: var(--blanc); }
.section__tete { max-width: 680px; margin-bottom: clamp(48px, 7vw, 80px); }
.section__tete--centre { margin-left: auto; margin-right: auto; text-align: center; }
.section__tete--centre .surtitre::after { content: ""; width: 36px; height: 1px; background: currentColor; }

/* Chiffres clés */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--gris-clair); border-bottom: 1px solid var(--gris-clair); }
.chiffre { padding: 44px 24px; text-align: center; border-right: 1px solid var(--gris-clair); }
.chiffre:last-child { border-right: 0; }
.chiffre__nombre { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--noir); margin-bottom: 10px; }
.chiffre__libelle { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gris); }
@media (max-width: 760px) {
  .chiffres { grid-template-columns: 1fr 1fr; }
  .chiffre:nth-child(2) { border-right: 0; }
  .chiffre:nth-child(-n+2) { border-bottom: 1px solid var(--gris-clair); }
}

/* Bloc image + texte */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.duo--inverse .duo__media { order: 2; }
.duo__media { position: relative; }
.duo__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.duo__media--cadre::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--gris-clair); z-index: -1; }
.duo__texte p { color: var(--gris-fonce); }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--noir); margin-top: 28px; }
@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; }
  .duo--inverse .duo__media { order: 0; }
  .duo__media img { aspect-ratio: 4/3; }
}

/* Cartes de services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.service { background: var(--noir); padding: clamp(36px, 4vw, 56px); transition: background var(--transition); }
.service:hover { background: var(--anthracite); }
.service__num { font-family: var(--serif); font-size: 1rem; color: var(--gris); letter-spacing: .1em; display: block; margin-bottom: 40px; }
.service h3 { margin-bottom: .6em; }
.service p { margin: 0; font-size: .96rem; }
.section--claire .services { background: var(--gris-clair); border-color: var(--gris-clair); }
.section--claire .service { background: var(--blanc); }
.section--claire .service:hover { background: var(--creme); }
.section--claire .service p { color: var(--gris-fonce); }
@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

/* Étapes */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: etape; }
.etape { border-top: 1px solid var(--noir); padding-top: 28px; }
.etape::before { counter-increment: etape; content: "0" counter(etape); display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--noir); margin-bottom: 18px; }
.etape h3 { font-size: 1.35rem; }
.etape p { font-size: .95rem; color: var(--gris-fonce); margin: 0; }
@media (max-width: 960px) { .etapes { grid-template-columns: 1fr 1fr; gap: 44px 32px; } }
@media (max-width: 560px) { .etapes { grid-template-columns: 1fr; } }

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.galerie__item { position: relative; overflow: hidden; padding: 0; border: 0; background: var(--gris-clair); cursor: zoom-in; aspect-ratio: 4/3; }
.galerie__item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.galerie__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.galerie__item:hover img { transform: scale(1.05); }
.galerie__legende {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; text-align: left;
  background: linear-gradient(0deg, rgba(0,0,0,.7), transparent); color: var(--blanc);
  font-family: var(--serif); font-size: 1.25rem; opacity: 0; transform: translateY(10px); transition: all var(--transition);
}
.galerie__item:hover .galerie__legende, .galerie__item:focus-visible .galerie__legende { opacity: 1; transform: none; }
.galerie--apercu .galerie__item:nth-child(6n+1) { grid-column: auto; grid-row: auto; aspect-ratio: 4/3; }
.galerie--apercu .galerie__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 760px) {
  .galerie { grid-template-columns: 1fr 1fr; gap: 8px; }
  .galerie__item:nth-child(6n+1), .galerie--apercu .galerie__item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4/3; }
  .galerie__legende { opacity: 1; transform: none; font-size: 1rem; padding: 14px; }
}

/* Visionneuse */
.visionneuse { position: fixed; inset: 0; z-index: 100; background: rgba(8,8,8,.96); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.visionneuse.est-ouverte { display: flex; }
.visionneuse img { max-height: 100%; max-width: 100%; object-fit: contain; }
.visionneuse button { position: absolute; background: none; border: 0; color: var(--blanc); font: 300 2.2rem/1 var(--sans); cursor: pointer; padding: 14px; opacity: .8; }
.visionneuse button:hover { opacity: 1; }
.visionneuse__fermer { top: 14px; right: 18px; }
.visionneuse__prec { left: 10px; top: 50%; transform: translateY(-50%); }
.visionneuse__suiv { right: 10px; top: 50%; transform: translateY(-50%); }
.visionneuse__legende { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: .85rem; letter-spacing: .1em; }
@media (max-width: 600px) { .visionneuse { padding: 60px 12px; } }

/* ---------- Appel à l'action ---------- */
.appel { position: relative; padding: clamp(90px, 14vw, 170px) 0; color: var(--blanc); text-align: center; overflow: hidden; background: var(--noir); }
.appel__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.appel .conteneur { position: relative; }
.appel h2 { color: var(--blanc); max-width: 18ch; margin: 0 auto .5em; }
.appel p { max-width: 540px; margin: 0 auto 38px; color: rgba(255,255,255,.8); }
.appel .surtitre { color: rgba(255,255,255,.7); }
.appel .surtitre::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.appel__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(48px, 8vw, 110px); }
.coordonnees { list-style: none; margin: 0; padding: 0; }
.coordonnees li { padding: 24px 0; border-bottom: 1px solid var(--gris-clair); }
.coordonnees li:first-child { padding-top: 0; }
.coordonnees__libelle { display: block; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gris); margin-bottom: 6px; }
.coordonnees a, .coordonnees__valeur { font-family: var(--serif); font-size: 1.45rem; color: var(--noir); text-decoration: none; line-height: 1.35; }
.coordonnees a:hover { text-decoration: underline; text-underline-offset: 4px; }

.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.champ { display: flex; flex-direction: column; }
.champ--large { grid-column: 1 / -1; }
.champ label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gris-fonce); margin-bottom: 10px; font-weight: 400; }
.champ input, .champ select, .champ textarea {
  font: 300 1rem/1.5 var(--sans); color: var(--noir);
  border: 0; border-bottom: 1px solid var(--gris); background: transparent;
  padding: 10px 0; border-radius: 0; appearance: none; -webkit-appearance: none;
  transition: border-color var(--transition);
}
.champ select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230d0d0d'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 24px; }
.champ textarea { min-height: 140px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-bottom-color: var(--noir); border-bottom-width: 2px; padding-bottom: 9px; }
.consentement { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; font-size: .85rem; color: var(--gris-fonce); line-height: 1.55; }
.consentement input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--noir); flex-shrink: 0; }
.formulaire__envoi { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.formulaire__note { font-size: .8rem; color: var(--gris); margin: 0; }
.pot-de-miel { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.alerte { grid-column: 1 / -1; padding: 18px 22px; border-left: 2px solid var(--noir); background: var(--creme); font-size: .95rem; margin: 0; }
.alerte--erreur { border-color: #8a1c1c; color: #8a1c1c; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .formulaire { grid-template-columns: 1fr; } }

/* ---------- Pages légales ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.8rem; margin-top: 2em; }
.legal p, .legal li { color: var(--gris-fonce); }
.a-completer { background: #fff3c4; padding: 0 4px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--noir); color: rgba(255,255,255,.65); padding: 90px 0 30px; font-size: .92rem; }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.14); }
.pied__logo img { height: 56px; width: auto; margin-bottom: 24px; }
.pied h3 { font-family: var(--sans); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--blanc); font-weight: 400; margin-bottom: 20px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 10px; }
.pied a { text-decoration: none; transition: color var(--transition); }
.pied a:hover { color: var(--blanc); }
.pied__bas { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 28px; font-size: .8rem; color: rgba(255,255,255,.45); }
.pied__bas nav { display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 960px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pied__grille { grid-template-columns: 1fr; } .pied { padding-top: 64px; } }

/* Bouton d'appel flottant (mobile) */
.appel-mobile {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; background: var(--noir); color: var(--blanc);
  align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
@media (max-width: 760px) { .appel-mobile { display: flex; } }

/* Apparition au défilement */
.apparait { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.apparait.est-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .apparait { opacity: 1; transform: none; transition: none; }
  .heros__image { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 760px) {
  .galerie--apercu .galerie__item:nth-child(6) { display: none; }
  .duo__media--cadre::before { display: none; }
}

/* Liens dans le texte */
.duo__texte p a, .pied p a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- Touches de rouge ---------- */
.surtitre::before, .surtitre::after { background: var(--rouge) !important; }
.section--noire .surtitre::before, .heros .surtitre::before, .appel .surtitre::before, .appel .surtitre::after { background: var(--rouge-vif) !important; }
.nav__lien::after { background: var(--rouge); }
.heros .nav__lien::after, .entete:not(.est-plein) .nav__lien::after { background: var(--rouge-vif); }
.page-interne .nav__lien::after, .est-plein .nav__lien::after { background: var(--rouge); }
.btn:not(.btn--clair):not(.btn--contour):not(.btn--contour-clair):hover { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); }
.btn--contour:hover { background: var(--rouge); border-color: var(--rouge); }
.btn--clair:hover, .btn--contour-clair:hover { background: var(--rouge-vif); border-color: var(--rouge-vif); color: var(--blanc); }
.service__num { color: var(--rouge-vif); }
.section--claire .service__num { color: var(--rouge); }
.etape { border-top-color: var(--noir); position: relative; }
.etape::after { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 3px; background: var(--rouge); }
.chiffre__nombre::after { content: ""; display: block; width: 20px; height: 2px; background: var(--rouge); margin: 14px auto 0; }
.signature { color: var(--rouge); }
.duo__texte p a, .pied p a, .legal a { text-decoration-color: var(--rouge); }
.duo__texte p a:hover { color: var(--rouge); }
.coordonnees a:hover { color: var(--rouge); text-decoration-color: var(--rouge); }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-bottom-color: var(--rouge); }
.consentement input { accent-color: var(--rouge); }
.alerte { border-left-color: var(--rouge); }
.pied h3::after { content: ""; display: block; width: 24px; height: 2px; background: var(--rouge-vif); margin-top: 12px; }
.pied a:hover { color: var(--rouge-vif); }
.appel-mobile { background: var(--rouge); }
.galerie__legende { border-left: 3px solid var(--rouge-vif); }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; }
::selection { background: var(--rouge); color: var(--blanc); }

/* ---------- WhatsApp ---------- */
.btn svg, .nav__wa svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav__wa { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; }
.appel-mobile { display: flex; background: var(--rouge); }
.appel-mobile svg { width: 28px; height: 28px; }
.appel-mobile:hover { background: var(--noir); }

/* ---------- Logo agrandi sur l'accueil ---------- */
body:not(.page-interne) .entete:not(.est-plein) .entete__barre { height: 150px; }
body:not(.page-interne) .entete:not(.est-plein) .entete__logo img { height: 96px; }
.entete__barre, .entete__logo img { transition: height var(--transition); }
@media (max-width: 960px) {
  body:not(.page-interne) .entete:not(.est-plein) .entete__barre { height: 110px; }
  body:not(.page-interne) .entete:not(.est-plein) .entete__logo img { height: 64px; }
}
.coordonnees .btn { color: var(--blanc); font: 400 .78rem/1 var(--sans); letter-spacing: .22em; text-decoration: none; }
.coordonnees .btn:hover { color: var(--blanc); text-decoration: none; }
body:not(.page-interne) .entete:not(.est-plein) .entete__barre { height: 170px; }
body:not(.page-interne) .entete:not(.est-plein) .entete__logo img { height: 112px; }
@media (max-width: 960px) {
  body:not(.page-interne) .entete:not(.est-plein) .entete__barre { height: 110px; }
  body:not(.page-interne) .entete:not(.est-plein) .entete__logo img { height: 64px; }
}
.nav__lien, .nav__wa { white-space: nowrap; }
body:not(.page-interne) .entete:not(.est-plein) .entete__logo img { height: 96px; }
body:not(.page-interne) .entete:not(.est-plein) .entete__barre { height: 150px; }
@media (max-width: 1320px) { .nav { gap: 26px; } .nav__tel { padding-left: 26px; } }
@media (max-width: 1180px) { body:not(.page-interne) .entete:not(.est-plein) .entete__logo img { height: 78px; } }
@media (max-width: 960px) {
  body:not(.page-interne) .entete:not(.est-plein) .entete__barre { height: 110px; }
  body:not(.page-interne) .entete:not(.est-plein) .entete__logo img { height: 64px; }
}
.heros__contenu { padding-top: 190px; }

/* ---------- Logo agrandi sur toutes les pages (réduit au défilement) ---------- */
.entete:not(.est-plein) .entete__barre { height: 150px; }
.entete:not(.est-plein) .entete__logo img { height: 96px; }
.bandeau { padding-top: 230px; }
@media (max-width: 1180px) { .entete:not(.est-plein) .entete__logo img { height: 78px; } }
@media (max-width: 960px) {
  .entete:not(.est-plein) .entete__barre { height: 110px; }
  .entete:not(.est-plein) .entete__logo img { height: 64px; }
  .bandeau { padding-top: 170px; }
}

/* ---------- Plus de rouge ---------- */
.btn { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); }
.btn:not(.btn--clair):not(.btn--contour):not(.btn--contour-clair):hover { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.btn--clair { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); }
.btn--clair:hover { background: var(--blanc); border-color: var(--blanc); color: var(--noir); }
.btn--contour { color: var(--rouge); border-color: var(--rouge); background: transparent; }
.btn--contour:hover { background: var(--rouge); color: var(--blanc); }
.heros h1 em, .appel h2 em { color: var(--rouge-vif); }
.surtitre { color: var(--rouge); }
.heros .surtitre, .appel .surtitre, .section--noire .surtitre { color: var(--rouge-vif); }
.etape::before { color: var(--rouge); }
.chiffre__nombre { color: var(--noir); }
.service:hover { box-shadow: inset 0 3px 0 var(--rouge-vif); }
.section--claire .service:hover { box-shadow: inset 0 3px 0 var(--rouge); }
.entete.est-plein, .page-interne .entete.est-plein { box-shadow: 0 2px 0 var(--rouge); }
.bandeau { border-bottom: 3px solid var(--rouge); }
.pied { border-top: 4px solid var(--rouge); }
.coordonnees__libelle { color: var(--rouge); }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-bottom-color: var(--rouge); }
.legal h2::after { content: ""; display: block; width: 32px; height: 2px; background: var(--rouge); margin-top: 12px; }
.btn--contour-clair { background: transparent; border-color: rgba(255,255,255,.7); color: var(--blanc); }
.btn--contour-clair:hover { background: var(--blanc); border-color: var(--blanc); color: var(--noir); }

/* ---------- Photos réelles ---------- */
.galerie { grid-auto-flow: dense; }
.galerie__item img { object-position: center 60%; }
.credit { position: absolute; right: 10px; bottom: 10px; background: rgba(13,13,13,.75); color: #fff; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 9px; }
.heros::after { background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.15) 100%), linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 30%, rgba(0,0,0,.55) 100%); }
.heros__image { object-position: 60% center; }
.heros .surtitre { color: rgba(255,255,255,.85); text-shadow: 0 1px 6px rgba(0,0,0,.6); }

/* Galerie de 14 photos : grandes vignettes en 1 et 8, panoramique en 14 */
.galerie:not(.galerie--apercu) .galerie__item:nth-child(6n+1) { grid-column: auto; grid-row: auto; aspect-ratio: 4/3; }
.galerie:not(.galerie--apercu) .galerie__item:nth-child(1),
.galerie:not(.galerie--apercu) .galerie__item:nth-child(8) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.galerie:not(.galerie--apercu) .galerie__item:nth-child(14) { grid-column: span 2; aspect-ratio: auto; }
@media (max-width: 760px) {
  .galerie:not(.galerie--apercu) .galerie__item:nth-child(1),
  .galerie:not(.galerie--apercu) .galerie__item:nth-child(8) { grid-column: span 2; grid-row: auto; aspect-ratio: 4/3; }
  .galerie:not(.galerie--apercu) .galerie__item:nth-child(14) { grid-column: auto; aspect-ratio: 4/3; }
}
.galerie:not(.galerie--apercu) .galerie__item:nth-child(14) { aspect-ratio: 8/3; }
.galerie:not(.galerie--apercu) .galerie__item:nth-child(14) img { object-position: center 55%; }
@media (max-width: 760px) { .galerie:not(.galerie--apercu) .galerie__item:nth-child(14) { aspect-ratio: 4/3; } }
.appel__image { opacity: .3; }
.appel .surtitre { color: rgba(255,255,255,.85); }
.duo__media img { height: auto; object-fit: cover; }

/* ---------- Partenaires (bas de page) ---------- */
.partenaires { background: var(--creme); border-top: 1px solid var(--gris-clair); padding: 56px 0 60px; }
.partenaires .surtitre { margin-bottom: 26px; }
.partenaires__grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.partenaire { display: flex; align-items: center; gap: 28px; padding: 26px 30px; background: var(--blanc); border: 1px solid var(--gris-clair); text-decoration: none; transition: border-color var(--transition), box-shadow var(--transition); }
.partenaire:hover { border-color: var(--rouge); box-shadow: inset 3px 0 0 var(--rouge); }
.partenaire__logo { flex: 0 0 auto; min-width: 150px; font-family: var(--sans); font-weight: 400; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--noir); }
.partenaire__logo img { display: block; max-height: 54px; max-width: 190px; width: auto; }
.partenaire__role { font-size: .9rem; color: var(--gris-fonce); line-height: 1.5; border-left: 1px solid var(--gris-clair); padding-left: 24px; }
@media (max-width: 760px) {
  .partenaires__grille { grid-template-columns: 1fr; }
  .partenaire { flex-direction: column; align-items: flex-start; gap: 12px; }
  .partenaire__role { border-left: 0; padding-left: 0; }
}
.partenaire__logo img { max-height: 44px; max-width: 170px; }
.partenaire__role strong { font-weight: 400; color: var(--noir); }

/* ---------- Ajustements smartphone ---------- */
.heros h1 { text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.heros h1 em { text-shadow: 0 2px 14px rgba(0,0,0,.8); }
@media (max-width: 760px) {
  .heros::after { background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.5) 40%, rgba(0,0,0,.82) 100%); }
  .coordonnees a[href^="mailto"] { font-size: .98rem !important; word-break: break-all; }
  .galerie__legende { white-space: normal; line-height: 1.25; font-size: .95rem; }
  .heros .surtitre { font-size: .64rem; letter-spacing: .24em; }
}
@media (max-width: 760px) {
  .heros::after { background: rgba(0,0,0,.62) !important; }
  .heros h1 em { color: #ff4048; }
}

/* ---------- Galerie Réalisations alimentée par l'espace de gestion ---------- */
.galerie.galerie--dyn .galerie__item { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4/3 !important; }
.galerie.galerie--dyn .galerie__item.galerie__item--grand { grid-column: span 2 !important; grid-row: span 2 !important; aspect-ratio: auto !important; }
@media (max-width: 760px) {
  .galerie.galerie--dyn .galerie__item.galerie__item--grand { grid-row: auto !important; aspect-ratio: 4/3 !important; }
}
.galerie__vide { grid-column: 1 / -1; text-align: center; color: var(--gris-fonce); padding: 40px 0; }
