:root {
    --primary: #FF6900;
    --primary-dark: #e85f00;
    --primary-light: #fff4eb;
    --secondary: #28A0FD;
    --secondary-dark: #1f8be0;
    --dark: #1a1a1a;
    --gray-900: #2c2c2c;
    --gray-700: #555;
    --gray-500: #777;
    --gray-300: #dcdce6;
    --gray-100: #f5f6fa;
    --white: #ffffff;
    --green: #00b67a;
    --yellow: #ffb400;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.06);
    --shadow: 0 8px 24px rgba(26, 26, 26, 0.08);
    --shadow-lg: 0 20px 50px rgba(26, 26, 26, 0.15);
    --shadow-orange: 0 10px 25px rgba(255, 105, 0, 0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.accent { color: var(--primary); }

/* --------- TOP BAR --------- */
.topbar {
    background: var(--dark);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
}
.topbar-inner {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

/* --------- HEADER --------- */
.header {
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, #fffaf5 0%, #fffefc 100%);
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 2px 12px rgba(26, 26, 26, 0.04);
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    gap: 24px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    line-height: 1;
    text-decoration: none;
    color: var(--dark);
}
.logo-mark {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 6px rgba(255, 105, 0, 0.28));
}
.logo-text { display: flex; flex-direction: column; gap: 4px; }
.logo-name {
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 31px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--dark);
}
.logo-name strong { color: var(--primary); font-weight: 800; }
.logo-tagline {
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    padding-left: 2px;
}
.footer-logo .logo-name { color: var(--white); }
.footer-logo .logo-tagline { color: rgba(255, 255, 255, 0.55); }
@media (max-width: 600px) {
    .logo-mark { width: 40px; height: 40px; }
    .logo-name { font-size: 27px; }
    .logo-tagline { font-size: 9.5px; }
}

.nav {
    display: flex;
    gap: 32px;
    flex: 1;
    justify-content: center;
}
.nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    transition: color 0.2s;
}
.nav a:hover { color: var(--primary); }

.header-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 18px;
    padding-right: 18px;
    border-right: 1px solid var(--gray-300);
}
.header-stars {
    color: var(--yellow);
    font-size: 16px;
    letter-spacing: 1px;
}
.header-rating-text {
    font-size: 13px;
    color: var(--gray-700);
}
.header-rating-text strong {
    color: var(--dark);
    font-weight: 700;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 14px;
}
.header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
    gap: 2px;
}
.info-line {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
}
.info-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--gray-700);
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(0, 182, 122, 0.6);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(0, 182, 122, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(0, 182, 122, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 182, 122, 0); }
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 11px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.header-phone:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-orange);
}

.burger {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 4px;
}
.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
}

/* --------- BUTTONS --------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border: 0;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
    text-align: center;
    font-family: inherit;
    line-height: 1.2;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(255, 105, 0, 0.4);
}
.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--gray-300);
}
.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}
.btn.full { width: 100%; }
.btn.big { padding: 18px 36px; font-size: 17px; }

/* --------- HERO PRODUIT (e-commerce style) --------- */
.hero-product {
    padding: 28px 0 24px;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
    min-height: calc(100vh - 135px);
    min-height: calc(100dvh - 135px);
    display: flex;
    align-items: flex-start;
}
.hero-product > .container { width: 100%; }

.product-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ---- Galerie produit ---- */
.product-gallery {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 10px;
    align-items: start;
}
.gallery-thumbs { grid-column: 1; grid-row: 1; }
.gallery-main { grid-column: 2; grid-row: 1; }
.gallery-main {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    aspect-ratio: 3 / 4;
    max-height: calc(100vh - 110px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}
.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    background: var(--white);
}
.gallery-badge {
    position: absolute;
    z-index: 2;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}
.gallery-badge-discount {
    top: 18px;
    left: 18px;
    background: var(--primary);
    color: var(--white);
}
.gallery-badge-stock {
    top: 18px;
    right: 18px;
    background: var(--green);
    color: var(--white);
}

.gallery-placeholder {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff7f0 0%, #f0f8ff 100%);
    padding: 30px;
}
.placeholder-note {
    margin-top: 24px;
    font-size: 12px;
    color: var(--gray-500);
    text-align: center;
}
.placeholder-note code {
    background: var(--white);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--gray-300);
    font-size: 11px;
}

