/* Police auto-hébergée (RGPD + suppression du render-blocking Google Fonts) */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-ZHdaFJ8.woff2") format('woff2');
}

body.gradient-page {
    background: var(--gradient-purple);
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden
}

body.gradient-page:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, hsla(0, 0%, 100%, .05) 0, transparent 50%), radial-gradient(circle at 80% 80%, hsla(0, 0%, 100%, .05) 0, transparent 50%), radial-gradient(circle at 40% 20%, rgba(118, 75, 162, .2) 0, transparent 50%);
    pointer-events: none;
    z-index: 0
}

/* Le skip-link est exclu : cette regle le repositionnait dans le flux et le
   rendait visible en haut des pages vitrine (meme specificite que la regle
   d'app_common.css, mais chargee apres). */
body.gradient-page > *:not(.ez-skip-link) {
    position: relative;
    z-index: 1
}

body.gradient-page.variant-pink {
    background: var(--gradient-pink)
}

body.gradient-page.variant-blue {
    background: var(--gradient-blue)
}

body.gradient-page.variant-ocean {
    background: var(--gradient-ocean)
}

body.gradient-page.variant-sunset {
    background: var(--gradient-sunset)
}

body.gradient-page.variant-emerald {
    background: var(--gradient-emerald)
}

body.gradient-page.variant-rainbow {
    background: var(--gradient-rainbow)
}

.gradient-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 60px;
    box-shadow: var(--shadow-xl)
}

.gradient-header {
    text-align: center;
    margin-bottom: 60px
}

.gradient-header h1 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .2)
}

.gradient-header p {
    font-size: 20px;
    color: hsla(0, 0%, 100%, .9)
}

.pricing-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto
}

@media (max-width: 1479px) {
    .pricing-grid {
        grid-template-columns:repeat(2, 1fr)
    }
}

@media (max-width: 779px) {
    .pricing-grid {
        grid-template-columns:1fr
    }
}

.pricing-card {
    background: hsla(0, 0%, 100%, .95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: 48px 36px;
    position: relative;
    border: 2px solid hsla(0, 0%, 100%, .3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .1);
    transition: all .4s cubic-bezier(.4, 0, .2, 1)
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
    border-color: rgba(102, 126, 234, .5)
}

.pricing-card.featured {
    background: linear-gradient(135deg, hsla(0, 0%, 100%, .98), hsla(0, 0%, 100%, .95));
    border: 3px solid var(--primary);
    transform: scale(1.03);
    box-shadow: 0 20px 60px rgba(102, 126, 234, .3)
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 30px 80px rgba(102, 126, 234, .4)
}

.price-container {
    margin-bottom: 32px
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--gray-900)
}

.price-currency {
    font-size: 24px;
    vertical-align: super
}

.price-period {
    font-size: 16px;
    color: var(--gray-600);
    font-weight: 400
}

.features-list {
    list-style: none
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--gray-800);
    font-size: 14px;
    line-height: 1.6
}

.feature-icon {
    color: var(--secondary);
    font-size: 16px;
    margin-top: 2px
}

.feature-icon.icon-purple {
    color: var(--accent-purple)
}

.feature-icon.icon-pink {
    color: var(--accent-pink)
}

.feature-icon.icon-blue {
    color: var(--accent-blue)
}

.feature-icon.icon-teal {
    color: var(--accent-teal)
}

.feature-icon.disabled {
    color: var(--gray-300)
}

.feature-text.disabled {
    color: var(--gray-400);
    text-decoration: line-through
}

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

.page-content {
    flex: 1
}

.logo-container-hero {
    text-align: center;
    margin-bottom: 50px
}

.logo-wrapper {
    display: inline-block;
    background: #fff;
    padding: 24px 40px;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15), 0 0 0 1px hsla(0, 0%, 100%, .1);
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    position: relative
}

.logo-wrapper:before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(102, 126, 234, .3), rgba(118, 75, 162, .3));
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: opacity .4s ease
}

.logo-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(102, 126, 234, .3), 0 0 0 1px hsla(0, 0%, 100%, .2)
}

.logo-wrapper:hover:before {
    opacity: 1
}

.logo-wrapper img {
    height: 85px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(102, 126, 234, .2))
}

