/* --- Variables globales --- */
:root {
    --bg-color: #000000;
    --text-color: #FFFFFF;
    --cyan-yeldii: #65E9EE;
    --cyan-dark: #3BB1B5; 
    --gray-text: #888888; 
    --divider-color: rgba(255, 255, 255, 0.15);
}

/* --- Reset de base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html { 
    scroll-behavior: smooth;
}

body {
    /* 1. On corrige la syntaxe du fond et on le fige pour que Safari ait toujours un beau dégradé à flouter */
    background-color: #000000;
    background-image: radial-gradient(circle at 50% 0%, #151515 0%, #000000 70%);
    background-attachment: fixed;
    
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    
    /* 🔥 ON A SUPPRIMÉ overflow-x: hidden; ICI CAR ÇA BLOQUE LA BARRE SAFARI ! */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.no-scroll { overflow: hidden; }

/* =========================================
   SÉCURITÉ MOBILE (Très important)
   ========================================= */
/* On cache par défaut tous les éléments spécifiques à l'ordinateur */
.desktop-nav, 
.desktop-actions, 
.desktop-only, 
.free-tier-col,
.content-desktop {
    display: none !important;
}

/* Assure que la liste PRO s'affiche bien sur mobile */
ul.pro-features.mobile-only {
    display: block !important;
}


/* --- 1. En-tête (Header) --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(20px + env(safe-area-inset-top)) 24px 20px 24px;
    z-index: 999;
    background: rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

main {
    padding-top: 80px;
    flex-grow: 1; 
    /* 🔥 On déplace la protection horizontale ici. Le site est protégé, et Safari respire ! */
    overflow-x: hidden; 
}
.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 0 10px rgba(255,255,255,0.2); 
}

/* --- NOUVEAUX STYLES POUR LES LOGOS EN IMAGE --- */
.nav-logo-img {
    height: 28px; /* Modifie cette valeur pour ajuster la taille de ton logo en haut */
    width: auto;
    display: block;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 36px; /* Modifie cette valeur pour ajuster la taille du logo en bas */
    width: auto;
    display: block;
}

/* --- L'icône Burger animée --- */
.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1000; 
}

.burger-line {
    width: 100%;
    height: 2.5px;
    background-color: #FFFFFF;
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center; /* 🔥 On utilise le centre */
}

/* 🔥 On fait glisser les lignes au milieu (translateY) avant de pivoter */
.menu-icon.is-open .burger-line:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-icon.is-open .burger-line:nth-child(2) { opacity: 0; }
.menu-icon.is-open .burger-line:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --- Le Panneau Menu Mobile --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.85); 
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 998; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none; 
    transition: opacity 0.4s ease;
}

.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav-links { list-style: none; text-align: center; margin-bottom: 60px; }
.mobile-nav-links li { margin-bottom: 40px; transform: translateY(20px); opacity: 0; transition: all 0.4s ease; }
.mobile-link { color: #FFFFFF; text-decoration: none; font-size: 28px; font-weight: 700; }
.mobile-menu.is-open .mobile-nav-links li { transform: translateY(0); opacity: 1; }
.mobile-menu.is-open .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.is-open .mobile-nav-links li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-nav-links li:nth-child(3) { transition-delay: 0.3s; }

.mobile-menu-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.4s; 
    width: 100%;
    padding: 0 24px;
}

.mobile-menu.is-open .mobile-menu-bottom { opacity: 1; transform: translateY(0); }

.lang-selector {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.lang-selector:active { background: rgba(255, 255, 255, 0.1); }

/* --- 2. Hero Section --- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 24px 40px;
}
.hero-title { font-size: 34px; font-weight: 700; line-height: 1.25; margin-bottom: 48px; letter-spacing: -0.5px; }
.text-gray { color: var(--gray-text); }
.text-cyan {
    background: linear-gradient(135deg, var(--cyan-yeldii), var(--cyan-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(101, 233, 238, 0.2);
}

/* --- 3. Bouton Principal --- */
.btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--cyan-yeldii), #89F2F5); 
    color: #000000;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    padding: 18px 24px;
    border-radius: 40px;
    width: 100%;
    max-width: 320px;
    margin-bottom: 70px;
    box-shadow: 0 8px 25px rgba(101, 233, 238, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
@media (hover: hover) {
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(101, 233, 238, 0.4); }
}
.btn-primary:active { transform: scale(0.95); box-shadow: 0 4px 10px rgba(101, 233, 238, 0.2); }

