/*
 * Green Wolf V2 · feuille du thème (lot C1). Charte de la maquette validée du
 * 19/11/2026 (Anton, Open Sans, vert #7d8e6c, orange #f3ad2e, ardoise #354550),
 * sans framework. Lot C3 : couleurs, largeurs et mise en page exactement celles de
 * la maquette (vert #7d8e6c sous texte blanc, mots en valeur orange #f3ad2e
 * partout, marques en #9aa3a8), choix d'Antony du 04/12/2026 ; les contrastes AA
 * du lot C1 (#66775a, #b36f00) sont abandonnés sur ces éléments.
 */

:root {
  --gw-green: #7d8e6c;
  --gw-green-strong: #7d8e6c; /* = vert de la maquette (fonds sous texte blanc) */
  --gw-green-dark: #55654a;
  --gw-green-50: #eef1ea;
  --gw-green-100: #dfe5d8;
  --gw-orange: #f3ad2e;
  --gw-orange-text: #b36f00; /* titres (grand texte) sur fond clair */
  --gw-orange-deep: #8a5500; /* petit texte sur fond orange clair */
  --gw-orange-50: #fdf3df;
  --gw-slate: #354550;
  --gw-slate-dark: #24313a;
  --gw-grey: #d9dad6;
  --gw-cream: #f7f6f1;
  --gw-text: #2b3841;
  --gw-text-2: #5b6770;
  --gw-line: #dcdcd4;
  --gw-ok: #2f7d3b;
  --gw-title: Anton, Impact, "Arial Narrow", sans-serif;
  --gw-font: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gw-radius: 18px;
  --gw-shadow: 0 18px 40px -24px rgba(36, 49, 58, .45);
  --gw-header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--gw-header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--gw-font); color: var(--gw-text); background: #fff; line-height: 1.6; font-size: 16px; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--gw-green-dark); text-underline-offset: .15em; }