.gradient-content {
    text-align: center;
    color: #fff;
    margin: 60px 0
}

.gradient-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, .15);
    letter-spacing: -.02em;
    line-height: 1.1
}

.gradient-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    color: hsla(0, 0%, 100%, .95);
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .1)
}

section {
    text-align: center
}

section h2 {
    position: relative;
    display: inline-block;
    font-weight: 800;
    letter-spacing: -.02em
}

section h2:after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-rainbow);
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, .5)
}

.gradient-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap
}

.gradient-btn {
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden
}

.gradient-btn-primary {
    background: #fff;
    color: var(--primary-accessible);
    box-shadow: 0 10px 30px hsla(0, 0%, 100%, .3)
}

.gradient-btn-primary:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, .2), transparent);
    transition: left .6s ease
}

.gradient-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px hsla(0, 0%, 100%, .4);
    color: #5568d3
}

.gradient-btn-primary:hover:before {
    left: 100%
}

.gradient-btn-secondary {
    background: hsla(0, 0%, 100%, .1);
    color: #fff;
    border: 2px solid hsla(0, 0%, 100%, .5);
    backdrop-filter: blur(10px)
}

.gradient-btn-secondary:hover {
    background: hsla(0, 0%, 100%, .2);
    border-color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px hsla(0, 0%, 100%, .2)
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns:repeat(2, 1fr)
    }

    .features-grid .feature-card:nth-child(5), .features-grid .feature-card:nth-child(6) {
        grid-column: auto
    }
}

@media (max-width: 779px) {
    .features-grid {
        grid-template-columns:1fr
    }
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
    border-color: hsla(0, 0%, 100%, .3)
}

.feature-card:hover:before {
    opacity: 1
}

.feature-card .feature-icon {
    font-size: 56px;
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    position: relative;
    transition: all .4s ease
}

.feature-card:nth-child(6n+1) .feature-icon {
    background: var(--gradient-purple);
    box-shadow: 0 8px 24px rgba(102, 126, 234, .4)
}

.feature-card:nth-child(6n+2) .feature-icon {
    background: var(--gradient-pink);
    box-shadow: 0 8px 24px rgba(236, 72, 153, .4)
}

.feature-card:nth-child(6n+3) .feature-icon {
    background: var(--gradient-blue);
    box-shadow: 0 8px 24px rgba(59, 130, 246, .4)
}

.feature-card:nth-child(6n+4) .feature-icon {
    background: var(--gradient-emerald);
    box-shadow: 0 8px 24px rgba(16, 185, 129, .4)
}

.feature-card:nth-child(6n+5) .feature-icon {
    background: var(--gradient-ocean);
    box-shadow: 0 8px 24px rgba(6, 182, 212, .4)
}

.feature-card:nth-child(6n+6) .feature-icon {
    background: var(--gradient-sunset);
    box-shadow: 0 8px 24px rgba(249, 115, 22, .4)
}

.feature-card .feature-icon i {
    color: #fff;
    font-size: 42px
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg)
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 700
}

.feature-card p {
    color: hsla(0, 0%, 100%, .85);
    line-height: 1.7;
    font-size: 15px
}

.gradient-footer {
    border-top: 2px solid hsla(0, 0%, 100%, .15);
    padding: 50px 20px 30px;
    margin-top: 120px;
    text-align: center;
    background: rgba(0, 0, 0, .1);
    backdrop-filter: blur(10px)
}

.footer-links {
    list-style: none;
    padding-left: 14px;
    color: hsla(0, 0%, 100%, .9);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 24px;
    font-size: 15px
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    color: hsla(0, 0%, 100%, .9);
    transition: all .3s ease;
    font-weight: 500;
    padding: 0 12px;
    border-radius: 6px
}

.footer-links a:hover {
    color: #fff;
}

.footer-links span {
    color: hsla(0, 0%, 100%, .4);
    user-select: none
}

.footer-copyright {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid hsla(0, 0%, 100%, .1);
    color: hsla(0, 0%, 100%, .7);
    font-size: 14px;
    line-height: 1.6
}

.footer-copyright a {
    color: hsla(0, 0%, 100%, .95);
    text-decoration: none;
    font-weight: 600;
    transition: all .3s ease
}

