/* =============================================
   STRATECALIS - Styles pages Offres
   ============================================= */

/* =============================================
   HERO OFFRE (plus leger que le hero principal)
   ============================================= */

.offre-hero {
    background: linear-gradient(135deg, var(--blanc-casse) 0%, var(--beige-sable) 100%);
    padding: clamp(120px, 18vh, 140px) 0 clamp(50px, 10vh, 70px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.offre-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 10%, rgba(231,111,81,0.06) 0%, transparent 50%),
                      radial-gradient(circle at 10% 90%, rgba(244,162,97,0.05) 0%, transparent 45%);
    pointer-events: none;
}

.offre-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.offre-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--orange-principal), var(--terracotta-clair));
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.offre-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--gris-charbon);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.offre-hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--orange-principal), var(--terracotta-clair));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.offre-hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--gris-charbon);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.85;
}

/* =============================================
   GRILLE DES OFFRES
   ============================================= */

.offres-detail {
    padding: clamp(50px, 10vh, 80px) 0;
    background: var(--blanc-casse);
}

.offres-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Carte offre generique */
.offer {
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.offer:hover {
    transform: translateY(-5px);
}

/* Variante 1 : Blanc */
.offer-1 {
    background: #ffffff;
    border: 1.5px solid #EDE8E2;
}

/* Variante 2 : Orange pale */
.offer-2 {
    background: #FEF0E9;
    border: 1.5px solid #F9CDB8;
}

/* Variante 3 : Orange vif (mise en avant) */
.offer-3 {
    background: linear-gradient(155deg, var(--orange-principal) 0%, #D45C3E 100%);
    border: none;
    box-shadow: 0 16px 40px rgba(231,111,81,0.35);
}

.offer-3::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

/* Variante 4 : Sombre */
.offer-4 {
    background: var(--gris-charbon);
    border: none;
}

/* Chip */
.chip {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 1.2rem;
    width: fit-content;
}

.chip-light { background: #F0EBE5; color: #9B7E6E; }
.chip-orange-pale { background: #F9CDB8; color: #B05030; }
.chip-accent { background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.9); }
.chip-dark { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }

/* Nom offre */
.offer-name {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.offer-1 .offer-name,
.offer-2 .offer-name { color: var(--gris-charbon); }
.offer-3 .offer-name,
.offer-4 .offer-name { color: #ffffff; }

/* Description */
.offer-desc {
    font-size: clamp(0.8rem, 1.5vw, 0.85rem);
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.offer-1 .offer-desc { color: #888; }
.offer-2 .offer-desc { color: #C1633E; }
.offer-3 .offer-desc { color: rgba(255,255,255,0.8); }
.offer-4 .offer-desc { color: rgba(255,255,255,0.55); }

/* Barre de duree */
.duration-bar {
    height: 4px;
    border-radius: 100px;
    margin-bottom: 1.2rem;
    background: #EDE8E2;
    position: relative;
    overflow: hidden;
}

.duration-bar::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    border-radius: 100px;
}

.offer-1 .duration-bar::after { width: 25%; background: var(--orange-principal); }
.offer-2 .duration-bar { background: #F5C9B0; }
.offer-2 .duration-bar::after { width: 50%; background: var(--orange-principal); }
.offer-3 .duration-bar { background: rgba(255,255,255,0.2); }
.offer-3 .duration-bar::after { width: 75%; background: white; }
.offer-4 .duration-bar { background: rgba(255,255,255,0.1); }
.offer-4 .duration-bar::after { width: 100%; background: var(--terracotta-clair); }

/* Features list */
.offer-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.offer-features li {
    font-size: clamp(0.8rem, 1.5vw, 0.88rem);
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.offer-1 .offer-features li { color: #555; border-bottom: 1px solid #F5F0EB; }
.offer-2 .offer-features li { color: #7A3D24; border-bottom: 1px solid #F5C9B0; }
.offer-3 .offer-features li { color: rgba(255,255,255,0.9); border-bottom: 1px solid rgba(255,255,255,0.12); }
.offer-4 .offer-features li { color: rgba(255,255,255,0.7); border-bottom: 1px solid rgba(255,255,255,0.08); }

.offer-features li:last-child { border-bottom: none; }

.check {
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.offer-1 .check { color: var(--orange-principal); }
.offer-2 .check { color: var(--orange-principal); }
.offer-3 .check { color: rgba(255,255,255,0.7); }
.offer-4 .check { color: var(--terracotta-clair); }

/* Prix */
.offer-price {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-top: auto;
    padding-top: 1rem;
    letter-spacing: -0.5px;
}

.offer-1 .offer-price,
.offer-2 .offer-price { color: var(--gris-charbon); }
.offer-3 .offer-price,
.offer-4 .offer-price { color: #ffffff; }

.price-amount {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
}

.price-label {
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-weight: 400;
    opacity: 0.6;
    display: block;
    margin-top: 2px;
}

/* =============================================
   TABLEAU COMPARATIF
   ============================================= */

.comparatif {
    padding: clamp(50px, 10vh, 80px) 0;
    background: var(--beige-sable);
}

.comparatif h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin-bottom: 2.5rem;
    color: var(--gris-charbon);
    line-height: 1.2;
}

.comparatif-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(46, 46, 46, 0.1);
}

.comparatif-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    background: white;
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
}

.comparatif-table thead th {
    background: var(--gris-charbon);
    color: white;
    padding: 1rem 1.2rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
}

.comparatif-table thead th:first-child {
    text-align: left;
    border-radius: 12px 0 0 0;
}

.comparatif-table thead th:last-child {
    border-radius: 0 12px 0 0;
}

.comparatif-table thead th.highlight {
    background: var(--orange-principal);
}

.comparatif-table tbody td {
    padding: 0.8rem 1.2rem;
    text-align: center;
    border-bottom: 1px solid #f0ebe5;
}

.comparatif-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--gris-charbon);
}

.comparatif-table tbody tr:last-child td {
    border-bottom: none;
}

.comparatif-table tbody tr:hover {
    background: rgba(244, 237, 228, 0.3);
}

.comparatif-table .check-icon {
    color: var(--orange-principal);
    font-weight: 700;
}

.comparatif-table .cross-icon {
    color: #ccc;
}

/* =============================================
   COMMENT CHOISIR
   ============================================= */

.comment-choisir {
    padding: clamp(50px, 10vh, 80px) 0;
    background: var(--blanc-casse);
}

.comment-choisir h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin-bottom: 2.5rem;
    color: var(--gris-charbon);
    line-height: 1.2;
}

.choix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.choix-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(46, 46, 46, 0.08);
    border-left: 4px solid var(--orange-principal);
}

.choix-card h3 {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--orange-principal);
    margin-bottom: 0.5rem;
}

.choix-card p {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.5;
}

/* =============================================
   CONDITIONS
   ============================================= */

.conditions {
    padding: clamp(40px, 8vh, 60px) 0;
    background: var(--beige-sable);
}

.conditions-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.conditions h2 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    margin-bottom: 1.5rem;
    color: var(--gris-charbon);
}

.conditions-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.conditions-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(46, 46, 46, 0.08);
}

.conditions-list li i {
    color: var(--orange-principal);
    font-size: 1.1rem;
}

/* =============================================
   CTA FINAL
   ============================================= */

.offre-cta {
    padding: clamp(60px, 12vh, 80px) 0;
    background: var(--blanc-casse);
    text-align: center;
}

.offre-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin-bottom: 1rem;
    color: var(--gris-charbon);
}

.offre-cta p {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.85;
}

.offre-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .offres-detail-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .offres-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .offer {
        padding: 1.5rem 1.2rem;
    }

    .choix-grid {
        grid-template-columns: 1fr;
    }

    .conditions-list {
        flex-direction: column;
        align-items: center;
    }

    .offre-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .offre-cta .cta-buttons .cta-button,
    .offre-cta .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}
