/* ========================================
   Grésivaudan Informatique — Site Vitrine
   Design 2025 : épuré, chaleureux, lisible
   Palette extraite du LOGO.png
======================================== */

/* --- RESET --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #1f2731;
    background: #fbfaf8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Trame de points globale subtile */
    background-image:
        radial-gradient(circle, rgba(207, 17, 36, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #1f2731;
}

/* ========================================
   SHARED: PILLS (boutons)
======================================== */
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
    white-space: nowrap;
}

.pill-lg {
    padding: 14px 30px;
    font-size: 1rem;
}

.pill-full {
    width: 100%;
}

.pill-red {
    background: #cf1124;
    color: #fff;
    border-color: #cf1124;
}
.pill-red:hover {
    background: #b00f1f;
    border-color: #b00f1f;
    box-shadow: 0 4px 16px rgba(207, 17, 36, 0.2);
    transform: translateY(-1px);
}

.pill-outline {
    background: transparent;
    color: #1f2731;
    border-color: #d1d5db;
}
.pill-outline:hover {
    border-color: #1f2731;
    background: #f3f4f6;
}

/* ========================================
   HEADER
======================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 250, 248, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid #e8e5df;
}

.header-row {
    max-width: 1160px;
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrap {
    display: block;
    flex-shrink: 0;
}

.logo-img {
    height: 34px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links > a:not(.pill) {
    font-size: 0.95rem;
    font-weight: 500;
    color: #4b5563;
    transition: color 0.2s;
}
.nav-links > a:not(.pill):hover {
    color: #1f2731;
}

.nav-phone {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: #cf1124 !important;
    font-weight: 700 !important;
    font-size: 0.95rem;
}

/* ========================================
   HERO
======================================== */
.hero {
    padding: 70px 28px 140px;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-deco svg {
    width: 100%;
    height: 100%;
}

.hero-box {
    max-width: 720px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #cf1124;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
}

.hero-desc {
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   SECTION HEAD
======================================== */
.section-head {
    text-align: center;
    margin-bottom: 40px;
}

.section-head h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 8px;
}

.section-head p {
    font-size: 1.1rem;
    color: #6b7280;
}

/* ========================================
   ABOUT (Qui sommes-nous)
======================================== */
.about {
    padding: 50px 28px 60px;
    background: #ffffff;
    border-top: 1px solid #e8e5df;
}

.about-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.about-inner h2 {
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.about-inner p {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 14px;
}

/* ========================================
   SECTION DECORATION (shared)
======================================== */
.section-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.section-deco svg {
    width: 100%;
    height: 100%;
}

/* ========================================
   SERVICES
======================================== */
.services {
    padding: 130px 28px 60px;
    position: relative;
    overflow: hidden;
}

.services .section-head,
.services .cards-grid {
    position: relative;
    z-index: 1;
}

.cards-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.card {
    background: #ffffff;
    border: 1px solid #e8e5df;
    border-radius: 16px;
    padding: 28px 24px;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.card:hover {
    border-color: #d1cdc4;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #fef2f2;
    border-radius: 14px;
    margin-bottom: 20px;
    color: #cf1124;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.98rem;
    color: #6b7280;
    line-height: 1.65;
}

/* ========================================
   PRODUCTS (PC reconditionnés)
======================================== */
.products {
    padding: 50px 28px 60px;
    background: #ffffff;
    border-top: 1px solid #e8e5df;
}

.products-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.products-loading,
.products-error {
    grid-column: 1 / -1;
    text-align: center;
    color: #9ca3af;
    font-size: 1rem;
    padding: 40px;
}

/* --- Carte PC --- */

.product-card {
    background: #ffffff;
    border: 1px solid #e8e5df;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
    border-color: #cf1124;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* --- Image --- */

.product-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: #f3f4f6;
}

.product-icon {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

/* --- Contenu texte --- */

.product-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

/* --- Badges --- */

.product-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.product-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #fef2f2;
    color: #cf1124;
    padding: 5px 12px;
    border-radius: 100px;
    white-space: nowrap;
}

.product-badge-new {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f0fdf4;
    color: #166534;
    padding: 5px 12px;
    border-radius: 100px;
    white-space: nowrap;
}

.product-badge-warranty {
    font-size: 0.68rem;
    font-weight: 600;
    background: #f3f4f6;
    color: #374151;
    padding: 5px 12px;
    border-radius: 100px;
    white-space: nowrap;
}

/* --- Titre --- */

.product-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: #1f2731;
    text-align: center;
    line-height: 1.3;
    margin: 0;
}

.product-format {
    font-size: 0.82rem;
    color: #9ca3af;
    text-align: center;
    margin-top: -6px;
}

/* --- Specs --- */

.product-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    margin: 0;
}

.product-specs li {
    font-size: 0.9rem;
    color: #4b5563;
    padding: 7px 12px 7px 28px;
    position: relative;
    line-height: 1.4;
}

.product-specs li::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cf1124;
    opacity: 0.5;
}