.footer-copyright a:hover {
    color: #fff;
    text-decoration: underline
}

.gradient-content-page {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15)
}

.legal-section {
    margin-bottom: 40px
}

.legal-section h2 {
    font-size: 24px;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    font-weight: 700
}

.legal-section p {
    margin-bottom: 16px
}

.legal-section p, .legal-section ul {
    color: var(--gray-700);
    line-height: 1.8
}

.legal-section ul {
    margin-left: 20px
}

.legal-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition)
}

.legal-link:hover {
    color: var(--primary-dark);
    text-decoration: underline
}

.back-button-light {
    color: #fff !important;
    background: hsla(0, 0%, 100%, .1);
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 32px;
    transition: all .3s ease
}

.back-button-light:hover {
    background: hsla(0, 0%, 100%, .2);
    transform: translateX(-4px)
}

.step-card {
    padding: 48px 36px;
    background: linear-gradient(135deg, hsla(0, 0%, 100%, .12), hsla(0, 0%, 100%, .06));
    border-radius: 28px;
    border: 2px solid hsla(0, 0%, 100%, .2);
    backdrop-filter: blur(30px);
    transition: all .5s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15)
}

.step-card:before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, .15), rgba(118, 75, 162, .1))
}

.step-card:after, .step-card:before {
    content: "";
    position: absolute;
    opacity: 0;
    transition: opacity .5s ease
}

.step-card:after {
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, hsla(0, 0%, 100%, .1) 0, transparent 70%)
}

.step-card:hover {
    background: linear-gradient(135deg, hsla(0, 0%, 100%, .2), hsla(0, 0%, 100%, .1));
    transform: translateY(-16px) scale(1.03);
    border-color: hsla(0, 0%, 100%, .4);
    box-shadow: 0 24px 70px rgba(102, 126, 234, .3)
}

.step-card:hover:after, .step-card:hover:before {
    opacity: 1
}

.step-number {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    font-size: 42px;
    font-weight: 900;
    margin: 0 auto 28px;
    box-shadow: 0 12px 35px rgba(102, 126, 234, .6);
    transition: all .5s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    z-index: 1;
    border: 3px solid hsla(0, 0%, 100%, .3)
}

.step-card:hover .step-number {
    transform: scale(1.2) rotate(1turn);
    box-shadow: 0 18px 50px rgba(102, 126, 234, .8)
}

.cta-button {
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    margin-bottom: 32px;
    text-decoration: none !important;
    display: block;
    text-align: center;
    letter-spacing: .3px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box
}

.cta-button.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(102, 126, 234, .35);
    border: none
}

.cta-button.primary:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, hsla(0, 0%, 100%, .2), transparent);
    transition: left .5s ease
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, .5)
}

.cta-button.primary:hover:before {
    left: 100%
}

.cta-button.secondary {
    background: #fff;
    color: #1f2937 !important;
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08)
}

.cta-button.secondary:hover {
    background: #f9fafb;
    border-color: #667eea;
    color: var(--primary-accessible) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, .2)
}

html {
    scroll-behavior: smooth
}

@media (max-width: 1024px) {
    .gradient-title {
        font-size: 48px !important
    }

    .gradient-subtitle {
        font-size: 20px !important
    }

    section h2 {
        font-size: 36px !important
    }

    .feature-card {
        padding: 40px 24px
    }

    .pricing-card {
        padding: 36px 28px
    }

    .step-card {
        padding: 32px 24px
    }
}