/* CSS illustration de chauffe-eau (fallback) */
.ce-illustration {
    width: 160px;
    position: relative;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.12));
}
.ce-top {
    width: 60%;
    height: 14px;
    background: linear-gradient(180deg, #c8c8d0 0%, #a8a8b0 100%);
    border-radius: 6px 6px 0 0;
    margin: 0 auto;
}
.ce-body {
    background: linear-gradient(180deg, #ffffff 0%, #e8e8ee 100%);
    height: 240px;
    border-radius: 12px;
    border: 1px solid var(--gray-300);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.ce-label {
    background: var(--dark);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.ce-display {
    background: var(--primary);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 22px;
}
.ce-knob {
    width: 28px;
    height: 28px;
    background: radial-gradient(circle, #888 30%, #444 70%);
    border-radius: 50%;
    border: 2px solid #ccc;
}
.ce-bottom {
    width: 70%;
    height: 24px;
    background: linear-gradient(180deg, #a8a8b0 0%, #888890 100%);
    border-radius: 0 0 8px 8px;
    margin: 0 auto;
    position: relative;
}
.ce-pipe {
    position: absolute;
    bottom: -20px;
    width: 10px;
    height: 24px;
    background: linear-gradient(180deg, #999 0%, #666 100%);
    border-radius: 3px;
}
.ce-pipe-1 { left: 25%; }
.ce-pipe-2 { right: 25%; }

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.thumb {
    background: repeating-linear-gradient(
        45deg,
        #f8f9fc,
        #f8f9fc 6px,
        #f0f2f7 6px,
        #f0f2f7 12px
    );
    border: 1.5px dashed var(--gray-300);
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
    padding: 4px;
    font-family: inherit;
}
.thumb:hover {
    border-color: var(--primary);
    border-style: solid;
    transform: translateY(-2px);
}
.thumb.active {
    border-color: var(--primary);
    border-style: solid;
    background: var(--primary-light);
}
.thumb-icon { font-size: 20px; opacity: 0.6; }
.thumb-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.thumb.active .thumb-icon { opacity: 1; }
.thumb.active .thumb-label { color: var(--primary); }

/* ---- Colonne droite ---- */
.product-info-col { padding-top: 0; }

.product-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.meta-stars {
    color: var(--yellow);
    font-size: 15px;
    letter-spacing: 2px;
}
.meta-reviews { font-size: 12px; color: var(--gray-700); }

.product-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    color: var(--dark);
}
.brand-strong {
    color: var(--primary);
    letter-spacing: 0.01em;
}
.product-subtitle {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    margin-top: 4px;
}

.product-trust {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.product-trust span {
    background: var(--gray-100);
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-900);
}

.product-price-block {
    background: var(--primary-light);
    border: 1px solid rgba(255, 105, 0, 0.2);
    border-radius: var(--radius);
    margin-bottom: 14px;
    overflow: hidden;
}
.price-top {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.price-old { font-size: 12px; color: var(--gray-500); }
.price-old s { color: var(--gray-500); }
.price-tag {
    background: var(--primary);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}
.price-current {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.price-current #current-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.02em;
}
.price-eur {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.price-ttc {
    font-size: 11px;
    color: var(--gray-700);
    margin-left: 4px;
    line-height: 1.3;
}
.price-times {
    background: var(--dark);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
    letter-spacing: 0.02em;
    align-self: center;
}
.price-times[hidden] { display: none; }
.price-note {
    font-size: 11px;
    color: var(--gray-700);
    flex-basis: 100%;
    margin: 0;
}
.price-ht {
    flex-basis: 100%;
    margin: 0;
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 500;
}
.price-ht #current-price-ht { font-weight: 700; color: var(--gray-700); }

/* ---- Widget Alma (paiement en N fois) ---- */
.alma-block {
    padding: 8px 12px;
    background: var(--gray-100);
    border-radius: 10px;
    border: 1px solid var(--gray-300);
    flex: 1;
    min-width: 0;
}
.installments-inner {
    background: var(--white);
    border-top: 1px dashed rgba(255, 105, 0, 0.3);
    padding: 10px 14px 12px;
}
.alma-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.alma-prefix {
    font-size: 13px;
    color: var(--gray-900);
    font-weight: 600;
}
.alma-brand {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #ff414d;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: -0.02em;
    margin-right: 4px;
}
.alma-btn {
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    color: var(--gray-900);
    padding: 5px 11px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    letter-spacing: 0;
}
.alma-btn:hover { border-color: var(--gray-500); }
.alma-btn.active {
    border-color: #ff414d;
    color: #ff414d;
    background: #fff5f5;
}
.alma-display {
    font-size: 12px;
    color: var(--gray-700);
    margin: 0;
    font-weight: 500;
}

/* ---- Configurateur d'offre (cards toggles) ---- */
.brand-line { margin-bottom: 14px; }
.brand-atlantic {
    color: #e53935;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 18px;
    letter-spacing: -0.01em;
}
.brand-atlantic-inline {
    color: #e53935;
}

/* Tags produit (style pill moderne) */
.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 16px;
}
.ptag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.005em;
    line-height: 1;
    border: 1px solid;
    transition: transform 0.15s, box-shadow 0.15s;
}
.ptag:hover { transform: translateY(-1px); }
.ptag svg { flex-shrink: 0; }
.ptag-red {
    background: #ff3b47;
    color: var(--white);
    border-color: #ff3b47;
    padding: 6px 14px;
    font-size: 13px;
}

/* Badge classe énergie (style EU label avec flèche) */
.gallery-energy {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 2;
    background: #2c8f4f;
    color: var(--white);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 28px;
    line-height: 1;
    padding: 8px 28px 8px 14px;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
    letter-spacing: -0.02em;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.offer-card {
    width: 100%;
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 0;
    transition: border-color 0.2s, box-shadow 0.2s;
    text-align: left;
    font-family: inherit;
    color: var(--dark);
    cursor: pointer;
    display: block;
}
.offer-card:hover { border-color: var(--gray-500); }
.offer-card.active { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(40, 160, 253, 0.1); }

.offer-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.offer-product-text {
    font-size: 14px;
    color: var(--gray-900);
    font-weight: 500;
}
.offer-product-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.offer-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    white-space: nowrap;
}
.offer-chevron {
    font-size: 22px;
    color: var(--gray-500);
    font-weight: 400;
    line-height: 1;
}

.side-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 4px 0;
    flex-wrap: wrap;
    gap: 8px;
}
.side-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--secondary-dark);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(31, 139, 224, 0.4);
    text-underline-offset: 3px;
}
.side-link-info {
    background: #e8eef7;
    color: var(--secondary-dark);
    padding: 6px 10px;
    border-radius: 999px;
    text-decoration: none;
}
.side-link:hover { color: var(--secondary); }

.card-separator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 12px 0;
    position: relative;
}
.card-separator::before,
.card-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--gray-300);
}
.card-separator span {
    background: var(--dark);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    margin: 0 12px;
}

.offer-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.offer-toggle {
    flex-shrink: 0;
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.offer-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.toggle-track {
    width: 38px;
    height: 22px;
    background: var(--gray-300);
    border-radius: 999px;
    display: block;
    position: relative;
    transition: background 0.25s;
}
.toggle-thumb {
    width: 18px;
    height: 18px;
    background: var(--white);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.25s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.offer-toggle input:checked + .toggle-track {
    background: var(--secondary);
}
.offer-toggle input:checked + .toggle-track .toggle-thumb {
    transform: translateX(16px);
}
.toggle-track.delivery {
    background: #f5b5b5;
}
.offer-toggle input:checked + .toggle-track.delivery {
    background: var(--secondary);
}

.offer-info { flex: 1; min-width: 0; }
.offer-info strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}
.offer-info small {
    display: block;
    font-size: 12px;
    color: var(--secondary);
    font-weight: 600;
    margin-top: 2px;
}

.benefits-box {
    background: #e8f4ea;
    border: 1px solid #c4e0c9;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 10px;
}
.benefits-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.benefits-box li {
    font-size: 12px;
    color: #2e7d3a;
    line-height: 1.4;
    padding: 3px 0 3px 20px;
    position: relative;
}
.benefits-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 3px;
    color: #2e7d3a;
    font-weight: 800;
}

.card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.footer-link {
    font-size: 12px;
    color: var(--secondary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer-buttons {
    display: flex;
    gap: 6px;
}
.micro-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--white);
    border: 1.5px solid var(--secondary);
    color: var(--secondary);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}
.micro-btn:hover { background: #e8eef7; }

.or-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0;
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
}
.or-separator::before,
.or-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--gray-300);
    margin: 0 12px;
}

