/* =============================================================================
   Prizimmo - Landing Page
   ============================================================================= */

@font-face {
    font-family: 'BlendaScript';
    src: url('../fonts/BlendaScript.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --red: #ff0000;
    --red-dark: #cc0000;
    --red-light: #fef2f2;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---- Navigation ---- */

.nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ---- Language Switcher ---- */

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-sep {
    color: var(--gray-200);
    font-size: 0.9rem;
    user-select: none;
}

.lang-btn {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.lang-btn:hover {
    color: var(--gray-900);
    background: var(--gray-100);
}

.lang-btn.active {
    color: var(--red);
    font-weight: 700;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo-img {
    width: 128px;
    height: 128px;
    border-radius: 28px;
}

.logo-text {
    font-family: 'BlendaScript', cursive;
    font-size: 5.6rem;
    color: var(--red);
}

/* ---- Hero ---- */

.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 60px;
    align-items: center;
}

.hero .nav {
    grid-column: 1 / -1;
    padding: 0 0 60px;
    max-width: none;
    margin: 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-500);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-image {
    display: flex;
    justify-content: center;
}

/* ---- Phone Mockup ---- */

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--gray-100);
    border-radius: 36px;
    border: 6px solid var(--gray-900);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-mockup img[src=""],
.phone-mockup img:not([src]),
.phone-mockup img[src*="screenshot-"] {
    /* Placeholder quand l'image n'existe pas */
}

/* ---- App Store Button ---- */

.btn-appstore {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gray-900);
    color: var(--white);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: var(--radius);
    transition: background 0.2s, transform 0.2s;
}

.btn-appstore:hover {
    background: var(--gray-700);
    transform: translateY(-1px);
}

.btn-appstore small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
    line-height: 1;
}

.btn-appstore span {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

.apple-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.btn-appstore-light {
    background: var(--white);
    color: var(--gray-900);
    border: 2px solid var(--gray-200);
}

.btn-appstore-light:hover {
    background: var(--gray-50);
    border-color: var(--gray-500);
}

/* ---- Features ---- */

.features {
    background: var(--gray-50);
    padding: 80px 24px;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 48px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: left;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--red-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--red);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ---- Showcase ---- */

.showcase {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.showcase-content p {
    font-size: 1.05rem;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.showcase-list {
    list-style: none;
    padding: 0;
}

.showcase-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 1rem;
    color: var(--gray-700);
}

.showcase-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: var(--red);
    border-radius: 50%;
    opacity: 0.15;
}

.showcase-list li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
}

.showcase-image {
    display: flex;
    justify-content: center;
}

/* ---- CTA ---- */

.cta {
    background: var(--red);
    padding: 80px 24px;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

.cta .btn-appstore-light {
    border-color: rgba(255, 255, 255, 0.3);
    background: var(--white);
}

.cta .btn-appstore-light:hover {
    background: var(--gray-50);
}

/* ---- Footer ---- */

.footer {
    padding: 32px 24px;
    background: var(--gray-900);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-family: 'BlendaScript', cursive;
    font-size: 1.4rem;
    color: var(--white);
}

.footer p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 32px 20px 60px;
        text-align: center;
    }

    .hero .nav {
        padding-bottom: 40px;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-image {
        margin-top: 48px;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .showcase {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .showcase-image {
        order: -1;
        margin-bottom: 20px;
    }

    .showcase-list {
        display: inline-block;
        text-align: left;
    }

    .footer-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .logo-text {
        font-size: 2.8rem;
    }

    .nav-logo {
        gap: 12px;
    }

    .hero {
        padding: 24px 16px 48px;
    }

    .hero .nav {
        padding-bottom: 28px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
        border-radius: 28px;
        border-width: 5px;
    }

    .hero-image {
        margin-top: 36px;
    }

    .features {
        padding: 48px 16px;
    }

    .features h2,
    .showcase h2,
    .cta h2 {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .features-grid {
        gap: 20px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .showcase {
        padding: 48px 16px;
        gap: 36px;
    }

    .showcase-content p {
        font-size: 0.95rem;
    }

    .cta {
        padding: 48px 16px;
    }

    .cta p {
        font-size: 0.95rem;
    }

    .btn-appstore {
        padding: 10px 20px;
    }

    .btn-appstore span {
        font-size: 1rem;
    }
}