@media (max-width: 779px) {
    body.gradient-page {
        padding: 24px 16px
    }

    .gradient-card {
        padding: 32px 20px
    }

    .gradient-header h1 {
        font-size: 28px
    }

    .gradient-header p {
        font-size: 16px
    }

    .pricing-card.featured {
        transform: scale(1)
    }

    .pricing-card {
        padding: 32px 24px
    }

    .gradient-title {
        font-size: 32px !important;
        line-height: 1.2
    }

    .gradient-subtitle {
        font-size: 16px !important;
        line-height: 1.5
    }

    section h2 {
        font-size: 28px !important
    }

    section h2:after {
        width: 60px;
        height: 3px
    }

    .feature-card, .gradient-content-page {
        padding: 32px 20px
    }

    .feature-card .feature-icon {
        width: 70px;
        height: 70px
    }

    .feature-card .feature-icon i {
        font-size: 32px
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 28px
    }

    .step-card {
        padding: 28px 20px
    }

    .gradient-btn {
        padding: 14px 28px;
        font-size: 15px
    }

    .gradient-actions {
        flex-direction: column;
        gap: 16px
    }

    .gradient-actions a {
        width: 100%
    }

    .logo-wrapper {
        padding: 18px 30px
    }

    .logo-wrapper img {
        height: 60px
    }

    .gradient-footer {
        margin-top: 80px;
        padding: 40px 16px 24px
    }

    .footer-links {
        flex-direction: column;
        gap: 12px
    }

    .footer-links a {
        display: block;
        width: 100%;
        text-align: center
    }

    .footer-links span {
        display: none
    }

    .footer-copyright {
        font-size: 13px
    }
}

/* Tokens : voir tokens.css (source de verite unique). */

/* Identite typographique de la vitrine. home.css n'est charge que par
   public_base.html.twig : le tableau de bord reste en Inter. */
body {
    font-family: Plus Jakarta Sans, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

.top-bar {
    background: var(--primary-surface);
    color: #fff;
    padding: 12px 0;
    font-size: 14px
}

.top-bar-content {
    max-width: 1545px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.top-bar-links a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
    transition: color .3s ease
}

.top-bar-links a:hover {
    color: var(--accent-pink)
}

.top-bar-links i {
    margin-right: 6px
}

.main-header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    position: sticky;
    top: 0;
    z-index: 100
}

.header-content {
    max-width: 1545px;
    margin: 0 auto;
    padding: 0 40px;
    justify-content: space-between
}

.header-content, .logo-header {
    display: flex;
    align-items: center
}

.logo-header {
    text-decoration: none;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-accessible)
}

.logo-header img {
    height: 40px;
    margin-right: 12px
}

.main-nav {
    display: flex;
    gap: 40px;
    align-items: center
}

.main-nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color .3s ease
}

.main-nav a:hover {
    color: var(--primary-accessible)
}

.header-buttons {
    display: flex;
    gap: 16px;
    align-items: center
}

.hero-banner {
    background: linear-gradient(135deg, rgba(102, 126, 234, .95), rgba(118, 75, 162, .95)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23667eea" width="1200" height="600"/><path fill="%23ffffff" opacity="0.05" d="M0 300 Q 300 100 600 300 T 1200 300 V 600 H 0 Z"/></svg>');
    background-size: cover;
    background-position: 50%;
    padding: 140px 40px 180px;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center
}

.hero-banner:before {
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: hsla(0, 0%, 100%, .1);
    filter: blur(80px)
}

.hero-banner:after, .hero-banner:before {
    content: "";
    position: absolute;
    border-radius: 50%
}

.hero-banner:after {
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(118, 75, 162, .3);
    filter: blur(100px)
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto
}

.hero-content h1 {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .2)
}

.hero-content h1, .hero-content h1 .accent {
    color: #fff
}

.hero-content h1 .accent {
    position: relative
}

.hero-content .hero-subheadline {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: .95;
    color: #fff !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto
}

.hero-buttons {
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px
}

.hero-buttons, .hero-social-proof {
    display: flex;
    justify-content: center
}

.hero-social-proof {
    align-items: center;
    gap: 16px;
    margin-bottom: 50px;
    font-size: 14px;
    color: #fff
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 8px
}

.social-proof-item i {
    color: #a7e7d4
}

.social-proof-separator {
    opacity: .5;
    font-size: 20px
}

.hero-features {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto
}

.hero-feature {
    background: hsla(0, 0%, 100%, .15);
    backdrop-filter: blur(10px);
    padding: 24px 20px;
    border-radius: 16px;
    border: 1px solid hsla(0, 0%, 100%, .2);
    text-align: left;
    transition: all .3s ease
}

.hero-feature:hover {
    background: hsla(0, 0%, 100%, .25);
    transform: translateY(-4px)
}

