/* ================================================
   Atelier Corvus — CSS généré automatiquement
   Ne pas modifier manuellement
   ================================================ */

/* ── Variables ──────────────────────────────────── */
:root {
  --color-primary:    #999999;
  --color-primary-dk: #8a8a8a;
  --color-on-primary: #1a1a1a;
  --color-bg:         #ffffff;
  --color-bg-alt:     #f1e8dc;
  --color-text:       #2a2420;
  --color-footer:     #2a2420;
  --font-head:        'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body:        'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --radius:           4px;
  --shadow:           0 2px 12px rgba(0,0,0,.08);
  --max-w:            1200px;
  --gutter:           1.5rem;
  --header-h:         72px;
}
/* ── En-tête ─────────────────────────────────────── */
html:root { --logo-h: 90px; --header-h: 118px; --nom-size: 2.4rem; --nom-color: var(--color-text); --nom-font: var(--font-head); --nom-weight: 600; }
@media (max-width: 768px) { html:root { --logo-h: 48px; --header-h: 64px; --nom-size: 1.15rem; } }


/* ── Images responsives (CorvusEditor\Images) ───────────────
   <picture> sans boîte : l'image se place comme si elle était seule ;
   width/height (anti-décalage) sans écraser les hauteurs des templates. */
picture { display: contents; }
:where(img[width][height]) { max-width: 100%; height: auto; }