.total-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-300);
    flex-wrap: wrap;
}
.total-left {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    flex-shrink: 0;
}
#total-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
}
.total-detail {
    font-size: 12px;
    color: var(--secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-top: 2px;
}
.cta-start {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1aa051;
    color: var(--white);
    border: 0;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 8px 20px rgba(26, 160, 81, 0.3);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cta-start-full {
    width: 100%;
    margin-top: 12px;
    padding: 16px 22px;
    font-size: 16px;
}
.total-bar-only { padding-bottom: 0; border-top-width: 1px; }

.step-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.step-actions .cta-start { flex: 1; }
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    color: var(--gray-700);
    border: 1.5px solid var(--gray-300);
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.btn-back:hover {
    border-color: var(--gray-500);
    color: var(--dark);
    background: var(--gray-100);
}
.cta-start:hover {
    background: #168944;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(26, 160, 81, 0.4);
}

/* Étape 1 : code postal */
.config-step {
    animation: lead-fade 0.3s ease;
}

/* Bundle Produit + Alma (une seule section) */
.product-alma-bundle {
    position: relative;
    border: 1.5px solid var(--gray-300);
    border-radius: 12px;
    margin-bottom: 12px;
    background: var(--white);
}
.product-alma-bundle > .bundle-product { border-top-left-radius: 12px; border-top-right-radius: 12px; }
.product-alma-bundle > .bundle-alma { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }
.product-alma-bundle.picker-open > .bundle-alma,
.product-alma-bundle.picker-open > .bundle-divider {
    display: none;
}
.bundle-product {
    width: 100%;
    background: var(--white);
    border: 0;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    color: var(--dark);
    transition: background 0.15s;
}
.bundle-product:hover { background: var(--gray-100); }
.bundle-divider {
    height: 1px;
    background: var(--gray-300);
}
.bundle-alma {
    padding: 8px 12px;
    background: var(--gray-100);
}

/* Picker produit (inline scrollable) */
.product-picker {
    background: var(--white);
    border-top: 1px solid var(--gray-300);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    overflow: hidden;
    animation: lead-fade 0.2s ease;
}
.picker-head {
    padding: 10px 14px;
    font-weight: 800;
    color: var(--dark);
    font-size: 13px;
    border-bottom: 1px solid var(--gray-300);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.picker-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    color: var(--gray-900);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    flex-shrink: 0;
}
.picker-close:hover {
    background: var(--white);
    border-color: var(--gray-500);
    color: var(--dark);
}
.picker-scroll {
    max-height: 320px;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.picker-group {
    border-bottom: 1px solid var(--gray-300);
}
.picker-group:last-child { border-bottom: 0; }
.picker-group-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #eef4fb;
    font-size: 13px;
    color: var(--gray-900);
}
.picker-avatar {
    font-size: 20px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.picker-group-title { flex: 1; }
.picker-group-title strong { color: #d6202b; font-weight: 700; }
.picker-cap {
    background: var(--dark);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.picker-item {
    width: 100%;
    background: var(--white);
    border: 0;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    color: var(--gray-900);
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.15s;
}
.picker-item:last-child { border-bottom: 0; }
.picker-item:hover { background: #f9fafd; }
.picker-item.current {
    background: #fff8f2;
}
.picker-item.current .picker-name { color: var(--primary); font-weight: 700; }
.picker-thumb {
    font-size: 22px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 6px;
    flex-shrink: 0;
}
.picker-name {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
}
.picker-price {
    font-weight: 800;
    font-size: 13px;
    color: var(--dark);
    white-space: nowrap;
}
.picker-arrow {
    color: var(--gray-500);
    font-size: 18px;
    line-height: 1;
}

.offer-chevron {
    transition: transform 0.2s;
}
.offer-chevron.open { transform: rotate(90deg); }
@keyframes lead-fade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.alma-block-full {
    width: 100%;
    margin-bottom: 12px;
}
.zip-field {
    display: block;
    margin-bottom: 12px;
}
.zip-field > span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}
.zip-field input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-300);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background: var(--white);
    letter-spacing: 0.1em;
    font-weight: 600;
}
.zip-field input:focus {
    outline: 0;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(40, 160, 253, 0.15);
}
.zip-feedback {
    margin: 8px 0 0;
    font-size: 13px;
    text-align: center;
    min-height: 18px;
    font-weight: 600;
}
.zip-feedback.ok { color: #1aa051; }
.zip-feedback.err { color: #d62b2b; }

/* Créneaux livraison (calendrier grille) */
.slots-block {
    margin-bottom: 14px;
    animation: lead-fade 0.3s ease;
}
.slots-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.slots-step-num {
    width: 26px;
    height: 26px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}
.slots-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.cal-title {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}
.cal-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--secondary);
    color: var(--white);
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
}
.cal-nav-btn:hover { background: var(--secondary-dark); }
.cal-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #cfdcef;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
}
.cal-head-cell {
    text-align: center;
    padding: 8px 2px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
    border-bottom: 1px solid var(--gray-300);
    line-height: 1.2;
}
.cal-cell {
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    border-radius: 8px;
    padding: 6px 4px;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    font-size: 11px;
    color: var(--dark);
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 46px;
}
.cal-cell:hover { border-color: var(--secondary); transform: translateY(-1px); }
.cal-cell.active {
    border-color: var(--primary);
    background: var(--primary-light);
}
.cal-cell.empty {
    border: 0;
    cursor: default;
    color: var(--gray-500);
    background: transparent;
}
.cal-cell.empty:hover { transform: none; }
.cal-cell-time {
    font-weight: 700;
    font-size: 12px;
}
.cal-cell-price {
    font-size: 11px;
    font-weight: 700;
    color: #1aa051;
}
.cal-cell[data-tier="urgent"] .cal-cell-price { color: var(--primary); }
.cal-cell[data-tier="fast"] .cal-cell-price { color: var(--secondary); }

/* ---- Tunnel RDV ---- */
.rdv-tunnel {
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.tunnel-progress {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}
.progress-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    white-space: nowrap;
    transition: color 0.3s;
}
.progress-step span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gray-300);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    transition: background 0.3s;
}
.progress-step.active { color: var(--dark); }
.progress-step.active span { background: var(--primary); }
.progress-step.done span { background: var(--green); }
.progress-step.done span::before { content: "✓"; font-size: 14px; }
.progress-step.done span { font-size: 0; }
.progress-line {
    flex: 1;
    height: 2px;
    background: var(--gray-300);
    border-radius: 2px;
    transition: background 0.3s;
}
.progress-line.done { background: var(--green); }

.tunnel-step { display: none; }
.tunnel-step.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.tunnel-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}
.tunnel-sub {
    color: var(--gray-700);
    font-size: 12px;
    margin-bottom: 12px;
}

/* Étape 1 — capacité */
.capacity-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
.capacity-card {
    display: block;
    cursor: pointer;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 8px 12px;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}
.capacity-card:hover { border-color: var(--primary); }
.capacity-card input { position: absolute; opacity: 0; pointer-events: none; }
.capacity-card.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}
.capacity-content { display: flex; flex-direction: column; gap: 2px; }
.capacity-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.capacity-head strong { font-weight: 700; }
.capacity-price { color: var(--primary); font-weight: 800; font-size: 15px; }
.capacity-content p { font-size: 11px; color: var(--gray-700); }
.popular {
    background: var(--primary);
    color: var(--white);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 4px;
}

