/* ========================================
   Tarifs — Styles spécifiques
   ======================================== */

/* Hero compact Tarifs */
.tarifs-hero {
    padding: calc(var(--nav-height) + 5rem) 2rem 3.5rem;
    background: linear-gradient(160deg, var(--green-dark) 0%, #5a6e60 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tarifs-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(154,178,161,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.tarifs-hero__inner {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tarifs-hero .cocon-hero__breadcrumb {
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--beige-a60);
}

.tarifs-hero .cocon-hero__breadcrumb a { color: rgba(235,232,222,0.8); }

.tarifs-hero .cocon-hero__label { color: var(--green-light); }

.tarifs-hero h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--beige);
    line-height: 1.15;
    margin: 0.75rem 0 1rem;
}

.tarifs-hero p {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(235,232,222,0.75);
    line-height: 1.7;
}

/* ========================================
   Grille des tarifs
   ======================================== */

.tarifs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.tarifs-grid .tarif-card {
    width: calc((100% - 3rem) / 3);
}

.tarif-card {
    background: rgba(255,255,255,0.6);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--green-a12);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.tarif-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.07);
}

.tarif-card--featured {
    background: linear-gradient(160deg, var(--green-a12) 0%, rgba(154,178,161,0.08) 100%);
    border-color: rgba(118,141,124,0.3);
    box-shadow: 0 4px 24px var(--green-a10);
}

.tarif-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green-dark);
    color: var(--beige);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.tarif-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--green-a10);
    border: 1.5px solid var(--green-a20);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--green-dark);
}

.tarif-card h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--green-dark);
    margin-bottom: 0.3rem;
}

.tarif-card__subtitle {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    display: block;
    min-height: 2.4em;
}

.tarif-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--green-a12);
}

.tarif-card__amount {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3rem;
    font-weight: 500;
    color: var(--green-dark);
    line-height: 1;
}

.tarif-card__duration {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-muted);
}

.tarif-card__includes {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.tarif-card__includes li {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.tarif-card__includes li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green-light);
    flex-shrink: 0;
    margin-top: 6px;
}

.tarif-card__detail {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text);
    line-height: 1.7;
    text-align: left;
    margin-bottom: 2rem;
    flex: 1;
}

.tarif-card__cta {
    display: block;
    padding: 0.8rem 2rem;
    background: linear-gradient(to bottom, var(--green-dark) 50%, var(--green-light) 50%);
    background-size: 100% 200%;
    background-position: 0 0;
    color: var(--beige);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background-position var(--dur-mid) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out), color var(--dur-mid) var(--ease-out);
    margin-top: auto;
}

.tarif-card__cta:hover,
.tarif-card__cta:focus-visible {
    background-position: 0 100%;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(40, 55, 45, 0.22);
}

.tarif-card__cta:focus-visible {
    outline: 2px solid var(--green-dark);
    outline-offset: 4px;
}

/* ========================================
   Infos pratiques
   ======================================== */

.pratique-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 0.5rem;
}

.pratique-item {
    width: calc((100% - 4rem) / 3);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pratique-item__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--green-a10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
    flex-shrink: 0;
}

.pratique-item h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--green-dark);
}

.pratique-item p {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text);
    line-height: 1.75;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

/* ========================================
   Bloc Premium — Forfait Équipe
   ======================================== */

.forfait-equipe {
    margin: 3rem auto 0;
    max-width: var(--page-width);
    padding: 0 2rem;
}

.forfait-equipe__inner {
    background: linear-gradient(160deg, var(--green-darker) 0%, #3d5444 100%);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    color: var(--beige);
    position: relative;
    overflow: hidden;
}

.forfait-equipe__inner::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(154,178,161,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.forfait-equipe__header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.forfait-equipe__label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-light);
    display: block;
    margin-bottom: 0.75rem;
}

.forfait-equipe__header h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--beige);
    margin-bottom: 0.75rem;
}

.forfait-equipe__header p {
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--beige-a70);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Tableau dégressif */
.forfait-equipe__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.forfait-equipe__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    min-width: 500px;
}

.forfait-equipe__table thead th {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--beige-a50);
    text-align: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--beige-a15);
}

.forfait-equipe__table thead th:first-child {
    text-align: left;
}

.forfait-equipe__table tbody td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(235,232,222,0.08);
    font-weight: 300;
    color: var(--beige-a85);
}

.forfait-equipe__table tbody td:first-child {
    text-align: left;
    font-weight: 400;
    color: var(--beige);
}

.forfait-equipe__table tbody tr:last-child td {
    border-bottom: none;
}

.forfait-equipe__table tbody tr:hover td {
    background: rgba(235,232,222,0.04);
}

/* Features sous le tableau */
.forfait-equipe__features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 2rem;
    margin: 0 0 2.5rem;
    padding: 0;
    position: relative;
    z-index: 1;
}

.forfait-equipe__features li {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--beige-a70);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.forfait-equipe__features li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green-light);
    flex-shrink: 0;
}

/* CTA Devis */
.forfait-equipe__cta {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 0.9rem 2.5rem;
    background: linear-gradient(to bottom, var(--beige-a15) 50%, var(--beige) 50%);
    background-size: 100% 200%;
    background-position: 0 0;
    border: 1px solid var(--beige-a30);
    color: var(--beige);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background-position var(--dur-mid) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out), color var(--dur-mid) var(--ease-out), border-color var(--dur-mid) var(--ease-out);
}

.forfait-equipe__cta:hover,
.forfait-equipe__cta:focus-visible {
    background-position: 0 100%;
    border-color: var(--beige);
    color: var(--green-darker);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 900px) {
    .tarifs-grid .tarif-card { width: 100%; max-width: 480px; }
    .pratique-item { width: calc((100% - 2rem) / 2); }
    .forfait-equipe__inner { padding: 2.5rem 1.5rem; }
}

@media (max-width: 600px) {
    .pratique-item { width: 100%; }
    .forfait-equipe { padding: 0 1rem; }
    .forfait-equipe__inner { padding: 2rem 1.25rem; border-radius: 16px; }
    .forfait-equipe__features { flex-direction: column; align-items: center; }

    /* Tableau → cartes empilées sur mobile */
    .forfait-equipe__table { min-width: 0; }
    .forfait-equipe__table thead { display: none; }
    .forfait-equipe__table tbody tr {
        display: flex;
        flex-direction: column;
        background: rgba(235,232,222,0.06);
        border-radius: 12px;
        padding: 1.25rem;
        margin-bottom: 1rem;
        border-bottom: none;
    }
    .forfait-equipe__table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 0.4rem 0;
        border-bottom: 1px solid rgba(235,232,222,0.08);
        font-size: 0.85rem;
    }
    .forfait-equipe__table tbody td:first-child {
        font-size: 1rem;
        font-weight: 500;
        color: var(--beige);
        text-align: left;
        margin-bottom: 0.25rem;
        border-bottom: 1px solid rgba(235,232,222,0.15);
        padding-bottom: 0.6rem;
    }
    .forfait-equipe__table tbody td:last-child {
        border-bottom: none;
    }
    .forfait-equipe__table tbody td::before {
        content: attr(data-label);
        font-weight: 400;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--beige-a50);
        text-align: left;
    }
    .forfait-equipe__table tbody td:first-child::before {
        display: none;
    }
}
