/* ============================================================
   Page d'accueil — assets/css/public/home.css
   Pas de framework. Pas de police externe (RGPD).
   Variables de thème injectées par get_theme_css() dans le <head>.
   ============================================================ */

/* ---- Hauteur de l'en-tête — dépend de la hauteur du logo réglée en admin.
   --studio-logo-h est déclaré uniquement dans get_theme_css() (bloc <style> injecté
   avant ce fichier). On le consomme ici ; on ne le redéclare JAMAIS ici.
   Slider.css et city.css utilisent var(--header-h) : ils suivent automatiquement. ---- */
:root { --header-h: calc(var(--studio-logo-h, 36px) + 24px); }

/* ---- Reset minimal ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    font-family: var(--studio-font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
    color: var(--studio-text, #1f2937);
    background: var(--studio-bg, #fff);
    line-height: 1.6;
}

/* Polices des titres — var(--studio-font-title) défini seulement quand une police
   est choisie dans Admin > Apparence. Repli : inherit = même police que body. */
h1, h2, h3,
.section-heading,
.gallery-card__title,
.city-hero__h1,
.cta-title,
.section-custom__title {
    font-family: var(--studio-font-title, inherit);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---- Conteneur centré ---- */
.hp-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 640px) { .hp-wrap { padding: 0 24px; } }

/* ============================================================
   EN-TÊTE
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--studio-card-bg, #ffffff);
    border-bottom: 1px solid var(--studio-border, #e4e4e7);
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
@media (min-width: 640px) { .site-header__inner { padding: 0 24px; } }

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}
.site-logo__img { max-height: var(--studio-logo-h, 36px); width: auto; display: block; }
.site-logo__name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--studio-heading, #18181b);
}

/* Navigation desktop */
.site-nav {
    display: none;
    align-items: center;
    gap: 24px;
}
@media (min-width: 768px) { .site-nav { display: flex; } }
.site-nav a {
    font-size: .86rem;
    color: var(--studio-text-nav, #52525b);
    transition: color .15s;
}
.site-nav a:hover { color: var(--studio-heading, #18181b); }

/* Bouton CTA header — visible sur tous les formats, dimensionné pour mobile ci-dessous */
.site-header__cta { display: inline-flex; }

/* Bouton menu mobile */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--studio-heading, #18181b);
    border-radius: 6px;
    padding: 0;
}
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

/* ---- Ajustements mobiles : logo et bouton devis dans l'en-tête ---- */
@media (max-width: 767px) {
    /* Logo textuel réduit pour libérer de la place horizontale */
    .site-logo__name { font-size: .88rem; }
    /* Logo image : plafonné à 48 px sur mobile pour préserver la barre de navigation */
    .site-logo__img { max-height: min(var(--studio-logo-h, 36px), 48px); }
    /* En-tête : suit le plafond mobile du logo */
    :root { --header-h: calc(min(var(--studio-logo-h, 36px), 48px) + 24px); }
    /* Bouton devis : compact, texte garanti sur une seule ligne */
    .site-header .site-header__cta {
        font-size: .78rem;
        padding: 6px 12px;
        min-height: 30px;
        white-space: nowrap;
    }
}

/* Menu mobile (affiché/masqué par JS via inline style) */
#mobile-nav {
    display: none;
    border-top: 1px solid var(--studio-border, #e4e4e7);
    background: var(--studio-card-bg, #ffffff);
    padding: 16px;
    flex-direction: column;
    gap: 14px;
}
.mobile-nav__link {
    font-size: .9rem;
    color: var(--studio-text-alt, #3f3f46);
}
.mobile-nav__cta {
    display: block;
    text-align: center;
    border-radius: 6px;
    font-size: .875rem;
    font-weight: 600;
    padding: 10px 16px;
}

/* ============================================================
   BOUTONS COMMUNS
   ============================================================ */
.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--studio-accent, #f97316);
    color: var(--studio-on-accent, #ffffff);
    border: none;
    border-radius: 6px;
    font-size: .875rem;
    font-weight: 600;
    padding: 8px 18px;
    min-height: 36px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity .15s;
    font-family: inherit;
}
.btn-accent:hover { opacity: .88; }

.btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 700;
    padding: 14px 28px;
    min-height: 52px;
    text-decoration: none;
    transition: opacity .15s;
    font-family: inherit;
}
.btn-wa:hover { opacity: .88; }

.btn-cta-banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--studio-accent, #f97316);
    border-radius: 6px;
    font-size: .875rem;
    font-weight: 700;
    padding: 12px 28px;
    min-height: 44px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .15s;
    flex-shrink: 0;
}
.btn-cta-banner:hover { opacity: .88; }

/* ============================================================
   TYPOGRAPHIE DE SECTION
   ============================================================ */
.section-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--studio-accent, #f97316);
    margin-bottom: 10px;
}
.section-heading {
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--studio-text, #18181b);
    max-width: 600px;
    margin-bottom: 44px;
}
@media (min-width: 640px) { .section-heading { font-size: 1.9rem; } }

/* ============================================================
   SECTION POURQUOI (why)
   ============================================================ */
#section-why {
    padding: 72px 0;
}
.sector-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 600px)  { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sector-grid { grid-template-columns: repeat(4, 1fr); } }