/* Étape 2 — créneaux */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}
.slot-card {
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 8px 4px;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
    font-family: inherit;
}
.slot-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.slot-card.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}
.slot-day {
    display: block;
    font-size: 10px;
    color: var(--gray-700);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.slot-date {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
    margin: 1px 0;
}
.slot-time {
    display: block;
    font-size: 10px;
    color: var(--gray-700);
}
.slot-card.urgent .slot-day { color: var(--primary); }

/* Étape 3 — coordonnées */
#rdv-form { display: flex; flex-direction: column; gap: 8px; }
#rdv-form label {
    display: block;
    margin: 0;
}
#rdv-form label span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--gray-900);
}
#rdv-form input {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    border: 1.5px solid var(--gray-300);
    border-radius: 6px;
    background: var(--white);
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: var(--dark);
}
#rdv-form input:focus {
    outline: 0;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 105, 0, 0.15);
}
#rdv-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.rdv-summary {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 8px 12px;
    font-size: 12px;
    margin: 2px 0;
}
.rdv-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
}
.rdv-summary-row strong { color: var(--primary); }

.tunnel-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.tunnel-actions .btn { flex: 1; padding: 10px 16px; font-size: 14px; }
.tunnel-actions .tunnel-prev { flex: 0 0 auto; padding: 10px 14px; }

.rdv-tunnel .btn.big {
    padding: 12px 20px;
    font-size: 15px;
}
.rdv-tunnel .tunnel-next.full,
.rdv-tunnel .tunnel-step > .btn.full {
    padding: 12px 18px;
    font-size: 14px;
}

.form-foot {
    text-align: center;
    font-size: 10px;
    color: var(--gray-500);
    margin-top: 2px;
}
.form-feedback {
    margin-top: 2px;
    font-size: 12px;
    text-align: center;
    min-height: 16px;
    font-weight: 600;
}
.form-feedback.ok { color: var(--green); }
.form-feedback.err { color: #d62b2b; }

/* Étape 4 — succès */
.tunnel-success { text-align: center; padding: 12px 0; }
.success-icon {
    font-size: 64px;
    margin-bottom: 12px;
}
.success-recap {
    background: var(--primary-light);
    border-radius: var(--radius);
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}
.success-recap-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 105, 0, 0.2);
    font-size: 14px;
}
.success-recap-row:last-child { border-bottom: 0; }
.success-recap-row strong { color: var(--primary); }

/* ---- Réassurance ---- */
.product-reassure {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.product-reassure > div {
    font-size: 11px;
    color: var(--gray-700);
    line-height: 1.3;
}
.product-reassure strong {
    color: var(--dark);
    font-size: 11px;
}

/* --------- SECTIONS --------- */
section { padding: 90px 0; }
.section-title {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 14px;
    letter-spacing: -0.025em;
    line-height: 1.15;
}
.section-title.left { text-align: left; }
.section-sub {
    text-align: center;
    color: var(--gray-700);
    font-size: 18px;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --------- ÉTAPES --------- */
.etapes { background: var(--gray-100); }
.etapes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
}
.etape {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.etape:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.etape-num {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-orange);
}
.etape h3 { font-size: 20px; margin-bottom: 12px; }
.etape p { color: var(--gray-700); font-size: 15px; margin-bottom: 20px; }
.etape-time {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

/* --------- USP BANNER --------- */
.usp-banner {
    background: var(--gray-100);
    color: var(--dark);
    padding: 22px 0;
    border-top: 1px solid var(--gray-300);
    border-bottom: 1px solid var(--gray-300);
}
.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.usp-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 22px;
    border-right: 1px solid var(--gray-300);
}
.usp-item:last-child { border-right: 0; }
.usp-item:first-child { padding-left: 0; }
.usp-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    color: var(--primary);
}
.usp-icon svg {
    width: 24px;
    height: 24px;
}
.usp-text {
    font-size: 13px;
    line-height: 1.35;
    color: var(--gray-700);
}
.usp-text strong {
    color: var(--dark);
    font-weight: 700;
}

/* --------- DESCRIPTION & SPECS --------- */
.product-desc {
    background: var(--gray-100);
    padding: 32px 0;
}
.desc-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--gray-300);
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.desc-tab {
    background: none;
    border: 0;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-500);
    cursor: pointer;
    font-family: inherit;
    position: relative;
    transition: color 0.2s;
    margin-bottom: -2px;
}
.desc-tab:hover { color: var(--dark); }
.desc-tab.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
    padding-bottom: 10px;
}
.desc-panel {
    display: none;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
}
.desc-panel.active { display: block; }
.desc-panel h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.desc-panel p {
    color: var(--gray-700);
    font-size: 15px;
    margin-bottom: 14px;
    line-height: 1.65;
}
.desc-panel p strong { color: var(--dark); }
.desc-points {
    list-style: none;
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}
.desc-points li {
    font-size: 14px;
    color: var(--gray-700);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}
.specs-table tr {
    border-bottom: 1px solid var(--gray-300);
}
.specs-table tr:last-child { border-bottom: 0; }
.specs-table tr:nth-child(odd) { background: var(--gray-100); }
.specs-table th, .specs-table td {
    padding: 10px 14px;
    font-size: 14px;
    text-align: left;
}
.specs-table th {
    color: var(--gray-700);
    font-weight: 600;
    width: 40%;
    background: transparent;
}
.specs-table td {
    color: var(--dark);
    font-weight: 600;
}
.desc-note {
    margin-top: 18px;
    padding: 12px 16px;
    background: var(--primary-light);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--gray-900);
}

/* --------- OFFRE / PACKS --------- */
.offre {
    background: var(--white);
    padding: 24px 0;
}
.offre .section-title { font-size: 20px; margin-bottom: 4px; }
.offre .section-sub { font-size: 12px; margin-bottom: 16px; }
.packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.pack {
    position: relative;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.pack:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.pack.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, #fff8f2 0%, #fff 100%);
    transform: scale(1.04);
    box-shadow: var(--shadow);
}
.pack.featured:hover { transform: scale(1.04) translateY(-6px); }
.pack-ribbon {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 7px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow-orange);
    white-space: nowrap;
}
.pack-head { margin-bottom: 22px; }
.pack-head h3 { font-size: 24px; margin-bottom: 6px; }
.pack-baseline { color: var(--gray-500); font-size: 14px; }
.pack-price {
    text-align: center;
    padding: 18px 0;
    border-top: 1px solid var(--gray-300);
    border-bottom: 1px solid var(--gray-300);
    margin-bottom: 24px;
}
.pack-price .from {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.pack-price .amount {
    display: block;
    font-size: 44px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}
.pack-price .ttc {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
}
.pack-features {
    flex: 1;
    margin-bottom: 28px;
}
.pack-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--gray-700);
    border-bottom: 1px dashed var(--gray-300);
    position: relative;
    padding-left: 26px;
}
.pack-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
    font-size: 16px;
}
.pack-features li:last-child { border-bottom: 0; }
.pack-features li strong { color: var(--dark); }
.offre-note {
    text-align: center;
    margin-top: 10px;
    color: var(--gray-700);
    font-size: 11px;
}

