/**
 * FTI39 — Taxi École (aligné design premium FNTI)
 */

.fti39-taxi-ecole-page {
    overflow-x: clip;
}

.fti39-taxi-ecole-page .te-intro {
    padding: 56px 0 24px;
    text-align: center;
}

.fti39-taxi-ecole-page .te-intro__title {
    font-family: var(--hp-font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--hp-ink, #0c1118);
    margin: 0 0 16px;
    letter-spacing: 0.02em;
}

.fti39-taxi-ecole-page .te-intro__text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--hp-text-muted, #5c6672);
    max-width: 720px;
    margin: 0 auto 16px;
}

.fti39-taxi-ecole-page .te-intro__note {
    font-size: 0.92rem;
    color: var(--hp-text-muted, #5c6672);
    font-style: italic;
    margin: 0 auto;
    max-width: 720px;
}

.fti39-taxi-ecole-page .te-intro__alert {
    font-size: 1rem;
    font-weight: 700;
    color: #c62828;
    margin: 24px auto 0;
    max-width: 720px;
    line-height: 1.6;
}

.fti39-taxi-ecole-page .te-intro__alert a {
    color: #c62828;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fti39-taxi-ecole-page .te-formules {
    padding: 32px 0 72px;
}

.fti39-taxi-ecole-page .te-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.fti39-taxi-ecole-page .te-card {
    display: flex;
    flex-direction: column;
    background: var(--hp-white, #fff);
    border: 1px solid rgba(12, 17, 24, 0.08);
    border-radius: var(--hp-radius-lg, 4px);
    padding: 28px 24px 24px;
    position: relative;
    box-shadow: var(--hp-shadow-soft, 0 8px 32px rgba(12, 17, 24, 0.08));
    transition: transform 0.35s var(--hp-ease, ease), box-shadow 0.35s var(--hp-ease, ease);
    min-width: 0;
}

.fti39-taxi-ecole-page .te-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hp-gold, #c9a962), var(--hp-gold-light, #e8d5a3));
}

.fti39-taxi-ecole-page .te-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hp-shadow, 0 24px 64px rgba(12, 17, 24, 0.12));
}