/* --- 4. Indicateur de Scroll --- */
.scroll-indicator { display: flex; flex-direction: column; align-items: center; width: 100%; opacity: 0.8; }
.arrow-down { width: 24px; height: 24px; margin-bottom: 24px; animation: bounce 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1); }
.divider { width: 100%; max-width: 300px; height: 1px; background: linear-gradient(90deg, transparent, var(--divider-color), transparent); }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-8px); } 60% { transform: translateY(-4px); } }

/* --- Titres de sections --- */
.section-title { font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 40px; letter-spacing: -0.5px; }

/* --- 5. Mécanique de Scrollytelling --- */
.app-showcase { position: relative; padding-top: 20px; }
.scroll-track { position: relative; width: 100%; }
.sticky-phone-wrapper { 
    position: sticky; 
    top: 15vh; 
    height: 75vh; /* 🔥 Légèrement plus grand pour tout accueillir */
    display: flex; 
    flex-direction: column; /* 🔥 CRUCIAL : force l'empilement vertical */
    justify-content: center; 
    align-items: center; 
    gap: 24px; /* 🔥 L'espacement parfait entre le menu et le téléphone */
    z-index: 1; 
}
.phone-frame { 
    position: relative; 
    width: 260px; 
    height: 540px; 
    margin-top: 0; /* 🔥 Plus besoin de tricher */
    box-shadow: 0 20px 50px rgba(0,0,0,0.8); 
    border-radius: 32px; 
}
.phone-screen { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 32px; opacity: 0; transition: opacity 0.8s ease-in-out; }
.phone-screen.active { opacity: 1; z-index: 2; }

/* --- Cartes en Glassmorphism --- */
.cards-container { 
    position: relative; 
    z-index: 10; 
    padding-top: 50vh; 
    padding-bottom: 15vh; 
    pointer-events: none; /* MAGIE : Laisse passer les clics vers le téléphone et les boutons situés en dessous ! */
}

.glass-card:last-child { 
    margin-bottom: 0; 
}

