/* --- RESET & VARIABLES --- */
:root {
    --primary-color: #d4a5a5; /* Rose poudré */
    --primary-dark: #b58282;
    --text-color: #392f2f;    /* Gris chaud */
    --bg-light: #f9f7f7;
    --bg-dark: #2c2424;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
    /* FIX FOOTER : Force la page à prendre toute la hauteur */
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- NAVIGATION --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

/* --- LOGO (IMAGE + TEXTE) --- */
.brand-container {
    display: flex;
    align-items: center; /* Centre verticalement l'image et le texte */
    gap: 15px; /* Espace entre l'image et le texte */
    text-decoration: none;
    color: var(--text-color);
    transition: 0.3s;
}

.brand-container:hover {
    opacity: 0.8;
}

.brand-logo {
    height: 50px; /* Hauteur fixe pour que ça rentre dans la barre */
    width: auto;  /* Garde les proportions de l'image */
    object-fit: contain; /* Assure que l'image n'est pas écrasée */
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap; /* Empêche le texte de passer à la ligne */
}

/* RESPONSIVE (Mobile) */
@media (max-width: 768px) {
    .brand-logo { height: 40px; } /* Un peu plus petit sur mobile */
    .brand-text { font-size: 1rem; } /* Texte réduit pour éviter que ça dépasse */
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; position: relative; }
/* Soulignement au survol */
.nav-links a:not(.btn-cta)::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--primary-color); transition: 0.3s; }
.nav-links a:not(.btn-cta):hover::after { width: 100%; }
/* Page active en couleur */
.nav-links a.active { color: var(--primary-color); }
.nav-links a:hover { color: var(--primary-color); }

.btn-cta { background-color: var(--primary-color); color: var(--white) !important; padding: 0.8rem 1.8rem; border-radius: 50px; box-shadow: 0 5px 15px rgba(212, 165, 165, 0.4); }
.btn-cta:hover { background-color: var(--primary-dark); transform: translateY(-2px); }
.burger { display: none; cursor: pointer; font-size: 1.5rem; color: var(--text-color); }

/* --- HERO SECTION (ACCUEIL) --- */
.hero {
    height: 100vh;
    background: url('banniere.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
    padding: 0 20px;
}

.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(44,36,36,0.3) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 850px; }

.citation { font-family: var(--font-heading); font-size: 2rem; font-style: italic; margin-bottom: 1rem; line-height: 1.3; }
.author { display: block; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; margin-bottom: 2.5rem; letter-spacing: 2px; opacity: 0.9; }

.main-title-soft {
    font-family: var(--font-body);
    font-size: 3rem;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 1rem;
    text-transform: none;
    letter-spacing: normal;
}

.subtitle { font-size: 1.2rem; margin-bottom: 3rem; font-weight: 300; opacity: 0.95; }
.hero-btns { display: flex; gap: 1.5rem; justify-content: center; }

/* --- PAGE HEADER (POUR LES SOUS-PAGES) --- */
.page-header {
    height: 50vh; /* Prend la moitié de l'écran */
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('banniere.jpg') center/cover fixed; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 0;
    position: relative;
    padding-top: 60px; /* Pour compenser la navbar fixe */
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

/* Petit trait décoratif sous le titre */
.page-header h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--white);
    margin: 20px auto 0;
    border-radius: 2px;
}


/* --- BOUTONS GENERAUX --- */
.btn-primary, .btn-secondary, .btn-outline, .btn-submit { padding: 1rem 2.5rem; border-radius: 50px; text-transform: uppercase; font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; cursor: pointer; border: none; transition: all 0.3s ease; }
.btn-primary { background-color: var(--primary-color); color: var(--white); box-shadow: 0 5px 15px rgba(212, 165, 165, 0.3); }
.btn-primary:hover { background-color: var(--white); color: var(--text-color); transform: translateY(-3px); }
.btn-secondary { background-color: transparent; border: 2px solid rgba(255,255,255,0.5); color: var(--white); }
.btn-secondary:hover { border-color: var(--white); background-color: var(--white); color: var(--text-color); transform: translateY(-3px); }