a:hover { color: var(--gw-slate); }
h1, h2, h3, h4 { font-family: var(--gw-title); font-weight: 400; line-height: 1.08; margin: 0 0 .4em; color: var(--gw-slate); letter-spacing: .01em; text-transform: uppercase; overflow-wrap: break-word; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--gw-orange); }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(30px, 4.4vw, 52px); }
h3 { font-size: clamp(21px, 2.4vw, 24px); }
p { margin: 0 0 12px; }
:focus-visible { outline: 3px solid var(--gw-orange); outline-offset: 2px; border-radius: 4px; }
.gw-header :focus-visible, .gw-footer :focus-visible, .gw-drawer :focus-visible, .gw-hero--photo :focus-visible, .gw-section--green :focus-visible { outline-color: #fff; }
.gw-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.gw-skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--gw-slate-dark); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 10px; font-weight: 700; }
.gw-skip:focus { top: 0; color: #fff; }
.gw-main:focus { outline: none; }
.gw-icon { flex: none; vertical-align: middle; }

/* ---------- Boutons ---------- */
.gw-btn, .wp-block-button__link, .gw-content .wp-element-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font: inherit; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 15px;
  text-decoration: none; cursor: pointer; border: 0; position: relative; background: var(--gw-orange); color: var(--gw-slate-dark);
}
.gw-btn::after, .wp-block-button:not(.is-style-outline) .wp-block-button__link::after { content: ""; position: absolute; inset: 4px; border: 1.5px dashed rgba(36, 49, 58, .55); border-radius: 999px; pointer-events: none; }
.gw-btn:hover, .wp-block-button__link:hover { background: #f6bb4f; color: var(--gw-slate-dark); }
.gw-btn--dark { background: var(--gw-slate); color: #fff; }
.gw-btn--dark::after { border-color: rgba(255, 255, 255, .5); }
.gw-btn--dark:hover { background: var(--gw-slate-dark); color: #fff; }
.gw-btn--outline, .wp-block-button.is-style-outline .wp-block-button__link { background: #fff; color: var(--gw-slate); box-shadow: inset 0 0 0 2px var(--gw-slate); }
.gw-btn--outline::after { display: none; }
.gw-btn--outline:hover, .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--gw-cream); color: var(--gw-slate); }
.gw-actions, .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- En-tête ---------- */
.gw-header { background: var(--gw-green-strong); position: sticky; top: 0; z-index: 30; color: #fff; }
.admin-bar .gw-header { top: var(--wp-admin--admin-bar--height, 0px); }
.gw-header__bar { display: flex; align-items: center; gap: 16px; min-height: var(--gw-header-h); }
.gw-logo { display: inline-flex; align-items: center; color: #fff; flex: none; }
.gw-logo__svg { height: 40px; width: auto; display: block; }
.gw-logo__img { max-height: 40px; width: auto; }
.gw-nav { margin-left: auto; }
.gw-menu { list-style: none; margin: 0; padding: 0; }
.gw-nav .gw-menu { display: flex; align-items: center; gap: 2px; }
.gw-nav .gw-menu > li { position: relative; display: flex; align-items: center; }
.gw-nav .gw-menu > li > a { color: #fff; text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.gw-nav .gw-menu > li > a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.gw-nav .gw-menu > li > a[aria-current="page"], .gw-nav .gw-menu > .current-menu-ancestor > a { box-shadow: inset 0 -3px 0 var(--gw-orange); border-radius: 8px 8px 0 0; }
.gw-submenu-toggle { background: transparent; border: 0; color: #fff; width: 32px; height: 32px; margin-left: -6px; border-radius: 8px; cursor: pointer; display: inline-grid; place-items: center; }
.gw-submenu-toggle[aria-expanded="true"] .gw-icon { transform: rotate(180deg); }
.gw-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; right: 0; min-width: 240px; background: #fff; border-radius: 14px; box-shadow: var(--gw-shadow); border: 1px solid var(--gw-line); display: none; z-index: 40; }
.gw-nav .sub-menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
.gw-nav .sub-menu .gw-submenu-toggle { display: none; }
.gw-nav li.is-open > .sub-menu { display: block; }
.gw-nav .sub-menu a { display: block; color: var(--gw-slate); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.gw-nav .sub-menu a:hover, .gw-nav .sub-menu a[aria-current="page"] { background: var(--gw-green-50); }
.gw-header__tools { display: flex; align-items: center; gap: 16px; }
/* Langues comme la maquette : « FR | EN », langue courante en orange. */
.gw-langs { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; font-weight: 700; font-size: 14px; line-height: 1.6; color: #fff; }
.gw-langs li { display: flex; align-items: center; gap: 6px; }
.gw-langs li + li::before { content: "|"; }
.gw-langs span[aria-current] { color: var(--gw-orange); }
.gw-langs a { color: #fff; text-decoration: none; }
.gw-langs a:hover { color: #fff; text-decoration: underline; }
.gw-cart { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--gw-slate); text-decoration: none; font-weight: 800; font-size: 14px; line-height: 1.6; border-radius: 999px; padding: 8px 14px; white-space: nowrap; }
.gw-cart:hover { color: var(--gw-slate-dark); background: var(--gw-cream); }
.gw-cart__count { background: var(--gw-orange); color: var(--gw-slate-dark); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12.5px; padding: 0 6px; }
.gw-burger { display: none; background: transparent; border: 0; color: #fff; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; place-items: center; padding: 0; }

/* Tiroir mobile */
.gw-drawer { position: fixed; inset: 0; z-index: 60; background: rgba(20, 28, 33, .5); }
.gw-drawer[hidden] { display: none; }
.gw-drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--gw-green-strong); color: #fff; padding: 16px 20px 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.gw-drawer__close { align-self: flex-end; background: transparent; border: 0; color: #fff; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.gw-drawer .gw-menu li { position: relative; border-bottom: 1px dashed rgba(255, 255, 255, .35); display: flex; flex-wrap: wrap; align-items: center; }
.gw-drawer .gw-menu a { flex: 1; color: #fff; font-weight: 800; text-transform: uppercase; text-decoration: none; padding: 12px 4px; min-height: 44px; }
.gw-drawer .gw-submenu-toggle { width: 44px; height: 44px; margin: 0; }
.gw-drawer .sub-menu { list-style: none; margin: 0 0 8px; padding: 0 0 0 12px; width: 100%; display: none; }
.gw-drawer li.is-open > .sub-menu { display: block; }
.gw-drawer .sub-menu li { border: 0; }
.gw-drawer .sub-menu a { text-transform: none; font-weight: 700; padding: 8px 4px; }
.gw-drawer .sub-menu .sub-menu { display: block; }
.gw-drawer .sub-menu .gw-submenu-toggle { display: none; }
.gw-langs--drawer { margin-top: 12px; }
body.gw-drawer-open { overflow: hidden; }

/* ---------- En-têtes de page ---------- */
.gw-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gw-green-dark); margin: 0 0 8px; }
.gw-kicker::before { content: ""; width: 26px; border-top: 2px dashed currentColor; }
.gw-kicker.has-text-align-center { display: flex; justify-content: center; }
.gw-hero { position: relative; }
.gw-hero--simple { background: var(--gw-cream); padding: 28px 0 32px; border-bottom: 1px solid var(--gw-line); }
.gw-hero--simple .gw-hero__lead { color: var(--gw-text-2); max-width: 62ch; margin: 10px 0 0; }
.gw-hero--photo { background: var(--gw-slate-dark); color: #fff; overflow: hidden; }
.gw-hero__media { position: absolute; inset: 0; }
.gw-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.gw-hero--photo.has-image .gw-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36, 49, 58, .94) 0%, rgba(36, 49, 58, .78) 46%, rgba(36, 49, 58, .15) 100%); }
.gw-hero--photo .gw-hero__inner { position: relative; padding-top: 72px; padding-bottom: 56px; }
.gw-hero--photo .gw-kicker { color: var(--gw-orange); }
.gw-hero .gw-hero__title { color: var(--gw-slate); font-family: var(--gw-title); font-size: clamp(34px, 5vw, 56px); line-height: 1.08; }
.gw-hero--photo .gw-hero__title { color: #fff; font-size: clamp(40px, 6.4vw, 78px); max-width: 13ch; margin: 14px 0 16px; }
.gw-hero--photo .gw-kicker { margin: 0; }
.gw-hero--photo .gw-hero__title em { color: var(--gw-orange); }
.gw-hero--photo .gw-hero__lead { font-size: clamp(17px, 2vw, 20px); max-width: 50ch; color: #e8ecee; margin: 0 0 12px; }
.gw-hero--photo .gw-btn--outline { box-shadow: none; }
.gw-labels { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 0; font-size: 14px; color: #d4dadd; align-items: center; }
.gw-labels li { display: inline-flex; align-items: center; gap: 8px; }
.gw-labels .gw-icon { color: var(--gw-orange); }
.gw-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 14px; padding: 0; font-size: 13.5px; color: var(--gw-text-2); }
.gw-breadcrumb li + li::before { content: "›"; margin-right: 4px; }
.gw-breadcrumb a { color: var(--gw-text-2); }

/* ---------- Entrée du simulateur (accueil) ---------- */
.gw-entry { position: relative; margin-top: -40px; z-index: 2; }
.gw-entry__box { background: #fff; border-radius: 24px; box-shadow: var(--gw-shadow); padding: 24px; border: 1px solid var(--gw-line); }
.gw-entry h2 { font-size: 26px; margin-bottom: 4px; }
.gw-entry p { color: var(--gw-text-2); margin-bottom: 16px; }
.gw-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.gw-tile { height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 10px 16px; border-radius: var(--gw-radius); background: var(--gw-cream); color: var(--gw-slate); text-decoration: none; border: 2px solid transparent; transition: transform .15s, border-color .15s, background .15s; }
.gw-tile:hover { transform: translateY(-2px); border-color: var(--gw-green-100); background: var(--gw-green-50); color: var(--gw-slate); }
.gw-tile__icon { width: 76px; height: 76px; border-radius: 50%; background: #fff; display: grid; place-items: center; outline: 2px dashed var(--gw-slate); outline-offset: -6px; }
.gw-tile__icon img { width: 44px; height: 44px; }
.gw-tile b { font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.25; overflow-wrap: anywhere; }
.gw-tile small { color: var(--gw-text-2); font-size: 12.5px; line-height: 1.35; }

/* ---------- Contenu de l'éditeur ---------- */
.gw-content--text, .gw-content--wide { padding: 40px 16px 64px; }
.gw-content--text > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.gw-content--wide > * { max-width: 1168px; margin-left: auto; margin-right: auto; }
.gw-content--wide:empty, .gw-content--text:empty { display: none; }
/* Section dans la colonne de lecture (appel « Je répare » des guides) : encadré arrondi. */
.gw-content--text > .gw-section { border-radius: var(--gw-radius); padding: 36px 28px; margin-top: 48px; }
.gw-content--text > .gw-section > * { max-width: none; }
.gw-content--sections > :not(.gw-section):not(.alignfull) { max-width: 1168px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.gw-content .alignwide { max-width: 1168px; }
.gw-content .alignfull { max-width: none; }
.gw-content--text h2 { font-size: clamp(26px, 3.2vw, 34px); margin-top: 1.4em; }
.gw-content--text h3 { margin-top: 1.2em; }
.gw-content figure { margin: 24px auto; }
.gw-content figcaption { font-size: 13.5px; color: var(--gw-text-2); margin-top: 6px; }
.gw-content:not(.gw-content--shop) :where(ul, ol):not(.gw-steps):not(.gw-brands):not(.gw-partners__list):not(.gw-bonus-list):not(.gw-label-list) { padding-left: 1.3em; }
.gw-content table { border-collapse: collapse; width: 100%; }
.gw-content td, .gw-content th { border-bottom: 1px solid var(--gw-line); padding: 8px; text-align: left; }
.gw-content .wp-block-table { overflow-x: auto; }

/* Sections pleine largeur (modèles « Green Wolf ») */
.gw-section { padding: 72px 16px; }
.gw-section > * { max-width: 1168px; margin-left: auto; margin-right: auto; }
.gw-section > .gw-wrap { padding-left: 0; padding-right: 0; }
.gw-content--wide:has(+ .gw-section) { padding-bottom: 0; }
.gw-section--cream { background: var(--gw-cream); }
.gw-section--green { background: var(--gw-green-strong); color: #fff; }
.gw-section--green h2, .gw-section--green .gw-kicker { color: #fff; }
.gw-section--green .gw-section__head p:not(.gw-kicker) { color: #eef1ea; }
.gw-section--green h2 em { color: var(--gw-orange); }
.gw-section--tight { padding-top: 40px; padding-bottom: 40px; }
/* Comme la maquette : titre et chapô côte à côte s'ils tiennent sur la ligne, sinon l'un sous l'autre. */
.gw-section__head { margin-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; }
.gw-section__head .gw-kicker { flex: 0 0 100%; margin: 0 0 -12px; }
.gw-section__head h2 { margin: 10px 0 0; font-size: clamp(32px, 4.4vw, 52px); }
.gw-section__head p:not(.gw-kicker) { margin: 0; max-width: 54ch; color: var(--gw-text-2); }
.gw-section__head.has-text-align-center, .gw-section__head:has(> .has-text-align-center:only-child) { justify-content: center; text-align: center; }
.gw-section .gw-kicker + h2 { margin-top: 10px; margin-bottom: 12px; }
.gw-section h2:not(.gw-section__head h2) { font-size: clamp(30px, 4vw, 46px); }

/* Étapes numérotées */
.gw-steps { list-style: none; counter-reset: gw-step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 auto; padding: 0; }
.gw-steps li { counter-increment: gw-step; background: #fff; border-radius: var(--gw-radius); padding: 22px; border: 2px dashed var(--gw-green-100); color: var(--gw-text-2); font-size: 15px; }
.gw-steps li::before { content: counter(gw-step); display: block; font-family: var(--gw-title); font-size: 40px; color: var(--gw-orange); line-height: 1; }
.gw-steps strong { display: block; font-family: var(--gw-title); font-weight: 400; text-transform: uppercase; font-size: 21px; line-height: 1.08; letter-spacing: .01em; color: var(--gw-slate); margin: 8px 0 6px; }

/* Texte + photo */
.gw-duo { gap: 40px !important; }
.gw-photo { margin: 0; }
.gw-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; background: var(--gw-grey); }
/* Cadrage des photos (classe ajoutée au bloc Image) : hauteur du point d'intérêt. */
.gw-focus-30 img { object-position: center 30%; }
.gw-focus-60 img { object-position: center 60%; }
.gw-bonus-list { list-style: none; background: #fff; border-radius: var(--gw-radius); padding: 20px; border: 2px dashed var(--gw-orange); margin: 18px 0 0; }
.gw-bonus-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--gw-line); font-size: 15px; line-height: 1.6; }
.gw-bonus-list strong { font-weight: 800; }
.gw-bonus-list li:last-child { border-bottom: 0; }
.gw-bonus-list strong { white-space: nowrap; }
.gw-note { font-size: 14px; color: var(--gw-text-2); margin-top: 10px; }

/* Cartes (colonnes de blocs) */
.gw-cards3 { gap: 16px !important; }
.gw-card-block { background: #fff; border-radius: var(--gw-radius); overflow: hidden; border: 1px solid var(--gw-line); color: var(--gw-text); display: flex; flex-direction: column; }
.gw-card-block > :not(.gw-card-block__media) { padding-left: 20px; padding-right: 20px; }
.gw-card-block h3 { margin: 20px 0 8px; font-size: 23px; }
.gw-card-block p { color: var(--gw-text-2); font-size: 15px; margin: 0 0 20px; }
.gw-card-block p:has(+ .gw-card-block__go) { margin-bottom: 8px; }
.gw-card-block .gw-card-block__go { margin: auto 0 0; padding-top: 6px; font-weight: 800; color: var(--gw-green-dark); font-size: 16px; }
/* Marge basse portée par la carte : WordPress annule celle du dernier bloc d'une colonne. */
.gw-card-block { padding-bottom: 20px; }
.gw-card-block > :last-child { margin-bottom: 0 !important; }
.gw-card-block h3 a { color: inherit; text-decoration: none; }
.gw-card-block:has(h3 a) { position: relative; }
.gw-card-block h3 a::before { content: ""; position: absolute; inset: 0; }
.gw-card-block:has(h3 a:focus-visible) { outline: 3px solid var(--gw-orange); outline-offset: 2px; }
.gw-card-block__media { margin: 0 !important; }
.gw-card-block__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--gw-grey); }

.gw-brands { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; padding: 0 !important; margin: 32px auto 0; }
.gw-brands li { font-family: var(--gw-title); font-size: 22px; line-height: 1.6; color: #9aa3a8; text-transform: uppercase; letter-spacing: .04em; }
.gw-kicker.has-text-align-center + .gw-brands { margin-top: 24px; }
/* Logos des partenaires ([greenwolf_partners]) : bandeau en boucle, deux copies de la liste. */
.gw-partners { overflow: hidden; margin: 28px 0 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gw-partners__track { display: flex; width: max-content; animation: gw-marquee 70s linear infinite; }
.gw-partners:hover .gw-partners__track, .gw-partners:focus-within .gw-partners__track { animation-play-state: paused; }
.gw-partners__list { display: flex; align-items: center; gap: 56px; list-style: none; margin: 0 !important; padding: 0 56px 0 0 !important; }
.gw-partners__list li { margin: 0; flex: 0 0 auto; }
.gw-partners__list a { display: block; border-radius: 6px; }
.gw-partners__logo { display: block; height: 46px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .65; mix-blend-mode: multiply; transition: filter .2s, opacity .2s; }
.gw-partners__list a:hover .gw-partners__logo, .gw-partners__list a:focus-visible .gw-partners__logo { filter: none; opacity: 1; }
.gw-partners__name { font-family: var(--gw-title); font-size: 20px; color: #9aa3a8; text-transform: uppercase; white-space: nowrap; }
@keyframes gw-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .gw-partners { -webkit-mask-image: none; mask-image: none; }
  .gw-partners__track { animation: none; width: auto; }
  .gw-partners__list { flex-wrap: wrap; justify-content: center; gap: 24px 40px; padding: 0 !important; }
  .gw-partners__list[aria-hidden] { display: none; }
}
@media (max-width: 760px) {
  .gw-partners__list { gap: 36px; padding-right: 36px !important; }
  .gw-partners__logo { height: 36px; max-width: 120px; }
}

/* Offres (professionnels, ateliers) */
.gw-offers { gap: 16px !important; }
.gw-offer { border: 2px dashed var(--gw-green-100); border-radius: var(--gw-radius); padding: 22px; background: #fff; }
.gw-offer p { color: var(--gw-text-2); }
.gw-offer ul { color: var(--gw-text-2); font-size: 15px; margin: 10px 0 0; }
.gw-offer__price { font-family: var(--gw-title); font-size: 26px; color: var(--gw-slate) !important; margin: 12px 0 0; }
.gw-offer { display: flex; flex-direction: column; }
.gw-offer h3 { font-size: 24px; margin: 0 0 8px; }
.gw-offer > p:not([class]) { margin: 0 0 4px; }
.gw-offer .gw-offer__price { margin-top: auto; padding-top: 14px; }
.gw-offer .gw-note { margin: 4px 0 0; font-size: 13px; }
.gw-offer ul { padding-left: 18px !important; }
.gw-offer li { margin: 2px 0; }

/* Bandeau d'appel final, centré */
.gw-cta { text-align: center; }
.gw-cta .gw-kicker { display: flex; justify-content: center; }
.gw-cta h2 { max-width: 24ch; margin-left: auto !important; margin-right: auto !important; }
.gw-cta p:not(.gw-kicker) { max-width: 60ch; margin-left: auto !important; margin-right: auto !important; }
.gw-cta .wp-block-buttons { justify-content: center; }
.gw-section--green .wp-block-button.is-style-outline .wp-block-button__link { box-shadow: none; }
.gw-section--green.gw-cta p:not(.gw-kicker) { color: #eef1ea; }

/* Photo : crédit sous l'image */
.gw-photo figcaption { font-size: 12.5px; color: var(--gw-text-2); margin-top: 6px; text-align: left; }
.gw-label-list { list-style: none; padding: 0; margin: 32px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gw-label-list li { background: var(--gw-cream); border-radius: var(--gw-radius); padding: 20px; color: var(--gw-text-2); font-size: 15px; }
.gw-label-list strong { display: block; color: var(--gw-slate); font-size: 16px; margin-bottom: 4px; }

/* Formulaires (Contact Form 7, recherche) */
.gw-form label, .wpcf7 label { display: block; font-weight: 700; font-size: 14.5px; color: var(--gw-slate); margin-bottom: 14px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], input[type="password"], textarea, select {
  font: inherit; font-size: 16px; border: 2px solid var(--gw-line); border-radius: 12px; padding: 10px 12px; width: 100%; max-width: 100%; color: var(--gw-text); background: #fff;
}
input:focus, textarea:focus, select:focus { border-color: var(--gw-green-dark); outline: none; box-shadow: 0 0 0 3px var(--gw-green-100); }
.wpcf7 input[type="submit"] { font: inherit; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; background: var(--gw-slate); color: #fff; border: 0; border-radius: 999px; min-height: 48px; padding: 0 22px; cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: var(--gw-slate-dark); }
input[type="date"] { font: inherit; font-size: 16px; border: 2px solid var(--gw-line); border-radius: 12px; padding: 9px 12px; width: 100%; max-width: 100%; color: var(--gw-text); background: #fff; min-height: 48px; }
/* Formulaire « Contact professionnel » (Contact Form 7, sans paragraphes automatiques) */
.gw-cf7-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.gw-cf7-grid .gw-full { grid-column: 1 / -1; }
.gw-cf7-grid label .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.gw-cf7-grid label small { font-weight: 600; color: var(--gw-text-2); }
.gw-cf7-chips { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.gw-cf7-chips legend { font-weight: 700; font-size: 14.5px; color: var(--gw-slate); padding: 0; margin-bottom: 6px; }
.gw-cf7-chips .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 8px; }
.gw-cf7-chips .wpcf7-list-item { margin: 0; }
.gw-cf7-chips label { position: relative; margin: 0; }
.gw-cf7-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.gw-cf7-chips .wpcf7-list-item-label { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 2px solid var(--gw-line); border-radius: 999px; background: #fff; color: var(--gw-slate); font-weight: 700; font-size: 14.5px; }
.gw-cf7-chips label:hover .wpcf7-list-item-label { border-color: var(--gw-green); }
.gw-cf7-chips input:checked + .wpcf7-list-item-label { background: var(--gw-slate); border-color: var(--gw-slate); color: #fff; }
.gw-cf7-chips input:focus-visible + .wpcf7-list-item-label { outline: 3px solid var(--gw-orange); outline-offset: 2px; }
.gw-cf7-accept { font-size: 14px; color: var(--gw-text-2); margin-bottom: 16px; }
.gw-cf7-accept label { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 14px; color: var(--gw-text-2); }
.gw-cf7-accept input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--gw-slate); }
.wpcf7-not-valid-tip { color: #b3261e; font-size: 13.5px; font-weight: 600; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 12px 0 0; border-radius: 12px; padding: 10px 14px; }
.gw-searchform { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; max-width: 560px; }
.gw-searchform .gw-search { flex: 1 1 240px; }
.gw-search { position: relative; }
.gw-search .gw-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gw-text-2); pointer-events: none; }
.gw-search input { border-radius: 999px; padding-left: 44px; min-height: 48px; }

/* ---------- Tarifs ---------- */
.gw-prices { max-width: 920px; }
.gw-prices__tools { display: grid; gap: 14px; margin-bottom: 10px; }
.gw-prices__tools .gw-search { max-width: 420px; }
.gw-chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.gw-chip { position: relative; }
.gw-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.gw-chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 2px solid var(--gw-line); border-radius: 999px; background: #fff; color: var(--gw-slate); font-weight: 700; font-size: 14.5px; }
.gw-chip input:hover + span { border-color: var(--gw-green); }
.gw-chip input:checked + span { background: var(--gw-slate); border-color: var(--gw-slate); color: #fff; }
.gw-chip input:focus-visible + span { outline: 3px solid var(--gw-orange); outline-offset: 2px; }
.gw-prices__count { font-size: 14px; color: var(--gw-text-2); min-height: 1.6em; }
.gw-prices__group { margin-top: 26px; }
.gw-prices__group h2 { font-size: 24px; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.gw-prices__group h2 img { width: 34px; height: 34px; }
.gw-prices__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 18px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--gw-line); }
.gw-prices__name b { display: block; color: var(--gw-slate); }
.gw-prices__name small { color: var(--gw-text-2); font-size: 13.5px; }
.gw-prices__price { font-weight: 800; white-space: nowrap; text-align: right; color: var(--gw-slate); }
.gw-prices__price small { display: block; font-weight: 700; color: var(--gw-ok); font-size: 12.5px; }
.gw-prices__go { font-size: 14px; font-weight: 700; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.gw-badge { display: inline-block; font-weight: 800; color: var(--gw-orange-deep); background: var(--gw-orange-50); padding: 3px 10px; border-radius: 999px; font-size: 13.5px; }
[data-gw-prices] [hidden] { display: none !important; }

/* ---------- Simulateur (extension greenwolf-repair) ---------- */
.gw-simulator { padding-top: 24px; padding-bottom: 48px; }
.gw-simulator:empty { display: none; }
.gw-page-simulator .xoo-wsc-modal { display: none !important; }
/* Bouton flottant du side-cart : remplacé par « Ma demande » de l'en-tête. */
body .xoo-wsc-basket, body .xoo-wsc-basket[style*='block'] { display: none !important; }
.gw-notice { background: var(--gw-orange-50); border-radius: 14px; padding: 14px 16px; }

/* ---------- Blog, presse, cartes ---------- */
.gw-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gw-card { background: #fff; border-radius: var(--gw-radius); overflow: hidden; border: 1px solid var(--gw-line); }
.gw-card__link { display: flex; flex-direction: column; height: 100%; color: var(--gw-text); text-decoration: none; }
.gw-card__link:hover .gw-card__title { color: var(--gw-green-dark); }
.gw-card__media { aspect-ratio: 16 / 10; background: var(--gw-green-50); }
.gw-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gw-card__body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.gw-card__date { font-size: 13px; font-weight: 700; color: var(--gw-green-dark); }
.gw-card__title { font-size: 22px; margin: 0; }
.gw-card__body p { margin: 0; color: var(--gw-text-2); font-size: 15px; }
.gw-pagination { margin-top: 32px; }
.gw-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.gw-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; border-radius: 999px; border: 2px solid var(--gw-line); text-decoration: none; font-weight: 700; color: var(--gw-slate); }
.gw-pagination .page-numbers.current { background: var(--gw-slate); border-color: var(--gw-slate); color: #fff; }
.gw-single__media { margin-top: 32px; }
.gw-single__media img { width: 100%; border-radius: 24px; max-height: 560px; object-fit: cover; }
.gw-postnav { padding-bottom: 64px; }
.gw-postnav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gw-postnav a { display: block; padding: 16px; border-radius: 14px; background: var(--gw-cream); text-decoration: none; color: var(--gw-slate); font-weight: 700; }
.gw-postnav .nav-next { text-align: right; }
.gw-postnav__label { display: block; font-size: 13px; color: var(--gw-text-2); font-weight: 600; }
.gw-404 { display: grid; gap: 8px; }

/* ---------- Pages légales ---------- */
.gw-legal { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: 40px; justify-content: center; padding-top: 40px; padding-bottom: 64px; }
.gw-legal .gw-content--text { padding: 0; overflow-wrap: anywhere; }
.gw-legal .gw-content--text > * { margin-left: 0; }
.gw-legal:not(:has(.gw-toc)) { grid-template-columns: minmax(0, 760px); }
.gw-toc { position: sticky; top: calc(var(--gw-header-h) + 24px); align-self: start; background: var(--gw-cream); border-radius: var(--gw-radius); padding: 18px 20px; font-size: 14.5px; }
.gw-toc__title { font-size: 18px; }
.gw-toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }

/* ---------- Pied de page ---------- */
.gw-footer { background: var(--gw-green-strong); color: #fff; padding: 48px 0 24px; }
.gw-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 24px; }
.gw-footer p, .gw-footer a { color: #f1f3ee; font-size: 14.5px; margin: 0 0 4px; display: block; text-decoration: none; }
.gw-footer a:hover { text-decoration: underline; color: #fff; }
/* Sélecteurs à deux classes : le kit Elementor (`.elementor-kit-9687 h2`) reste actif sur les pages encore construites avec Elementor. */
.gw-footer .gw-footer__title { color: #fff; font-family: var(--gw-title); font-size: 19px; line-height: 1.08; margin: 0 0 8px; }
.gw-footer .gw-footer__title--next { margin-top: 14px; }
.gw-footer .gw-logo--footer { display: inline-flex; margin-bottom: 12px; }
.gw-footer__menu { list-style: none; margin: 0; padding: 0; }
.gw-footer__bottom { margin-top: 32px; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, .4); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #e6eae2; }
.gw-footer .gw-footer__credit a { display: inline; margin: 0; text-decoration: underline; text-underline-offset: 2px; }
.gw-footer .gw-footer__credit a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .gw-nav { display: none; }
  .gw-burger { display: inline-grid; }
  .gw-header__tools { flex: 1; }
  .gw-burger { margin-left: auto; }
  .gw-header__tools > .gw-langs { display: none; }
  .gw-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gw-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gw-footer__grid { grid-template-columns: 1fr 1fr; }
  .gw-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .gw-cart__label { display: none; }

  .gw-section { padding-top: 52px; padding-bottom: 52px; }
  .gw-section--tight { padding-top: 32px; padding-bottom: 32px; }
  .gw-section__head { grid-template-columns: 1fr; }
  .gw-hero--photo .gw-hero__inner { padding-top: 44px; padding-bottom: 64px; }
  .gw-hero__img { object-position: 70% 30%; }
  .gw-hero--photo.has-image .gw-hero__media::after { background: linear-gradient(180deg, rgba(36, 49, 58, .6) 0%, rgba(36, 49, 58, .93) 60%); }
  .gw-entry__box { padding: 18px; }
  .gw-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gw-tile__icon { width: 64px; height: 64px; }
  .gw-tile__icon img { width: 36px; height: 36px; }
  .gw-steps, .gw-label-list, .gw-cards { grid-template-columns: 1fr; }
  .gw-cf7-grid { grid-template-columns: 1fr; }
  .gw-prices__row { grid-template-columns: minmax(0, 1fr) auto; }
  .gw-prices__price { text-align: left; grid-column: 1 / -1; }
  .gw-prices__go { grid-column: 1 / -1; min-height: 32px; }
  .gw-legal { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .gw-toc { position: static; }
  .gw-postnav .nav-links { grid-template-columns: 1fr; }
  .gw-footer__grid { grid-template-columns: 1fr; }
  .gw-logo__svg { height: 34px; }
  .gw-footer .gw-logo__svg { height: 40px; }
  .gw-cards3, .gw-duo { gap: 24px !important; }
}
@media (max-width: 480px) {
  .gw-header__bar, .gw-header__tools { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .gw-header, .gw-footer, .gw-drawer, .gw-skip { display: none !important; }
}
