/* ADN-SOL Rénovation — styles du thème, d'après le catalogue « Guide des sols sportifs & loisirs ».
   Anthracite #484343, orange #DD4020, vert anis #B1C903, bandeaux gris #C3BEBA, Montserrat light. */
:root {
	--a: var(--wp--preset--color--anthracite);
	--a2: var(--wp--preset--color--anthracite-fonce);
	--o: var(--wp--preset--color--orange);
	--o2: var(--wp--preset--color--orange-fonce);
	--v: var(--wp--preset--color--anis);
	--g: var(--wp--preset--color--gris-bandeau);
	--gc: var(--wp--preset--color--gris-clair);
	--t: var(--wp--preset--color--texte);
	--balle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9.5' fill='%23D9E021'/%3E%3Cpath d='M6 2.6c3 2.2 3 5 1 7.4s-2 5.2 1 7.4M14 2.6c-3 2.2-3 5-1 7.4s2 5.2-1 7.4' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
img { height: auto; max-width: 100%; }
*, *::before, *::after { box-sizing: border-box; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
strong, b { font-weight: 600; }

/* ---------- En-tête ---------- */
.rt-header { background: var(--a); color: #fff; position: sticky; top: 0; z-index: 50; padding-block: .7rem; }
.rt-header__inner { gap: 1.5rem; }
.rt-brand { display: flex; align-items: center; gap: .9rem; text-decoration: none !important; flex-shrink: 0; }
.rt-brand img { height: 40px; width: auto; display: block; }
.rt-brand__tag { color: var(--v); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; border-left: 1px solid rgba(255,255,255,.3); padding-left: .9rem; line-height: 1.3; max-width: 9rem; }
.rt-nav { font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.rt-nav a { color: #fff !important; text-decoration: none !important; }
.rt-nav a:hover { color: var(--v) !important; }
.rt-nav .wp-block-navigation__submenu-container { background: var(--a2) !important; border: 0 !important; border-top: 3px solid var(--o) !important; padding: .4rem 0; min-width: 260px !important; text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 400; }
.rt-nav .wp-block-navigation__submenu-container a { padding: .5rem 1.1rem !important; }
.rt-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--a) !important; color: #fff; padding: 1.5rem; }
.rt-header__cta { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.rt-phone { color: #fff !important; text-decoration: none !important; font-weight: 500; white-space: nowrap; letter-spacing: .02em; }

/* ---------- Boutons ---------- */
.rt-btn { display: inline-block; background: var(--o); color: #fff !important; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; padding: .85rem 1.4rem; text-decoration: none !important; line-height: 1.2; transition: background .15s; border: 2px solid var(--o); }
.rt-btn:hover { background: var(--o2); border-color: var(--o2); }
.rt-btn--clay { background: var(--o); }
.rt-btn--line { background: transparent; border-color: currentColor; color: inherit !important; }
.rt-btn--line:hover { background: rgba(255,255,255,.08); border-color: currentColor; }

/* ---------- En-tête de page (comme les pages de section du catalogue) ---------- */
.rt-main { padding-bottom: var(--wp--preset--spacing--60); }
.rt-pagehead { background: var(--a); color: #fff; padding-block: 2.2rem 2.4rem; margin-bottom: 0; position: relative; overflow: hidden; }
.rt-pagehead::after { content: ""; position: absolute; right: max(2rem, calc(50% - 600px)); top: 50%; width: 92px; height: 84px; transform: translateY(-50%); background: url("/wp-content/themes/adn-renovation/assets/img/adn-sol-symbole.svg") center / contain no-repeat; }
.rt-pagehead .rt-title { color: var(--v); margin: .4rem 0 0; max-width: 24ch; font-weight: 300; letter-spacing: .01em; padding-right: 110px; }
.rt-pagehead #breadcrumbs, .rt-pagehead .yoast-breadcrumbs { font-size: .8rem; color: rgba(255,255,255,.75); margin: 0; letter-spacing: .02em; }
.rt-pagehead #breadcrumbs a, .rt-pagehead .yoast-breadcrumbs a { color: #fff; }
.rt-pagehead + .rt-content, .rt-pagehead ~ .wp-block-post-content { margin-top: 2.5rem !important; }
@media (max-width: 600px) { .rt-pagehead::after { width: 56px; height: 52px; right: 1rem; top: 1.6rem; transform: none; } .rt-pagehead .rt-title { padding-right: 64px; } }

/* ---------- Contenu ---------- */
.rt-content { color: var(--t); }
.rt-content > p:first-child { margin-top: 0; }
.rt-content h2 { color: var(--o); font-weight: 300; text-transform: uppercase; letter-spacing: .01em; }
.rt-content h3 { color: var(--a); }
.rt-content ul:not([class*="rt-"]):not(.wp-block-list.rt-steps) { list-style: none; padding-left: 0; }
.rt-content ul:not([class*="rt-"]) > li { position: relative; padding-left: 1.9rem; margin-bottom: .5rem; }
.rt-content ul:not([class*="rt-"]) > li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.15rem; height: 1.15rem; background: var(--balle) center / contain no-repeat; }
.rt-maj { font-size: .8rem; color: #8a8382; margin-top: 2.5rem; }
.rt-content a { text-underline-offset: .15em; }

/* Accroche (réponse directe en tête de page) */
.en-bref { border-left: 4px solid var(--v); padding: .2rem 0 .2rem 1.4rem !important; margin-bottom: 2rem; }
.en-bref p { font-size: 1.2rem; font-weight: 300; line-height: 1.6; color: var(--a); margin: 0; }
.en-bref strong { font-weight: 600; color: var(--a); }

/* Bandeau gris de section (comme « Classique & Loisir ») */
.rt-bandeau { background: var(--g); color: var(--o); text-align: center; font-weight: 300; text-transform: uppercase; font-size: clamp(1.5rem, 3.2vw, 2.2rem); padding: 1.1rem 1rem; margin: 3.5rem 0 2rem; letter-spacing: .02em; line-height: 1.2; }

/* Chiffres clés */
.rt-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border-top: 1px solid var(--g); border-bottom: 1px solid var(--g); margin: 2rem 0; }
.rt-facts div { padding: 1.1rem 1rem; border-right: 1px solid var(--g); }
.rt-facts div:last-child { border-right: 0; }
.rt-facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #8a8382; margin: 0; }
.rt-facts dd { margin: .3rem 0 0; font-size: 1.35rem; font-weight: 300; line-height: 1.2; color: var(--o); }

/* Tableaux */
.wp-block-table { margin: 1.75rem 0; }
.wp-block-table table { border-collapse: collapse; width: 100%; background: #fff; }
.wp-block-table th { background: var(--a); color: #fff; text-align: left; font-weight: 500; text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; }
.wp-block-table th, .wp-block-table td { padding: .75rem .9rem; border-bottom: 1px solid #e4e0dd; vertical-align: top; }
.wp-block-table td { border-left: 0; border-right: 0; }
.wp-block-table tbody tr:nth-child(even) td { background: var(--gc); }
@media (max-width: 640px) { .wp-block-table { overflow-x: auto; } .wp-block-table table { min-width: 540px; } }

/* Étapes */
.rt-steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.rt-steps > li { counter-increment: step; position: relative; padding: .15rem 0 1rem 3.2rem; margin: 0; min-height: 2.4rem; }
.rt-steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 2px solid var(--o); color: var(--o); font-weight: 500; display: grid; place-items: center; font-size: .95rem; }

/* FAQ */
.wp-block-details { border-bottom: 1px solid var(--g); margin-block: 0 !important; }
.wp-block-details:first-of-type { border-top: 1px solid var(--g); }
.wp-block-details summary { cursor: pointer; padding: 1.05rem 3rem 1.05rem 0; font-weight: 500; color: var(--a); list-style: none; position: relative; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; color: var(--o); }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > :not(summary) { margin-top: 0; }
.wp-block-details > :last-child { padding-bottom: 1rem; }

/* Cartes (maillage interne) : étiquette anthracite comme les fiches produit du catalogue */
.rt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; margin: 1.75rem 0; padding: 0; list-style: none; }
.rt-cards > li { display: flex; margin: 0 !important; padding: 0 !important; }
.rt-cards > li::before { display: none !important; }
.rt-card { flex: 1; display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid #9e9897; padding: 0 1.1rem 1.1rem; text-decoration: none !important; color: var(--t) !important; transition: border-color .15s; }
.rt-card:hover { border-color: var(--o); }
.rt-card strong { display: block; background: var(--a); color: #fff; font-weight: 400; text-transform: uppercase; font-size: .95rem; letter-spacing: .03em; padding: .55rem .8rem; margin: -1px -1.1rem .4rem; }
.rt-card:hover strong { background: var(--o); }
.rt-card span { font-size: .92rem; line-height: 1.55; }
.rt-card em { font-style: normal; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--o); margin-top: auto; padding-top: .3rem; }

/* Fiche produit (catalogue) */
.rt-produit { border: 1px solid #9e9897; padding: 0 1.5rem 1.5rem; margin: 3rem 0 2rem; position: relative; }
.rt-produit__titre { display: inline-block; background: var(--a); color: #fff; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .03em; padding: .55rem 1.3rem; margin: -1.4rem 0 1rem; font-weight: 400; }
.rt-produit__garantie { position: absolute; top: -1.6rem; right: 1.2rem; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--v); color: #fff; display: grid; place-content: center; text-align: center; font-size: .55rem; line-height: 1.1; text-transform: uppercase; font-weight: 600; letter-spacing: .04em; }
.rt-produit__garantie b { font-size: .85rem; display: block; }
.rt-produit__sous { color: var(--a); font-size: 1.3rem; font-weight: 300; margin: 0 0 .6rem; }
.rt-produit__chute { text-transform: uppercase; color: #8a8382; font-size: .85rem; letter-spacing: .03em; margin-top: 1rem; }
.rt-nuancier { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin-top: 1rem; }
.rt-nuancier span:first-child { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: #8a8382; margin-right: .4rem; }
.rt-nuancier i { width: 1.9rem; height: 1.9rem; box-shadow: inset 0 0 0 3px #fff; border: 2px solid currentColor; display: inline-block; }

/* Avant / après */
.rt-ba { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1.75rem 0; }
.rt-ba figure { margin: 0; position: relative; }
.rt-ba img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.rt-ba figcaption { position: absolute; bottom: 0; left: 0; background: var(--a); color: #fff; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; padding: .35rem .8rem; }
.rt-ba figure:last-child figcaption { background: var(--o); }
.rt-ba__legend { grid-column: 1 / -1; font-size: .85rem; color: #8a8382; margin: 0; }
@media (max-width: 560px) { .rt-ba { grid-template-columns: 1fr; } }
.wp-block-image figcaption { font-size: .82rem; color: #8a8382; text-transform: uppercase; letter-spacing: .04em; }

/* Bandeau d'appel */
.rt-cta { background: var(--a); color: #fff; padding: 1.6rem 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; margin: 2.75rem 0; border-left: 6px solid var(--v); }
.rt-cta p { margin: 0; max-width: 48ch; font-weight: 300; }
.rt-cta p strong { display: block; color: var(--v); font-weight: 400; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .03em; margin-bottom: .2rem; }

/* Comparaison */
.rt-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 1.75rem 0; }
.rt-compare > div { border: 1px solid #9e9897; padding: 0 1.3rem 1.2rem; }
.rt-compare h3 { margin: -1px -1.3rem 1rem !important; background: var(--a); color: #fff !important; font-weight: 400; text-transform: uppercase; font-size: 1rem; letter-spacing: .04em; padding: .6rem 1.3rem; }
.rt-compare > div:last-child h3 { background: var(--o); }
.rt-compare ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.rt-compare li { position: relative; padding-left: 1.7rem; margin-bottom: .4rem; }
.rt-compare li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1rem; height: 1rem; background: var(--balle) center / contain no-repeat; }
@media (max-width: 640px) { .rt-compare { grid-template-columns: 1fr; } }

/* Zones */
.rt-zones { columns: 3 210px; column-gap: 2rem; padding: 0 !important; list-style: none; }
.rt-zones li { break-inside: avoid; padding: .45rem 0 !important; border-bottom: 1px solid #e4e0dd; margin: 0 !important; }
.rt-zones li::before { display: none !important; }
.rt-zones a { text-decoration: none; font-weight: 500; color: var(--a); }
.rt-zones a:hover { color: var(--o); }
.rt-zones small { color: #8a8382; font-weight: 400; }

/* Verbes métier (comme la page « Construction, rénovation, régénération… ») */
.rt-verbes { background: var(--o); color: #fff; padding: 1.6rem 2rem; margin: 2rem 0; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; list-style: none; text-transform: uppercase; font-weight: 300; font-size: 1.15rem; letter-spacing: .06em; }
.rt-verbes li { margin: 0 !important; padding: 0 !important; }
.rt-verbes li::before { display: none !important; }

/* ---------- Accueil ---------- */
.rt-hero { background: var(--a); color: #fff; position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem) 0; margin-bottom: 3rem !important; }
.rt-hero__in { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.rt-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 300; margin: .6rem 0 1rem; line-height: 1.12; text-transform: uppercase; }
.rt-hero h1 span { color: var(--v); }
.rt-hero p.rt-lead { font-size: 1.05rem; font-weight: 300; opacity: .95; max-width: 54ch; }
.rt-hero__btns { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 1.4rem; }
.rt-chips { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: 0 !important; margin: 0; list-style: none; }
.rt-chips li { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--v); margin: 0 !important; padding: 0 !important; }
.rt-chips li::before { display: none !important; }
.rt-hero .rt-ba { margin: 0; }
.rt-hero .rt-ba__legend { color: rgba(255,255,255,.7); }
.rt-kicker { text-transform: uppercase; letter-spacing: .14em; font-weight: 500; color: var(--v); font-size: .8rem; margin: 0; }
@media (max-width: 900px) { .rt-hero__in { grid-template-columns: 1fr; } }

/* Signature (lettre du fondateur) */
.rt-signature { background: var(--gc); padding: 1.6rem 1.8rem; margin: 2rem 0; font-weight: 300; }
.rt-signature p { margin: 0 0 .8rem; }
.rt-signature cite { font-style: normal; font-weight: 500; color: var(--a); }

/* ---------- Pied de page ---------- */
.rt-footer { background: var(--a); color: rgba(255,255,255,.85); padding-block: 0 5rem; font-size: .9rem; font-weight: 300; }
.rt-footer a { color: #fff; }
.rt-footer__band { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; padding: 2.2rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.rt-footer__eq { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin: 0; }
.rt-footer__eq span { background: #fff; color: var(--a); font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; padding: .45rem .7rem; border-radius: 10px; font-weight: 500; }
.rt-footer__eq b { color: var(--v); font-size: 1.4rem; font-weight: 300; }
.rt-footer__eq strong { background: #fff; color: var(--o); text-transform: uppercase; padding: .45rem .9rem; border-radius: 10px; font-weight: 600; font-size: .85rem; }
.rt-footer__cta-btns { display: flex; gap: .75rem; flex-wrap: wrap; }
.rt-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding: 2.5rem 0 1.5rem; }
.rt-footer__brand img { width: 120px; height: auto; display: block; margin-bottom: 1rem; }
.rt-footer__grid ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.rt-footer__grid li { margin-bottom: .4rem; }
.rt-footer__grid li a { text-decoration: none; }
.rt-footer__grid li a:hover { color: var(--v); }
.rt-footer__title { color: var(--v); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 500; margin: 0 0 .8rem; }
.rt-footer__legal { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.2rem; font-size: .78rem; opacity: .75; }
@media (max-width: 900px) { .rt-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rt-footer__grid { grid-template-columns: 1fr; } }

.rt-mobilebar { display: none; }
@media (max-width: 782px) {
	.rt-header__cta, .rt-brand__tag { display: none; }
	.rt-mobilebar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; }
	.rt-mobilebar a { text-align: center; padding: 1rem .5rem; background: var(--a2); color: #fff !important; text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
	.rt-mobilebar a.is-orange { background: var(--o); }
}
.rt-produit__liste { list-style: none; padding-left: 0; }
.rt-produit__liste li { position: relative; padding-left: 1.9rem; margin-bottom: .5rem; }
.rt-produit__liste li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.15rem; height: 1.15rem; background: var(--balle) center / contain no-repeat; }
blockquote.rt-signature { border: 0; }
.rt-coord { display: flex; flex-direction: column; line-height: 1.25; text-align: right; }
.rt-mail { color: var(--v) !important; font-size: .78rem; text-decoration: none !important; }
.rt-cta__coord { display: block; margin-top: .5rem; font-size: .9rem; }
.rt-cta__coord a { color: #fff; }
@media (max-width: 1280px) { .rt-brand__tag { display: none; } }
.rt-content .rt-produit__titre, .rt-produit__titre { color: #fff !important; margin-top: -1.4rem !important; }
.rt-nav .wp-block-navigation__container { gap: 1.1rem; }

/* ---------- Formulaire de devis (toutes les pages) ---------- */
.rt-formband { background: var(--gc); padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 6px solid var(--v); }
.rt-form { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(1.5rem, 4vw, 3.5rem); max-width: 1200px; margin: 0 auto; }
.rt-form__kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--o); margin: 0 0 .4rem; }
.rt-form h2 { margin-top: 0; color: var(--a); font-weight: 300; text-transform: uppercase; }
.rt-form__coord { font-size: 1.15rem; font-weight: 500; }
.rt-form__coord a { color: var(--a); text-decoration: none; }
.rt-form__body { background: #fff; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid #ddd8d4; }
.rt-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.rt-form label { display: block; font-size: .8rem; font-weight: 500; color: var(--a); margin-bottom: .3rem; }
.rt-form input:not([type=checkbox]), .rt-form select, .rt-form textarea { width: 100%; font: inherit; font-size: 16px; padding: .65rem .75rem; border: 1px solid #b9b3b0; background: #fff; border-radius: 0; min-height: 44px; }
.rt-form input:focus, .rt-form select:focus, .rt-form textarea:focus { outline: 2px solid var(--o); outline-offset: 1px; border-color: var(--o); }
.rt-form__body p { margin: 0 0 .9rem; }
.rt-form__rgpd label { font-weight: 400; display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; }
.rt-form__rgpd input { width: 18px; height: 18px; margin-top: .15rem; flex: none; }
.rt-form__hp { position: absolute; left: -9999px; }
.rt-form__ok { background: #eef6cf; border-left: 4px solid var(--v); padding: .8rem 1rem; }
.rt-form__err { background: #fde6e0; border-left: 4px solid var(--o); padding: .8rem 1rem; }
@media (max-width: 860px) { .rt-form { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .rt-form__grid { grid-template-columns: 1fr; } }

/* ---------- Estimateur ---------- */
.rt-estim { border: 1px solid #9e9897; padding: 1.4rem 1.5rem; margin: 2rem 0; background: #fff; }
.rt-estim__grid { display: grid; grid-template-columns: 1.2fr 1.4fr .8fr; gap: 0 1rem; }
.rt-estim label { display: block; font-size: .8rem; font-weight: 500; color: var(--a); margin-bottom: .3rem; }
.rt-estim select, .rt-estim input { width: 100%; font: inherit; font-size: 16px; padding: .6rem .7rem; border: 1px solid #b9b3b0; min-height: 44px; background: #fff; }
.rt-estim__res { background: var(--a); color: #fff; padding: 1rem 1.2rem; margin: .5rem 0 .8rem; }
.rt-estim__res strong { color: var(--v); font-weight: 500; font-size: 1.35rem; }
.rt-estim__note { font-size: .82rem; color: #8a8382; margin: 0; }
@media (max-width: 640px) { .rt-estim__grid { grid-template-columns: 1fr; } }

/* ---------- En-tête de page avec photo ---------- */
.rt-pagehead { padding: 0 !important; }
.rt-pagehead::after { display: none; }
.rt-pagehead__in { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 300px; max-width: none; margin: 0; }
.rt-pagehead__txt { padding: 2.4rem clamp(1rem, 4vw, 2rem) 2.6rem max(clamp(1rem, 4vw, 2rem), calc((100vw - 1200px) / 2)); display: flex; flex-direction: column; justify-content: center; position: relative; }
.rt-pagehead__txt::after { content: ""; position: absolute; left: max(clamp(1rem, 4vw, 2rem), calc((100vw - 1200px) / 2)); bottom: 1.4rem; width: 64px; height: 4px; background: var(--v); }
.rt-pagehead .rt-title { padding-right: 0; max-width: 20ch; }
.rt-pagehead__img { margin: 0; position: relative; min-height: 100%; }
.rt-pagehead__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rt-pagehead__img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--a) 0, rgba(72,67,67,0) 18%); pointer-events: none; }
@media (max-width: 860px) { .rt-pagehead__in { grid-template-columns: 1fr; } .rt-pagehead__img { min-height: 200px; } .rt-pagehead__img::before { background: linear-gradient(0deg, rgba(72,67,67,.0) 70%, var(--a) 100%); } }
.rt-hero__img { margin: 0; position: relative; }
.rt-hero__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; box-shadow: 14px 14px 0 var(--v); }
.rt-hero__img figcaption { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.7); margin-top: 1.2rem; }

/* Rythme : chaque section h2 du contenu respire davantage, images pleine largeur de colonne */
.rt-content .wp-block-image img { width: 100%; max-height: 460px; object-fit: cover; }
.rt-content > h2 + p { font-size: 1.05rem; }

/* Galerie de chantiers */
.rt-galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.75rem 0; }
.rt-galerie figure { margin: 0; background: var(--a); }
.rt-galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.rt-galerie figcaption { color: #fff; font-size: .82rem; padding: .7rem .8rem; line-height: 1.4; }
.rt-galerie figcaption strong { color: var(--v); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 700px) { .rt-galerie { grid-template-columns: 1fr; } }
@media (min-width: 1100px) { .rt-content > .rt-galerie { margin-left: -12%; margin-right: -12%; } }

/* Qualisport */
.rt-quali { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; border: 1px solid #9e9897; border-left: 6px solid var(--v); padding: 1.4rem 1.5rem; margin: 2rem 0; background: #fff; }
.rt-quali__badge { width: 92px; height: 92px; border-radius: 50%; background: var(--a); color: #fff; display: grid; place-content: center; text-align: center; box-shadow: inset 0 0 0 4px var(--v); }
.rt-quali__badge b { font-size: 2rem; font-weight: 300; line-height: 1; color: var(--v); }
.rt-quali__badge span { font-size: .6rem; text-transform: uppercase; letter-spacing: .08em; margin-top: .2rem; }
.rt-quali__titre { text-transform: uppercase; color: var(--o); font-size: 1.05rem; letter-spacing: .03em; margin: 0 0 .4rem; }
.rt-quali ul { list-style: none; padding: 0; margin: .5rem 0; columns: 2 220px; }
.rt-quali li { padding: .2rem 0 !important; margin: 0 !important; font-size: .92rem; }
.rt-quali li::before { display: none !important; }
.rt-quali li strong { color: var(--o); font-weight: 600; }
.rt-quali__lien { font-size: .82rem; color: #8a8382; margin: .5rem 0 0; }
.rt-footer__quali { font-size: .8rem; color: var(--v); }
.rt-footer__quali a { color: var(--v) !important; }
@media (max-width: 560px) { .rt-quali { grid-template-columns: 1fr; } }

/* Logos clients */
.rt-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; list-style: none; padding: 0 !important; margin: 1.5rem 0; }
.rt-logos li { margin: 0 !important; padding: 1rem !important; border: 1px solid #e4e0dd; background: #fff; display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; }
.rt-logos li::before { display: none !important; }
.rt-logos img { max-height: 64px; width: auto; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.rt-logos li:hover img { filter: none; opacity: 1; }
.rt-logos span { font-size: .75rem; color: #8a8382; }
.rt-logos li { justify-content: center; min-height: 96px; border-top: 3px solid var(--v); }
.rt-logos span { font-size: .85rem; color: var(--a); font-weight: 500; line-height: 1.35; }

/* ---------- Bandeau de références défilant ---------- */
.rt-refs { background: #fff; border-top: 1px solid #e4e0dd; padding: 1.6rem 0 1.8rem; overflow: hidden; position: relative; }
.rt-refs__titre { text-align: center; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--o); margin: 0 0 1.1rem; }
.rt-refs__piste { display: flex; width: max-content; animation: rt-defile 80s linear infinite; }
.rt-refs:hover .rt-refs__piste { animation-play-state: paused; }
.rt-refs::before, .rt-refs::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.rt-refs::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.rt-refs::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }
.rt-refs__liste { display: flex; gap: 1.2rem; list-style: none; margin: 0; padding: 0 .6rem; }
.rt-ref { flex: none; width: 184px; height: 118px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; border: 1px solid #ece8e5; border-radius: 6px; background: #fff; padding: .5rem .6rem .45rem; text-align: center; box-shadow: 0 1px 2px rgba(72,67,67,.06); transition: border-color .25s, transform .25s, box-shadow .25s; }
.rt-ref:hover { border-color: var(--v); transform: translateY(-3px); box-shadow: 0 8px 18px rgba(72,67,67,.12); }
.rt-ref img { display: block; width: 160px; height: 80px; object-fit: contain; }
.rt-ref span { font-size: .68rem; color: #8a8382; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.rt-ref--quali { background: var(--a); border: 2px solid var(--v); color: var(--v); gap: .25rem; }
.rt-ref--quali small { color: #fff; font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; }
.rt-ref--quali span { color: var(--v) !important; font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
@keyframes rt-defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rt-refs__piste { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .rt-refs__liste[aria-hidden] { display: none; } .rt-refs__liste { flex-wrap: wrap; justify-content: center; } }

.rt-quali__logo { flex: none; width: 120px; height: 120px; border-radius: 4px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--v); }
.rt-ref--quali img { width: 78px; height: 78px; border-radius: 3px; }
.rt-avis__lien { text-align: center; margin: 1.4rem 0 0; }