.hero-feature-icon {
    width: 48px;
    height: 48px;
    background: hsla(0, 0%, 100%, .25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 24px;
    color: #fff
}

.hero-feature-content {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.hero-feature-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3
}

.hero-feature-desc {
    font-size: 13px;
    color: hsla(0, 0%, 100%, .8);
    line-height: 1.4
}

/* Boutons de la vitrine (pilule sur fond degrade). Nommes .btn-hero-* et non
   .btn-primary / .btn-outline : ces derniers appartiennent a Bootstrap et etaient
   ecrases sur toutes les pages - cf docs/audit-uiux.md section 3. */
.btn-hero-outline, .btn-hero, .btn-hero-secondary {
    padding: 16px 40px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all .5s ease;
    border: none;
    cursor: pointer
}

.btn-hero-lg {
    padding: 18px 48px;
    font-size: 18px
}

.btn-hero {
    background: #fff;
    color: var(--primary-accessible);
    box-shadow: 0 8px 20px hsla(0, 0%, 100%, .3)
}

.btn-hero:hover {
    background: #ffd6f3;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px hsla(0, 0%, 100%, .4)
}

.btn-hero-secondary {
    background: var(--accent-pink);
    color: #fff
}

.btn-hero-secondary:hover {
    background: var(--primary-purple);
    transform: translateY(-2px)
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff
}

.btn-hero-outline:hover {
    background: #fff;
    color: var(--primary-accessible)
}

.features-section {
    padding: 100px 40px;
    background: #f9fafb
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: #000;
    margin-bottom: 16px;
    line-height: 1.2
}

.section-header p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    grid-template-rows:repeat(3, 1fr);
    grid-column-gap: 0;
    grid-row-gap: 0;
    gap: 30px
}

.feature-card {
    background: #fff;
    padding: 35px;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all .6s ease;
    cursor: pointer
}

.feature-card:hover {
    border-color: var(--accent-pink);
    box-shadow: 0 40px 40px rgba(167, 112, 222, .1);
    transform: translateY(-4px)
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--accent-pink), var(--dark-purple));
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 8px 24px rgba(102, 126, 234, .4)
}

.feature-card:hover .feature-content .feature-title {
    color: var(--accent-pink)
}

.feature-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-pink));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    transition: all .6s ease;
    flex-shrink: 0
}

.feature-icon i, .feature-icon svg {
    color: #fff;
    fill: #fff
}

.feature-content .feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
    transition: color .6s ease
}

.feature-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray)
}

.stats-section {
    padding: 100px 40px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-pink));
    color: #fff
}

.stats-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 60px;
    align-items: center
}

.stats-text h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff
}

.stats-text p {
    font-size: 18px;
    line-height: 1.7;
    opacity: .95;
    margin-bottom: 30px;
    color: #fff !important
}

.stats-grid {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 30px
}

.stat-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all .5s ease;
    cursor: default
}

.stat-card:hover {
    background: var(--accent-pink)
}

.stat-card:hover .stat-label, .stat-card:hover .stat-number {
    color: #fff
}

.stat-number {
    font-size: 40px;
    margin-bottom: 8px
}

.stat-label, .stat-number {
    transition: color .5s ease
}

.stat-label {
    font-size: 14px
}

.use-cases-section {
    padding: 100px 40px;
    background: #fff
}

.use-cases-grid {
    max-width: 1200px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 30px
}

.use-case-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    transition: all .4s ease;
    display: flex;
    flex-direction: column
}

.use-case-card:hover {
    border-color: var(--primary-accessible);
    box-shadow: 0 12px 40px rgba(102, 126, 234, .15);
    transform: translateY(-6px)
}

.use-case-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-pink));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    margin: 0 auto 40px
}

.use-case-card .use-case-title {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px
}

.use-case-description {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1
}

.use-case-benefits {
    margin-bottom: 24px
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-gray)
}

.benefit-item i {
    color: var(--success-green);
    font-size: 16px;
    flex-shrink: 0
}

.use-case-stat {
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-accessible);
    margin-bottom: 4px
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 600
}

.use-cases-cta {
    text-align: center;
    max-width: 600px;
    margin: 0 auto
}

.use-cases-cta h3 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 24px
}

.how-section {
    padding: 100px 40px;
    background: #fff
}

.steps-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 40px
}

.step-card {
    text-align: center;
    padding: 30px
}

.step-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000
}