.glass-card { 
    pointer-events: auto; /* Réactive les interactions uniquement sur le texte/la carte */
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.7) 0%, rgba(15, 15, 15, 0.8) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2); 
    border-radius: 24px;
    padding: 32px 24px;
    margin: 0 auto 90vh;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.1);
}
.glass-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; line-height: 1.2; }
.glass-card p { font-size: 15px; color: #DDDDDD; line-height: 1.5; margin-bottom: 24px; }
.feature-list { list-style: none; }
.feature-list li { position: relative; font-size: 14px; line-height: 1.5; margin-bottom: 16px; padding-left: 16px; color: #CCCCCC; }
.feature-list li::before { content: "•"; position: absolute; left: 0; color: var(--cyan-yeldii); font-weight: bold; text-shadow: 0 0 8px var(--cyan-yeldii); }
.feature-list strong { color: #FFFFFF; }
.indicator-bottom { margin-top: 10vh; }

/* --- 6. Section Tarification (MOBILE) --- */
/* --- Toggle de Niches (Scrollytelling) --- */
.niche-toggle-container { 
    position: relative; /* 🔥 Il devient un bloc solide dans la page */
    top: 0; /* 🔥 Plus besoin de valeur négative */
    display: flex; 
    background: #1C1C1E; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 30px; 
    padding: 4px; 
    z-index: 10; 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(10px); 
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease; 
}

/* Classe ajoutée par le JavaScript quand on est sur l'étape 2 ou 3 */
.niche-toggle-container.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.niche-btn {
    background: transparent;
    border: none;
    color: var(--gray-text);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.niche-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

@media (min-width: 1024px) {
    .niche-toggle-container {
        top: -70px; /* Un peu plus haut sur ordinateur */
    }
}

.pricing-section { display: flex; flex-direction: column; align-items: center; padding: 60px 24px; width: 100%; }

.pro-card {
    background: linear-gradient(180deg, rgba(25, 25, 25, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(101, 233, 238, 0.4);
    border-radius: 32px;
    padding: 40px 24px;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 50px rgba(101, 233, 238, 0.08), inset 0 0 20px rgba(101, 233, 238, 0.03);
}

.pro-header { display: flex; flex-direction: column; align-items: center; margin-bottom: 32px; }
.crown-icon { width: 80px; height: 80px; margin-bottom: 12px; filter: drop-shadow(0 0 15px rgba(101, 233, 238, 0.6)); }
.pro-header h3 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.badge-offer { color: var(--cyan-yeldii); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-shadow: 0 0 10px rgba(101, 233, 238, 0.3); }

.pro-features { list-style: none; width: 100%; background: transparent; margin-bottom: 40px; padding: 0; }
.pro-features li { display: flex; align-items: center; margin-bottom: 24px; position: relative; }
.pro-features li:last-child { margin-bottom: 0; }
.feature-icon-circle { width: 32px; height: 32px; border-radius: 50%; background: rgba(101, 233, 238, 0.1); display: flex; justify-content: center; align-items: center; margin-right: 16px; flex-shrink: 0; color: var(--cyan-yeldii); font-size: 14px; box-shadow: inset 0 0 5px rgba(101, 233, 238, 0.2); }
.feature-text h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.feature-text p { font-size: 12px; color: var(--gray-text); line-height: 1.4; }
.badge-soon { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: linear-gradient(135deg, var(--cyan-yeldii), var(--cyan-dark)); color: #000000; font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 12px; }

.pricing-block { text-align: center; margin-bottom: 24px; }
.price-amounts { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 8px; }
.price-old { color: var(--gray-text); font-size: 18px; font-weight: 600; text-decoration: line-through; }
.price-new { font-size: 26px; font-weight: 700; }
.billing-info { font-size: 12px; color: var(--gray-text); }

.billing-toggle { display: flex; background: rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 4px; width: 100%; max-width: 300px; margin: 0 auto 32px auto; box-shadow: inset 0 2px 5px rgba(0,0,0,0.2); }
.toggle-btn { flex: 1; background: transparent; border: none; color: var(--gray-text); font-size: 12px; font-weight: 600; padding: 10px 0; border-radius: 16px; cursor: pointer; transition: all 0.3s ease; }
.toggle-btn.active { background: rgba(255, 255, 255, 0.15); color: #FFFFFF; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }

.free-tier-link { color: var(--gray-text); font-size: 13px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gray-text); margin-top: 32px; margin-bottom: 40px; transition: color 0.2s ease, border-color 0.2s ease; }
.free-tier-link:hover { color: #FFFFFF; border-color: #FFFFFF; }

/* --- 7. FAQ Section --- */
.faq-section { display: flex; flex-direction: column; align-items: center; padding: 20px 24px 20px; width: 100%; max-width: 500px; margin: 0 auto; }
.faq-container { width: 100%; margin-bottom: 40px; border-top: 1px solid var(--divider-color); }
.faq-item { border-bottom: 1px solid var(--divider-color); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; line-height: 1.4; transition: color 0.2s ease; }
@media (hover: hover) { .faq-question:hover { color: var(--cyan-yeldii); } }
.faq-icon { 
    width: 28px; 
    height: 28px; 
    flex-shrink: 0; 
    margin-left: 16px; 
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); 
    object-fit: contain; /* S'assure que ton image ne soit pas déformée */
}
.faq-answer { max-height: 0; overflow: hidden; opacity: 0; padding-right: 44px; transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out; }
.faq-answer p { color: var(--gray-text); font-size: 14px; line-height: 1.5; margin: 0; padding-bottom: 24px; }
.faq-item.is-open .faq-answer { opacity: 1; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-item.is-open .faq-question { color: var(--cyan-yeldii); }

/* --- 8. Footer --- */
.site-footer { background-color: #161616; padding: 40px 24px 40px; width: 100%; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-content { display: flex; flex-direction: column; gap: 40px; margin-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; }
.footer-logo { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.footer-slogan { font-size: 15px; font-weight: 600; line-height: 1.5; }
.footer-nav h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 18px; }
.footer-nav a { color: var(--gray-text); text-decoration: none; font-size: 15px; transition: color 0.2s ease; }
.footer-nav a:hover { color: #FFFFFF; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; border-top: 1px solid var(--divider-color); padding-top: 32px; }
.social-icons { display: flex; gap: 16px; margin-bottom: 24px; }
.social-link img { width: 34px; height: 34px; border-radius: 50%; transition: transform 0.2s ease, filter 0.2s ease; filter: grayscale(20%); }
.social-link img:hover { transform: scale(1.1); filter: grayscale(0%); }
.copyright { color: var(--gray-text); font-size: 12px; }

/* =========================================
   PAGES LÉGALES (legal.html)
   ========================================= */
.legal-main { padding: 120px 24px 60px; max-width: 800px; margin: 0 auto; }
.back-button { display: flex; align-items: center; gap: 8px; color: #FFFFFF; text-decoration: none; font-size: 15px; font-weight: 600; transition: opacity 0.2s ease; }
.back-button:hover { opacity: 0.7; }
.legal-section { margin-bottom: 80px; background: rgba(20, 20, 20, 0.4); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 24px; padding: 40px 24px; }
.legal-header { text-align: center; margin-bottom: 40px; }
.legal-header h1 { font-size: 24px; font-weight: 800; margin-bottom: 8px; color: #FFFFFF; }
.legal-date { font-size: 14px; color: var(--gray-text); }
.legal-block { margin-bottom: 32px; }
.legal-block-title { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.legal-number { display: flex; justify-content: center; align-items: center; width: 24px; height: 24px; background: linear-gradient(135deg, var(--cyan-yeldii), var(--cyan-dark)); color: #000000; font-size: 14px; font-weight: 800; border-radius: 50%; flex-shrink: 0; }
.legal-block-title h3 { font-size: 16px; font-weight: 700; color: #FFFFFF; }
.legal-text { font-size: 14px; color: var(--gray-text); line-height: 1.6; padding-left: 36px; }


/* =========================================
   VUE ORDINATEUR (Desktop / iPad Paysage)
   ========================================= */
@media (min-width: 1024px) {

    /* --- 1. Header (Navbar) --- */
    .header { padding: 20px 48px; }
    .menu-icon { display: none; }
    .desktop-nav { display: flex !important; gap: 40px; }
    .nav-link { color: #FFFFFF; text-decoration: none; font-size: 15px; font-weight: 600; transition: color 0.2s ease; }
    .nav-link:hover { color: var(--cyan-yeldii); }
    .desktop-actions { display: flex !important; align-items: center; gap: 24px; }
    .lang-selector-desktop { background: transparent; border: none; color: var(--gray-text); cursor: pointer; display: flex; align-items: center; transition: color 0.2s ease; }
    .lang-selector-desktop:hover { color: #FFFFFF; }
    .btn-secondary { background: linear-gradient(135deg, var(--cyan-yeldii), var(--cyan-dark)); color: #000000; padding: 12px 24px; border-radius: 40px; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
    .btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(101, 233, 238, 0.3); }

    /* --- 2. Hero Section --- */
    .hero { padding: 160px 24px 80px; }
    .hero-title { font-size: 64px; line-height: 1.1; margin-bottom: 56px; }
    .btn-primary { font-size: 18px; padding: 22px 40px; max-width: 380px; }
    .section-title { font-size: 40px; margin-bottom: 60px; }

    /* --- 3. Scrollytelling --- */
    .app-showcase { padding-top: 100px; }
    .scroll-track { display: flex; justify-content: center; align-items: flex-start; gap: 120px; max-width: 1100px; margin: 0 auto; }
    .sticky-phone-wrapper { top: 20vh; height: auto; }
    .phone-frame { width: 320px; height: 650px; }
    .cards-container { padding-top: 25vh; padding-bottom: 25vh; width: 450px; }
    
    .glass-card { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: none; box-shadow: none; padding: 0; margin: 0 0 60vh 0; width: 100%; max-width: 100%; }
    
    .content-mobile { display: none !important; }
    .content-desktop { display: block !important; animation: fadeIn 0.5s ease-out; }
    
    .glass-card h3 { font-size: 38px; margin-bottom: 24px; line-height: 1.1; }
    .glass-card p { font-size: 17px; color: #BBBBBB; margin-bottom: 40px; line-height: 1.6; }
    .feature-list li { font-size: 15px; margin-bottom: 24px; color: #CCCCCC; }
    .feature-list li::before { font-size: 20px; top: -3px; }

    /* =========================================
       4. PRIX (ALIGNEMENT LIGNES & BOUTONS)
       ========================================= */
    .pricing-section { padding: 100px 24px; max-width: 900px; margin: 0 auto; }

    ul.pro-features.mobile-only { display: none !important; }
    .mobile-only { display: none !important; }
    div.desktop-only { display: flex !important; }
    ul.desktop-only { display: block !important; }

    .billing-toggle { max-width: 300px; margin: 0 auto 60px auto; }

    /* LE CONTENEUR : Stretch permet d'aligner les boutons en bas dans le vide */
    .pricing-grid-container {
        display: flex;
        align-items: stretch; 
        justify-content: center;
        width: 100%;
        max-width: 860px; 
        margin: 0 auto;
    }

    /* --- Colonne Gratuit --- */
    .free-tier-col {
        width: 480px !important; 
        flex: none !important; 
        display: flex !important;
        flex-direction: column;
        z-index: 1;
    }

    .tier-header {
        height: 140px; 
        flex: none; /* Ne s'étire jamais */
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-end; 
        padding-bottom: 24px;
        padding-right: 65px; /* Centre parfait au-dessus de 'Illimité' */
    }

    .tier-header h3 { font-size: 24px; font-weight: 700; margin-bottom: 4px; color: #FFFFFF; text-align: right; }
    .tier-header .price-new { font-size: 18px; font-weight: 600; color: #FFFFFF; text-align: right; }

    /* La boîte noire s'arrête à la fin de la liste */
    .free-tier-body {
        background: #1C1C1E;
        border-radius: 24px 0 0 24px;
        padding-top: 42px; /* Padding horizontal à zéro pour que le trait touche le bord */
        display: flex;
        flex-direction: column;
        flex: none; /* Stoppe la boîte noire */
        margin-top: 20px; 
    }

    /* --- Colonne PRO --- */
    .pro-card {
        width: 360px !important; 
        flex: none !important; 
        display: flex !important;
        flex-direction: column !important;
        z-index: 2; 
        margin-left: -20px !important; /* Chevauchement */

        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        max-width: none !important;
        border-radius: 0 !important;
    }

    .pro-card-header {
        height: 140px; 
        flex: none;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        padding-bottom: 24px;
    }

    .pro-header { display: flex; flex-direction: column; align-items: center; margin-bottom: 8px; }
    .crown-icon { width: 80px; height: 80px; margin-bottom: 6px; }
    .pro-header h3 { font-size: 24px; font-weight: 700; margin-bottom: 0; }
    .pro-card .pricing-block { margin-bottom: 0; display: flex; flex-direction: column; align-items: center; }

    /* S'étire jusqu'en bas pour englober le bouton */
    .pro-tier-body {
        width: 100%; 
        background: linear-gradient(180deg, #3A3C42 0%, #24262B 100%) !important; /* COULEUR PLUS CLAIRE */
        border: 2px solid var(--cyan-yeldii) !important;
        box-shadow: 0 10px 40px rgba(101, 233, 238, 0.15) !important;
        border-radius: 24px !important;
        /* Padding Haut 60px (40+20) : SYNCHRONISE EXACTEMENT LES LIGNES AVEC LA BOÎTE GRATUITE */
        padding: 60px 0 32px 0 !important; 
        display: flex !important;
        flex-direction: column !important;
        flex-grow: 1 !important; /* Remplit l'espace */
        margin-top: 0 !important;
    }

    /* --- Lignes du tableau (Traits continus) --- */
    .tier-features {
        list-style: none;
        width: 100%;
        margin: 0 0 24px 0;
        padding: 0;
    }

    .tier-features li {
        height: 56px; /* HAUTEUR STRICTE = ALIGNEMENT PARFAIT */
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Le trait touche les bords et fusionne avec l'autre carte */
        width: 100%;
        box-sizing: border-box;
    }

    .tier-features li:last-child { border-bottom: none; }

    /* Ligne Gratuit */
    .free-tier-body .tier-features li { 
        justify-content: space-between; 
        padding-left: 40px;
        padding-right: 80px; 
    }

    /* Ligne PRO */
    .pro-tier-body .tier-features li { 
        justify-content: center; 
        margin: 0 !important; 
        padding: 0 24px !important; 
    }

    .feature-label { font-size: 14px; font-weight: 600; color: #FFFFFF; text-align: left; }
    .feature-value { font-size: 14px; color: var(--gray-text); }
    .pro-tier-body .feature-value { color: #FFFFFF; font-weight: 500; }

    /* --- Boutons CTA (Alignés horizontalement dans le vide) --- */
    .free-tier-col .btn-text-link {
        color: var(--cyan-yeldii);
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        margin-top: auto; /* POUSSE TOUT EN BAS DE LA COLONNE */
        margin-bottom: 50px; /* ALIGNE AVEC LE BOUTON PRO D'À CÔTÉ */
        margin-right: 40px;
        align-self: end;
        transition: opacity 0.2s ease;
    }
    .free-tier-col .btn-text-link:hover { opacity: 0.7; }

    .pro-tier-body .btn-primary {
        margin: auto 32px 0 32px !important; /* Pousse en bas du bloc premium */
        width: calc(100% - 64px) !important; 
        max-width: none;
        padding: 18px 0; 
        font-size: 15px;
        white-space: nowrap !important; 
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .indicator-pricing { margin-top: 100px; }

    /* --- 5. FAQ & Footer --- */
    .faq-section { padding: 100px 24px; max-width: 700px; margin: 0 auto; }
    .faq-question { font-size: 18px; }
    .faq-answer p { font-size: 16px; }
    .footer-content { flex-direction: row; justify-content: space-between; max-width: 1100px; margin: 0 auto 60px; }
    .footer-brand { max-width: 300px; }
    .footer-bottom { max-width: 1100px; margin: 0 auto; flex-direction: row; justify-content: space-between; }
    .social-icons { margin-bottom: 0; }
}


/* =========================================
   PAGE AUTHENTIFICATION (Mot de passe oublié)
   ========================================= */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 24px;
}

.auth-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    padding-top: 0; /* Écrase le padding du main par défaut */
}

.auth-card {
    background: #1C1C1E; /* Le même gris que ta partie Gratuite / App */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.auth-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--gray-text);
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.5;
}

.auth-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group input {
    width: 100%;
    background: #2C2C2E; /* Gris un peu plus clair pour l'input, comme sur ton app */
    border: 1px solid transparent;
    color: #FFFFFF;
    font-size: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.input-group input::placeholder {
    color: #8E8E93; /* Couleur de placeholder iOS standard */
}

.input-group input:focus {
    border-color: var(--cyan-yeldii);
}

.auth-btn {
    margin-bottom: 24px; /* Rapproche le bouton du reste */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 15px;
}

.auth-back-link {
    color: var(--gray-text);
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.auth-back-link:hover {
    color: #FFFFFF;
    border-color: #FFFFFF;
}