/* --- Footer --- */

.product-footer {
    display: none;
}

/* --- Swiper mobile --- */

.products-swiper-instance {
    display: block;
    padding-bottom: 40px;
}
.products-swiper-instance .swiper-slide {
    height: auto;
}
.products-swiper-instance .product-card {
    height: 100%;
}
.products-pagination {
    display: none;
}
@media (max-width: 768px) {
    .products-pagination {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        text-align: center;
    }
    .products-swiper-instance .swiper-pagination-bullet {
        background: #cf1124;
        opacity: 0.3;
    }
    .products-swiper-instance .swiper-pagination-bullet-active {
        opacity: 0.8;
    }
}

/* ========================================
   ZONE D'INTERVENTION
======================================== */
.zone {
    padding: 50px 28px 60px;
    background: #fbfaf8;
    border-top: 1px solid #e8e5df;
    text-align: center;
}

.zone-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.zone-grid span {
    background: #fff;
    border: 1px solid #e8e5df;
    border-radius: 100px;
    padding: 8px 18px;
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
}

/* ========================================
   REVIEWS (Swiper)
======================================== */
.reviews {
    padding: 50px 28px 130px;
    background: #fbfaf8;
    border-top: 1px solid #e8e5df;
}

.reviews-swiper {
    max-width: 1160px;
    padding: 0 0 50px 0; /* room for pagination */
}

.review-card {
    background: #ffffff;
    border: 1px solid #e8e5df;
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.review-stars {
    color: #f59e0b;
    font-size: 1.05rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.98rem;
    color: #374151;
    line-height: 1.65;
    font-style: italic;
    flex: 1;
}

.review-author {
    font-size: 0.88rem;
    font-weight: 600;
    color: #6b7280;
}

.review-date {
    font-weight: 400;
    color: #9ca3af;
    font-size: 0.82rem;
}

.reviews-source {
    text-align: center;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #9ca3af;
}

.reviews-source a {
    color: #cf1124;
    font-weight: 500;
}
.reviews-source a:hover {
    text-decoration: underline;
}

/* Swiper overrides */
.reviews-swiper .swiper-button-prev,
.reviews-swiper .swiper-button-next {
    color: #cf1124;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.reviews-swiper .swiper-button-prev:hover,
.reviews-swiper .swiper-button-next:hover {
    opacity: 1;
}
.reviews-swiper .swiper-button-prev::after,
.reviews-swiper .swiper-button-next::after {
    font-size: 1.4rem;
    font-weight: 700;
}

.reviews-swiper .swiper-pagination-bullet {
    background: #cf1124;
    opacity: 0.3;
}
.reviews-swiper .swiper-pagination-bullet-active {
    opacity: 0.8;
}

/* ========================================
   CONTACT
======================================== */
.contact {
    padding: 130px 28px 60px;
    background: #ffffff;
    border-top: 1px solid #e8e5df;
    position: relative;
    overflow: hidden;
}

.contact .section-head,
.contact-layout {
    position: relative;
    z-index: 1;
}

.contact-layout {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

/* Détails */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px;
    background: #fbfaf8;
    border-radius: 14px;
    border: 1px solid #e8e5df;
}

.detail-card svg {
    flex-shrink: 0;
    color: #cf1124;
    margin-top: 1px;
}

.detail-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 1.05rem;
    color: #1f2731;
    line-height: 1.5;
}

.detail-value a {
    color: #cf1124;
    font-weight: 600;
}
.detail-value a:hover {
    text-decoration: underline;
}

/* Carte */
.map-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e8e5df;
}