.step-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-pink));
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, .3)
}

.plans-section {
    z-index: 10;
    padding: 40px 40px 120px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08)
}

.plans-header {
    text-align: center;
    margin-bottom: 40px
}

.billing-toggle {
    display: inline-flex;
    gap: 8px;
    background: #f3f4f6;
    padding: 6px;
    border-radius: 100px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08)
}

.billing-option {
    padding: 12px 28px;
    border: none;
    background: transparent;
    color: #374151;
    font-weight: 700;
    font-size: 15px;
    border-radius: 100px;
    cursor: pointer;
    transition: all .3s ease
}

.billing-option:hover {
    color: #111827
}

.billing-option.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, .4)
}

.save-badge {
    background: #047857; /* le vert #10b981 ne donnait que 2.53:1 avec du texte blanc */
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
    letter-spacing: .5px
}

.plans-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 24px;
    max-width: 100%
}

.plan-card {
    background: #fff;
    padding: 36px 28px 32px;
    border-radius: 20px;
    border: 2px solid #e5e7eb;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: all .3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    position: relative;
    overflow: visible
}

.plan-card:hover {
    border-color: var(--primary-accessible);
    box-shadow: 0 8px 30px rgba(102, 126, 234, .15);
    transform: translateY(-4px)
}

.plan-card:hover .plan-price .amount {
    color: var(--accent-pink)
}

.plan-card.featured {
    background: #fff;
    border-color: var(--primary-accessible);
    border-width: 3px
}

.plan-card.featured .plan-button {
    background: var(--accent-pink);
    color: #fff;
    border-color: var(--accent-pink)
}

.plan-card.featured .plan-button:hover {
    background: var(--primary-purple);
    border-color: var(--primary-accessible)
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-pink));
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, .3);
    z-index: 1
}

.plan-icon {
    font-size: 48px;
    color: var(--primary-accessible);
    margin-bottom: 20px
}

.plan-name {
    font-size: 24px;
    font-weight: 800;
    color: #000;
    margin-bottom: 12px
}

.plan-description {
    color: var(--text-gray);
    font-size: 15px;
    margin-bottom: 24px
}

.plan-price {
    margin-bottom: 30px;
    min-height: 80px
}

.plan-price .amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-accessible);
    line-height: 1.2;
    display: inline-flex;
    align-items: baseline;
    gap: 4px
}

.plan-price .currency {
    font-size: 24px;
    font-weight: 700
}

.plan-price .period {
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 600
}

.annual-price, .monthly-price {
    transition: opacity .3s ease
}

.price-note {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 8px;
    font-weight: 500
}

.plan-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
    flex: 1
}

.plan-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-gray)
}

.plan-features li i, .plan-features li svg {
    color: var(--success-green);
    fill: var(--success-green);
    font-size: 18px;
    flex-shrink: 0
}

.plan-features li.disabled {
    opacity: .5
}

.plan-features li.disabled i, .plan-features li.disabled svg {
    color: var(--error-red);
    fill: var(--error-red)
}

.plan-features li span {
    flex: 1
}

.plan-button {
    width: 100%;
    padding: 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: all .5s ease;
    border: 2px solid var(--accent-pink);
    background: transparent;
    color: var(--accent-pink)
}

.plan-button:hover {
    background: var(--accent-pink);
    color: #fff
}

.faq-section {
    padding: 100px 40px;
    background: #f9fafb
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 40px
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 24px
}

.faq-item {
    background: #fff;
    padding: 28px;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all .3s ease
}

.faq-item:hover {
    border-color: var(--primary-accessible);
    box-shadow: 0 8px 24px rgba(102, 126, 234, .1)
}

.faq-question {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    justify-content: center;
    align-items: center
}

.faq-question i {
    color: var(--primary-accessible);
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px
}

.faq-question .faq-question-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
    margin-bottom: 0
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
    padding-left: 36px
}

.faq-cta {
    text-align: center
}

.faq-cta-text {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px
}

.faq-cta .btn-hero-outline {
    background: transparent;
    color: var(--primary-accessible);
    border: 2px solid var(--primary-purple)
}

.faq-cta .btn-hero-outline:hover {
    background: var(--primary-purple);
    color: #fff
}

