/* ==========================================================================
   Toucoclim — feuille de style principale
   Charte : brand/guidelines.html — cahier des charges §9.3
   ========================================================================== */

/* ---------- Polices (hébergées sur le site) ---------- */
@font-face { font-family: "Baloo 2"; font-weight: 600; font-display: swap; src: url(../fonts/baloo-2-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap; src: url(../fonts/baloo-2-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url(../fonts/baloo-2-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-weight: 400; font-display: swap; src: url(../fonts/work-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-weight: 500; font-display: swap; src: url(../fonts/work-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-weight: 600; font-display: swap; src: url(../fonts/work-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-weight: 700; font-display: swap; src: url(../fonts/work-sans-latin-700-normal.woff2) format("woff2"); }

/* ---------- Jetons ---------- */
:root {
    --navy: #123B5C;
    --navy-deep: #0B2C45;
    --blue: #0161AD;
    --blue-hover: #014F8E;
    --arctic: #59B7D6;
    --arctic-soft: #E3F3F9;
    --orange: #F58329;
    --orange-hover: #E6711A;
    --orange-soft: #FEF1E6;
    --steel: #4D4D4D;

    --bg: #EFF5F7;
    --surface: #FFFFFF;
    --surface-2: #F7FAFB;
    --text: #0F2A45;
    --text-muted: #4C6377;
    --border: #DCE6EB;
    --ok: #2E8B57;
    --ok-soft: #E8F4EE;
    --bad: #C0392B;
    --bad-soft: #FBECEA;

    --font-display: "Baloo 2", system-ui, sans-serif;
    --font-body: "Work Sans", system-ui, sans-serif;

    --radius-s: 8px;
    --radius: 12px;
    --radius-l: 20px;
    --gutter: clamp(16px, 4vw, 32px);
    --wrap: 1180px;
    --focus: 0 0 0 3px var(--surface), 0 0 0 5px var(--blue);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.15;
    color: var(--navy);
    text-wrap: balance;
    margin: 0 0 .5em;
}
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
    clip: auto; width: auto; height: auto; z-index: 100;
    top: 8px; left: 8px; padding: 10px 16px; background: var(--surface); color: var(--navy);
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.site-main { flex: 1; }
.content { padding-block: clamp(24px, 5vw, 56px); }

/* ---------- Boutons ----------
   Orange : texte navy profond (blanc sur orange = contraste 2,6, insuffisant). */
.btn, .button, button[type="submit"], input[type="submit"] {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 22px;
    border: 2px solid transparent; border-radius: 999px;
    font: 700 1rem/1.2 var(--font-body);
    text-decoration: none; cursor: pointer;
    background: var(--blue); color: #fff;
    transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover, .button:hover, button[type="submit"]:hover { background: var(--blue-hover); color: #fff; }
.btn--primary, .single_add_to_cart_button, .checkout-button, #place_order,
button.btn--primary {
    background: var(--orange); color: var(--navy-deep);
}
.btn--primary:hover, .single_add_to_cart_button:hover, .checkout-button:hover, #place_order:hover,
button.btn--primary:hover {
    background: var(--orange-hover); color: var(--navy-deep);
}
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--border); }
.btn--ghost:hover { background: var(--surface); color: var(--blue-hover); border-color: var(--blue); }
.button:disabled, .button.disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Formulaires ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="search"], select, textarea {
    width: 100%; min-height: 46px; padding: 10px 14px;
    border: 1px solid var(--border); border-radius: var(--radius-s);
    background: var(--surface); color: var(--text);
    font: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(1, 97, 173, .18); }
label { font-weight: 600; }

/* ---------- Fond d'écran : toucan en nuage de points ----------
   Fixe, derrière tout le contenu ; les zones blanches (en-tête, cartes, formulaires) passent devant. */
.site-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.site-bg .toucan-particles {
    position: absolute; top: 55%; right: max(-60px, calc((100vw - var(--wrap)) / 2 - 60px));
    width: min(720px, 56vw); transform: translateY(-50%); opacity: .32;
}
.toucan-particles img { display: block; width: 100%; height: auto; transition: opacity .8s; }
.toucan-particles.is-ready img { opacity: 0; }
.toucan-particles__canvas { position: absolute; inset: 0; }
@media (max-width: 899px) {
    .site-bg .toucan-particles { right: -20%; width: 95vw; opacity: .16; }
}

/* ---------- Bandeau du haut ---------- */
.topbar { background: var(--navy-deep); color: #fff; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 12px; padding-block: 8px; }
.topbar__inner span:first-child { font-weight: 700; color: var(--orange); }
@media (max-width: 719px) { .topbar__zone { display: none; } .topbar__inner { justify-content: center; } }

/* ---------- En-tête ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.site-logo { display: flex; flex: none; }
.site-logo img { display: block; width: 48px; height: 48px; }
@media (min-width: 720px) { .site-logo img { width: 200px; height: auto; } }
.site-nav { flex: 1; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 20px; flex-wrap: wrap; }
.site-nav a { color: var(--navy); font-weight: 600; text-decoration: none; padding: 6px 0; }
.site-nav a:hover, .site-nav .current-menu-item a { color: var(--blue); }
.header-cart { position: relative; display: inline-flex; padding: 10px; color: var(--navy); border-radius: 999px; }
.header-cart:hover { background: var(--surface-2); color: var(--blue); }
.header-cart__count {
    position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
    border-radius: 999px; background: var(--orange); color: var(--navy-deep);
    font-size: .75rem; font-weight: 700; line-height: 20px; text-align: center;
}

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-deep); color: #D5E4EE; margin-top: 64px; }
.site-footer a { color: #fff; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-block: 48px 24px; }
.site-footer__brand { max-width: 340px; }
.site-footer__logo { display: inline-block; background: #fff; border-radius: var(--radius); padding: 10px 14px; margin-bottom: 14px; }
.site-footer__logo img { display: block; width: 200px; }
.site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 16px 24px; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__sites { display: inline-flex; gap: 8px; }

/* ---------- Bandeau cookies (extension Toucoclim, suivi Google Ads) ---------- */
.tc-cookies {
    position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 16px;
    max-width: 460px; margin-left: auto;
    background: var(--surface); color: var(--text);
    border: 1px solid var(--border); border-radius: var(--radius-l);
    box-shadow: 0 12px 40px rgba(11, 44, 69, .22);
    padding: 18px 20px; font-size: .92rem;
}
.tc-cookies[hidden] { display: none; }
.tc-cookies p { margin: 0 0 12px; }
.tc-cookies__title { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--navy); }
/* Refuser et Accepter : même apparence (CNIL). */
.tc-cookies__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tc-cookies__actions .btn { width: 100%; justify-content: center; }

/* ---------- Cartes, prix ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: clamp(18px, 3vw, 28px); }
.price-big, .price { font-family: var(--font-display); font-weight: 800; color: var(--navy); }

/* ---------- Prix « posé » (catalogue et fiche) ---------- */
.tc-price { display: flex; flex-direction: column; gap: 2px; }
.tc-price-total small { font-family: var(--font-body); font-size: .55em; font-weight: 600; color: var(--text-muted); }
.tc-price-detail { display: block; font-family: var(--font-body); font-size: .82rem; font-weight: 500; color: var(--text-muted); line-height: 1.4; }
.tc-price-detail .woocommerce-Price-amount { font-weight: 600; white-space: nowrap; }

/* ---------- Catalogue WooCommerce ---------- */
.woocommerce-products-header__title { margin-bottom: 8px; }
ul.products {
    list-style: none; margin: 24px 0 0; padding: 0;
    display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
ul.products li.product {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l);
    padding: 16px; display: flex; flex-direction: column; gap: 10px;
}
ul.products li.product a { text-decoration: none; color: inherit; }
ul.products li.product a.button { color: #fff; }
ul.products li.product img { border-radius: var(--radius); background: var(--surface-2); aspect-ratio: 1; object-fit: contain; width: 100%; }
ul.products li.product .woocommerce-loop-product__title { font-size: 1.1rem; margin: 6px 0 0; }
ul.products li.product .price { font-size: 1.5rem; display: block; }
ul.products li.product .button { margin-top: auto; }
.woocommerce-result-count { color: var(--text-muted); font-size: .9rem; }
.woocommerce-ordering select { width: auto; }
.onsale { display: inline-block; background: var(--orange); color: var(--navy-deep); font-weight: 700; font-size: .8rem; padding: 2px 10px; border-radius: 999px; }

/* ---------- Fiche produit ---------- */
.single-product div.product { display: grid; gap: clamp(20px, 4vw, 48px); }
@media (min-width: 900px) { .single-product div.product { grid-template-columns: 1fr 1fr; align-items: start; } }
.single-product div.product .woocommerce-product-gallery { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 16px; }
.single-product div.product .summary .price { font-size: 2.2rem; }
.single-product .product-intro { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: clamp(18px, 3vw, 28px); margin-bottom: 20px; }
.single-product .product-intro > :first-child { margin-top: 0; }
.single-product .product-intro > :last-child, .single-product .product-intro > :last-child > :last-child { margin-bottom: 0; }
.single-product .product-intro .tc-price-detail { font-size: .88rem; }
.price .woocommerce-Price-amount { white-space: nowrap; }
/* Description et produits similaires : sous le bloc image + simulateur (voir functions.php). */
.single-product .woocommerce-tabs, .single-product .upsells, .single-product .related { margin-top: clamp(40px, 6vw, 72px); }
/* Sur ordinateur, l'image du climatiseur reste visible pendant qu'on remplit le simulateur. */
@media (min-width: 900px) {
    .single-product div.product .product-media { position: sticky; top: calc(72px + 24px); }
    .admin-bar.single-product div.product .product-media { top: calc(32px + 72px + 24px); }
    /* L'image se réduit sur les écrans peu hauts pour que l'encart de prix reste visible en entier. */
    .single-product .product-media .woocommerce-product-gallery img { display: block; max-height: max(160px, calc(100vh - 460px)); width: auto; margin-inline: auto; object-fit: contain; }
}
.woocommerce-tabs ul.tabs { list-style: none; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce-tabs ul.tabs a { display: block; padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 600; }
.woocommerce-tabs ul.tabs li.active a { background: var(--navy); color: #fff; border-color: var(--navy); }
.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { text-align: left; padding: 10px; border-bottom: 1px solid var(--border); }
.quantity input { width: 80px; }
form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Messages ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    list-style: none; margin: 0 0 20px; padding: 14px 18px;
    border-radius: var(--radius); border: 1px solid var(--border); border-left: 4px solid var(--blue);
    background: var(--surface);
}
.woocommerce-message { border-left-color: var(--ok); }
.woocommerce-error { border-left-color: var(--bad); }
.woocommerce-message .button, .woocommerce-info .button { float: right; min-height: 36px; padding: 6px 14px; margin-left: 12px; }

/* ---------- Tableaux panier / commande ---------- */
table.shop_table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
table.shop_table th, table.shop_table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
table.shop_table img { width: 64px; border-radius: var(--radius-s); }
.cart-collaterals { margin-top: 24px; }
.cart_totals, #order_review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 20px; }

/* ---------- Pages de contenu ---------- */
.entry { max-width: 760px; }
.woocommerce-cart .entry, .woocommerce-checkout .entry, .woocommerce-account .entry { max-width: none; }
.entry__content > * + * { margin-top: 1em; }

/* ---------- État vide (mascotte) ---------- */
.empty-state { text-align: center; max-width: 520px; margin-inline: auto; padding-block: 24px; }
.empty-state img { width: 220px; margin-bottom: 12px; }

/* ---------- Détail d'un article (panier, commande) ---------- */
dl.variation {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: baseline;
    margin: 12px 0 0; padding: 14px 16px; font-size: .9rem; line-height: 1.4; max-width: 640px;
    background: var(--surface-2); border-radius: var(--radius-s);
}
dl.variation dt { margin: 0; font-weight: 500; color: var(--text-muted); }
dl.variation dd { margin: 0; text-align: right; font-weight: 600; color: var(--navy); }
dl.variation dd p { margin: 0; }
dl.variation dd .amount { white-space: nowrap; }
/* Titre de bloc (« Climatiseur et fournitures », « Pose et main-d'œuvre ») et son sous-total. */
dl.variation dt:has(+ dd .tc-group) { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); font-weight: 700; color: var(--navy); }
dl.variation dd:has(.tc-group) { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); font-weight: 800; }
dl.variation dd .tc-note-value { font-weight: 500; color: var(--text); }
table.shop_table td.product-price, table.shop_table td.product-subtotal { white-space: nowrap; }
table.shop_table .product-name > a { font-weight: 700; color: var(--navy); text-decoration: none; font-size: 1.05rem; }
table.shop_table .product-name > a:hover { color: var(--blue); }
table.shop_table td.product-remove a { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; color: var(--text-muted); text-decoration: none; font-size: 1.2rem; }
table.shop_table td.product-remove a:hover { background: var(--surface-2); color: var(--bad, #c0392b); }
/* Code promo et mise à jour : sur une ligne, sous l'article. */
.woocommerce-cart-form td.actions .coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.woocommerce-cart-form td.actions .coupon input { flex: 1 1 220px; max-width: 360px; }
.woocommerce-cart-form td.actions .button { margin: 0; }
/* Le prix unitaire répète le sous-total (un climatiseur posé se commande à l'unité) : colonnes masquées,
   comme la vignette quand le produit n'a pas d'image, pour laisser la place au détail. */
.woocommerce-cart-form th.product-thumbnail, .woocommerce-cart-form td.product-thumbnail:not(:has(img:not([src*="placeholder"]))) { display: none; }
.woocommerce-cart-form th.product-price, .woocommerce-cart-form td.product-price { display: none; }
.woocommerce-cart-form .product-quantity:not(:has(input[type="number"])) { display: none; }
.woocommerce-cart-form th.product-quantity { display: none; }
.woocommerce-cart-form td.product-remove { width: 40px; }
.woocommerce-cart-form td.product-subtotal { width: 1%; text-align: right; font-weight: 700; color: var(--navy); }
.woocommerce-cart-form th.product-subtotal { text-align: right; }
/* Totaux : intitulé à gauche, montant à droite. */
.cart_totals table.shop_table { border: 0; }
.cart_totals table.shop_table th, .cart_totals table.shop_table td { padding: 12px 0; }
.cart_totals table.shop_table td { text-align: right; }
.cart_totals table.shop_table th { padding-right: 12px; font-weight: 600; }
.cart_totals .order-total th, .cart_totals .order-total td { font-size: 1.15rem; color: var(--navy); }
.cart_totals .order-total td small, .cart_totals .includes_tax { display: block; font-size: .8rem; font-weight: 500; color: var(--text-muted); }
.cart_totals .wc-proceed-to-checkout .checkout-button { display: block; width: 100%; text-align: center; margin-top: 8px; }
.cart_totals h2 { margin-top: 0; }

@media (min-width: 960px) {
    .woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
    .woocommerce-cart .woocommerce > * { min-width: 0; }
    .woocommerce-cart .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
    .woocommerce-cart .cart-collaterals { margin-top: 0; position: sticky; top: 100px; }
    .woocommerce-cart .cart-collaterals .cart_totals { width: auto; float: none; }
}

/* Récapitulatif de la commande : le détail d'un climatiseur posé prend toute la largeur du bloc,
   le montant de l'article (déjà dans le détail et le sous-total) est masqué. */
#order_review table.shop_table thead { display: none; }
#order_review table.shop_table, #order_review table.shop_table tbody, #order_review table.shop_table tfoot { display: block; width: 100%; }
#order_review table.shop_table tfoot tr { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--border); }
#order_review table.shop_table tfoot tr:last-child { border-bottom: 0; }
#order_review table.shop_table tfoot th, #order_review table.shop_table tfoot td { border: 0; }
#order_review table.shop_table tfoot td { text-align: right; }
#order_review tr.cart_item, #order_review tr.cart_item td { display: block; width: 100%; }
#order_review tr.cart_item { border-bottom: 1px solid var(--border); }
#order_review tr.cart_item td.product-name { border-bottom: 0; padding-bottom: 4px; font-weight: 700; color: var(--navy); }
#order_review tr.cart_item td.product-name dl.variation { font-weight: 400; max-width: none; }
#order_review tr.cart_item td.product-total { text-align: right; font-weight: 700; color: var(--navy); border: 0; }
/* Climatiseur posé : son montant figure déjà en tête du détail (« Climatiseur et fournitures ») et dans le sous-total. */
#order_review tr.cart_item:has(.tc-group) td.product-total { display: none; }

/* Mobile : chaque article du panier devient une carte (WooCommerce fournit data-title sur les cellules). */
@media (max-width: 719px) {
    table.shop_table_responsive thead { display: none; }
    table.shop_table_responsive, table.shop_table_responsive tbody, table.shop_table_responsive tr, table.shop_table_responsive td { display: block; width: 100%; }
    table.shop_table_responsive tr { border-bottom: 1px solid var(--border); }
    table.shop_table_responsive td { border: 0; padding: 6px 14px; text-align: right; }
    table.shop_table_responsive td[data-title]::before { content: attr(data-title); float: left; font-weight: 600; color: var(--text-muted); }
    table.shop_table_responsive td.product-name { text-align: left; padding-top: 12px; }
    table.shop_table_responsive td.product-name::before, table.shop_table_responsive td.product-thumbnail { display: none; }
    table.shop_table_responsive td.product-remove { text-align: right; padding-top: 10px; }
    table.shop_table_responsive td.product-quantity:not(:has(input[type="number"])) { display: none; }
    table.shop_table_responsive td.actions { text-align: left; padding: 14px; }
    .cart_totals table.shop_table_responsive tr { display: flex; justify-content: space-between; gap: 12px; }
    .cart_totals table.shop_table_responsive th { display: block; padding: 12px 0; }
    .cart_totals table.shop_table_responsive td { width: auto; padding: 12px 0; }
    .cart_totals table.shop_table_responsive td::before { display: none; }
    dl.variation { font-size: .85rem; padding: 12px; gap: 5px 12px; }
}

/* ==========================================================================
   Pages : accueil, sections, blocs Toucoclim
   ========================================================================== */

.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 0 0 8px; }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--surface { background: var(--surface); border-block: 1px solid var(--border); }
.section h2 { margin-bottom: 24px; }
.btn--light { background: #fff; color: var(--navy-deep); }
.btn--light:hover { background: var(--arctic-soft); color: var(--navy-deep); }

/* ---------- Accueil : bandeau principal ---------- */
.hero { position: relative; border-bottom: 1px solid var(--border); }
.hero__inner { position: relative; z-index: 1; padding-block: clamp(48px, 8vw, 112px); }
.hero__text { max-width: 640px; }
.hero h1 { font-size: clamp(2.1rem, 1.5rem + 3vw, 3.6rem); margin-bottom: 16px; }
.hero__lead { font-size: 1.15rem; color: var(--text-muted); max-width: 54ch; }
.hero__promise {
    display: inline-block; margin: 4px 0 24px; padding-left: 14px; border-left: 4px solid var(--orange);
    font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--navy);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Accueil : arguments ---------- */
.trust { background: var(--navy-deep); color: #D5E4EE; }
.trust__list { list-style: none; margin-block: 0; padding-block: 22px; display: grid; gap: 16px; }
@media (min-width: 720px) { .trust__list { grid-template-columns: repeat(3, 1fr); } }
.trust__list li { display: flex; flex-direction: column; gap: 2px; padding-left: 30px; position: relative; }
.trust__list li::before {
    content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2C45' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.trust__list strong { color: #fff; font-family: var(--font-display); font-size: 1.1rem; }
.trust__list span { font-size: .9rem; }

/* ---------- Accueil : gammes ---------- */
.range-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.range-card {
    display: flex; flex-direction: column; gap: 8px; padding: 24px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l);
    color: inherit; text-decoration: none; transition: border-color .15s, transform .15s;
}
.range-card:hover { border-color: var(--blue); transform: translateY(-2px); color: inherit; }
.range-card h3 { font-size: 1.4rem; margin: 0; }
.range-card p { margin: 0; color: var(--text-muted); }
.range-card__price { margin-top: auto !important; padding-top: 12px; color: var(--text) !important; }
.range-card__price strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); }
.range-card__cta { font-weight: 700; color: var(--blue); }

/* ---------- Étapes ---------- */
.tc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: none; }
.tc-steps__item { position: relative; padding: 24px; background: var(--bg); border-radius: var(--radius-l); }
.section--surface .tc-steps__item { background: var(--surface-2); border: 1px solid var(--border); }
.tc-steps__num {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 12px;
    border-radius: 50%; background: var(--orange); color: var(--navy-deep); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
}
.tc-steps__item h3 { margin-bottom: 6px; }
.tc-steps__item p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* ---------- Deux colonnes ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

/* ---------- Listes et tableaux Toucoclim ---------- */
.tc-check-list, .tc-cross-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.tc-check-list li, .tc-cross-list li { position: relative; padding-left: 30px; }
.tc-check-list li::before, .tc-cross-list li::before {
    position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800;
}
.tc-check-list li::before { content: "✓"; background: var(--ok-soft); color: var(--ok); }
.tc-cross-list li::before { content: "✕"; background: var(--bad-soft); color: var(--bad); }

.tc-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.tc-table th, .tc-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.tc-table thead th { background: var(--surface-2); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.tc-table tbody th { font-weight: 600; }
.tc-table td { text-align: right; white-space: nowrap; font-weight: 700; color: var(--navy); }
.tc-table thead th:last-child { text-align: right; }
.tc-table tr:last-child > * { border-bottom: 0; }
/* Tableaux de prix HT / TTC (page Tarifs de pose) */
.tc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 12px; }
.tc-table-wrap .tc-table { margin-bottom: 0; }
.tc-table--prices thead th:not(:first-child) { text-align: right; white-space: nowrap; }
.tc-table--prices td.tc-ht { font-weight: 500; color: var(--text-muted); }
/* Mobile : chaque ligne devient une carte, prix côte à côte avec leur intitulé. */
@media (max-width: 719px) {
    .tc-table--prices thead { display: none; }
    .tc-table--prices tr { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--border); }
    .tc-table--prices tr:last-child { border-bottom: 0; }
    .tc-table--prices tbody th { flex: 0 0 100%; padding: 12px 14px 4px; border: 0; }
    .tc-table--prices td { flex: 1 1 0; min-width: 0; padding: 4px 14px 12px; border: 0; text-align: left; white-space: nowrap; }
    .tc-table--prices td::before { content: attr(data-label); display: block; white-space: nowrap; font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
}
.tc-table__sub, .tc-zones__deps { display: block; font-weight: 400; font-size: .85rem; color: var(--text-muted); }
.tc-table__unit { display: block; font-weight: 500; font-size: .8rem; color: var(--text-muted); }
.tc-free { color: var(--ok); }
.tc-note { font-size: .9rem; color: var(--text-muted); }

/* ---------- Page « Nos tarifs de pose » ---------- */
.tc-tarifs__lead { font-size: 1.15rem; color: var(--text-muted); max-width: 62ch; }
.tc-tarifs__section { margin-top: 40px; }
.tc-tarifs__price { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--navy); margin: 0 0 8px; }
.tc-tarifs__per { font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: var(--text-muted); }

/* ---------- Bandeau d'appel à l'action ---------- */
.cta-band { background: var(--navy); color: #D5E4EE; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(36px, 5vw, 56px); }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer { margin-top: 0; }
.site-main > .content:last-child { padding-bottom: clamp(48px, 7vw, 88px); }

/* ---------- Catalogue : gammes ---------- */
.range-nav ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.range-nav a { display: block; padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--navy); font-weight: 600; text-decoration: none; }
.range-nav a:hover { border-color: var(--blue); color: var(--blue); }
.range-nav a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.range-nav--brands ul { margin-top: -4px; }
.range-nav--brands a { padding: 5px 13px; font-size: .9em; font-weight: 500; }
.range-nav--brands a[aria-current="page"] { background: var(--blue); border-color: var(--blue); }
.woocommerce-products-header__title { margin-bottom: 16px; }

/* ---------- Pages de contenu (FAQ, légal…) ---------- */
.entry__content h2 { margin-top: 1.6em; }
.entry__content details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; }
.entry__content details + details { margin-top: 10px; }
.entry__content summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.entry__content details[open] summary { margin-bottom: 8px; }
.entry:has(.tc-tarifs) { max-width: 880px; }
.tc-ttc { font-size: .75em; font-weight: 600; color: var(--text-muted); }
.tc-tarifs__tva { margin: 0 0 8px; padding: 10px 14px; border-left: 4px solid var(--blue); background: var(--surface); border-radius: 0 8px 8px 0; }
.entry:has(.tc-composer) { max-width: none; }
.entry:has(.tc-composer) .entry__content > p:first-child { max-width: 760px; }

/* ---------- Page de commande en deux colonnes ---------- */
@media (min-width: 960px) {
    form.checkout { display: grid; grid-template-columns: 1fr 440px; gap: 0 40px; align-items: start; }
    form.checkout > .col2-set, form.checkout > .woocommerce-NoticeGroup { grid-column: 1; grid-row: 1 / span 3; }
    form.checkout > #order_review_heading { grid-column: 2; margin-top: 0; }
    form.checkout > #order_review { grid-column: 2; }
    .col2-set .col-1, .col2-set .col-2 { width: 100%; }
}
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 16px; }
.form-row { margin: 0 0 14px; }
.form-row label { display: block; margin-bottom: 4px; font-size: .92rem; }

/* ---------- Menu mobile ---------- */
.nav-toggle {
    display: none; align-items: center; gap: 8px; margin-left: auto; padding: 8px 12px;
    background: transparent; border: 1px solid var(--border); border-radius: 999px;
    color: var(--navy); font: 600 .95rem var(--font-body); min-height: 44px; cursor: pointer;
}
.nav-toggle:hover { background: var(--surface-2); color: var(--navy); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
@media (max-width: 899px) {
    .site-header__inner { gap: 12px; flex-wrap: wrap; }
    .nav-toggle:not([hidden]) { display: inline-flex; }
    .js-nav .site-nav { display: none; flex-basis: 100%; order: 3; padding-bottom: 12px; }
    .js-nav .site-nav.is-open { display: block; }
    .site-nav .menu { flex-direction: column; gap: 0; }
    .site-nav .menu a { display: block; padding: 12px 4px; border-top: 1px solid var(--border); }
}

/* ---------- Galerie de la fiche produit : miniatures ---------- */
.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery .flex-viewport { border-radius: var(--radius); }
.woocommerce-product-gallery ol.flex-control-thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-product-gallery ol.flex-control-thumbs li { width: 72px; }
.woocommerce-product-gallery ol.flex-control-thumbs img { display: block; width: 72px; height: 72px; object-fit: contain; background: var(--surface-2); border: 2px solid transparent; border-radius: var(--radius-s); cursor: pointer; opacity: .7; }
.woocommerce-product-gallery ol.flex-control-thumbs img.flex-active, .woocommerce-product-gallery ol.flex-control-thumbs img:hover { border-color: var(--blue); opacity: 1; }
.woocommerce-product-gallery__trigger { position: absolute; top: 12px; right: 12px; z-index: 2; }

/* Packs multi-split : pièces et m² (fiche et vignettes) */
.tc-rooms { margin: 4px 0 14px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: .95rem; line-height: 1.45; }
.tc-rooms strong { color: var(--navy); }
.tc-rooms-card { margin: 2px 0 6px; font-size: .85rem; font-weight: 600; color: var(--blue); }

/* Pages départementales */
.tc-dep { margin: 1.5em 0; }
.tc-dep__travel { padding: 10px 14px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.tc-dep .tc-table th a { color: var(--navy); }
.tc-dep__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1em; }
.tc-departements { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; padding: 0; list-style: none; }
.tc-departements a { display: block; padding: 10px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-s); font-weight: 600; color: var(--navy); text-decoration: none; }
.tc-departements a:hover { border-color: var(--blue); color: var(--blue); }
.tc-zones__deps a { color: inherit; }

/* Guides */
.tc-guides { list-style: none; padding: 0; display: grid; gap: 12px; }
.tc-guides li { padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.tc-guides a { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy); text-decoration: none; }
.tc-guides a:hover { color: var(--blue); }
.tc-guides p { margin: 6px 0 0; color: var(--text-muted); }
.tc-table--guide td { text-align: left; font-weight: 600; }