.fti39-taxi-ecole-page .te-card--featured {
    background: linear-gradient(165deg, rgba(201, 169, 98, 0.18) 0%, var(--hp-white, #fff) 42%);
    border-color: rgba(201, 169, 98, 0.45);
}

.fti39-taxi-ecole-page .te-card--dark {
    background: var(--hp-ink, #0c1118);
    border-color: rgba(201, 169, 98, 0.25);
    color: rgba(255, 255, 255, 0.88);
}

.fti39-taxi-ecole-page .te-card--dark::before {
    background: linear-gradient(90deg, var(--hp-gold, #c9a962), var(--hp-gold-dark, #9a7b3c));
}

.fti39-taxi-ecole-page .te-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--hp-ink, #0c1118);
    color: var(--hp-gold-light, #e8d5a3);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--hp-radius, 2px);
}

.fti39-taxi-ecole-page .te-card__title {
    font-family: var(--hp-font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.45rem, 3vw, 1.75rem);
    font-weight: 600;
    color: var(--hp-ink, #0c1118);
    margin: 0 0 12px;
    padding-right: 88px;
    line-height: 1.2;
}

.fti39-taxi-ecole-page .te-card--dark .te-card__title {
    color: var(--hp-gold-light, #e8d5a3);
    padding-right: 0;
}

.fti39-taxi-ecole-page .te-price {
    margin-bottom: 8px;
}

.fti39-taxi-ecole-page .te-price__amount {
    font-family: var(--hp-font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(2.4rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--hp-ink, #0c1118);
    line-height: 1;
}

.fti39-taxi-ecole-page .te-price__currency {
    font-size: 1.25rem;
    color: var(--hp-text-muted, #5c6672);
    vertical-align: super;
    margin-left: 2px;
}

.fti39-taxi-ecole-page .te-price__meta {
    display: block;
    font-size: 0.85rem;
    color: var(--hp-text-muted, #5c6672);
    margin-top: 6px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fti39-taxi-ecole-page .te-card--dark .te-price__amount,
.fti39-taxi-ecole-page .te-card--dark .te-price__currency {
    color: var(--hp-gold-light, #e8d5a3);
}

.fti39-taxi-ecole-page .te-card--dark .te-price__meta {
    color: rgba(255, 255, 255, 0.55);
}

.fti39-taxi-ecole-page .te-card__duration {
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--hp-text-muted, #5c6672);
    margin: 0 0 8px;
}

.fti39-taxi-ecole-page .te-card__duration strong {
    color: var(--hp-ink, #0c1118);
    font-weight: 600;
}

.fti39-taxi-ecole-page .te-card--dark .te-card__duration {
    color: rgba(255, 255, 255, 0.65);
}

.fti39-taxi-ecole-page .te-card--dark .te-card__duration strong {
    color: var(--hp-white, #fff);
}

.fti39-taxi-ecole-page .te-card__hint {
    font-size: 0.9rem;
    color: var(--hp-text-muted, #5c6672);
    line-height: 1.5;
    margin: 0 0 16px;
}

.fti39-taxi-ecole-page .te-card__blurb {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 16px;
}

.fti39-taxi-ecole-page .te-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
    flex: 1;
}

.fti39-taxi-ecole-page .te-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(12, 17, 24, 0.06);
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--hp-text, #2a3340);
}

.fti39-taxi-ecole-page .te-list li:last-child {
    border-bottom: none;
}

.fti39-taxi-ecole-page .te-list__check {
    flex-shrink: 0;
    color: var(--hp-gold-dark, #9a7b3c);
    font-weight: 700;
    line-height: 1.4;
}

.fti39-taxi-ecole-page .te-card--dark .te-list li {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
}

.fti39-taxi-ecole-page .te-card--dark .te-list__check {
    color: var(--hp-gold, #c9a962);
}

.fti39-taxi-ecole-page .te-list__bonus {
    background: rgba(201, 169, 98, 0.12);
    border-radius: var(--hp-radius, 2px);
    padding: 12px 10px !important;
    margin-top: 8px;
    border-bottom: none !important;
}

.fti39-taxi-ecole-page .te-list__note {
    background: rgba(201, 169, 98, 0.1);
    border-radius: var(--hp-radius, 2px);
    padding: 12px 10px !important;
    margin-top: 8px;
    border-bottom: none !important;
    font-size: 0.9rem !important;
    color: var(--hp-text-muted, #5c6672) !important;
}

.fti39-taxi-ecole-page .te-card__action {
    margin-top: auto;
    text-align: center;
}

.fti39-taxi-ecole-page .te-card__action .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    box-sizing: border-box;
}

.fti39-taxi-ecole-page .te-card--featured .te-card__action .btn-primary {
    background: var(--hp-ink, #0c1118);
    color: var(--hp-gold-light, #e8d5a3);
    border-color: var(--hp-ink, #0c1118);
}

.fti39-taxi-ecole-page .te-card--featured .te-card__action .btn-primary:hover {
    background: var(--hp-ink-soft, #151d28);
    color: var(--hp-gold, #c9a962);
}

.fti39-taxi-ecole-page .te-why {
    padding: 64px 0;
    background: var(--hp-cream-dark, #ebe6dc);
    text-align: center;
}

.fti39-taxi-ecole-page .te-why__title {
    font-family: var(--hp-font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--hp-ink, #0c1118);
    margin: 0 0 36px;
}

.fti39-taxi-ecole-page .te-why__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.fti39-taxi-ecole-page .te-why__item {
    padding: 8px 12px;
    min-width: 0;
}

.fti39-taxi-ecole-page .te-why__item h3 {
    font-family: var(--hp-font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--hp-ink, #0c1118);
    margin: 0 0 8px;
}

.fti39-taxi-ecole-page .te-why__item p {
    margin: 0;
    color: var(--hp-text-muted, #5c6672);
    line-height: 1.6;
    font-size: 0.95rem;
}

.fti39-taxi-ecole-page .te-why__mark {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--hp-gold, #c9a962);
    margin: 0 auto 16px;
}

.fti39-taxi-ecole-page .te-cta {
    padding: 64px 0;
    text-align: center;
}

.fti39-taxi-ecole-page .te-cta__title {
    font-family: var(--hp-font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--hp-ink, #0c1118);
    margin: 0 0 12px;
}

.fti39-taxi-ecole-page .te-cta__text {
    font-size: 1.05rem;
    color: var(--hp-text-muted, #5c6672);
    margin: 0 auto 28px;
    max-width: 560px;
    line-height: 1.6;
}

/* Devis personnalisé */
.fti39-devis-personnalise-page {
    overflow-x: clip;
}

.fti39-devis-personnalise-page .te-devis-body {
    padding: 48px 0 72px;
}

.fti39-devis-personnalise-page .te-devis-form {
    background: var(--hp-white, #fff);
    border: 1px solid rgba(12, 17, 24, 0.08);
    border-radius: var(--hp-radius-lg, 4px);
    box-shadow: var(--hp-shadow-soft, 0 8px 32px rgba(12, 17, 24, 0.08));
    padding: 36px 32px;
    max-width: 800px;
    margin: 0 auto;
}

.fti39-devis-personnalise-page .te-devis-form h2 {
    font-family: var(--hp-font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--hp-ink, #0c1118);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(201, 169, 98, 0.45);
}

.fti39-devis-personnalise-page .te-devis-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.fti39-devis-personnalise-page .te-devis-form .form-group {
    margin-bottom: 16px;
}

.fti39-devis-personnalise-page .te-devis-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--hp-ink, #0c1118);
    font-size: 0.92rem;
}

.fti39-devis-personnalise-page .te-devis-form .required {
    color: #c62828;
}

.fti39-devis-personnalise-page .te-devis-form input,
.fti39-devis-personnalise-page .te-devis-form textarea,
.fti39-devis-personnalise-page .te-devis-form select {
    width: 100%;
    box-sizing: border-box;
}

.fti39-devis-personnalise-page .te-alert {
    max-width: 800px;
    margin: 0 auto 24px;
    padding: 16px 20px;
    border-radius: var(--hp-radius, 2px);
    border-left: 3px solid;
}

.fti39-devis-personnalise-page .te-alert--success {
    background: #eef7f0;
    border-color: #2e7d32;
    color: #1b5e20;
}

.fti39-devis-personnalise-page .te-alert--error {
    background: #fdf0f0;
    border-color: #c62828;
    color: #7f1d1d;
}

.fti39-devis-personnalise-page .te-devis-back {
    text-align: center;
    margin-top: 28px;
}

.fti39-devis-personnalise-page .te-devis-back a {
    color: var(--hp-text-muted, #5c6672);
    text-decoration: none;
    font-size: 0.95rem;
}

.fti39-devis-personnalise-page .te-devis-back a:hover {
    color: var(--hp-gold-dark, #9a7b3c);
}

.fti39-devis-personnalise-page .te-devis-submit {
    text-align: center;
    margin-top: 28px;
}

.fti39-devis-personnalise-page .te-devis-submit p {
    margin-top: 12px;
    color: var(--hp-text-muted, #5c6672);
    font-size: 0.875rem;
}

@media (max-width: 900px) {
    .fti39-taxi-ecole-page .te-grid {
        grid-template-columns: 1fr;
    }

    .fti39-taxi-ecole-page .te-why__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .fti39-taxi-ecole-page .te-intro {
        padding: 40px 0 16px;
    }

    .fti39-taxi-ecole-page .te-formules {
        padding: 24px 0 48px;
    }

    .fti39-taxi-ecole-page .te-card {
        padding: 24px 18px 20px;
    }

    .fti39-taxi-ecole-page .te-card__title {
        padding-right: 0;
        margin-top: 28px;
    }

    .fti39-taxi-ecole-page .te-card--featured .te-card__title {
        margin-top: 36px;
    }

    .fti39-taxi-ecole-page .te-badge {
        top: 12px;
        right: 12px;
    }

    .fti39-taxi-ecole-page .te-card__action .btn {
        max-width: none;
        padding-left: 16px;
        padding-right: 16px;
    }

    .fti39-taxi-ecole-page .te-why,
    .fti39-taxi-ecole-page .te-cta {
        padding: 48px 0;
    }

    .fti39-devis-personnalise-page .te-devis-body {
        padding: 32px 0 48px;
    }

    .fti39-devis-personnalise-page .te-devis-form {
        padding: 24px 18px;
    }

    .fti39-devis-personnalise-page .te-devis-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .fti39-taxi-ecole-page .te-list li {
        font-size: 0.9rem;
    }
}