.cta-section {
    padding: 100px 40px;
    background: var(--dark-purple);
    text-align: center;
    color: #fff
}

.cta-content {
    max-width: 700px;
    margin: 0 auto
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #fff;
    line-height: 1.6
}

.main-footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 60px 40px 30px
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto
}

.footer-grid {
    display: grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px
}

.footer-about h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px
}

.footer-about p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: #d1d5db
}

.footer-column h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #374151;
    text-align: center;
    font-size: 14px;
    color: #d1d5db
}

.footer-bottom a {
    color: #a5b4fc;
    text-decoration: none
}

.footer-bottom a:hover {
    color: #fff
}

@media (max-width: 1200px) {
    .plans-grid {
        grid-template-columns:repeat(2, 1fr)
    }

    .hero-content h1 {
        font-size: 48px
    }

    .stats-content {
        grid-template-columns:1fr
    }

    .features-grid, .footer-grid, .use-cases-grid {
        grid-template-columns:repeat(2, 1fr)
    }

    .faq-container {
        grid-template-columns:1fr
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px
    }

    .header-content, .main-nav {
        flex-direction: column;
        gap: 20px
    }

    .hero-content h1 {
        font-size: 36px
    }

    .hero-features {
        grid-template-columns:1fr
    }

    .hero-social-proof {
        flex-direction: column;
        gap: 12px
    }

    .social-proof-separator {
        display: none
    }

    .plans-grid {
        grid-template-columns:1fr;
        max-width: 400px;
        margin: 0 auto
    }

    .plans-section {
        margin-top: -120px;
        padding: 0 20px 80px
    }

    .hero-banner {
        padding: 100px 20px 200px
    }

    .features-grid, .footer-grid, .steps-grid, .use-cases-grid {
        grid-template-columns:1fr
    }

    .section-header h2, .stats-text h2 {
        font-size: 32px
    }
}

/* ===== Animations d'entree (remplace le CDN animate.css) =====
   Seules les deux animations reellement utilisees par la vitrine sont
   embarquees : fadeIn (hero) et fadeInUp (cartes de tarifs). Charger
   animate.min.css depuis cdnjs etait a la fois du render-blocking tiers et
   une fuite d'IP vers un CDN hors UE (RGPD). */
.animate__animated {
    animation-duration: .8s;
    animation-fill-mode: both;
}

@keyframes ez-fade-in {
    from { opacity: 0 }
    to { opacity: 1 }
}

@keyframes ez-fade-in-up {
    from { opacity: 0; transform: translate3d(0, 40px, 0) }
    to { opacity: 1; transform: none }
}

.animate__fadeIn { animation-name: ez-fade-in }
.animate__fadeInUp { animation-name: ez-fade-in-up }

/* Respect de la preference systeme "moins d'animations" (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
    .animate__animated {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===== Pied de page ===== */
/* Les colonnes empilent leurs liens : `.footer-links` etait en flex ligne,
   heritage de l'ancienne barre de liens horizontale du bas de page. */
.main-footer .footer-links {
    display: block;
    padding-left: 0;
}

.main-footer .footer-links li + li {
    margin-top: 2px;
}

/* Le logo est noir sur fond clair : sur le pied sombre il faut sa version
   monochrome claire, sinon le mot « Link » disparait. */
.main-footer .footer-about img {
    filter: brightness(0) invert(1);
    opacity: .92;
}

/* Les liens et le texte du pied sont sur fond sombre : couleurs explicites
   plutot qu'une opacite, qui faisait tomber le contraste sous le seuil AA. */
.main-footer .footer-text {
    color: #ced4da;
    line-height: 1.7;
}

.main-footer .footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    color: #dee2e6;
    text-decoration: none;
    transition: color .2s ease;
}

.main-footer .footer-links a:hover,
.main-footer .footer-links a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.main-footer .footer-column h2 {
    color: #fff;
    font-weight: 600;
}

.main-footer .footer-bottom {
    color: #ced4da;
}

.main-footer .footer-bottom a {
    color: #fff;
}

.main-footer .footer-heart {
    color: #f472b6;
}

@media (max-width: 575.98px) {
    /* En mobile les deux lignes du bas se superposent : on les centre. */
    .main-footer .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}