/* ── Vidéo, carte, séparateur (sections video, carte, separateur) ── */
.cv-embed {
  position: relative; margin: 1.5rem auto 0; overflow: hidden;
  border-radius: var(--radius, 8px); background: #1f2328; color: #fff;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.cv-embed--video { max-width: 900px; }
.sec-video--large .cv-embed--video { max-width: none; }
.cv-embed__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.cv-embed__play {
  position: relative; z-index: 1; border: 0; cursor: pointer;
  width: 76px; height: 76px; border-radius: 50%; font-size: 1.8rem; line-height: 1;
  background: var(--color-primary, #c59d5f); color: var(--color-on-primary, #fff);
  box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .2s;
}
.cv-embed__play:hover, .cv-embed__play:focus-visible { transform: scale(1.08); }
.cv-embed__play--carte { width: auto; height: auto; border-radius: var(--radius, 8px); padding: .8rem 1.4rem; font-size: 1rem; font-weight: 600; }
.cv-embed__note {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; margin: 0;
  padding: .5rem .8rem; font-size: .78rem; background: rgba(0,0,0,.55); color: rgba(255,255,255,.9);
}
.cv-embed__note a { color: #fff; text-decoration: underline; }
.cv-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cv-embed--carte {
  margin: 0; background: #e8eef0 repeating-linear-gradient(45deg, transparent 0 18px, rgba(0,0,0,.035) 18px 36px);
  color: inherit;
}
.cv-embed__legende { text-align: center; font-size: .9rem; opacity: .75; margin-top: .6rem; }
.cv-embed-vide { padding: 2rem; text-align: center; border: 2px dashed rgba(0,0,0,.2); border-radius: var(--radius, 8px); }
.sec-carte__grille { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: center; margin-top: 1.5rem; }
.sec-carte__adresse { font-size: 1.05rem; font-weight: 600; }
.sec-carte__liens a { color: var(--color-primary, inherit); }
@media (max-width: 768px) { .sec-carte__grille { grid-template-columns: 1fr; } }

.sec-separateur.esp-petit { padding: 1rem 0; }
.sec-separateur.esp-moyen { padding: 2.5rem 0; }
.sec-separateur.esp-grand { padding: 4.5rem 0; }
.sec-separateur.sep-ligne .sec-separateur__trait { border-top: 1px solid currentColor; opacity: .2; }
.sec-separateur.sep-ligne_courte .sec-separateur__trait { width: 80px; margin: 0 auto; border-top: 3px solid var(--color-primary, currentColor); }
.sec-separateur.sep-points .sec-separateur__trait { display: flex; justify-content: center; gap: .8rem; }
.sec-separateur.sep-points span { width: 7px; height: 7px; border-radius: 50%; background: var(--color-primary, currentColor); }


/* ── Témoignages, FAQ, équipe, chiffres clés, appel à l'action ── */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 2.5rem; }
.section-head .label { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--color-primary); margin-bottom: .5rem; }
.section-head .intro { opacity: .8; margin-top: .75rem; }

/* Grilles en flex : une rangée incomplète reste centrée */
.temoignages-grille, .equipe-grille { --cols: 3; --gap: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.temoignages-grille > *, .equipe-grille > * { flex: 0 1 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.temoignages-grille.col-1 { --cols: 1; max-width: 760px; margin: 0 auto; }
.temoignages-grille.col-2, .equipe-grille.col-2 { --cols: 2; }
.equipe-grille.col-4 { --cols: 4; }
.temoignage {
  margin: 0; padding: 1.75rem; background: var(--color-bg-alt, #f6f6f6); border-radius: var(--radius, 8px);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.temoignage blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; position: relative; padding-top: 1.4rem; }
.temoignage blockquote::before { content: "“"; position: absolute; top: -.6rem; left: -.1rem; font-size: 3rem; line-height: 1; color: var(--color-primary); font-family: Georgia, serif; }
.temoignage figcaption { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.temoignage figcaption > span { display: flex; flex-direction: column; }
.temoignage__photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.temoignage__role { font-size: .85rem; opacity: .7; }

.faq-liste { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,.12); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 600; font-size: 1.05rem; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--color-primary); transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.faq-reponse { padding: 0 0 1.25rem; opacity: .85; line-height: 1.65; }

.membre { text-align: center; }
.membre__photo { width: 160px; height: 160px; margin: 0 auto 1rem; overflow: hidden; }
.photo-rond .membre__photo { border-radius: 50%; }
.photo-carre .membre__photo { border-radius: var(--radius, 8px); }
.membre__photo img { width: 100%; height: 100%; object-fit: cover; }
.membre__photo--vide { display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 700;
  background: var(--color-bg-alt, #eee); color: var(--color-primary); }
.membre h3 { margin: 0; font-size: 1.15rem; }
.membre__role { color: var(--color-primary); font-size: .9rem; margin: .25rem 0 .6rem; }
.membre__texte { font-size: .92rem; opacity: .85; }

.sec-chiffres.style-couleur { background: var(--color-primary); color: var(--color-on-primary, #fff); }
.sec-chiffres.style-couleur .section-head .label { color: inherit; opacity: .85; }
.chiffres-grille { display: grid; gap: 2rem; text-align: center; grid-template-columns: repeat(4, 1fr); }
.chiffres-grille.nb-1 { grid-template-columns: 1fr; }
.chiffres-grille.nb-2 { grid-template-columns: repeat(2, 1fr); }
.chiffres-grille.nb-3 { grid-template-columns: repeat(3, 1fr); }
.chiffre__valeur { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.1; margin: 0; }
.chiffre__valeur small { font-size: .45em; font-weight: 600; margin-left: .2em; }
.sec-chiffres.style-clair .chiffre__valeur { color: var(--color-primary); }
.chiffre__texte { margin: .4rem 0 0; opacity: .85; }

.sec-appel { text-align: center; }
.sec-appel .container { max-width: 820px; }
.sec-appel.style-couleur { background: var(--color-primary); color: var(--color-on-primary, #fff); }
.sec-appel.style-sombre { background: var(--color-footer, #1a1a1a); color: #fff; }
.sec-appel.style-clair { background: var(--color-bg-alt, #f6f6f6); }
.sec-appel h2 { color: inherit; }
.sec-appel .intro { font-size: 1.1rem; opacity: .9; margin-top: .75rem; }
.sec-appel__boutons { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.75rem; }
.sec-appel.style-couleur .btn-primary { background: var(--color-on-primary, #fff); color: var(--color-primary); border-color: var(--color-on-primary, #fff); }
.btn-secondaire { display: inline-block; padding: .8rem 1.6rem; border: 2px solid currentColor; border-radius: var(--radius, 8px);
  color: inherit; text-decoration: none; font-weight: 600; }
.btn-secondaire:hover { opacity: .85; }

@media (max-width: 900px) {
  .temoignages-grille.col-3, .equipe-grille.col-3, .equipe-grille.col-4 { --cols: 2; }
  .chiffres-grille { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .temoignages-grille, .equipe-grille { --cols: 1 !important; }
}

/* Ancres (lien du menu vers une section) : la section n'est pas cachée sous l'en-tête fixe */
main [id] { scroll-margin-top: calc(var(--header-h, 72px) + 1rem); }

/* Texte riche « en blocs » (Texte + Image, réponses de FAQ, présentation d'un membre) */
:where(.corps, .faq-reponse, .membre__texte) :where(ul, ol) { padding-left: 1.4em; margin: .6em 0; }
:where(.corps, .faq-reponse, .membre__texte) ul { list-style: disc; }
:where(.corps, .faq-reponse, .membre__texte) ol { list-style: decimal; }
:where(.corps, .faq-reponse, .membre__texte) li { margin: .2em 0; }
:where(.corps, .faq-reponse, .membre__texte) :where(h2, h3) { margin: 1.1em 0 .4em; line-height: 1.25; }
:where(.corps, .faq-reponse, .membre__texte) h2 { font-size: 1.35em; }
:where(.corps, .faq-reponse, .membre__texte) h3 { font-size: 1.15em; }
:where(.corps, .faq-reponse, .membre__texte) > :first-child { margin-top: 0; }
:where(.corps, .faq-reponse, .membre__texte) p + p { margin-top: .7em; }


/* ══════════════════════════════════════════════════
   BLOG / ACTUALITÉS — styles communs à tous les templates
   (chargés avant le CSS du template, qui peut les affiner)
   ══════════════════════════════════════════════════ */

/* ── Section « Actualités » ─────────────────────── */
.sec-actualites { background: var(--color-bg-alt); }
.sec-actualites .actu-entete { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.sec-actualites .actu-entete h2 { margin-bottom: 1rem; }
.actu-grid { display: grid; gap: 2rem; }
.actu-grid.col-2 { grid-template-columns: repeat(2, 1fr); }
.actu-grid.col-3 { grid-template-columns: repeat(3, 1fr); }
.actu-grid.col-4 { grid-template-columns: repeat(4, 1fr); }

.actu-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.actu-card:hover { transform: translateY(-3px); }
.actu-card__img { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.actu-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.actu-card:hover .actu-card__img img { transform: scale(1.04); }
.actu-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.actu-card h3 { font-size: 1.15rem; line-height: 1.3; margin: .35rem 0 .75rem; }
.actu-card h3 a:hover { color: var(--color-primary); }
.actu-card p { font-size: .92rem; opacity: .8; margin-bottom: 1rem; }
.actu-more { margin-top: auto; font-size: .85rem; font-weight: 600; color: var(--color-primary); }
.actu-more::after { content: ' →'; }
.actu-more:hover { text-decoration: underline; }

.actu-date {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.actu-vide { text-align: center; opacity: .65; font-style: italic; }
.actu-tous { text-align: center; margin-top: 3rem; }

/* Style « liste » : une colonne, image à gauche */
.sec-actualites.style-liste .actu-grid { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; gap: 1.5rem; }
.sec-actualites.style-liste .actu-card { flex-direction: row; }
.sec-actualites.style-liste .actu-card__img { flex: 0 0 34%; aspect-ratio: auto; min-height: 200px; }
.sec-actualites.style-liste .actu-card__body { padding: 1.75rem 2rem; }
.sec-actualites.style-liste .actu-card h3 { font-size: 1.35rem; }

/* ── Page article ───────────────────────────────── */
.article-page { padding-top: 4rem; }
.container.article-container { max-width: 780px; }
.article-header { margin-bottom: 2.5rem; }
.article-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.75rem;
}
.article-back::before { content: '←'; }
.article-back:hover { text-decoration: underline; }
.article-meta { margin-bottom: .75rem; font-size: .9rem; }
.article-auteur { opacity: .7; margin-left: .35rem; }
.article-header h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 1.25rem; }
.article-chapo { font-size: 1.2rem; line-height: 1.6; opacity: .85; }

.article-image { margin: 0 0 2.75rem; }
.article-image img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }
.article-image figcaption { font-size: .82rem; opacity: .65; margin-top: .6rem; text-align: center; }

.article-corps { font-size: 1.08rem; line-height: 1.8; }
.article-corps > * + * { margin-top: 1.25rem; }
.article-corps p { margin-bottom: 0; }
.article-corps h2 { font-size: 1.6rem; margin-top: 2.75rem; }
.article-corps h3 { font-size: 1.25rem; margin-top: 2rem; }
.article-corps ul { list-style: disc; padding-left: 1.5rem; }
.article-corps ol { list-style: decimal; padding-left: 1.5rem; }
.article-corps li + li { margin-top: .4rem; }
.article-corps a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.article-corps blockquote {
  margin: 2rem 0;
  padding: .5rem 0 .5rem 1.5rem;
  border-left: 3px solid var(--color-primary);
  font-size: 1.15rem;
  font-style: italic;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,.1);
}
.article-nav a { display: block; font-weight: 600; line-height: 1.35; }
.article-nav a:hover { color: var(--color-primary); }
.article-nav a span { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .55; margin-bottom: .3rem; }
.article-nav__prev span::before { content: '← '; }
.article-nav__next { text-align: right; }
.article-nav__next span::after { content: ' →'; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .actu-grid.col-4 { grid-template-columns: repeat(2, 1fr); }
  .actu-grid.col-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .actu-grid.col-2, .actu-grid.col-3, .actu-grid.col-4 { grid-template-columns: 1fr; }
  .sec-actualites.style-liste .actu-card { flex-direction: column; }
  .sec-actualites.style-liste .actu-card__img { aspect-ratio: 16 / 10; min-height: 0; }
  .sec-actualites.style-liste .actu-card__body { padding: 1.5rem; }
  .article-page { padding-top: 2.5rem; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav__next { text-align: left; }
}

/* ================================================
   Couleur et taille choisies dans la barre de mise en forme
   (CorvusEditor\RichText::CLASSES_TEXTE) : couleurs du thème,
   pour suivre un changement de couleur du site.
   ================================================ */
.tc-principale { color: var(--color-primary); }
.tc-fonce      { color: var(--color-primary-dk); }
.tc-texte      { color: var(--color-text); }
.tc-discret    { color: var(--color-text); opacity: .65; }
.tc-blanc      { color: #fff; }
.tt-petit      { font-size: .85em; }
.tt-grand      { font-size: 1.3em; line-height: 1.3; }

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typographie ────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Utilitaires ────────────────────────────────── */
.container  { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-alt { background: var(--color-bg-alt); }
.text-center { text-align: center; }
.accent { color: var(--color-primary); }
.label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: .75rem;
}

/* ── Boutons ────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  transition: background .2s, transform .15s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-dk);
  transform: translateY(-1px);
}
.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 2rem;
}
.btn-back::before { content: '←'; }
.btn-back:hover { text-decoration: underline; }

/* ── Header ─────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--color-bg);
  z-index: 100;
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.logo-bird { height: 44px; width: auto; }
.logo-text { height: 22px; width: auto; }
.main-nav > ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.main-nav a {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: color .2s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--color-primary); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: .3s;
}

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  background: var(--color-footer);
  color: rgba(255,255,255,.75);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand img { height: 50px; margin-bottom: 1rem; opacity: .9; }
.footer-brand p { font-size: .9rem; line-height: 1.6; }
.footer-links h4 { color: #fff; margin-bottom: 1rem; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-links a { display: block; font-size: .875rem; margin-bottom: .4rem; transition: color .2s; }
.footer-links a:hover { color: var(--color-primary); }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  font-size: .8rem;
  text-align: center;
  color: rgba(255,255,255,.4);
}

/* Pied de page avancé : colonnes contact et réseaux sociaux */
.footer-contact h4, .footer-social h4 { color: #fff; margin-bottom: 1rem; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-contact p { font-size: .875rem; line-height: 1.6; margin-bottom: .5rem; }
.footer-contact a, .footer-social a { color: inherit; text-decoration: none; transition: color .2s; }
.footer-contact a:hover, .footer-social a:hover { color: var(--color-primary); }
.footer-social ul { list-style: none; padding: 0; margin: 0; }
.footer-social li { font-size: .875rem; margin-bottom: .4rem; }

/* Pied de page simple : une ligne (copyright · texte) + liens */
.site-footer--simple { padding: 1.5rem 0; }
.footer-simple {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 1.5rem;
}
.footer-simple .footer-copy { border-top: 0; padding-top: 0; margin: 0; text-align: left; color: rgba(255,255,255,.6); }
.footer-simple-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .8rem; }
.footer-simple-links a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s; }
.footer-simple-links a:hover { color: var(--color-primary); }
@media (max-width: 640px) {
  .footer-simple { flex-direction: column; text-align: center; }
  .footer-simple .footer-copy { text-align: center; }
  .footer-simple-links { justify-content: center; }
}

/* ── Main padding (pour header fixe) ────────────── */
main { padding-top: var(--header-h); }

/* ── SECTION : Hero ─────────────────────────────── */
.sec-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--header-h));
  align-items: center;
}
.sec-hero.image-gauche { direction: rtl; }
.sec-hero.image-gauche > * { direction: ltr; }
.sec-hero.centré {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 5rem 0;
  min-height: auto;
}
.sec-hero__content {
  padding: 4rem 3rem 4rem 0;
}
.sec-hero.centré .sec-hero__content { padding: 0; }
.sec-hero__content .container { max-width: 680px; }
.sec-hero__content h1 { margin-bottom: 2rem; }
.sec-hero__content p  { margin-bottom: .75rem; color: rgba(26,26,26,.8); font-size: .95rem; }
.sec-hero__content .label { display: block; }
.sec-hero__cta { margin-top: 2rem; }
.sec-hero__image {
  position: relative;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}
.sec-hero__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sec-hero__badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  padding: .4rem 1.2rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.sec-hero__note {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(197,157,95,.1);
  border-left: 3px solid var(--color-primary);
  font-size: .9rem;
}

/* ── SECTION : Texte + Image ────────────────────── */
.sec-texte-image {
  padding: 5rem 0;
}
.sec-texte-image .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.sec-texte-image.image-gauche .inner { direction: rtl; }
.sec-texte-image.image-gauche .inner > * { direction: ltr; }
.sec-texte-image__text { padding: 0 clamp(1.5rem, 4vw, 4rem); }
.sec-texte-image__text h2 { margin-bottom: 1.5rem; }
.sec-texte-image__text .label { display: block; }
.sec-texte-image__text .btn { margin-top: 1.5rem; }
.sec-texte-image__image { border-radius: var(--radius); overflow: hidden; }
.sec-texte-image__image img { width: 100%; height: 420px; object-fit: cover; }
/* HTML riche dans corps */
.sec-texte-image__text h3 { margin: 1.5rem 0 .75rem; font-size: 1.2rem; }
.sec-texte-image__text ul { list-style: disc; padding-left: 1.5rem; }
.sec-texte-image__text li { margin-bottom: .4rem; }
.service-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1rem; }
.service-cols h4 { margin-bottom: .75rem; color: var(--color-primary); }
.service-cols ul { list-style: none; }
.service-cols li { padding: .3rem 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: .9rem; }

/* ── SECTION : Fond sombre ──────────────────────── */
.sec-fond-sombre {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  color: #fff;
}
.sec-fond-sombre__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.sec-fond-sombre__overlay {
  position: absolute;
  inset: 0;
}
.sec-fond-sombre .container { position: relative; z-index: 1; }
.sec-fond-sombre h1 { margin-bottom: 2rem; }
.sec-fond-sombre .label { color: var(--color-primary); }
.sec-fond-sombre__list { margin: 1.5rem 0 2.5rem; }
.sec-fond-sombre__list li {
  padding: .75rem 0 .75rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
}
.sec-fond-sombre__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ── SECTION : Grille de cartes ─────────────────── */
.sec-grille-cartes { padding: 5rem 0; }
.sec-grille-cartes h2 { text-align: center; margin-bottom: .5rem; }
.sec-grille-cartes .subtitle { text-align: center; color: rgba(26,26,26,.6); margin-bottom: 3rem; }
.cartes-grid {
  display: grid;
  gap: 1.5rem;
}
.cartes-grid.col-2 { grid-template-columns: repeat(2, 1fr); }
.cartes-grid.col-3 { grid-template-columns: repeat(3, 1fr); }
.cartes-grid.col-4 { grid-template-columns: repeat(4, 1fr); }
.cartes-grid.col-5 { grid-template-columns: repeat(5, 1fr); }
.carte {
  background: var(--color-bg);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.carte:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.carte.style-icone { text-align: center; border: none; box-shadow: none; background: transparent; }
.carte__icon { margin: 0 auto 1.25rem; }
.carte__icon img { width: 80px; height: 80px; object-fit: contain; margin: 0 auto; }
.carte.style-icone .carte__icon img { width: 100px; height: 100px; }
.carte h3 { font-size: 1rem; margin-bottom: .75rem; }
.carte p  { font-size: .875rem; color: rgba(26,26,26,.7); margin-bottom: 1rem; }
.carte a  { font-size: .85rem; font-weight: 600; color: var(--color-primary); }
.carte a:hover { text-decoration: underline; }

/* ── SECTION : Grille de tarifs ─────────────────── */
.sec-grille-tarifs { padding: 5rem 0; background: var(--color-bg-alt); }
.sec-grille-tarifs h2 { text-align: center; margin-bottom: 3rem; }
.tarifs-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.tarifs-grid.col-2 { grid-template-columns: repeat(2, 1fr); }
.tarifs-grid.col-3 { grid-template-columns: repeat(3, 1fr); }
.tarif-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.tarif-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.tarif-card p  { font-size: .875rem; color: rgba(26,26,26,.7); flex: 1; margin-bottom: 1.5rem; }
.tarif-price {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}
.tarif-price span { font-size: 1rem; font-weight: 500; color: rgba(26,26,26,.5); }
.tarif-note { font-size: .75rem; color: rgba(26,26,26,.5); margin-top: .4rem; }
.tarifs-conditions {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-bg);
  border-left: 3px solid var(--color-primary);
  font-size: .875rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.tarifs-conditions strong { display: block; margin-bottom: .4rem; }
.tarifs-inclus {
  margin: 0 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.tarifs-inclus span {
  background: rgba(197,157,95,.12);
  color: var(--color-text);
  font-size: .8rem;
  padding: .3rem .8rem;
  border-radius: 20px;
  border: 1px solid rgba(197,157,95,.3);
}

/* ── SECTION : Checklist ────────────────────────── */
.sec-checklist { padding: 5rem 0; }
.sec-checklist .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.sec-checklist.sans-image .inner { grid-template-columns: 1fr; max-width: 700px; margin: 0 auto; }
.sec-checklist h2 { margin-bottom: 1.5rem; }
.sec-checklist .intro { margin-bottom: 2rem; color: rgba(26,26,26,.75); }
.checklist-items li {
  display: flex;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: .95rem;
}
.checklist-items li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.sec-checklist .btn { margin-top: 2rem; }
.sec-checklist__image { border-radius: var(--radius); overflow: hidden; }
.sec-checklist__image img { width: 100%; height: 420px; object-fit: cover; }

/* ── SECTION : Formulaire ───────────────────────── */
.sec-formulaire { padding: 5rem 0; }
.sec-formulaire h1 { margin-bottom: 1rem; }
.sec-formulaire .intro { margin-bottom: 3rem; max-width: 600px; color: rgba(26,26,26,.75); }
.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.form-contact-info h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.form-contact-info p { font-size: .9rem; color: rgba(26,26,26,.7); margin-bottom: 1.5rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.contact-item .icon { color: var(--color-primary); font-size: 1.2rem; }
.contact-item a:hover { color: var(--color-primary); text-decoration: underline; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  background: #fff;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group.checkbox { display: flex; align-items: flex-start; gap: .75rem; }
.form-group.checkbox input { width: auto; margin-top: .25rem; }
.form-group.checkbox label { font-size: .8rem; font-weight: 400; color: rgba(26,26,26,.7); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cv-form-msg {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: .95rem;
  font-weight: 500;
}
.cv-form-ok    { background: #d1fae5; color: #065f46; }
.cv-form-error { background: #fee2e2; color: #991b1b; }
.cv-form .cv-invalid { border-color: #dc2626; outline-color: #dc2626; }
.cv-form input[type=checkbox].cv-invalid { outline: 2px solid #dc2626; outline-offset: 2px; }
.cv-field-error { flex-basis: 100%; margin-top: .35rem; font-size: .8rem; color: #b91c1c; }
.form-group.checkbox { flex-wrap: wrap; }
.form-group.checkbox label { flex: 1; min-width: 0; }

/* ── SECTION : Bannière image ───────────────────── */
.sec-banniere {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.sec-banniere__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.sec-banniere__overlay { position: absolute; inset: 0; }
.sec-banniere .container { position: relative; z-index: 1; padding: 4rem var(--gutter); }
.sec-banniere.pos-centre { text-align: center; }
.sec-banniere.pos-gauche { text-align: left; }
.sec-banniere h1 { color: #fff; margin-bottom: 1rem; }
.sec-banniere p  { color: rgba(255,255,255,.85); max-width: 660px; font-size: 1.05rem; }
.sec-banniere.pos-centre p { margin: 0 auto; }

/* ── SECTION : Texte pur ────────────────────────── */
.sec-texte-pur { padding: 5rem 0; }
.sec-texte-pur .inner { max-width: 700px; margin: 0 auto; padding: 0 var(--gutter); }
.sec-texte-pur.largeur-large .inner  { max-width: 960px; }
.sec-texte-pur.largeur-normale .inner { max-width: 800px; }
.sec-texte-pur h1 { margin-bottom: 2.5rem; }
.mentions-bloc {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.mentions-bloc:last-child { border-bottom: none; }
.mentions-bloc h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.mentions-bloc h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.mentions-bloc h4 { font-size: .9rem; font-weight: 600; color: var(--color-primary); margin-bottom: .3rem; letter-spacing: .05em; text-transform: uppercase; }

/* ── Animations fade-in ─────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Marges des sections pleine largeur ─────────────
   Le texte s'aligne sur la grille du site (--max-w) ; l'image du hero va
   jusqu'au bord de l'écran. */
.sec-hero__content {
  padding: 4rem clamp(1.5rem, 4vw, 4rem) 4rem max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter)));
}
.sec-hero.image-gauche .sec-hero__content {
  padding: 4rem max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter))) 4rem clamp(1.5rem, 4vw, 4rem);
}
.sec-hero.centré .sec-hero__content { padding: 0; }
.sec-texte-image .inner,
.sec-checklist .inner { max-width: var(--max-w); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sec-texte-image__text { padding: 0; }
@media (max-width: 1024px) {
  .sec-hero__content,
  .sec-hero.image-gauche .sec-hero__content { padding: 3rem var(--gutter); }
  .sec-hero.image-gauche { direction: ltr; }
  .sec-hero__image { order: -1; }
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .sec-hero { grid-template-columns: 1fr; min-height: auto; }
  .sec-hero__image { min-height: 300px; }
  .cartes-grid.col-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .hamburger { display: flex; z-index: 200; }
  .main-nav > ul {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 1.2rem;
    z-index: 150;
  }
  .main-nav.open > ul { display: flex; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .sec-texte-image .inner,
  .sec-checklist .inner,
  .form-layout { grid-template-columns: 1fr; gap: 2rem; }
  .sec-texte-image.image-gauche .inner { direction: ltr; }

  .cartes-grid.col-2,
  .cartes-grid.col-3,
  .cartes-grid.col-4,
  .cartes-grid.col-5 { grid-template-columns: 1fr; }

  .tarifs-grid.col-2,
  .tarifs-grid.col-3 { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .service-cols { grid-template-columns: 1fr; }
}

/* ── Galerie ─────────────────────────────────────────────── */
.sec-galerie { padding: 4rem 0; }
.sec-galerie h2 { margin-bottom: 1rem; }
.sec-galerie .intro { margin-bottom: 2rem; opacity: .8; }

/* Grid & Masonry */
.galerie-grid { display: grid; gap: 1rem; }
.galerie-grid.col-2 { grid-template-columns: repeat(2, 1fr); }
.galerie-grid.col-3 { grid-template-columns: repeat(3, 1fr); }
.galerie-grid.col-4 { grid-template-columns: repeat(4, 1fr); }
.galerie-grid figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.galerie-grid figure a { display: block; overflow: hidden; }
.galerie-grid .galerie-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .35s; }
.galerie-grid figure a:hover .galerie-img { transform: scale(1.05); }
.galerie-grid figcaption { font-size: .85rem; padding: .4rem 0; opacity: .7; }

.galerie-masonry .galerie-grid { display: block; }
.galerie-masonry .galerie-grid.col-2 { columns: 2; column-gap: 1rem; }
.galerie-masonry .galerie-grid.col-3 { columns: 3; column-gap: 1rem; }
.galerie-masonry .galerie-grid.col-4 { columns: 4; column-gap: 1rem; }
.galerie-masonry figure { break-inside: avoid; margin-bottom: 1rem; }
.galerie-masonry figure .galerie-img { width: 100%; height: auto; aspect-ratio: unset; border-radius: var(--radius); }

/* Carrousel */
.galerie-carrousel .galerie-carrousel-wrap { position: relative; border-radius: var(--radius); overflow: hidden; }
.galerie-carrousel .galerie-track { display: flex; transition: transform .4s ease; }
.galerie-carrousel .galerie-slide { flex: 0 0 100%; }
.galerie-carrousel .galerie-slide figure { margin: 0; position: relative; }
.galerie-carrousel .galerie-slide-img { width: 100%; height: 480px; object-fit: cover; display: block; }
.galerie-carrousel figcaption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.5); color: #fff; padding: .7rem 1.2rem; font-size: .9rem; }
.galerie-prev, .galerie-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.85); border: none; border-radius: 50%; width: 42px; height: 42px; cursor: pointer; font-size: 1.6rem; line-height: 1; z-index: 5; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: background .2s; }
.galerie-prev:hover, .galerie-next:hover { background: #fff; }
.galerie-prev { left: 1rem; }
.galerie-next { right: 1rem; }
.cv-dots { display: flex; justify-content: center; gap: .5rem; margin-top: .8rem; }
.cv-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(0,0,0,.2); cursor: pointer; padding: 0; transition: background .2s; }
.cv-dot.active { background: var(--color-primary); width: 22px; border-radius: 4px; }

/* Lightbox */
#cv-lb { position: fixed; inset: 0; background: rgba(0,0,0,.93); z-index: 9999; display: none; align-items: center; justify-content: center; flex-direction: column; }
#cv-lb.open { display: flex; }
.cv-lb-close { position: absolute; top: 1rem; right: 1.2rem; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; z-index: 10001; opacity: .8; transition: opacity .2s; }
.cv-lb-close:hover { opacity: 1; }
.cv-lb-prev, .cv-lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: #fff; font-size: 3rem; cursor: pointer; line-height: 1; z-index: 10001; opacity: .7; padding: .5rem 1rem; transition: opacity .2s; }
.cv-lb-prev:hover, .cv-lb-next:hover { opacity: 1; }
.cv-lb-prev { left: .5rem; }
.cv-lb-next { right: .5rem; }
.cv-lb-inner { max-width: 90vw; max-height: 85vh; display: flex; flex-direction: column; align-items: center; }
.cv-lb-img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 2px; }
.cv-lb-caption { color: rgba(255,255,255,.75); font-size: .9rem; margin-top: .6rem; text-align: center; }
.cv-lb-count { color: rgba(255,255,255,.4); font-size: .8rem; margin-top: .2rem; }

@media (max-width: 900px) {
  .galerie-grid.col-4 { grid-template-columns: repeat(2, 1fr); }
  .galerie-masonry .galerie-grid.col-4 { columns: 2; }
}
@media (max-width: 600px) {
  .galerie-grid.col-3, .galerie-grid.col-4 { grid-template-columns: repeat(2, 1fr); }
  .galerie-masonry .galerie-grid.col-3, .galerie-masonry .galerie-grid.col-4 { columns: 2; }
  .galerie-carrousel .galerie-slide-img { height: 260px; }
}

/* ══════════════════════════════════════════════════════════════
   FINITIONS CORVUS — détails graphiques du site d'origine
   (traits dorés, cartes bordées, puces, notes, survols)
   ══════════════════════════════════════════════════════════════ */
:root {
  --radius-md:    8px;
  --radius-lg:    16px;
  --color-border: color-mix(in srgb, var(--color-text) 12%, var(--color-bg));
  --gold-soft:    color-mix(in srgb, var(--color-primary) 14%, transparent);
  --shadow-hover: 0 6px 28px rgba(0,0,0,.13);
  --ease:         .25s ease;
}

/* Typographie : labels plus fins, titres serrés */
h1, h2, h3 { letter-spacing: -.01em; }
.label { font-size: .75rem; letter-spacing: .14em; margin-bottom: .6rem; }

/* Trait doré sous les titres centrés (fil conducteur du site d'origine) */
.sec-grille-cartes > .container > h2::after,
.sec-grille-tarifs h2::after,
.sec-galerie h2::after,
.sec-hero.centré .sec-hero__content::after,
.sec-texte-pur h1::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  margin: 1rem auto 0;
  background: var(--color-primary);
  border-radius: 2px;
}
.sec-galerie h2::after,
.sec-texte-pur h1::after { margin-left: 0; }
.sec-hero.centré .sec-hero__content::after { margin-top: 1.75rem; }
/* Petit trait à gauche sous les titres des sections texte + image */
.sec-texte-image__text h2::after,
.sec-checklist h2::after {
  content: "";
  display: block;
  width: 40px; height: 3px;
  margin-top: .9rem;
  background: var(--color-primary);
  border-radius: 2px;
}
.sec-checklist.sans-image h2 { text-align: center; }
.sec-checklist.sans-image h2::after { margin-left: auto; margin-right: auto; }

/* Boutons : capitales, doré au texte sombre, léger relief au survol */
.btn {
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn-primary { color: var(--color-on-primary, var(--color-text)); }
.btn-primary:hover {
  color: var(--color-on-primary, var(--color-text));
  box-shadow: 0 4px 16px color-mix(in srgb, var(--color-primary) 35%, transparent);
}

/* Navigation : survol en pastille dorée */
.main-nav > ul { gap: .25rem; }
.main-nav a { padding: .5rem .85rem; border-radius: var(--radius); transition: color var(--ease), background var(--ease); }
.main-nav a:hover { background: var(--gold-soft); }

/* Hero */
.sec-hero__content h1 { margin-bottom: 1.5rem; line-height: 1.15; }
.sec-hero__content p { color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.sec-hero.centré .sec-hero__content { max-width: 760px; margin: 0 auto; }
.sec-hero.centré .sec-hero__content p { font-size: 1.05rem; }
.sec-hero__note { background: var(--color-bg-alt); border-radius: 0 var(--radius) var(--radius) 0; }

/* Images : coins arrondis, zoom doux au survol */
.sec-texte-image__image,
.sec-checklist__image { border-radius: var(--radius-md); }
.sec-texte-image__image img,
.sec-checklist__image img { transition: transform .6s ease; }
.sec-texte-image__image:hover img,
.sec-checklist__image:hover img { transform: scale(1.03); }

/* Texte riche : listes à tirets dorés */
.sec-texte-image__text ul,
.sec-texte-pur ul { list-style: none; padding-left: 0; }
.sec-texte-image__text li,
.sec-texte-pur li { position: relative; padding-left: 1.4rem; margin-bottom: .5rem; }
.sec-texte-image__text li::before,
.sec-texte-pur li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--color-primary);
  font-weight: 700;
}
.sec-texte-image__text h3 {
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-primary);
}
.service-cols li::before { content: none; }

/* Fond sombre : éléments en encarts filetés de doré */
.sec-fond-sombre .container { max-width: 800px; }
.sec-fond-sombre__list { display: flex; flex-direction: column; gap: .7rem; }
.sec-fond-sombre__list li {
  padding: .9rem 1.25rem;
  background: rgba(255,255,255,.05);
  border: 0;
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  line-height: 1.6;
}
.sec-fond-sombre__list li::before { content: none; }

/* Checklist : coches dorées dans une pastille */
.checklist-items li { align-items: flex-start; border-bottom: 0; padding: .5rem 0; }
.checklist-items li::before {
  content: "✓";
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--color-primary);
  font-size: .8rem;
  line-height: 1;
  margin-top: .1rem;
}

/* Cartes : bordure fine, relief au survol */
.carte {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: none;
  transition: box-shadow var(--ease), transform var(--ease);
}
.carte:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.carte a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: var(--font-head);
}
/* Cartes « icône » = étapes numérotées (pastille dorée), comme la page Tarifs d'origine */
.cartes-grid { counter-reset: etape; }
.carte.style-icone {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 2rem 1.25rem;
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
}
.carte.style-icone:hover { box-shadow: var(--shadow-hover); }
.carte.style-icone .carte__icon { margin: 0; }
.carte.style-icone .carte__icon img { width: 72px; height: 72px; }
.carte.style-icone h3 { margin: 0; line-height: 1.3; font-size: .95rem; }
.carte.style-icone h3::before {
  counter-increment: etape;
  content: counter(etape);
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  margin: 0 auto .75rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-on-primary, var(--color-text));
  font-size: .8rem;
}
.carte.style-icone p { margin: 0; flex: 1; }

/* Tarifs : cartes bordées centrées, prix dorés, note des conditions */
.tarif-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: none;
  text-align: center;
  align-items: center;
  transition: box-shadow var(--ease), transform var(--ease);
}
.tarif-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.tarif-card p { margin-bottom: 1.25rem; }
.tarif-price { font-size: 1.9rem; }
.tarif-price span { font-size: .85rem; font-weight: 400; }
.tarif-note { margin-top: .6rem; font-style: italic; }
.tarifs-conditions {
  background: var(--color-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.tarifs-conditions strong {
  font-family: var(--font-head);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-primary);
}
.tarifs-inclus { justify-content: center; }
.tarifs-inclus span::before { content: "✓ "; color: var(--color-primary); font-weight: 700; }

/* Formulaire de contact : encart doux, champs soignés */
.form-layout > .cv-form {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-group label {
  font-family: var(--font-head);
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.form-group.checkbox label { text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.form-group input,
.form-group textarea,
.form-group select { border: 1.5px solid var(--color-border); transition: border-color var(--ease), box-shadow var(--ease); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { box-shadow: 0 0 0 3px var(--gold-soft); }
.form-group input[type=checkbox] { accent-color: var(--color-primary); }
.contact-item a { color: var(--color-primary); }

/* Mentions légales : liens soulignés dorés */
.mentions-bloc a,
.sec-texte-pur p a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }

/* Pied de page : nom en doré, logo clair */
.footer-brand img { filter: brightness(0) invert(1); opacity: .85; }
.footer-brand p:first-of-type strong { color: var(--color-primary); font-family: var(--font-head); }

@media (max-width: 768px) {
  .form-layout > .cv-form { padding: 1.75rem; }
}

/* ── Blog / actualités (finitions Corvus) ───────── */
.sec-actualites .actu-entete h2::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  margin: 1rem auto 0;
  background: var(--color-primary);
  border-radius: 2px;
}
.actu-card { border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: none; }
.actu-card:hover { box-shadow: var(--shadow-hover); }
.actu-card__body { padding: 1.5rem 1.6rem 1.75rem; }
.actu-date { letter-spacing: .14em; font-size: .72rem; }
.actu-more { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }

.article-header { text-align: center; }
.article-header h1::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  margin: 1.25rem auto 0;
  background: var(--color-primary);
  border-radius: 2px;
}
.article-image img { border-radius: var(--radius-lg); }
.article-corps h2::after {
  content: "";
  display: block;
  width: 40px; height: 3px;
  margin-top: .7rem;
  background: var(--color-primary);
  border-radius: 2px;
}
.article-corps ul { list-style: none; padding-left: 0; }
.article-corps ul li { position: relative; padding-left: 1.5rem; }
.article-corps ul li::before {
  content: ""; position: absolute; left: 0; top: .8em;
  width: 10px; height: 2px; background: var(--color-primary);
}
.article-corps blockquote {
  border-left: 0; border-radius: var(--radius-md);
  background: var(--gold-soft); padding: 1.25rem 1.5rem; font-style: normal;
}
.article-nav { border-top-color: var(--color-border); }

/* ================================================
   En-tête commun à tous les templates (après le CSS du template) :
   taille du logo, disposition centrée, sous-menus déroulants.
   Variables --logo-h et --header-h : CorvusEditor\Entete::css
   ================================================ */

.site-header .logo-bird { height: var(--logo-h, 44px); width: auto; max-width: 60vw; object-fit: contain; }
/* Nom du site (et slogan) : police des titres, taille selon le logo (--nom-size) */
.site-header .logo { min-width: 0; text-decoration: none; color: inherit; }
.site-header .logo-nom { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.site-header .logo-wordmark {
  font-family: var(--nom-font, var(--font-head));
  font-size: var(--nom-size, 1.25rem);
  font-weight: var(--nom-weight, 600);
  color: var(--nom-color, var(--color-text));
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-header .logo-slogan {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 400;
  color: var(--color-text);
  opacity: .75;
  margin-top: .15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-header.entete-centree .logo-nom { align-items: center; text-align: center; }

/* « Header fixe » désactivé : en haut de la page, défile avec elle */
.site-header.entete-statique { position: absolute; }

/* ── Disposition centrée (ordinateur) : logo et nom, puis le menu ── */
@media (min-width: 769px) {
  .site-header.entete-centree .container {
    flex-direction: column;
    justify-content: center;
    gap: .5rem;
    padding-top: .5rem;
  }
  .site-header.entete-centree .logo { justify-content: center; }
  .site-header.entete-centree .main-nav > ul { justify-content: center; flex-wrap: wrap; }
}

/* ── Sous-menus ─────────────────────────────────── */
.main-nav .has-sub { position: relative; display: flex; align-items: center; }
.main-nav .sub-menu { list-style: none; margin: 0; }
/* Bouton ▾ à côté d'un lien (le libellé sans page est un lien, stylé par le template) */
.main-nav button.sub-toggle {
  background: none;
  border: 0;
  padding: .35rem .25rem;
  color: inherit;
  font: inherit;
  cursor: pointer;
  line-height: 1;
}
.main-nav a.sub-toggle--libelle { white-space: nowrap; }
.main-nav .sub-toggle::after {
  content: '';
  display: inline-block;
  width: .4em;
  height: .4em;
  margin-left: .35em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-30%) rotate(45deg);
  transition: transform .2s;
}
.main-nav .has-sub.open > .sub-toggle::after { transform: translateY(10%) rotate(225deg); }
.main-nav .sub-toggle:hover, .main-nav .has-sub.active > .sub-toggle--libelle { color: var(--color-primary); }

@media (min-width: 769px) {
  /* Lien et bouton ▾ en ligne, alignés comme les autres liens du menu */
  .main-nav .has-sub { display: block; white-space: nowrap; }
  .main-nav button.sub-toggle { vertical-align: middle; }
  .main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 120;
    min-width: 210px;
    padding: .5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--color-bg);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .15s, transform .15s, visibility .15s;
  }
  .main-nav .has-sub:hover > .sub-menu,
  .main-nav .has-sub:focus-within > .sub-menu,
  .main-nav .has-sub.open > .sub-menu { visibility: visible; opacity: 1; transform: none; }
  .main-nav .sub-menu a { display: block; padding: .55rem 1.1rem; white-space: nowrap; border-radius: 0; }
  .main-nav .sub-menu li.active > a { color: var(--color-primary); }
  /* Dernier lien du menu : sous-menu aligné à droite, pour ne pas sortir de l'écran */
  .main-nav > ul > .has-sub:last-child > .sub-menu { left: auto; right: 0; }
}

/* ── Mobile : sous-menus dépliables dans le menu plein écran ── */
@media (max-width: 768px) {
  /* Bouton ☰ / ✕ au-dessus du menu ouvert (sinon on ne peut pas le refermer) */
  .hamburger { position: relative; }
  .main-nav.open > ul { overflow-y: auto; justify-content: flex-start; padding: calc(var(--header-h) + 1rem) 1rem 2rem; }
  .main-nav .has-sub { flex-wrap: wrap; justify-content: center; }
  .main-nav .sub-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0 0;
    font-size: .95em;
  }
  .main-nav .has-sub.open > .sub-menu { display: flex; }
}

/* ── En-tête transparent (« Header transparent ») ─────────────────
   Sur une page qui commence par une bannière ou une section sombre :
   l'en-tête se pose sur la première section, texte en blanc ; après
   défilement (.scrolled, en-tête fixe), il retrouve son fond. */
.avec-entete-transparent main { padding-top: 0; }
.avec-entete-transparent main > section:first-child { padding-top: var(--header-h); }
.avec-entete-transparent main > .sec-fond-sombre:first-child { padding-top: calc(var(--header-h) + 4rem); }
.site-header.entete-transparent { transition: background-color .25s, box-shadow .25s, border-color .25s; }
.site-header.entete-transparent:not(.scrolled) {
  background: linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, 0));
  border-bottom-color: transparent;
  box-shadow: none;
}
.site-header.entete-transparent:not(.scrolled) .logo-wordmark,
.site-header.entete-transparent:not(.scrolled) .logo-slogan,
.site-header.entete-transparent:not(.scrolled) .main-nav:not(.open) > ul > li > a,
.site-header.entete-transparent:not(.scrolled) .main-nav:not(.open) > ul > li > .sub-toggle {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.site-header.entete-transparent:not(.scrolled) .logo-slogan { opacity: .9; }
.site-header.entete-transparent:not(.scrolled) .main-nav:not(.open) .hamburger span { background: #fff; }
/* Bannière (hauteur fixée) : l'espace de l'en-tête s'ajoute à sa hauteur */
.avec-entete-transparent main > .sec-banniere:first-child { box-sizing: content-box; }
