/*
 * Refonte 2026-10 (direction « porte verte », choisie par Dorian le 2026-10-21).
 * Chargée pour tous depuis le 2026-10-21 (functions.php pose la classe html.refonte).
 * Couleurs prises à la photo de Dorian : vert de la porte, noir de la ferronnerie, laiton de la poignée.
 * Police : Switzer (Indian Type Foundry, licence ITF Free Font License, usage commercial et web autorisé), auto-hébergée.
 */
@font-face { font-family: "Switzer"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/Switzer-400.woff2") format("woff2"); }
@font-face { font-family: "Switzer"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/Switzer-500.woff2") format("woff2"); }
@font-face { font-family: "Switzer"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/Switzer-600.woff2") format("woff2"); }

html.refonte {
  --porte: #0b6a43; --porte-fonce: #08573a; --porte-nuit: #064a31; --porte-ink: #f1f5f1;
  --fer: #0d1712; --fer-doux: #34433a; --laiton: #c79a3e;
  --fond: #ffffff; --sol: #eef0ea; --tuile: #e3e8df; --tuile-2: #d7ded2; --trait: #d3dacf;
  --r: 16px;
  --wp--preset--color--marine: var(--fer);
  --wp--preset--color--encre: var(--fer);
  --wp--preset--color--sauge: var(--porte);
  --wp--preset--color--sauge-clair: #9fd3b8;
  --wp--preset--color--ambre: var(--laiton);
  --wp--preset--color--creme: var(--sol);
  --wp--preset--color--gris: var(--fer-doux);
  --wp--preset--color--ligne: var(--trait);
  --wp--preset--font-family--manrope: "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wp--preset--font-family--fraunces: "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html.refonte body { font-family: "Switzer", system-ui, sans-serif; letter-spacing: -0.005em; color: var(--fer); }
html.refonte :is(h1, h2, h3, h4) { font-family: "Switzer", system-ui, sans-serif; font-weight: 600; letter-spacing: -0.035em; color: var(--fer); }
html.refonte h1 { line-height: .98; }
html.refonte h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.02; }
html.refonte h3 { letter-spacing: -0.02em; line-height: 1.15; }
html.refonte h1 em, html.refonte h2 em { font-style: normal; color: inherit; }
html.refonte ::selection { background: var(--porte); color: #fff; }
html.refonte :focus-visible { outline: 3px solid var(--porte); outline-offset: 3px; }
html.refonte a { text-underline-offset: .2em; }

/* ---------- En-tête ---------- */
html.refonte .pc-header { background: #fff; border-bottom: 0; }
html.refonte .pc-logo svg { color: var(--porte); }
html.refonte .pc-footer .pc-logo svg { color: #fff; }
html.refonte .pc-logo a { color: var(--fer); }
html.refonte .pc-logo .pc-logo-nom { font-weight: 600; letter-spacing: -0.03em; font-size: 1.3rem; }
html.refonte .pc-logo .pc-logo-sous { text-transform: none; letter-spacing: 0; font-size: .82rem; font-weight: 500; color: var(--porte); margin-top: .15rem; }
html.refonte .pc-header .wp-block-navigation { font-weight: 500; }
html.refonte .pc-header .wp-block-navigation a:hover { color: var(--porte); }
html.refonte .pc-header .wp-block-navigation .wp-block-navigation-item.pc-nav-contact > a { background: var(--porte); border-radius: 999px; padding: .6rem 1.2rem; }
html.refonte .pc-header .wp-block-navigation .wp-block-navigation-item.pc-nav-contact > a:hover { background: var(--porte-fonce); }
html.refonte .pc-header .wp-block-navigation__submenu-container { border: 0 !important; border-radius: var(--r); box-shadow: 0 18px 44px rgba(13,23,18,.14); }
html.refonte .pc-mnav-btn { border: 0; background: var(--sol); border-radius: 999px; }
html.refonte .pc-mnav-panneau { border-top: 0; }
html.refonte .pc-mnav-panneau summary, html.refonte .pc-mnav-lien { font-weight: 600; border-bottom-color: var(--sol); }
html.refonte .pc-mnav-lien::after { content: none; }
html.refonte .pc-mnav-contact { background: var(--porte); border-radius: 999px; }
/* Menu téléphone : plus grand, zones à toucher d'au moins 56 px (demande de Dorian, 2026-10-21) */
html.refonte .pc-mnav-panneau { padding: .25rem 1.25rem 2.5rem; }
html.refonte .pc-mnav-panneau summary, html.refonte .pc-mnav-lien { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; padding: 1.15rem .25rem; min-height: 4.25rem; box-sizing: border-box; }
html.refonte .pc-mnav-panneau summary::after { width: 12px; height: 12px; border-width: 0 2.5px 2.5px 0; }
html.refonte .pc-mnav-panneau ul { margin: .4rem 0 1rem; padding: .35rem; border-radius: 16px; }
html.refonte .pc-mnav-panneau li a { font-size: 1.2rem; font-weight: 500; padding: 1rem 1rem; min-height: 3.5rem; box-sizing: border-box; display: flex; align-items: center; border-radius: 12px; }
html.refonte .pc-mnav-contact { font-size: 1.2rem; font-weight: 600; padding: 1.15rem; }
html.refonte .pc-mnav-bas { margin-top: 2rem; }
html.refonte .pc-mnav-bas p { font-size: 1rem; }
html.refonte .pc-mnav-panneau summary:focus:not(:focus-visible) { outline: none; }
html.refonte .pc-mnav-btn { width: 52px; height: 52px; }
html.refonte .pc-mnav-btn span { width: 22px; }

/* ---------- Boutons ---------- */
html.refonte .wp-block-button .wp-block-button__link { border-radius: 999px; font-weight: 500; padding: 1rem 1.7rem; }
html.refonte .wp-block-button .wp-block-button__link:hover { transform: none; }
html.refonte .wp-block-button .wp-block-button__link:active { transform: scale(.98); }
html.refonte .pc-btn-ambre .wp-block-button__link,
html.refonte .pc-btn-marine .wp-block-button__link { background: var(--porte); color: #fff; box-shadow: none; }
html.refonte .pc-btn-ambre .wp-block-button__link:hover,
html.refonte .pc-btn-marine .wp-block-button__link:hover { background: var(--porte-fonce); }
html.refonte .pc-btn-contour .wp-block-button__link { background: transparent; border: 0; padding-inline: .2rem; color: var(--fer); text-decoration: underline; text-decoration-thickness: 1.5px; }
html.refonte .pc-btn-contour .wp-block-button__link:hover { color: var(--porte); }

/* ---------- Sections ---------- */
html.refonte .pc-section { padding-block: clamp(5rem, 10vw, 9rem); }
html.refonte .pc-eyebrow { display: none; }
html.refonte .pc-lead { color: var(--fer); font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 40rem; }
html.refonte .pc-centre { text-align: left; }
html.refonte .pc-centre .pc-lead { margin-inline: 0; }
html.refonte .pc-fond-creme { background: var(--sol); }
html.refonte .pc-fond-marine { background: var(--fer); color: var(--porte-ink); }
html.refonte .pc-fond-marine :is(h1, h2, h3) { color: #fff; }
html.refonte .pc-fond-marine .pc-lead { color: #dfe7e1; }
html.refonte .pc-section > .alignwide > h2 + * { margin-top: 1.4rem; }
html.refonte .pc-section > .alignwide > h2 + .pc-lead + *, html.refonte .pc-section > .alignwide > h2 + :is(.wp-block-html, .pc-wrap-grid, .pc-etapes, .pc-faq) { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Héros de l'accueil (avec photo) : carte blanche + photo pleine hauteur ---------- */
html.refonte .pc-hero { background: var(--sol); color: var(--fer); }
html.refonte .pc-hero::after { content: none; }
html.refonte .pc-hero :is(h1, h2) { color: var(--fer); }
html.refonte .pc-hero .pc-lead { color: var(--fer); }
html.refonte .pc-hero.pc-section { padding: 12px !important; }
html.refonte .pc-hero.pc-section > .wp-block-group { max-width: none !important; }
html.refonte .pc-hero.pc-section .wp-block-columns { gap: 12px !important; align-items: stretch !important; margin: 0; min-height: clamp(520px, calc(100svh - 96px), 820px); }
html.refonte .pc-hero.pc-section .wp-block-column { align-self: stretch !important; }
html.refonte .pc-hero.pc-section .wp-block-column:first-child { background: #fff; border-radius: var(--r); padding: clamp(1.75rem, 5vw, 4.5rem); display: flex; flex-direction: column; justify-content: center; }
html.refonte .pc-hero.pc-section h1 { font-size: clamp(2.8rem, 5.6vw, 5.6rem); max-width: 12ch; margin-bottom: .2em; }
html.refonte .pc-hero.pc-section .pc-lead { max-width: 36rem; }
html.refonte .pc-hero.pc-section .wp-block-buttons { margin-top: 2rem; gap: .5rem 1.4rem; align-items: center; }
html.refonte .pc-hero-photo { height: 100%; margin: 0; }
html.refonte .pc-hero-photo img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 55% 25%; border-radius: var(--r); box-shadow: none; }
html.refonte .pc-points { color: var(--fer); font-size: .95rem; gap: .5rem 1.4rem; margin-top: 2.2rem; }
html.refonte .pc-points li::before { width: 10px; height: 10px; background: var(--laiton); }

/* Héros des autres pages : panneau vert en retrait */
html.refonte .pc-hero-page { background: var(--porte); color: var(--porte-ink); margin: 12px; border-radius: var(--r); padding-block: clamp(3.5rem, 8vw, 7rem); }
html.refonte .pc-hero-page :is(h1, h2) { color: #fff; font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 18ch; }
html.refonte .pc-hero-page .pc-lead { color: #e3efe7; }
html.refonte .pc-hero-page .pc-fil, html.refonte .pc-hero-page .pc-fil a { color: #cfe3d6; }
html.refonte .pc-hero-page .pc-btn-ambre .wp-block-button__link { background: #fff; color: var(--porte-nuit); }
html.refonte .pc-hero-page .pc-btn-ambre .wp-block-button__link:hover { background: var(--porte-ink); }
html.refonte .pc-hero-page .pc-btn-contour .wp-block-button__link { color: #fff; }
html.refonte .pc-hero-page .pc-points { color: #e3efe7; }

/* ---------- Tuiles (anciennes cartes à icônes) ---------- */
html.refonte .pc-wrap-grid { gap: 8px; }
html.refonte .pc-carte { background: var(--tuile); border: 0; border-radius: var(--r); padding: 1.6rem !important; min-height: 15rem; display: flex; flex-direction: column; justify-content: flex-end; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
html.refonte .pc-wrap-grid .pc-carte:nth-child(even) { background: var(--tuile-2); }
html.refonte .pc-fond-creme .pc-carte { background: #fff; }
html.refonte .pc-fond-creme .pc-wrap-grid .pc-carte:nth-child(even) { background: #f7f8f5; }
html.refonte .pc-carte:hover { background: var(--porte) !important; color: #fff; transform: translateY(-4px); box-shadow: none; }
html.refonte .pc-carte:hover :is(h3, p, .pc-lien) { color: #fff; }
html.refonte .pc-carte .pc-ico { display: none; }
html.refonte .pc-carte h3 { font-size: clamp(1.25rem, 1.6vw, 1.45rem) !important; margin: 0 0 .5rem !important; }
html.refonte .pc-carte p { color: var(--fer-doux); font-size: .98rem; line-height: 1.5; }
html.refonte .pc-carte .pc-lien { color: var(--fer); font-weight: 500; text-decoration: underline; margin-top: .4rem; }
html.refonte .pc-carte .pc-lien::after { content: none; }
html.refonte .pc-carte a.pc-lien::before { border-radius: var(--r); }

/* ---------- Étapes : l'ordre se lit par la couleur (du vert foncé au clair) ---------- */
html.refonte .pc-etapes { gap: 8px; }
html.refonte .pc-etape { border: 0; border-radius: var(--r); padding: 1.8rem; min-height: 16rem; display: flex; flex-direction: column; justify-content: flex-end; background: var(--porte-nuit); }
html.refonte .pc-etape::before { content: none; }
html.refonte .pc-etape:nth-child(2) { background: var(--porte-fonce); }
html.refonte .pc-etape:nth-child(3) { background: var(--porte); }
html.refonte .pc-etape:nth-child(4) { background: #2b7f57; }
html.refonte .pc-etape:nth-child(5) { background: #3f8f68; }
html.refonte .pc-etape h3 { color: #fff; font-size: 1.35rem !important; }
html.refonte .pc-etape p { color: #e3efe7; font-size: .98rem; }
html.refonte .pc-etapes-clair .pc-etape { background: var(--tuile); }
html.refonte .pc-etapes-clair .pc-etape:nth-child(2) { background: var(--tuile-2); }
html.refonte .pc-etapes-clair .pc-etape:nth-child(3) { background: #c9d3c4; }
html.refonte .pc-etapes-clair .pc-etape:nth-child(4) { background: #bccab7; }
html.refonte .pc-etapes-clair .pc-etape h3 { color: var(--fer); }
html.refonte .pc-etapes-clair .pc-etape p { color: var(--fer-doux); }

/* ---------- Chiffres clés ---------- */
html.refonte .pc-chiffres { text-align: left; gap: 8px; }
html.refonte .pc-chiffre { background: var(--sol); border-radius: var(--r); padding: 1.6rem; }
html.refonte .pc-chiffre strong { font-family: "Switzer", sans-serif; font-weight: 600; letter-spacing: -0.05em; font-size: clamp(2.6rem, 5vw, 4.6rem); color: var(--porte); line-height: 1; }
html.refonte .pc-chiffre span { color: var(--fer); font-size: 1rem; margin-top: .6rem; }

/* ---------- Encadrés, citation, photos, listes ---------- */
html.refonte .pc-encadre { border: 0; border-radius: var(--r); background: var(--sol); }
html.refonte .pc-fond-creme .pc-encadre { background: #fff; }
html.refonte .pc-encadre-ambre { background: #f4ecda; }
html.refonte .pc-encadre-sauge { background: #dcebe1; }
html.refonte .pc-encadre .pc-ico { color: var(--porte); background: #fff; border-radius: 999px; }
html.refonte .pc-chiffre:not(div) { color: var(--porte); }
html.refonte .pc-citation { border: 0; background: none; padding: 0; border-radius: 0; }
html.refonte .pc-citation p { font-family: "Switzer", sans-serif; font-weight: 500; letter-spacing: -0.02em; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.25; color: var(--fer); }
html.refonte .pc-citation cite { color: var(--porte); font-weight: 500; }
html.refonte .pc-photo img { border-radius: var(--r); box-shadow: none; }
html.refonte .pc-photo-ronde img { box-shadow: none; }
html.refonte .pc-signature { font-family: "Switzer", sans-serif; font-weight: 600; color: var(--fer); }
html.refonte .pc-coches li::before { width: 12px; height: 12px; top: .45em; background: var(--laiton); }
html.refonte .pc-coches li { padding-left: 1.6rem; }

/* ---------- FAQ : tuiles, la question ouverte passe en vert ---------- */
html.refonte .pc-faq { display: grid; gap: 8px; }
html.refonte .pc-faq .wp-block-details { border: 0; border-radius: var(--r); background: var(--sol); padding: 1.3rem 1.5rem; margin: 0; transition: background-color .2s; }
html.refonte .pc-fond-creme .pc-faq .wp-block-details { background: #fff; }
html.refonte .pc-faq .wp-block-details[open] { background: var(--porte); color: #fff; }
html.refonte .pc-faq .wp-block-details summary { color: inherit; font-weight: 500; font-size: 1.12rem; }
html.refonte .pc-faq .wp-block-details summary::after { color: inherit; }
html.refonte .pc-faq .wp-block-details[open] > :not(summary) { color: #e3efe7; }
html.refonte .pc-faq .wp-block-details[open] a { color: #fff; }

/* ---------- Bandeau d'appel : bloc fer, grand titre ---------- */
html.refonte .pc-appel { background: var(--fer); border-radius: var(--r); padding: clamp(2.2rem, 6vw, 5rem) !important; }
html.refonte .pc-appel::after { content: none; }
html.refonte .pc-appel h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 14ch; }
html.refonte .pc-appel p { color: #d7dfd9; font-size: 1.1rem; }
html.refonte .pc-appel > * { margin-left: 0 !important; margin-right: 0 !important; }
html.refonte .pc-texte .pc-appel h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem) !important; margin-top: 0 !important; }

/* ---------- Tableaux, formulaires ---------- */
html.refonte .pc-tableau table { border-radius: var(--r); }
html.refonte .pc-tableau th { background: var(--fer); }
html.refonte .pc-tableau tbody tr:nth-child(even) td { background: var(--sol); }
html.refonte .pc-form { border: 0; box-shadow: none; background: var(--sol); border-radius: var(--r); }
html.refonte .pc-form .ff-el-input--label label { color: var(--fer); font-weight: 500; }
html.refonte .pc-form .ff-el-form-control { border-radius: 12px !important; border: 1.5px solid var(--trait) !important; background: #fff !important; }
html.refonte .pc-form .ff-el-form-control:focus { border-color: var(--porte) !important; box-shadow: 0 0 0 3px rgba(11,106,67,.15) !important; }
html.refonte .pc-form .ff-btn-submit { background: var(--porte) !important; color: #fff !important; border-radius: 999px !important; font-weight: 500 !important; border: 0 !important; }
html.refonte .pc-coord strong { text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 500; color: var(--porte); }
html.refonte .pc-coord a { color: var(--fer); font-weight: 600; }

/* ---------- Blog ---------- */
html.refonte .pc-article-carte { border: 0; border-radius: var(--r); background: var(--sol); box-shadow: none; }
html.refonte .pc-article-carte::before { content: none; }
html.refonte .pc-article-carte:hover { background: var(--tuile); box-shadow: none; transform: translateY(-4px); }
html.refonte .pc-article-carte .wp-block-post-terms a { text-transform: none; letter-spacing: 0; background: #fff; color: var(--porte); font-weight: 500; font-size: .82rem; }
html.refonte .pc-article-carte .wp-block-post-title a { color: var(--fer); }
html.refonte .pc-article-carte:hover .wp-block-post-title a { color: var(--porte); }
html.refonte .pc-article-pied { border-top: 0; }
html.refonte .pc-article-pied .pc-article-lire { color: var(--porte); font-weight: 500; }
html.refonte .pc-blog-vide { border: 0; background: var(--sol); border-radius: var(--r); }

/* ---------- Simulateurs ---------- */
html.refonte .pc-sim { border: 0; border-radius: var(--r); background: var(--sol); padding: clamp(1.4rem, 3vw, 2.4rem); }
html.refonte .pc-fond-creme .pc-sim { background: #fff; }
html.refonte .pc-sim legend { font-family: "Switzer", sans-serif; font-weight: 600; letter-spacing: -0.02em; color: var(--fer); }
html.refonte .pc-sim label { font-weight: 500; }
html.refonte .pc-sim input:not([type="radio"]):not([type="checkbox"]), html.refonte .pc-sim select { border: 1.5px solid var(--trait); border-radius: 12px; }
html.refonte .pc-sim input:focus, html.refonte .pc-sim select:focus { border-color: var(--porte); outline: none; box-shadow: 0 0 0 3px rgba(11,106,67,.15); }
html.refonte :is(.pc-sim-bouton, .pc-sim-tel) { background: var(--porte); color: #fff !important; box-shadow: none; font-weight: 500; }
html.refonte :is(.pc-sim-bouton, .pc-sim-tel):hover { background: var(--porte-fonce); }
html.refonte :is(.pc-sim-titre, .pc-sim-progression, .pc-sim-periode) { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--porte); font-size: .95rem; }
html.refonte .pc-sim-ecran h2 { font-family: "Switzer", sans-serif; font-weight: 600; letter-spacing: -0.035em; color: var(--fer); }
html.refonte .pc-sim-eco { background: none; color: var(--porte); }
html.refonte .pc-sim-perte { background: none; }
html.refonte .pc-sim-barre-nous .pc-sim-barre-val, html.refonte .pc-sim-niveau-choisi .pc-sim-barre-val { background: var(--porte) !important; }
html.refonte .pc-sim-arret .pc-sim-barre-val { background: var(--fer-doux); }
html.refonte .pc-sim-barre-nous .pc-sim-barre-tete b, html.refonte .pc-sim-ccn-choisie { color: var(--porte); }
html.refonte .pc-sim-etapes li::before { background: var(--porte); color: #fff; }
html.refonte .pc-sim-obligation { border: 0; border-radius: 12px; background: #fff; }
html.refonte .pc-fond-creme .pc-sim-obligation, html.refonte .pc-sim .pc-sim-obligation { background: #fff; }
html.refonte .pc-sim-remarque { border-left: 0; border-radius: 12px; background: #f4ecda; }
html.refonte .pc-sim-badge { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .78rem; }
html.refonte .pc-sim-resume li { border: 0; }
html.refonte .pc-sim-oui span { background: #dcebe1; color: var(--porte-nuit); }
html.refonte .pc-sim-tableau th { text-transform: none; letter-spacing: 0; }
html.refonte .pc-sim-ligne-conseil td { background: #dcebe1; }
html.refonte .pc-sim-suggestions { border-radius: 12px; }
/* Cartes de la page /simulateurs/ */
html.refonte .pc-sim-cartes { gap: 8px; }
html.refonte .pc-sim-carte { border: 0; border-radius: var(--r); background: var(--sol); box-shadow: none; padding: 1.8rem 1.6rem 1.5rem; min-height: 16rem; }
html.refonte .pc-fond-creme .pc-sim-carte { background: #fff; }
html.refonte .pc-sim-carte::before { content: none; }
html.refonte .pc-sim-carte:hover { background: var(--porte); transform: translateY(-4px); box-shadow: none; }
html.refonte .pc-sim-carte:hover :is(h3 a, p, .pc-sim-carte-lancer, .pc-sim-carte-pied) { color: #fff; }
html.refonte .pc-sim-carte .pc-ico, html.refonte .pc-sim-carte-tete > svg { display: none; }
html.refonte .pc-sim-carte-tag { text-transform: none; letter-spacing: 0; background: #fff; color: var(--porte); font-weight: 500; font-size: .82rem; }
html.refonte .pc-sim-carte h3 a { color: var(--fer); }
html.refonte .pc-sim-carte-pied { border-top: 0; }
html.refonte .pc-sim-carte-public { background: #fff; font-weight: 500; }
html.refonte .pc-sim-carte-lancer { color: var(--porte); font-weight: 500; }
html.refonte .pc-sim-filtre label { border: 0; background: var(--sol); font-weight: 500; }
html.refonte .pc-sim-filtre label:has(input:checked) { background: var(--porte); color: #fff; }

/* ---------- Articles et pages de texte ---------- */
html.refonte .pc-texte { font-size: 1.125rem; line-height: 1.65; }
html.refonte :is(.pc-texte, .pc-texte-page) :is(p, li) { color: var(--fer); }
html.refonte .pc-texte h2 { font-size: clamp(1.6rem, 2.4vw, 2rem) !important; margin-top: 3rem !important; letter-spacing: -0.03em; }
html.refonte .pc-texte h3 { font-size: 1.3rem !important; }
html.refonte :is(.pc-texte, .pc-texte-page) .wp-block-quote { border: 0; background: var(--sol); border-radius: var(--r); padding: 1.6rem 1.8rem; margin-inline: 0; }
html.refonte :is(.pc-texte, .pc-texte-page) .wp-block-quote p { font-style: normal; font-size: 1.1rem; }
html.refonte .pc-maj { color: var(--fer-doux); }
/* Encadrés : pas d'icône en pastille */
html.refonte .pc-encadre .pc-ico { display: none; }
/* Simulateur seul ou à deux dans un bloc : cartes plus larges */
html.refonte .pc-sim-cartes:has(> .pc-sim-carte:only-child) { grid-template-columns: minmax(0, 640px); }
html.refonte .pc-sim-cartes:has(> .pc-sim-carte:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
@media (max-width: 640px) { html.refonte .pc-sim-cartes:has(> .pc-sim-carte:nth-child(2):last-child) { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
html.refonte .pc-footer { background: var(--fer); color: #c3cdc6; }
html.refonte .pc-footer a { color: #fff; }
html.refonte .pc-footer a:hover { color: #9fd3b8; }
html.refonte .pc-footer h4 { text-transform: none; letter-spacing: 0; font-size: 1rem !important; font-weight: 600; color: #fff; }
html.refonte .pc-footer .pc-logo .pc-logo-sous { color: #9fd3b8; }
html.refonte .pc-footer-legal { border-top: 0; color: #a3afa7; }
html.refonte .pc-footer-legal p { color: #a3afa7; }

/* ---------- Mobile ---------- */
@media (max-width: 1060px) {
  /* Haut de l'accueil sur téléphone / tablette : grande photo, titre posé dessus (demande de Dorian, 2026-10-21) */
  html.refonte .pc-hero.pc-section { --ph: clamp(380px, 112vw, 82svh); }
  html.refonte .pc-hero.pc-section .wp-block-columns { min-height: 0; flex-direction: column-reverse; flex-wrap: nowrap !important; position: relative; gap: 0 !important; }
  html.refonte .pc-hero.pc-section .wp-block-column { flex-basis: auto !important; width: 100%; box-sizing: border-box; min-width: 0; }
  html.refonte .pc-hero-photo { max-width: none; position: relative; border-radius: var(--r); overflow: hidden; }
  html.refonte .pc-hero-photo img { height: var(--ph); object-position: 50% 18%; border-radius: 0; }
  html.refonte .pc-hero-photo::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(to bottom, rgba(13,23,18,0), rgba(13,23,18,.72)); pointer-events: none; }
  html.refonte .pc-hero.pc-section .wp-block-column:first-child { margin-top: 0; position: static; padding: clamp(1.4rem, 4vw, 2.6rem) clamp(1.25rem, 4vw, 2.6rem) 2.2rem; border-radius: var(--r); }
  html.refonte .pc-hero.pc-section h1 { position: absolute; left: clamp(1.25rem, 4vw, 2.6rem); right: clamp(1.25rem, 4vw, 2.6rem); top: calc(var(--ph) - clamp(1.25rem, 4vw, 2.6rem)); transform: translateY(-100%); margin: 0; color: #fff; font-size: clamp(30px, 9.5vw, 86px); max-width: 11ch; z-index: 2; text-shadow: 0 1px 24px rgba(0,0,0,.25); }
  html.refonte .pc-hero.pc-section .pc-lead { font-size: clamp(1.1rem, 2.4vw, 1.4rem); }
  html.refonte .pc-hero.pc-section .wp-block-button__link { font-size: clamp(1rem, 2.2vw, 1.25rem); padding: clamp(1rem, 2vw, 1.3rem) clamp(1.5rem, 3vw, 2.2rem); }
  html.refonte .pc-hero.pc-section .pc-points { font-size: clamp(.95rem, 2vw, 1.15rem); }
  /* En-tête plus présent */
  html.refonte .pc-header { padding-block: clamp(.7rem, 1.6vw, 1.1rem) !important; }
  html.refonte .pc-header .pc-logo svg { width: clamp(40px, 6vw, 60px); height: clamp(40px, 6vw, 60px); }
  html.refonte .pc-header .pc-logo .pc-logo-nom { font-size: clamp(1.2rem, 3vw, 1.9rem); }
  html.refonte .pc-header .pc-logo .pc-logo-sous { font-size: clamp(.8rem, 1.8vw, 1.1rem); }
  html.refonte .pc-mnav-btn { width: clamp(52px, 7vw, 68px); height: clamp(52px, 7vw, 68px); }
  html.refonte .pc-mnav-btn span { width: clamp(22px, 3vw, 28px); }
  html.refonte .pc-mnav-panneau { top: calc(clamp(52px, 7vw, 68px) + 2 * clamp(.7rem, 1.6vw, 1.1rem)); }
  html.refonte .pc-mnav-panneau summary, html.refonte .pc-mnav-lien { font-size: clamp(1.45rem, 3.4vw, 2.1rem); min-height: clamp(4.25rem, 9vw, 5.5rem); }
  html.refonte .pc-mnav-panneau li a { font-size: clamp(1.2rem, 2.8vw, 1.7rem); min-height: clamp(3.5rem, 7.5vw, 4.6rem); }
  html.refonte .pc-mnav-contact { font-size: clamp(1.2rem, 2.8vw, 1.6rem); }
}
@media (max-width: 781px) {
  html.refonte .pc-hero-page { margin: 8px; }
  html.refonte .pc-carte, html.refonte .pc-etape { min-height: 0; }
  html.refonte .pc-section { padding-block: clamp(4rem, 14vw, 5rem); }
}
@media (prefers-reduced-motion: reduce) {
  html.refonte .pc-carte:hover, html.refonte .pc-sim-carte:hover, html.refonte .pc-article-carte:hover { transform: none; }
}
html.refonte .pc-mnav-btn:focus:not(:focus-visible) { outline: none; }