/* --------- PRODUCT CARDS (top 3) --------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.product-card {
    position: relative;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.product-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, #fff8f2 0%, #fff 100%);
    transform: scale(1.04);
    box-shadow: var(--shadow);
}
.product-card.featured:hover { transform: scale(1.04) translateY(-6px); }

.product-card-ribbon {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--shadow-orange);
    white-space: nowrap;
}

.product-card-image {
    position: relative;
    background: var(--gray-100);
    aspect-ratio: 5 / 2;
    border-bottom: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-card.featured .product-card-image { background: var(--white); }
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}
.product-card-placeholder {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        #f8f9fc,
        #f8f9fc 8px,
        #f0f2f7 8px,
        #f0f2f7 16px
    );
    color: var(--gray-500);
}
.placeholder-icon { font-size: 38px; opacity: 0.5; }
.product-card-placeholder small { font-size: 12px; font-weight: 600; }

.product-brand-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    background: var(--dark);
    color: var(--white);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-card-body {
    padding: 8px 10px 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
    flex-wrap: wrap;
}
.product-card-meta .meta-stars {
    color: var(--yellow);
    font-size: 11px;
    letter-spacing: 0.5px;
}
.meta-count { font-size: 9px; color: var(--gray-500); font-weight: 600; }

.product-card-title {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 1px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.product-card-sub {
    color: var(--gray-700);
    font-size: 10px;
    margin-bottom: 6px;
    line-height: 1.3;
}

.product-card-specs {
    list-style: none;
    margin-bottom: 6px;
    padding: 0;
}
.product-card-specs li {
    padding: 2px 0;
    font-size: 10px;
    color: var(--gray-700);
    border-bottom: 1px dashed var(--gray-300);
    line-height: 1.3;
}
.product-card-specs li:last-child { border-bottom: 0; }

.product-card-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
    background: var(--primary-light);
    padding: 5px 8px;
    border-radius: 6px;
    margin-bottom: 6px;
    margin-top: auto;
}
.price-from-tag {
    font-size: 11px;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}
.product-card-price strong {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.price-from-tag { font-size: 9px; }
.price-ttc-tag { font-size: 9px; }
.offre .btn { padding: 7px 12px; font-size: 12px; }
.products-grid { gap: 12px; }
.product-card-ribbon {
    top: 8px;
    padding: 3px 10px;
    font-size: 10px;
}
.price-ttc-tag {
    font-size: 11px;
    color: var(--gray-500);
    margin-left: auto;
}

/* --------- FORMULAIRE LEAD --------- */
.form-section {
    background: linear-gradient(135deg, var(--dark) 0%, #2a2a2a 100%);
    color: var(--white);
}
.form-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
}
.form-left h2 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.form-left > p {
    font-size: 18px;
    color: #c8c8d0;
    margin-bottom: 28px;
}
.form-bullets li {
    padding: 8px 0;
    font-size: 16px;
    color: #e0e0e8;
}
.form-rating {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.form-rating .stars {
    color: var(--yellow);
    font-size: 22px;
    letter-spacing: 2px;
}

.form {
    background: var(--white);
    color: var(--dark);
    padding: 36px 34px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.form-title {
    font-size: 22px;
    margin-bottom: 24px;
    text-align: center;
}
.form label {
    display: block;
    margin-bottom: 16px;
}
.form label span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--gray-900);
}
.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 13px 14px;
    font-size: 15px;
    border: 1.5px solid var(--gray-300);
    border-radius: 8px;
    background: var(--white);
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: var(--dark);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: 0;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 105, 0, 0.15);
}
.form-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 14px;
}
.form-foot {
    text-align: center;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 14px;
}
.form-feedback {
    margin-top: 14px;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
    font-weight: 600;
}
.form-feedback.ok { color: var(--green); }
.form-feedback.err { color: #d62b2b; }

/* --------- WHY --------- */
.why { background: var(--gray-100); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.why-card {
    background: var(--white);
    padding: 32px 26px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.why-icon { font-size: 44px; margin-bottom: 14px; }
.why-card h3 { font-size: 18px; margin-bottom: 10px; }
.why-card p { color: var(--gray-700); font-size: 14px; }

/* --------- AVIS --------- */
.avis { background: var(--white); }
.avis-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}
.avis-head .section-title {
    text-align: left;
    margin-bottom: 0;
}
.avis-score {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--gray-100);
    padding: 14px 22px;
    border-radius: var(--radius);
}
.big-stars {
    color: var(--yellow);
    font-size: 24px;
    letter-spacing: 3px;
}
.avis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.avis-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.avis-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.avis-card .stars {
    color: var(--yellow);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.avis-card p {
    color: var(--gray-700);
    font-size: 14px;
    font-style: italic;
    margin-bottom: 14px;
    line-height: 1.6;
}
.avis-author { font-weight: 700; font-size: 13px; color: var(--dark); }

/* --------- URGENCE (banner color) --------- */
.emergency {
    background: var(--primary);
    padding: 60px 0;
}
.emergency-inner {
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 40px;
    align-items: center;
}
.emergency-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--white);
    margin-bottom: 12px;
}
.emergency-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
    margin: 0;
}
.emergency-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.emergency-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--primary);
    padding: 22px 36px;
    border-radius: 999px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.emergency-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

/* --------- ZONE (legacy, conservé pour compat) --------- */
.zone { background: var(--gray-100); }
.zone-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}
.zone-inner > div > p {
    color: var(--gray-700);
    margin-bottom: 24px;
    font-size: 17px;
}
.zone-inner p strong { color: var(--dark); }
.zone-dpts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 28px 0;
}
.zone-dpts span {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-900);
    border: 1px solid var(--gray-300);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.zone-dpts span:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.zone-note { font-style: italic; }

.zone-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 42px 32px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.zone-emoji { font-size: 56px; margin-bottom: 14px; }
.zone-card h3 { font-size: 22px; margin-bottom: 10px; }
.zone-card > p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 24px !important;
}
.zone-card .btn { margin-bottom: 12px; }
.zone-card .btn:last-child { margin-bottom: 0; }

