:root {
    /* Palette Client */
    --light-sage: #BEC5AD;
    --sage: #A4B494;
    --leaf-green: #519872;
    --deep-forest: #3B5249;
    --terracotta: #E3735E;
    
    --text-light: #f4f7f0;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--deep-forest);
    color: var(--light-sage);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(59, 82, 73, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--leaf-green);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-img {
    height: 100px;
    width: auto;
    background-color: white;
    border-radius: 33%;
}

/* --- SOCIAL ICONS --- */
.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Effet rebond */
    border: 1px solid transparent;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: var(--terracotta);
    box-shadow: 0 5px 15px rgba(227, 115, 94, 0.3);
}

.tiktok-icon {
    width: 20px;
    height: 20px;
    fill: var(--text-light);
    transition: fill 0.3s ease;
}

.social-icon:hover .tiktok-icon {
    fill: var(--terracotta);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: radial-gradient(circle at top right, var(--leaf-green) 0%, var(--deep-forest) 60%);
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
    color: var(--sage);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--terracotta);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(227, 115, 94, 0.4);
    background-color: #ff856e;
}

.btn-secondary {
    background-color: var(--deep-forest);
    border: 2px solid var(--sage);
}

.btn-secondary:hover {
    background-color: var(--leaf-green);
}

/* --- FEATURES GRID --- */
.features {
    padding: 100px 5%;
    background-color: var(--light-sage);
    color: var(--deep-forest);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: var(--deep-forest);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(59, 82, 73, 0.1);
    transition: transform 0.3s;
    border-top: 5px solid var(--leaf-green);
}

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

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--deep-forest);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--terracotta);
}

/* --- MOCKUP / APP SHOWCASE --- */
.showcase {
    padding: 100px 5%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 60px;
    background-color: var(--sage);
}

.showcase-text {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.showcase-text h2 {
    font-size: 2.5rem;
    color: var(--deep-forest);
    margin-bottom: 20px;
}

.showcase-text p {
    color: #2c3e37;
    margin-bottom: 30px;
}

/* Mockup responsive avec ratio 9:16 */
.mockup {
    display: inline-flex;
    /* On fixe les dimensions pour forcer le scroll interne */
    width: 300px;
    height: 600px;
    border-radius: 40px;
    border: 8px solid #2c3e37;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    overflow: hidden; /* Masque ce qui dépasse */
    position: relative;
    align-items: center;
    justify-content: center;
    background: var(--deep-forest);
    flex-shrink: 0; /* Empêche le téléphone de s'écraser */
}

/* Styles de la galerie (scroll horizontal) */
.screen-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    height: 100%;
}

.screen-gallery::-webkit-scrollbar {
    display: none; /* Cache la barre de défilement */
}

.screen-gallery img {
    flex: 0 0 100%; /* Chaque image prend 100% de la largeur du téléphone */
    width: 100%;
    height: 100%; /* Remplit toute la hauteur */
    object-fit: cover;
    scroll-snap-align: start;
}

/* Indicateur visuel "Swipe" */
.mockup::after {
    content: "Glissez pour voir ➡";
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    pointer-events: none;
    opacity: 0.8;
    font-weight: 600;
}

/* Highlight specific for Quebec */
.qc-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    border: 1px solid var(--leaf-green);
    color: var(--deep-forest);
    font-weight: 600;
}

/* --- FOOTER --- */
footer {
    background-color: var(--deep-forest);
    color: var(--sage);
    text-align: center;
    padding: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* --- MEDIA QUERIES --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    
    .showcase { 
        flex-direction: column; 
        text-align: center; 
        align-items: center;
        gap: 40px; 
    }

    .mockup {
        max-width: 90vw; /* S'adapte sur mobile */
        height: auto;
        aspect-ratio: 9/18;
    }
}