.map-link {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #cf1124;
    background: #fbfaf8;
}
.map-link:hover {
    background: #fef2f2;
}

/* Formulaire */
.form-card {
    background: #fbfaf8;
    border: 1px solid #e8e5df;
    border-radius: 16px;
    padding: 30px;
}

.form-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.field {
    display: block;
    margin-bottom: 16px;
}

.field span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.field span em {
    font-weight: 400;
    color: #9ca3af;
    font-style: normal;
}

.field input,
.field textarea {
    width: 100%;
    padding: 13px 16px;
    font-family: inherit;
    font-size: 1rem;
    color: #1f2731;
    background: #ffffff;
    border: 1px solid #d1cdc4;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus {
    border-color: #cf1124;
    box-shadow: 0 0 0 3px rgba(207, 17, 36, 0.08);
}

.field input::placeholder,
.field textarea::placeholder {
    color: #b0aca5;
}

.field textarea {
    resize: vertical;
    min-height: 110px;
}

.form-feedback {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.form-feedback.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-feedback.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ========================================
   MENTIONS LÉGALES OVERLAY
======================================== */
.mentions-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.mentions-overlay[hidden] { display: none; }

.mentions-box {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    max-width: 640px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}
.mentions-box h2 { font-size: 1.3rem; margin-bottom: 16px; }
.mentions-box h3 { font-size: 1rem; color: #cf1124; margin-top: 18px; margin-bottom: 6px; }
.mentions-box p { font-size: 0.92rem; color: #4b5563; line-height: 1.6; margin-bottom: 8px; }
.mentions-box a { color: #cf1124; }

.mentions-close {
    position: absolute;
    top: 12px; right: 16px;
    background: none; border: none;
    font-size: 1.6rem; color: #9ca3af;
    cursor: pointer; line-height: 1;
}
.mentions-close:hover { color: #1f2731; }

/* ========================================
   SUCCESS POPUP
======================================== */
.success-popup {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.success-popup[hidden] { display: none; }

.success-popup-box {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    text-align: center;
    max-width: 380px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.success-emoji {
    font-size: 3rem;
    margin-bottom: 12px;
}

.success-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2731;
    margin-bottom: 6px;
}

.success-text {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 20px;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    padding: 30px 28px;
    text-align: center;
    background: #fbfaf8;
    border-top: 1px solid #e8e5df;
}

.footer-logo {
    height: 28px;
    margin: 0 auto 14px;
    opacity: 0.7;
}

.footer p {
    font-size: 0.88rem;
    color: #9ca3af;
}
.footer a {
    color: #9ca3af;
    font-size: 0.82rem;
}
.footer a:hover {
    color: #cf1124;
}

/* ========================================
   HAMBURGER (mobile)
======================================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.menu-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #1f2731;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle.active .menu-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .menu-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .hero {
        padding: 50px 22px 35px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 1.05rem;
    }

    .services {
        padding: 35px 22px 45px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 24px 20px;
    }

    .contact {
        padding: 35px 22px 45px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .form-card {
        padding: 24px 20px;
    }

    .section-head {
        margin-bottom: 30px;
    }

    .header-row {
        padding: 10px 18px;
    }

    .logo-img {
        height: 28px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 48px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #e8e5df;
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }

    .nav-links.open {
        max-height: 320px;
        padding: 8px 0;
    }

    .nav-links > a {
        display: flex;
        align-items: center;
        padding: 14px 24px;
        font-size: 1rem;
        border-bottom: 1px solid #f3f4f6;
        width: 100%;
    }

    .nav-links > a:last-child {
        border-bottom: none;
    }

    .nav-links > a:not(.pill) {
        color: #1f2731 !important;
        font-weight: 500;
    }

    .nav-links .nav-phone {
        background: #fef2f2;
        color: #cf1124 !important;
    }

    .nav-links .pill {
        margin: 8px 24px;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .hero-actions {
        flex-direction: column;
    }

    .pill-lg {
        width: 100%;
    }
}

/* ========================================
   BACK TO TOP
======================================== */
#backToTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #cf1124;
    color: #fff;
    border: none;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(207, 17, 36, 0.25);
    z-index: 99;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}
#backToTop.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#backToTop:hover {
    background: #b00f1f;
    box-shadow: 0 6px 20px rgba(207, 17, 36, 0.35);
}

/* ========================================
   ADMIN PANEL
======================================== */
#adminPanel h3 { margin-bottom: 16px; }

#adminMsg { font-size: 0.85rem; margin-bottom: 12px; }
#adminMsg .adm-ok { color: #166534; }
#adminMsg .adm-err { color: #991b1b; }

.adm-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.adm-triple {
    grid-template-columns: 1fr 1fr 1fr;
}

#admList { display: flex; flex-direction: column; gap: 6px; }
.adm-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px; background: #fff; border: 1px solid #e8e5df; border-radius: 8px;
    font-size: 0.85rem;
}
.adm-item .adm-name { font-weight: 700; min-width: 120px; }
.adm-item .adm-info { color: #6b7280; flex: 1; font-size: 0.8rem; }
.adm-item button { background: none; border: none; color: #cf1124; cursor: pointer; font-size: 0.8rem; margin-left: 4px; }
.adm-item button:hover { text-decoration: underline; }
.adm-item .adm-del { color: #991b1b; }

@media (max-width: 640px) {
    .adm-row, .adm-triple { grid-template-columns: 1fr; }
}

/* --- Pourquoi nous choisir --- */
.trust {
    padding: 120px 24px 100px;
    background: #fff;
    text-align: center;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 10px auto 0;
}
.trust-card {
    background: #fbfaf8;
    border: 1px solid #e8e5df;
    border-radius: 16px;
    padding: 32px 16px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: border-color 0.2s;
}
.trust-card:hover {
    border-color: #cf1124;
}
.trust-card .trust-icon {
    color: #cf1124;
    margin-bottom: 4px;
}
.trust-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1f2731;
    line-height: 1.1;
}
.trust-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #6b7280;
}
@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
@media (max-width: 480px) {
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .trust-card { padding: 24px 12px 20px; }
    .trust-number { font-size: 1.3rem; }
}

/* --- FAQ sous les PC --- */
.products-faq {
    max-width: 700px;
    margin: 32px auto 0;
    padding: 0 16px;
}
.faq-item {
    background: #fff;
    border: 1px solid #e8e5df;
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item:hover {
    border-color: #d1cdc4;
}
.faq-item[open] {
    border-color: #cf1124;
    box-shadow: 0 2px 12px rgba(207,17,36,0.04);
}
.faq-item summary {
    padding: 16px 44px 16px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: #1f2731;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #cf1124;
    content: '+';
    line-height: 1;
    text-align: center;
}
.faq-item[open] summary::after {
    content: '−';
    background: #fef2f2;
}
.faq-item p {
    padding: 0 20px 20px;
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.7;
}

/* --- Bandeau cookies RGPD --- */
#cookieBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid #cf1124;
    padding: 16px 24px;
    text-align: center;
    z-index: 10000;
    font-size: 0.9rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
#cookieBanner p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
#cookieBanner button {
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}
#cookieAccept {
    background: #cf1124;
    color: #fff;
}
#cookieAccept:hover { background: #b00f1f; }
#cookieRefuse {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e8e5df !important;
}
#cookieRefuse:hover { background: #e5e7eb; }