.sector-card {
    border: 1px solid var(--studio-border, #e4e4e7);
    border-radius: 10px;
    padding: 24px;
    background: var(--studio-card-bg, #ffffff);
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.sector-card__icon   { color: var(--studio-accent, #f97316); margin-bottom: 16px; }
.sector-card__stat   { font-size: 1.45rem; font-weight: 700; color: var(--studio-heading, #18181b); margin-bottom: 2px; }
.sector-card__sublbl { font-size: .71rem; color: var(--studio-text-muted, #71717a); margin-bottom: 14px; }
.sector-card__name   { font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--studio-heading, #18181b); }
.sector-card__text   { font-size: .83rem; color: var(--studio-text-muted, #71717a); line-height: 1.55; }

/* ============================================================
   SECTION GALERIE (gallery)
   ============================================================ */
#section-gallery {
    background: var(--studio-surface, #f8f8f8);
    border-top: 1px solid var(--studio-border, #e4e4e7);
    border-bottom: 1px solid var(--studio-border, #e4e4e7);
    padding: 72px 0;
}
/* Titre figé : la section a un fond figé clair, le titre doit l'être aussi */
#section-gallery .section-heading { color: var(--studio-heading, #18181b); }
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 600px)  { .gallery-grid--2, .gallery-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid--3 { grid-template-columns: repeat(3, 1fr); } }
/* Une seule vignette : largeur limitée, alignée à gauche comme le titre de section */
.gallery-grid--1 { max-width: 400px; }

.gallery-card {
    background: var(--studio-card-bg, #ffffff);
    border: 1px solid #e4e4e7;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    display: flex;
    flex-direction: column;
}
.gallery-card__thumb {
    aspect-ratio: 16/9;
    background: #27272a;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.gallery-card:hover .gallery-card__thumb img { transform: scale(1.05); }

/* ---- Panoramique animé — pages ville et catégorie uniquement (lot 034) ----
   Balayage lent gauche-droite pour donner le sentiment de l'espace 360°.
   Chaque carte démarre à une phase différente : jamais toutes dans le même sens.
   Sur hover : image figée dans sa position courante.
   prefers-reduced-motion: reduce → aucune animation, comportement inchangé. */
/* Règle : déplacement maximal = (scale − 1) × 100 / 2 %.
   Ici scale 1.06 → marge ±3 % ; au-delà le fond #27272a transparaît. */
@keyframes gallery-pan {
    0%   { transform: scale(1.06) translateX(-3%); }
    100% { transform: scale(1.06) translateX( 3%); }
}
@media (prefers-reduced-motion: no-preference) {
    .city-gallery .gallery-card__thumb img {
        animation: gallery-pan 20s ease-in-out infinite alternate;
        transition: none;
        will-change: transform;
    }
    .city-gallery .gallery-card:nth-child(2) .gallery-card__thumb img { animation-delay:  -7s; }
    .city-gallery .gallery-card:nth-child(3) .gallery-card__thumb img { animation-delay: -14s; }
    .city-gallery .gallery-card:nth-child(4) .gallery-card__thumb img { animation-delay: -18s; }
    .city-gallery .gallery-card:nth-child(5) .gallery-card__thumb img { animation-delay:  -3s; }
    .city-gallery .gallery-card:nth-child(6) .gallery-card__thumb img { animation-delay: -11s; }
    .city-gallery .gallery-card:nth-child(7) .gallery-card__thumb img { animation-delay: -16s; }
    .city-gallery .gallery-card:hover .gallery-card__thumb img {
        animation-play-state: paused;
    }
}
.gallery-card__thumb-ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--studio-accent, #d9a441);
    color: var(--studio-on-accent, #ffffff);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-align: center;
    padding: 12px;
    line-height: 1.3;
}
.gallery-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.gallery-card__cat {
    display: inline-flex;
    align-self: flex-start;
    background: var(--studio-badge-bg, #f4f4f5);
    color: var(--studio-text-alt, #3f3f46);
    border-radius: 99px;
    font-size: .71rem;
    font-weight: 600;
    padding: 3px 10px;
    margin-bottom: 10px;
}
.gallery-card__title {
    font-weight: 600;
    font-size: .95rem;
    color: var(--studio-heading, #18181b);
    margin-bottom: 4px;
}
.gallery-card__city {
    font-size: .78rem;
    color: var(--studio-text-muted, #71717a);
    flex: 1;
    margin-bottom: 14px;
}
.gallery-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .83rem;
    font-weight: 600;
    color: var(--studio-accent, #f97316);
}
.gallery-card__link:hover { text-decoration: underline; }

/* ============================================================
   SECTION COMMENT ÇA MARCHE (how)
   ============================================================ */
#section-how { padding: 72px 0; }
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}
@media (min-width: 600px)  { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-num {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: .85rem;
    font-weight: 500;
    color: var(--studio-accent, #f97316);
    margin-bottom: 12px;
}
.step-title { font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.step-text  { font-size: .83rem; color: var(--studio-text-muted, #71717a); line-height: 1.65; }

/* ============================================================
   SECTION AVIS CLIENTS (testimonials)
   ============================================================ */
#section-testimonials {
    background: var(--studio-dark-bg, #18181b);
    color: #fff;
    padding: 72px 0;
}
#section-testimonials .section-heading { color: #fff; max-width: none; }

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 52px;
}
@media (min-width: 600px)  { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
    border: 1px solid var(--studio-dark-border, #3f3f46);
    border-radius: 10px;
    padding: 24px;
}
.testimonial-stars   { display: flex; gap: 3px; margin-bottom: 14px; color: var(--studio-accent, #f97316); }
.testimonial-body    { font-size: .875rem; color: var(--studio-on-dark, #a1a1aa); margin-bottom: 18px; line-height: 1.65; }
.testimonial-author  { font-size: .875rem; font-weight: 600; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    border-top: 1px solid var(--studio-dark-border, #3f3f46);
    padding-top: 40px;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-value { font-size: 1.8rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
@media (min-width: 640px) { .stat-value { font-size: 2.1rem; } }
.stat-label { font-size: .75rem; color: var(--studio-on-dark-soft, #71717a); }

/* ============================================================
   SECTION FAQ
   ============================================================ */
#section-faq { padding: 72px 0; }

.faq-list {
    max-width: 768px;
    border-top: 1px solid var(--studio-border, #e4e4e7);
}
.faq-item {
    border-bottom: 1px solid var(--studio-border, #e4e4e7);
}
.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: .95rem;
    font-weight: 600;
    color: var(--studio-text, #18181b);
    font-family: inherit;
}
.faq-chevron {
    flex-shrink: 0;
    color: var(--studio-text, #71717a);
    transition: transform .2s ease;
}
.faq-content {
    padding-bottom: 18px;
    font-size: .875rem;
    color: var(--studio-text, #52525b);
    line-height: 1.7;
    display: none; /* état initial — JS inline prend le relais */
}

/* ============================================================
   SECTION CTA (bandeau orange)
   ============================================================ */
#section-cta {
    background: var(--studio-accent, #f97316);
    color: var(--studio-on-accent, #ffffff);
    padding: 60px 0;
}
.cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}
@media (min-width: 640px) {
    .cta-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.cta-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    max-width: 560px;
}
@media (min-width: 640px) { .cta-title { font-size: 1.4rem; } }

/* ============================================================
   ONGLETS DE CATÉGORIE
   Présents sur : section Réalisations (accueil) et galerie (page ville).
   Les deux sections ont un fond figé clair → règle fond figé / texte figé.
   Actif : fond THÈME accent + texte figé blanc (même règle que .btn-accent).
   Scroll horizontal sur mobile si les onglets dépassent la largeur.
   ============================================================ */
.cat-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 24px;
    padding-bottom: 2px;
}
.cat-tabs::-webkit-scrollbar { display: none; }

.cat-tab {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid var(--studio-border, #e4e4e7);
    background: var(--studio-card-bg, #ffffff);
    color: var(--studio-text-alt, #3f3f46);
    font-size: .84rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .15s, color .15s;
    flex-shrink: 0;
}
.cat-tab:hover {
    border-color: var(--studio-accent, #f97316);
    color: var(--studio-accent, #f97316);
}
.cat-tab.is-active,
.cat-tab[aria-current="page"] {
    background: var(--studio-accent, #f97316);
    border-color: var(--studio-accent, #f97316);
    color: var(--studio-on-accent, #ffffff);
    pointer-events: none;
}

/* ============================================================
   SECTIONS PERSONNALISÉES
   ============================================================ */
.section-custom {
    padding: 72px 0;
}
.section-custom--light {
    background: var(--studio-bg, #fff);
    color: var(--studio-text, #1f2937);
}
.section-custom--dark {
    background: var(--studio-dark-bg, #18181b);
    color: #f4f4f5;
}

.section-custom__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 768px) {
    .section-custom__inner--img-left  { grid-template-columns: 45fr 55fr; }
    .section-custom__inner--img-right { grid-template-columns: 55fr 45fr; }
    /* Sur desktop, image à droite : texte en premier, image en second */
    .section-custom__inner--img-right .section-custom__img    { order: 2; }
    .section-custom__inner--img-right .section-custom__content { order: 1; }
}

/* Sans image : contenu centré */
.section-custom__inner--no-img { grid-template-columns: 1fr; }
.section-custom__inner--no-img .section-custom__content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.section-custom__inner--no-img .section-custom__btn {
    margin: 0 auto;
}

.section-custom__img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    object-fit: cover;
}

.section-custom__title {
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 18px;
}
@media (min-width: 640px) { .section-custom__title { font-size: 1.9rem; } }

.section-custom--light .section-custom__title { color: var(--studio-text, #18181b); }
.section-custom--dark  .section-custom__title { color: #f4f4f5; }

.section-custom__body {
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 28px;
    white-space: pre-line;
}
.section-custom__body:last-child { margin-bottom: 0; }

.section-custom--light .section-custom__body { color: var(--studio-text-nav, #52525b); }
.section-custom--dark  .section-custom__body { color: var(--studio-on-dark, #a1a1aa); }

.section-custom__btn {
    display: inline-flex;
    align-items: center;
    background: var(--studio-accent, #f97316);
    color: var(--studio-on-accent, #ffffff);
    border-radius: 6px;
    font-size: .875rem;
    font-weight: 600;
    padding: 10px 24px;
    min-height: 42px;
    text-decoration: none;
    transition: opacity .15s;
}
.section-custom__btn:hover { opacity: .88; }
/* Sur fond sombre, le bouton devient blanc avec texte sombre */
.section-custom--dark .section-custom__btn {
    background: #fff;
    color: #18181b;
}

/* ============================================================
   SECTION TARIFS (lot 039)
   ============================================================ */
#section-tarifs {
    padding: 72px 0;
    background: var(--studio-surface, #f8f8f8);
    border-top: 1px solid var(--studio-border, #e4e4e7);
    border-bottom: 1px solid var(--studio-border, #e4e4e7);
    color: var(--studio-text-alt, #3f3f46);
}
#section-tarifs .section-heading { color: var(--studio-heading, #18181b); }
.section-subheading {
    font-size: .95rem;
    color: var(--studio-text-nav, #52525b);
    margin-top: -28px;
    margin-bottom: 44px;
    max-width: 640px;
}
.tarifs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.tarif-card {
    flex: 1 1 260px;
    max-width: 380px;
    border: 1px solid var(--studio-border, #e4e4e7);
    border-radius: 12px;
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--studio-card-bg, #ffffff);
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.tarif-card--vedette {
    border-color: var(--studio-accent, #f97316);
    box-shadow: 0 0 0 2px var(--studio-accent, #f97316);
}
.tarif-badge {
    align-self: flex-start;
    background: var(--studio-accent, #f97316);
    color: var(--studio-on-accent, #ffffff);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 99px;
}
.tarif-nom {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--studio-heading, #18181b);
}
.tarif-prix {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tarif-depuis {
    font-size: .75rem;
    color: var(--studio-text-muted, #71717a);
    font-style: italic;
}
.tarif-montant {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--studio-accent, #f97316);
    line-height: 1.15;
}
.tarif-desc {
    font-size: .85rem;
    color: var(--studio-text-muted, #71717a);
    line-height: 1.5;
}
.tarif-prestations {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.tarif-prestations li {
    font-size: .88rem;
    padding-left: 20px;
    position: relative;
    color: var(--studio-text-alt, #3f3f46);
}
.tarif-prestations li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--studio-accent, #f97316);
    font-weight: 700;
}
.tarif-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 11px 20px;
    border-radius: 8px;
    background: var(--studio-accent, #f97316);
    color: var(--studio-on-accent, #ffffff);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    margin-top: auto;
    transition: opacity .15s;
    min-height: 42px;
}
.tarif-btn:hover { opacity: .85; }

/* ============================================================
   SECTION CALCULATEUR (lot 039)
   ============================================================ */
#section-calculateur {
    padding: 72px 0;
    background: var(--studio-surface, #f8f8f8);
    border-top: 1px solid var(--studio-border, #e4e4e7);
    border-bottom: 1px solid var(--studio-border, #e4e4e7);
    color: var(--studio-text-alt, #3f3f46);
    scroll-margin-top: calc(var(--header-h, 60px) + 16px);
}
#section-calculateur .section-heading { color: var(--studio-heading, #18181b); }
.calc-wrap {
    max-width: 580px;
}
.calc-types {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.calc-type-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid var(--studio-border, #e4e4e7);
    border-radius: 8px;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 500;
    transition: border-color .15s, background .15s;
    user-select: none;
}
.calc-type-label input[type="radio"] { display: none; }
.calc-type-label--active {
    border-color: var(--studio-accent, #f97316);
    background: color-mix(in srgb, var(--studio-accent, #f97316) 8%, #fff);
    font-weight: 600;
    color: var(--studio-accent, #f97316);
}
.calc-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}
.calc-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.calc-field-label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--studio-text-alt, #3f3f46);
}
.calc-field-input {
    width: 100%;
    max-width: 300px;
    padding: 10px 14px;
    border: 1px solid var(--studio-input-border, #d4d4d8);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--studio-card-bg, #ffffff);
    color: var(--studio-heading, #18181b);
    outline: none;
    transition: border-color .15s;
}
.calc-field-input:focus { border-color: var(--studio-accent, #f97316); }
.calc-field-err {
    font-size: .8rem;
    color: #dc2626;
    min-height: 1.1em;
    display: block;
}
.calc-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: var(--studio-accent, #f97316);
    color: var(--studio-on-accent, #ffffff);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    min-height: 46px;
    transition: opacity .15s;
    margin-bottom: 28px;
}
.calc-submit-btn:hover { opacity: .88; }
.calc-result {
    padding: 24px;
    background: var(--studio-card-bg, #ffffff);
    border: 1px solid var(--studio-border, #e4e4e7);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.calc-result-label {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--studio-text-muted, #71717a);
}
.calc-result-amount {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--studio-heading, #18181b);
}
.calc-result-amount strong {
    color: var(--studio-accent, #f97316);
}
.calc-mention {
    font-size: .78rem;
    color: var(--studio-text-muted, #71717a);
    font-style: italic;
}
.calc-devis-msg {
    font-size: 1rem;
    font-weight: 600;
    color: var(--studio-heading, #18181b);
}
.btn-wa-calc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #25d366;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: .88rem;
    text-decoration: none;
    align-self: flex-start;
    transition: opacity .15s;
    margin-top: 4px;
}
.btn-wa-calc:hover { opacity: .88; }

/* ============================================================
   PIED DE PAGE
   ============================================================ */
.site-footer {
    background: var(--studio-dark-bg, #18181b);
    color: var(--studio-on-dark, #a1a1aa);
}
.site-footer__grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 52px 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}
@media (min-width: 640px) {
    .site-footer__grid { padding: 52px 24px; grid-template-columns: 1fr 1fr 1fr; }
}
.footer-brand__name    { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-brand__tagline { font-size: .83rem; line-height: 1.6; }
.footer-col__title     { font-size: .83rem; font-weight: 600; color: #fff; margin-bottom: 14px; }
.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-nav-links a {
    font-size: .83rem;
    color: var(--studio-on-dark, #a1a1aa);
    transition: color .15s;
}
.footer-nav-links a:hover { color: #fff; }
.footer-social { margin-top: 28px; }
.footer-social__label {
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--studio-on-dark-soft, #71717a);
    margin-bottom: 10px;
}
.footer-social__links {
    display: flex;
    gap: 10px;
}
.footer-social__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: opacity .15s;
}
.footer-social__btn[data-network="instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.footer-social__btn[data-network="facebook"] {
    background: #1877F2;
}
.footer-social__btn:hover,
.footer-social__btn:focus-visible {
    opacity: 0.82;
    outline: none;
}
.site-footer__copy {
    border-top: 1px solid var(--studio-dark-border, #3f3f46);
    padding: 20px 24px;
    text-align: center;
    font-size: .75rem;
    color: var(--studio-on-dark-faint, #52525b);
}