/* --- SECTIONS --- */
.section-padding { padding: 6rem 10%; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: var(--white); }
h2 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--text-color); position: relative; display: inline-block; }
.text-center h2::after { content: ''; display: block; width: 60px; height: 3px; background: var(--primary-color); margin: 20px auto 0; }
.text-center { text-align: center; }
.subtitle-section { margin-bottom: 4rem; color: #666; font-size: 1.1rem; max-width: 600px; margin-left: auto; margin-right: auto;}

/* --- QUI SUIS-JE --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img { position: relative; z-index: 1; }

/* MODIF ICI : L'animation se fait désormais au SURVOL (HOVER) */
.about-img img { 
    border-radius: 20px; 
    box-shadow: var(--shadow);
    transition: transform 0.6s ease-in-out; /* Mouvement fluide */
    cursor: pointer; /* Change le curseur pour montrer que c'est interactif */
}

/* QUAND LA SOURIS PASSE DESSUS */
.about-img img:hover {
    transform: translateY(-20px); /* L'image monte de 20 pixels */
}

.img-badge {
    position: absolute;
    bottom: -30px; right: -30px;
    background: var(--white);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow);
    border-radius: 15px;
    border-bottom: 5px solid var(--primary-color);
    max-width: 250px;
    text-align: center;
}
.img-badge span {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-style: italic;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.4;
    display: block;
}

.about-text h2::after { margin: 20px 0 0; }
.about-text .lead { font-size: 1.2rem; font-weight: 600; margin-bottom: 1.5rem; color: var(--primary-dark); }
.concept-box { margin-top: 3rem; padding: 2rem; border-left: 5px solid var(--primary-color); background: var(--white); box-shadow: var(--shadow); border-radius: 0 15px 15px 0; }
.concept-box h3 { display: flex; align-items: center; gap: 15px; margin-bottom: 1rem; font-size: 1.3rem;}
.concept-box i { color: var(--primary-color); font-size: 1.5rem;}

/* --- RESULTATS --- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }
.card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    overflow: hidden;
}
.card:hover { transform: translateY(-15px); box-shadow: 0 15px 40px rgba(212, 165, 165, 0.2); }
.card-image { height: 200px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s ease; }
.card:hover .card-image img { transform: scale(1.1); }
.card-content { padding: 2rem; text-align: center; }

.icon-large {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text; /* Propriété standard ajoutée */
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: inline-block;
}
.card h3 { font-family: var(--font-heading); margin-bottom: 0.8rem; font-size: 1.3rem;}

/* --- TARIFS --- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; margin-top: 3rem; align-items: center; }
.pricing-card { background: var(--white); padding: 3rem; border-radius: 25px; box-shadow: var(--shadow); text-align: center; position: relative; border: 1px solid #eee; transition: 0.3s; display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.pricing-card:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.pricing-card.popular { border: 3px solid var(--primary-color); transform: scale(1.05); z-index: 2; box-shadow: 0 20px 50px rgba(212, 165, 165, 0.3); }
.badge-pop { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); background: var(--primary-color); color: var(--white); padding: 8px 25px; border-radius: 30px; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; box-shadow: 0 5px 15px rgba(212, 165, 165, 0.4); }
.price-header h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.price { font-size: 3.5rem; font-family: var(--font-heading); color: var(--text-color); font-weight: 700; margin: 0; line-height: 1; }
.price-header span { display: block; margin-bottom: 2rem; color: #888; font-style: italic;}
.pricing-card ul { margin: 2rem 0 3rem; text-align: left; padding-left: 1rem; flex-grow: 1; }
.pricing-card li { margin-bottom: 15px; color: #555; display: flex; align-items: center;}
.pricing-card li i { color: var(--primary-color); margin-right: 15px; font-size: 1.1rem; }

/* BOUTONS SPECIFIQUES AUX TARIFS (Correction) */
.btn-pricing {
    width: 100%;
    padding: 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    display: block;
    text-align: center;
    transition: 0.3s;
    box-sizing: border-box;
    cursor: pointer;
    /* Pour l'animation moderne */
    position: relative;
    overflow: hidden;
}
.btn-pricing.outline { border: 2px solid var(--primary-color); color: var(--primary-color); background: transparent; }
.btn-pricing.outline:hover { background: var(--primary-color); color: var(--white); }
.btn-pricing.fill { background: var(--primary-color); color: var(--white); border: 2px solid var(--primary-color); }
.btn-pricing.fill:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

