:root {
    --primary-green: #0a5c36;
    --dark-green: #063d23;
    --accent-gold: #f4b41a;
    --text-light: #ffffff;
    --text-muted: #e0e0e0;
    --bg-card: rgba(255, 255, 255, 0.08);
    --border-card: rgba(255, 255, 255, 0.15);
    --bg-light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--primary-green);
    color: var(--text-light);
    line-height: 1.6;
}

/* Base Typo & Elements */
strong {
    color: #ffffff;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header / Navbar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background-color: rgba(6, 61, 35, 0.96);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.btn-header {
    background-color: var(--accent-gold);
    color: #000;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-header:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* Hero Section (Page d'accueil) */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 8%;
    min-height: calc(100vh - 80px);
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Badges & Buttons (Accueil) */
.features-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge i {
    color: var(--accent-gold);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-store {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-store:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-decoration: none;
}

.btn-store i {
    font-size: 1.8rem;
}

.btn-store .btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-store .btn-text small {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.btn-store .btn-text strong {
    font-size: 1rem;
}

.btn-ios {
    background-color: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font: inherit;
}

.btn-ios:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* iOS Install Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
}

.modal-overlay[hidden] {
    display: none;
}

.modal-box {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--dark-green);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 32px 28px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-header-icon {
    font-size: 2.4rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
    display: block;
}

.modal-header h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.ios-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 26px;
}

.ios-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.ios-step-num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-open-link {
    width: 100%;
    justify-content: center;
    border-radius: 8px;
}

/* Phone Mockup (Accueil) */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    border-radius: 40px;
    border: 12px solid #1a1a1a;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, #0a5c36, #042918);
}

.phone-screen-content i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.phone-screen-content p {
    font-size: 0.8rem;
    margin-top: 10px;
    opacity: 0.8;
}

/* Policy Hero (Politique de confidentialité) */
.policy-hero {
    text-align: center;
    padding: 50px 8% 30px;
    background: linear-gradient(180deg, rgba(6, 61, 35, 0.5) 0%, transparent 100%);
}

.policy-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.policy-hero p {
    color: var(--text-muted);
    font-size: 1rem;
}

.updated {
    display: inline-block;
    background: rgba(244, 180, 26, 0.15);
    color: var(--accent-gold);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 15px;
    border: 1px solid rgba(244, 180, 26, 0.3);
}

/* Policy Content */
main {
    max-width: 850px;
    margin: 0 auto;
    padding: 20px 8% 80px;
}

.legal-notice {
    background: rgba(244, 180, 26, 0.1);
    border-left: 4px solid var(--accent-gold);
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 30px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

main h2 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-top: 2.2em;
    margin-bottom: 0.8em;
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 8px;
}

main h3 {
    font-size: 1.05rem;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #ffffff;
}

main p, main ul, main table {
    margin-bottom: 1em;
    color: var(--text-muted);
}

main ul {
    padding-left: 1.3em;
}

main li {
    margin-bottom: 0.5em;
}

/* Tableaux APDP */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0 25px;
    font-size: 0.9rem;
}

.data-table th, .data-table td {
    border: 1px solid var(--border-card);
    padding: 10px 14px;
    text-align: left;
}

.data-table th {
    background-color: rgba(6, 61, 35, 0.8);
    color: #ffffff;
}

.data-table td {
    background-color: var(--bg-card);
}

.contact-box {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 24px;
    margin-top: 15px;
}

.contact-box p {
    margin: 8px 0;
}

/* Footer Shared */
footer {
    padding: 25px 8%;
    background-color: var(--dark-green);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

.by-credit a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
}

.by-credit a:hover {
    text-decoration: underline;
}

/* =========================================
   Sections de la page d'accueil
   (alternance clair / vert / clair / or, alignées sur le header : 8 %)
   ========================================= */
main.home {
    max-width: none;
    margin: 0;
    padding: 0;
}

.band {
    padding: 90px 8%;
}

.band-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.band-head {
    max-width: 640px;
    margin-bottom: 44px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

main.home h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
}

main.home h3 {
    font-size: 1.08rem;
    margin: 0 0 8px;
}

main.home p {
    margin: 0;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.2rem;
    margin-bottom: 18px;
}

/* Fond clair */
.band-light {
    background: var(--bg-light);
    color: #1d2b24;
}

main.home .band-light h2,
main.home .band-light h3,
.band-light strong {
    color: #0f2a1d;
}

main.home .band-light p {
    color: #4a5a52;
}

.band-light .eyebrow {
    color: var(--primary-green);
}

.band-light a {
    color: var(--primary-green);
    font-weight: 600;
}

.band-light .icon-circle {
    background: rgba(10, 92, 54, 0.1);
    color: var(--primary-green);
}

/* Fond vert */
.band-green {
    background: var(--dark-green);
}

main.home .band-green h2,
main.home .band-green h3 {
    color: var(--text-light);
}

main.home .band-green p {
    color: var(--text-muted);
}

.band-green .icon-circle {
    background: rgba(244, 180, 26, 0.15);
    color: var(--accent-gold);
}

/* Cartes « Contenus » */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-card {
    background: #ffffff;
    border: 1px solid #e3e9e6;
    border-radius: 18px;
    padding: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(6, 61, 35, 0.08);
}

/* Fonctionnalités */
.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 0;
    margin: 0;
}

.feature-list li {
    margin: 0;
}

/* FAQ : titre à gauche, questions à droite */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: start;
}

.faq-layout .band-head {
    margin-bottom: 0;
}

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

.faq details {
    background: #ffffff;
    border: 1px solid #e3e9e6;
    border-radius: 14px;
    padding: 0 22px;
}

.faq summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: #0f2a1d;
    padding: 18px 32px 18px 0;
    position: relative;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--primary-green);
}

.faq details[open] summary::after {
    content: "−";
}

main.home .faq details p {
    padding: 0 0 18px;
}

/* Appel final */
.band-gold {
    background: var(--accent-gold);
    padding-top: 60px;
    padding-bottom: 60px;
}

.cta-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

main.home .band-gold h2 {
    color: #0f2a1d;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

main.home .band-gold p {
    color: #3b3420;
}

.band-gold .btn-store {
    flex-shrink: 0;
}

.footer-disclaimer {
    flex-basis: 100%;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Media Queries */
@media (max-width: 900px) {
    .band {
        padding: 60px 5%;
    }

    .cards-grid,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .feature-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .faq-layout {
        gap: 28px;
    }

    main.home h2 {
        font-size: 1.7rem;
    }

    .cta-layout {
        flex-direction: column;
        text-align: center;
    }

    header, main, footer {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 30px;
    }

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

    .features-badges {
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .btn-store {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        justify-content: center;
    }

    .modal-box {
        padding: 26px 20px 22px;
    }

    .modal-header h2 {
        font-size: 1.15rem;
    }

    .ios-steps li {
        font-size: 0.9rem;
    }

    .data-table {
        display: block;
        overflow-x: auto;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 560px) {
    .feature-list {
        grid-template-columns: 1fr;
    }
}