/* =================================================================
   LANDING PAGE - Pages Publiques (basé sur index_s3.html)
   Thème chaleureux et accessible avec palette douce
   ================================================================= */

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

:root {
    color-scheme: light only;

    /* Palette de couleurs chaudes et apaisantes */
    --primary: #8b7fb8;           /* Violet lavande doux */
    --primary-light: #b5a9d6;
    --secondary: #f4a261;         /* Orange pêche */
    --accent: #e76f51;            /* Corail */
    --success: #81b29a;           /* Vert sauge */
    --bg-cream: #fef9f5;          /* Fond crème */
    --bg-peach: #fef3ed;          /* Fond pêche */
    --bg-lavender: #f3f0f8;       /* Fond lavande */
    --text-dark: #3d3d3d;         /* Texte sombre */
    --text-medium: #6b6b6b;       /* Texte moyen */
    --text-light: #9b9b9b;        /* Texte clair */
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--text-dark);
    line-height: 1.8;
    background: var(--bg-cream);
}

/* =================================================================
   NAVBAR
   ================================================================= */

.navbar {
    background: var(--bg-cream);
    padding: 1.5rem 0;
    border-bottom: 2px solid #f0e6d9;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo i {
    color: var(--secondary);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

/* =================================================================
   BUTTONS
   ================================================================= */

.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 127, 184, 0.3);
}

.btn-white {
    background: white;
    color: var(--primary);
    border: 2px solid white;
}

.btn-white:hover {
    background: var(--bg-cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* =================================================================
   HERO SECTION
   ================================================================= */

.hero {
    background: linear-gradient(135deg, var(--bg-lavender) 0%, var(--bg-peach) 100%);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(139, 127, 184, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: var(--text-medium);
}

/* =================================================================
   STATS SECTION
   ================================================================= */

.stats {
    background: white;
    padding: 4rem 2rem;
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-card {
    background: var(--bg-lavender);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-medium);
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =================================================================
   SECTION
   ================================================================= */

.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.3rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

/* =================================================================
   SCREENSHOTS SECTION
   ================================================================= */

.screenshots {
    background: var(--bg-peach);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.screenshot-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.screenshot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.screenshot-visual {
    height: 280px;
    background: linear-gradient(135deg, var(--bg-lavender), var(--bg-peach));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.screenshot-visual i {
    font-size: 4rem;
    color: var(--primary);
}

.screenshot-body {
    padding: 2rem;
}

.screenshot-body h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.screenshot-body p {
    color: var(--text-medium);
    line-height: 1.7;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =================================================================
   TESTIMONIALS SECTION
   ================================================================= */

.testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--bg-lavender);
    padding: 2.5rem;
    border-radius: 24px;
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.15;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-dark);
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.author-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.author-info p {
    color: var(--text-medium);
    font-size: 0.95rem;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.testimonial-rating {
    color: var(--secondary);
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

/* =================================================================
   FAQ SECTION
   ================================================================= */

.faq {
    background: var(--bg-peach);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--bg-cream);
}

.faq-question-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.faq-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-lavender);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s;
}

.faq-item.active .faq-icon {
    background: var(--primary);
    color: white;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

.faq-answer-content {
    padding: 0 2rem 2rem;
    color: var(--text-medium);
    line-height: 1.8;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =================================================================
   CTA SECTION
   ================================================================= */

.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* =================================================================
   FOOTER
   ================================================================= */

footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =================================================================
   RESPONSIVE
   ================================================================= */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .stats-grid,
    .screenshot-grid,
    .testimonials-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
}