/* Animation spécifique pour le survol des boutons prix */
.btn-pricing:hover {
    transform: translateY(-3px); /* Le bouton monte un peu */
    box-shadow: 0 10px 20px rgba(212, 165, 165, 0.4); /* Belle ombre rose */
    letter-spacing: 2px; /* Les lettres s'écartent un peu */    
}


/* --- CONTACT --- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; }
.bg-dark h2::after { background: var(--white); opacity: 0.3; margin: 20px 0 0; }
.contact-info p { margin-bottom: 2rem; opacity: 0.8; font-size: 1.1rem;}
.info-item { display: flex; align-items: center; gap: 20px; margin-top: 1.5rem; font-size: 1.1rem; }
.info-item i { width: 45px; height: 45px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--primary-color); }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; background: var(--white); padding: 3rem; border-radius: 25px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.form-group input, .form-group textarea { width: 100%; padding: 1.2rem; border: 2px solid #eee; border-radius: 10px; font-family: inherit; font-size: 1rem; transition: 0.3s; background: var(--bg-light); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); background: var(--white); }
.btn-submit { background-color: var(--primary-color); color: var(--white); width: 100%; font-size: 1rem; padding: 1.2rem; box-shadow: 0 5px 15px rgba(212, 165, 165, 0.4); }
.btn-submit:hover { background-color: var(--primary-dark); transform: translateY(-3px); }

footer { margin-top: auto; text-align: center; padding: 3rem; background: #1a1515; color: #888; font-size: 0.9rem; font-weight: 300; letter-spacing: 1px; }

/* --- SECTION SCIENCE --- */
.science-section {
    background-color: var(--bg-light);
    border-top: 1px solid #eee;
    padding: 5rem 10%;
}

.science-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

/* MODIF ICI : Style et Animation pour les Articles Scientifiques */
.article-card {
    background: var(--white);
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Ombre légère par défaut */
    transition: all 0.4s ease; /* Transition fluide pour l'animation */
}

/* L'animation au survol (HOVER) */
.article-card:hover {
    transform: translateY(-10px); /* L'article monte */
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); /* L'ombre s'accentue */
    border-left-color: var(--primary-dark); /* La barre change de couleur */
}

.article-source {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 700;
}

.article-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: left;
}

.article-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .section-padding { padding: 5rem 5%; }
    .hero h1 { font-size: 2.5rem; }
    .citation { font-size: 1.8rem; }
    .pricing-card.popular { transform: scale(1); border-width: 1px; }
}

@media (max-width: 768px) {
    .navbar { padding: 1rem 5%; }
    .nav-links { position: fixed; right: 0px; height: 100vh; top: 0; background-color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; transform: translateX(100%); transition: transform 0.4s ease-in-out; box-shadow: -5px 0 15px rgba(0,0,0,0.05); z-index: 999; }
    .nav-links.nav-active { transform: translateX(0%); }
    .nav-links a { font-size: 1.2rem; margin: 1rem 0; }
    .burger { display: block; z-index: 1001;}
    .burger.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .burger.toggle .line2 { opacity: 0; }
    .burger.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
    .hero { height: auto; min-height: 100vh; padding: 150px 20px 100px; }
    .page-header { height: 35vh; }
    .page-header h1 { font-size: 2.2rem; }
    .main-title-soft { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; gap: 1rem; }
    .btn-primary, .btn-secondary { width: 100%; }
    .grid-2, .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
    .about-img { margin-bottom: 2rem; }
    .img-badge { right: 0; bottom: -20px; padding: 1.5rem; max-width: 100%; }
    .section-padding { padding: 4rem 5%; }
    h2 { font-size: 2.2rem; }
    .pricing-grid { gap: 2rem; }
    .contact-form { padding: 2rem; }
}
.checkbox-group {
    display: flex;
    align-items: flex-start; 
    gap: 15px;           
}

.checkbox-group input[type="checkbox"] {
    width: 20px;         
    height: 20px;
    margin-top: 3px;     
    cursor: pointer;
    flex-shrink: 0;      
}

.checkbox-group label {
    font-size: 0.85rem;  
    color: #666;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-group label a {
    color: var(--primary-dark);
    text-decoration: underline;
    font-weight: 700;
}

.checkbox-group label a:hover {
    color: var(--primary-color);
}