/* --------- FAQ --------- */
.faq { background: var(--white); }
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-list details {
    background: var(--gray-100);
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--gray-300);
    transition: border-color 0.2s;
}
.faq-list details[open] {
    border-color: var(--primary);
    background: var(--primary-light);
}
.faq-list summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    list-style: none;
    position: relative;
    padding-right: 50px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.2s;
}
.faq-list details[open] summary::after {
    content: "−";
}
.faq-list p {
    padding: 0 24px 22px;
    color: var(--gray-700);
    font-size: 15px;
}

/* --------- FINAL CTA --------- */
.final-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 70px 0;
    text-align: center;
}
.final-cta h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.final-cta > .container > p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}
.final-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --------- FOOTER --------- */
.footer {
    background: var(--dark);
    color: #c8c8d0;
    padding: 60px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-logo { color: var(--white); margin-bottom: 16px; }
.footer p { font-size: 14px; }
.footer h4 { color: var(--white); margin-bottom: 14px; font-size: 16px; }
.footer ul li { padding: 5px 0; font-size: 14px; }
.footer ul a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 24px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 12px;
}

/* --------- STICKY MOBILE --------- */
.sticky-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px;
    gap: 10px;
}
.sticky-call, .sticky-form {
    flex: 1;
    padding: 14px;
    text-align: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
}
.sticky-call {
    background: var(--dark);
    color: var(--white);
}
.sticky-form {
    background: var(--primary);
    color: var(--white);
}

/* --------- RESPONSIVE --------- */
@media (max-width: 980px) {
    .topbar-inner { gap: 16px; font-size: 11px; }
    .nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 24px;
        border-bottom: 1px solid var(--gray-300);
        gap: 14px;
        box-shadow: var(--shadow);
    }
    .nav.open { display: flex; }
    .burger { display: flex; }
    .header-phone .phone-number { display: none; }
    .header-phone { padding: 10px 14px; }
    .header-info { display: none; }
    .header-rating { display: none; }

    .hero-inner,
    .zone-inner,
    .form-inner,
    .footer-inner,
    .product-layout,
    .emergency-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .emergency { padding: 40px 0; }
    .emergency-inner {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 24px;
    }
    .emergency-title { font-size: 28px; }
    .emergency-right { justify-content: flex-start; }
    .emergency-phone { font-size: 18px; padding: 18px 28px; }
    .hero { padding: 50px 0 60px; }
    .hero h1 { font-size: 38px; }
    .hero-desc { font-size: 16px; }

    .hero-product {
        padding: 16px 0 50px;
        min-height: 0;
        display: block;
    }
    .product-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .gallery-thumbs { grid-column: 1; grid-row: 2; flex-direction: row; }
    .gallery-main { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; max-height: none; }
    .thumb { aspect-ratio: 1 / 1; max-height: 80px; }
    .product-title { font-size: 26px; }
    .price-current #current-price { font-size: 44px; }
    .price-eur { font-size: 26px; }
    .rdv-tunnel { padding: 22px; }
    .tunnel-progress { gap: 4px; }
    .progress-step { font-size: 11px; }
    .progress-step span { width: 24px; height: 24px; font-size: 12px; }
    .slots-grid { grid-template-columns: repeat(2, 1fr); }
    #rdv-form .form-row { grid-template-columns: 1fr; }
    .product-reassure { grid-template-columns: 1fr; gap: 8px; }

    section { padding: 60px 0; }
    .section-title { font-size: 30px; }
    .section-sub { font-size: 16px; margin-bottom: 40px; }

    .etapes-grid,
    .packs-grid,
    .products-grid,
    .why-grid,
    .avis-grid,
    .desc-points,
    .usp-grid {
        grid-template-columns: 1fr;
    }
    .usp-item {
        border-right: 0;
        border-bottom: 1px solid var(--gray-300);
        padding: 12px 0;
    }
    .usp-item:last-child { border-bottom: 0; }
    .usp-item:first-child { padding-top: 0; }
    .desc-panel { padding: 20px 18px; }
    .specs-table th, .specs-table td { font-size: 13px; padding: 8px 10px; }
    .pack.featured { transform: none; }
    .pack.featured:hover { transform: translateY(-6px); }
    .product-card.featured { transform: none; }
    .product-card.featured:hover { transform: translateY(-6px); }

    .form-left h2 { font-size: 28px; }
    .form-row { grid-template-columns: 1fr; }

    .avis-head { flex-direction: column; align-items: flex-start; }

    .zone-dpts { grid-template-columns: 1fr; }

    .final-cta h2 { font-size: 28px; }

    body { padding-bottom: 80px; }
    .sticky-mobile { display: flex; }
}

@media (max-width: 600px) {
    .topbar { display: none; }
    .hero h1 { font-size: 32px; }
    .section-title { font-size: 26px; }
    .hero-trust { gap: 20px; }
    .trust-item { flex: 1; min-width: 130px; }
}


/* ============================================================
   Compléments fiche produit (catalogue dynamique, logo G, nav)
   ============================================================ */
