/* -------------------------------------------------------------------------
   SECTION PRICING - EN-TÊTE ET TITRE
------------------------------------------------------------------------- */
.zone-header { 
    margin-top: 30%; 
    text-align: center; 
}

@media (min-width: 768px) { 
    .zone-header { margin-top: 150px; } 
}

/* -------------------------------------------------------------------------
   CONTENEUR PRINCIPAL DES TARIFS
------------------------------------------------------------------------- */
#main-pricing-section { 
    padding: 40px 20px 80px 20px; 
    background: var(--bg); 
}

#pricing-container { 
    display: flex; 
    justify-content: center; 
    align-items: stretch;
    gap: 20px; 
    max-width: 1100px; 
    margin: 0 auto; 
}

/* -------------------------------------------------------------------------
   STYLE DES CARTES INDIVIDUELLES
------------------------------------------------------------------------- */
.pricing-card { 
    flex: 1; 
    background: var(--surface-2); 
    border-radius: var(--radius); 
    overflow: hidden; 
    box-shadow: var(--shadow); 
    transition: transform 0.3s ease; 
    display: flex; 
    flex-direction: column; 
}

/* Mise en avant de la carte centrale sans bordure bleue */
.pricing-card.featured { 
    transform: scale(1.03); 
    z-index: 10; 
    border: none;
}

/* -------------------------------------------------------------------------
   EN-TÊTE DE CARTE ET ANIMATION DE VAGUES
------------------------------------------------------------------------- */
.card-header { 
    position: relative; 
    height: 130px; 
    overflow: hidden; 
    flex-shrink: 0; 
}

.bg-blue  { background: #0b2c91; }
.bg-brand { background: #052077; }
.bg-alt   { background: #01165c; }

.card-title { 
    position: relative; 
    z-index: 5; 
    color: var(--text); 
    padding-top: 35px; 
    font-size: 1.4rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    text-align: center; 
    margin: 0; 
}

.wave-box { 
    position: absolute; 
    bottom: -5px; 
    width: 100%; 
    height: 70px; 
}

.card-header { 
    position: relative; 
    height: 130px; 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
}


.layer-1 { fill: var(--surface); opacity: 0.4; }
.layer-2 { fill: var(--surface); }

.wave-animation > use { 
    animation: wave-move 15s cubic-bezier(.55,.5,.45,.5) infinite; 
}

@keyframes wave-move { 
    0% { transform: translate3d(-90px,0,0); } 
    100% { transform: translate3d(85px,0,0); } 
}

/* -------------------------------------------------------------------------
   CORPS DE LA CARTE - CONTENU ET PRIX
------------------------------------------------------------------------- */
.card-body { 
    background: var(--surface); 
    padding: 30px 20px; 
    text-align: center; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    position: relative;
    z-index: 5;
    margin-top: -22px;
}


.card-icon { 
    height: 60px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 10px; 
}

.svg-adapt { 
    width: 45px; 
    height: 45px; 
    color: var(--text); 
    stroke-width: 1.5; 
}

.price-val { 
    display: block; 
    font-size: 2.3rem; 
    font-weight: 800; 
    color: var(--text); 
    line-height: 1; 
}

.price-sub { 
    font-size: 0.8rem; 
    color: var(--muted); 
    margin-bottom: 25px; 
    display: block; 
}

/* -------------------------------------------------------------------------
   LISTE DES FONCTIONNALITÉS ET BADGE
------------------------------------------------------------------------- */
.card-features { 
    list-style: none; 
    padding: 0; 
    margin: 0 0 30px 0; 
    text-align: left; 
    width: 100%; 
    flex-grow: 1; 
}

.card-features li { 
    font-size: 0.9rem; 
    margin-bottom: 12px; 
    color: var(--text); 
    display: flex; 
    align-items: center; 
}

.card-features li::before { 
    content: "✓"; 
    margin-right: 10px; 
    color: var(--brand); 
    font-weight: 900; 
}

.shop-badge { 
    width: 100%;
    margin-top: auto; 
    padding: 12px 5px; 
    background: color-mix(in srgb, var(--brand) 8%, transparent);
    border: 2px solid var(--brand);
    border-radius: 10px; 
    color: var(--text); 
    font-weight: 700; 
    font-size: 0.85rem;
    text-transform: uppercase;
}

.estimate-link {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--brand);
    text-decoration: underline;
    font-weight: 600;
}

/* -------------------------------------------------------------------------
   ADAPTATION MOBILE ET THÈME
------------------------------------------------------------------------- */
[data-theme='light'] .card-title { 
    color: var(--text); 
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff; 
}

@media (max-width: 900px) {
    #pricing-container { flex-wrap: wrap; gap: 40px; }
    .pricing-card { flex: none; width: 320px; }
    .pricing-card.featured { transform: scale(1); }
}

.wave-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0; 
    z-index: 10;
}

.wave-svg {
    display: block;
    width: 100%;
    height: 50px; 
    margin-bottom: -22px; 
}