:root { --font-logo: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.logo { gap: 0; }
.logo .wm { position: relative; display: inline-block; font-family: var(--font-logo); font-weight: 900; font-size: 36px; letter-spacing: -0.04em; color: var(--dark); line-height: 1; padding-top: 0.04em; }
.logo .wm strong { color: var(--primary); font-weight: 900; }
.logo .wm .i { position: relative; display: inline-block; }
.logo .wm .i::before { content: ""; position: absolute; width: 0.2em; height: 0.2em; border-radius: 50%; background: #FF6900; left: calc(50% + 0.02em); margin-left: -0.1em; top: 0.09em; }
.footer-logo .wm { color: var(--white); }
.nav { display: flex; gap: 22px; margin-left: 28px; }
.nav a { font-size: 14.5px; font-weight: 600; color: var(--gray-700); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--primary); }
.header-rating { margin-left: auto; }
.burger { display: none; }

/* Galerie : image du catalogue (marge blanche autour des photos) */
.gallery-main img.gallery-image { width: 100%; height: 100%; object-fit: contain; display: block; padding: 36px; box-sizing: border-box; background: #fff; }
.gallery-thumbs[hidden] { display: none; }
.thumb.thumb-img { background: #fff; border: 1.5px solid var(--gray-300); padding: 6px; overflow: hidden; }
.thumb.thumb-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.thumb.thumb-img.active { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-light); }

/* Sélecteur de modèles : vignettes images */
.picker-thumb img { width: 36px; height: 36px; object-fit: contain; display: block; padding: 3px; box-sizing: border-box; background: #fff; }

/* Options (accessoires) */
.offer-card + .offer-card { margin-top: 10px; }
.offer-card small.offer-desc { display: block; color: var(--gray-500); font-size: 12.5px; margin-top: 2px; }
.options-title { font-size: 13px; font-weight: 700; color: var(--gray-900); margin: 14px 0 8px; }

/* Étape 2 : récapitulatif + coordonnées */
.recap-box { background: var(--white); border: 1.5px solid var(--gray-300); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.recap-box .recap-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; border-bottom: 1px dashed var(--gray-300); }
.recap-box .recap-row:last-child { border-bottom: 0; }
.recap-box .recap-row.total { font-weight: 800; font-size: 17px; padding-top: 10px; }
.recap-box .recap-row.total span:last-child { color: var(--primary); }
.recap-box .recap-row .muted { color: var(--gray-500); font-size: 12.5px; }
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid2 .zip-field { margin-bottom: 0; }
.form-grid2 .full { grid-column: 1 / -1; }
.zip-field input, .zip-field textarea { letter-spacing: normal; font-weight: 500; }
.zip-field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-300); border-radius: 8px; font-size: 15px; font-family: inherit; background: var(--white); min-height: 70px; resize: vertical; }
.zip-field textarea:focus { outline: 0; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(40, 160, 253, 0.15); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.order-success { text-align: center; padding: 28px 18px; background: #eefaf3; border: 1.5px solid #bfe8cf; border-radius: 12px; animation: lead-fade 0.3s ease; }
.order-success .ok-icon { width: 56px; height: 56px; border-radius: 50%; background: #1aa051; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 12px; }
.order-success h3 { font-size: 20px; margin: 0 0 8px; }
.order-success p { color: var(--gray-700); font-size: 14.5px; margin: 0 0 6px; }
.order-success .ref { font-size: 12.5px; color: var(--gray-500); margin-top: 10px; }
.cta-start[disabled] { opacity: 0.6; cursor: wait; }

/* Top 3 : images catalogue */
.product-card-image { background: #fff; }
.product-card-image a { display: block; width: 100%; height: 100%; }
.product-card-image img { width: 100%; height: 100%; object-fit: contain; padding: 18px; box-sizing: border-box; }
.product-card .btn { text-decoration: none; }

/* Produit introuvable */
.notfound { padding: 80px 0; text-align: center; }
.notfound h1 { font-size: 30px; margin-bottom: 10px; }
.notfound p { color: var(--gray-500); margin-bottom: 20px; }

@media (max-width: 980px) {
    .nav { display: none; }
}
@media (max-width: 600px) {
    .logo .wm { font-size: 30px; }
    .form-grid2 { grid-template-columns: 1fr; }
}

/* Menu catégories (sous l'en-tête) */
.catnav { background: var(--white); border-bottom: 1px solid var(--gray-300); box-shadow: 0 2px 10px rgba(26,26,26,0.04); }
.catnav-inner { display: flex; align-items: stretch; gap: 2px; overflow-x: auto; scrollbar-width: none; min-height: 50px; }
.catnav-inner::-webkit-scrollbar { display: none; }
.catnav a { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; padding: 14px 12px; font-size: 14px; font-weight: 700; color: var(--gray-900); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
.catnav a:hover { color: var(--primary); }
.catnav a.on { color: var(--primary); border-bottom-color: var(--primary); }
@media (max-width: 600px) { .catnav a { padding: 12px 12px; font-size: 13.5px; } }

/* --------- SEO : fil d'Ariane, titre de description, produits liés --------- */
.breadcrumb-bar { background: var(--white); border-bottom: 1px solid var(--gray-200); }
.breadcrumb { font-size: 13px; color: var(--gray-500); padding: 10px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--primary); }
.desc-panel h2 { font-size: 20px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.01em; }
.desc-more { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.desc-more h3 { font-size: 16px; margin-bottom: 10px; }
.desc-more ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; margin-bottom: 12px; }
.desc-more li { font-size: 14px; color: var(--gray-700); display: flex; justify-content: space-between; gap: 10px; }
.desc-more li a:hover { color: var(--primary); }
.desc-more li span { color: var(--gray-500); white-space: nowrap; }
.desc-more p a { color: var(--primary); font-weight: 700; }
@media (max-width: 600px) { .desc-more ul { grid-template-columns: 1fr; } }

/* Contenu rédactionnel SEO (admin/data/seo-products) */
.desc-lead { font-size: 17px; font-weight: 600; color: var(--dark); line-height: 1.6; margin-bottom: 18px; }
#desc-body h3 { font-size: 17px; font-weight: 800; color: var(--dark); margin: 22px 0 8px; letter-spacing: -0.01em; }
#desc-body h3:first-child { margin-top: 0; }
.desc-list { list-style: disc outside; margin: 0 0 14px; padding-left: 22px; color: var(--gray-700); font-size: 15px; line-height: 1.6; }
.desc-list li::marker { color: var(--primary); }
.desc-list li { margin-bottom: 4px; }
.desc-faq { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.desc-faq h3 { font-size: 16px; margin-bottom: 10px; }
.desc-faq details { border: 1px solid var(--gray-200); border-radius: 10px; padding: 0 16px; margin-bottom: 8px; background: #fff; }
.desc-faq summary { cursor: pointer; font-weight: 700; font-size: 15px; color: var(--dark); padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.desc-faq summary::-webkit-details-marker { display: none; }
.desc-faq summary::after { content: '+'; color: var(--primary); font-weight: 800; font-size: 18px; line-height: 1; flex: none; }
.desc-faq details[open] summary::after { content: '−'; }
.desc-faq details p { margin: 0 0 14px; font-size: 14px; color: var(--gray-700); line-height: 1.6; }

/* Phase 3 : blocs riches du contenu rédactionnel (figures, étapes, tableaux, encadrés, liens internes) */
#desc-body strong { color: var(--dark); font-weight: 700; }
.desc-fig { margin: 4px 0 18px; }
.desc-fig img { display: block; max-width: 100%; height: auto; }
.desc-fig--schema { background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 14px 16px 10px; }
.desc-fig--schema img { margin: 0 auto; max-height: 320px; width: auto; }
.desc-fig--photo { float: right; width: 220px; margin: 0 0 12px 22px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 8px; }
.desc-fig--photo img { aspect-ratio: 1 / 1; object-fit: contain; width: 100%; }
.desc-fig figcaption { font-size: 12.5px; color: var(--gray-500); text-align: center; margin-top: 6px; line-height: 1.4; }
#desc-body h3 { clear: both; }
.desc-steps { counter-reset: step; list-style: none; margin: 0 0 16px; padding: 0; }
.desc-steps li { counter-increment: step; position: relative; padding: 2px 0 0 40px; margin-bottom: 10px; font-size: 15px; color: var(--gray-700); line-height: 1.55; }
.desc-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.desc-table-wrap { overflow-x: auto; margin: 0 0 18px; }
.desc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.desc-table caption { caption-side: top; text-align: left; font-weight: 700; color: var(--dark); font-size: 14px; padding: 0 0 8px; }
.desc-table th, .desc-table td { border: 1px solid var(--gray-200); padding: 8px 10px; text-align: left; vertical-align: top; color: var(--gray-700); line-height: 1.45; }
.desc-table thead th { background: var(--gray-100); color: var(--dark); font-weight: 700; }
.desc-table tbody th { font-weight: 700; color: var(--dark); background: #fff; }
.desc-tip { background: var(--primary-light); border-left: 4px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; padding: 10px 14px; font-size: 14px; line-height: 1.55; color: var(--gray-900); margin: 0 0 18px; }
.desc-tip strong { display: block; color: var(--primary-dark); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }
.desc-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 18px; padding: 0; }
.desc-links-label { font-size: 13px; font-weight: 700; color: var(--gray-500); margin-right: 2px; }
.desc-links a { display: inline-block; font-size: 13px; font-weight: 600; color: var(--dark); background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 999px; padding: 5px 12px; text-decoration: none; }
.desc-links a:hover { border-color: var(--primary); color: var(--primary); }
@media (max-width: 640px) {
    .desc-fig--photo { float: none; width: 100%; max-width: 260px; margin: 0 auto 14px; }
    .desc-fig--schema { padding: 8px; }
}

/* --------- En-tête : barre de recherche + avis clients --------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hsearch { flex: 1; max-width: 560px; margin: 0 auto; display: flex; align-items: center; height: 48px; padding: 0 4px 0 0; border: 2px solid var(--gray-300); border-radius: 999px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.hsearch:hover { border-color: #c4c4d0; }
.hsearch:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255, 105, 0, .12); }
.hsearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; padding: 0 16px 0 20px; font: inherit; font-size: 15px; color: var(--dark); }
.hsearch input::placeholder { color: #8a8a96; }
.hsearch button { flex: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.hsearch button:hover { background: var(--primary-dark, #e85f00); }
.hsearch button svg { width: 18px; height: 18px; }
.hreviews { flex: none; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; text-decoration: none; line-height: 1; }
.hr-title { font-family: "Lobster", cursive; font-size: 19px; color: var(--primary); line-height: 1; }
.hr-stars { display: flex; gap: 2px; }
.hr-star { width: 19px; height: 19px; border-radius: 3px; background: linear-gradient(90deg, var(--primary) var(--f), #dcdce6 var(--f)); display: inline-flex; align-items: center; justify-content: center; }
.hr-star svg { width: 13px; height: 13px; fill: #fff; }
.hreviews:hover .hr-title { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) {
    .header-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; column-gap: 12px; }
    /* Ligne 1 : logo + téléphone (mis en avant) ; ligne 2 : recherche ; avis masqués */
    .header-phone, .header-cta { order: 2; margin-left: auto; }
    .hsearch { order: 3; flex: 1 1 100%; max-width: none; margin: 0; height: 40px; border-width: 1px; }
    .hsearch input { font-size: 14px; padding: 0 10px 0 14px; }
    .hsearch button { width: 32px; height: 32px; }
    .hsearch button svg { width: 15px; height: 15px; }
    .hreviews { display: none; }
    .header-phone { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: #fff; border-radius: 999px; padding: 6px 16px 6px 6px; box-shadow: 0 6px 16px rgba(255, 105, 0, .28); }
    .header-phone .phone-icon { width: 32px; height: 32px; background: rgba(255, 255, 255, .22); color: #fff; }
    .header-phone svg.phone-icon { width: 18px; height: 18px; background: none; }
    .header-phone .phone-number { display: inline; font-size: 17px; font-weight: 800; color: #fff; white-space: nowrap; }
    .header-phone small { display: none; }
    .header-cta .header-phone { padding: 9px 16px; }
}
@media (max-width: 420px) {
    .logo .wm { font-size: 27px; }
    .header-phone .phone-number { font-size: 15px; }
    .header-phone { padding-right: 13px; }
    .header-cta .header-phone { padding: 8px 13px; }
}

/* --------- Menu métiers (sous l'en-tête) : Plomberie / Chauffage / Serrurerie --------- */
.tradenav { background: var(--white); border-bottom: 1px solid var(--gray-300); box-shadow: 0 2px 10px rgba(26,26,26,0.04); position: relative; z-index: 90; }
.tradenav-inner { display: flex; align-items: stretch; gap: 4px; min-height: 50px; }
.tn-item { position: relative; display: flex; }
.tn-link, .tn-cat { display: inline-flex; align-items: center; gap: 6px; padding: 0 18px; font-size: 15px; font-weight: 800; color: var(--gray-900); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.tn-link svg { width: 12px; height: 12px; opacity: .6; transition: transform .2s; }
.tn-cat { margin-left: auto; font-weight: 700; font-size: 14px; color: var(--gray-700); }
.tn-link:hover, .tn-cat:hover, .tn-item.on .tn-link { color: var(--primary); }
.tn-item.on .tn-link { border-bottom-color: var(--primary); }
.tn-drop { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--white); border: 1px solid var(--gray-300); border-radius: 0 0 12px 12px; box-shadow: var(--shadow); padding: 8px; flex-direction: column; }
.tn-drop a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--gray-900); text-decoration: none; }
.tn-drop a small { font-size: 12px; font-weight: 700; color: var(--gray-500); background: var(--gray-100); border-radius: 999px; padding: 2px 8px; }
.tn-drop a:hover, .tn-drop a.on { background: var(--primary-light, #fff4eb); color: var(--primary); }
.tn-drop .tn-all { margin-top: 4px; border-top: 1px solid var(--gray-200, #eceef3); border-radius: 0 0 8px 8px; color: var(--primary); font-weight: 700; }
@media (hover: hover) {
    .tn-item:hover .tn-drop, .tn-item:focus-within .tn-drop { display: flex; }
    .tn-item:hover .tn-link svg { transform: rotate(180deg); }
}
@media (max-width: 600px) {
    .tradenav-inner { gap: 0; min-height: 46px; overflow-x: auto; scrollbar-width: none; }
    .tradenav-inner::-webkit-scrollbar { display: none; }
    .tn-link, .tn-cat { padding: 0 11px; font-size: 14px; }
    .tn-link svg { display: none; }
    .tn-cat { display: none; }
    .tn-item { flex: 1; justify-content: center; }
}
/* Pied de page : métiers en tête de groupe */
.footer-trades .ft-trade { padding-top: 10px; }
.footer-trades .ft-trade:first-child { padding-top: 0; }
.footer-trades .ft-trade a { color: var(--white); font-weight: 800; }
