/* ═══════════════════════════════════════════
   NEURO-VIE — STYLES COMMUNS
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Caveat:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: #2C2C2C;
    background: #FFFFFF;
    overflow-x: hidden;
    line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* CONTAINER */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ═══════════════════════════════════════════
   DECO CIRCLES
   ═══════════════════════════════════════════ */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* ═══════════════════════════════════════════
   HEADER / NAV
   ═══════════════════════════════════════════ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #FFFFFF;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-logo svg { width: 50px; height: 50px; }
.header-nav { display: flex; gap: 38px; }
.header-nav a {
    font-size: 13.5px;
    font-weight: 500;
    color: #2C2C2C;
    transition: color 200ms ease;
    letter-spacing: 0.02em;
}
.header-nav a:hover { color: #6B7F5E; }
.header-nav a.active { color: #6B7F5E; font-weight: 600; }
.header-socials { display: flex; gap: 10px; align-items: center; }
.header-socials a {
    display: flex; align-items: center; justify-content: center;
    width: 22px; height: 22px;
    transition: opacity 200ms ease;
}
.header-socials a:hover { opacity: 0.7; }
.header-socials svg { width: 20px; height: 20px; }
.social-ig { color: #C13584; }
.social-fb { color: #1877F2; }

/* ═══════════════════════════════════════════
   PAGE HEADER (pages internes)
   ═══════════════════════════════════════════ */
.page-internal-header {
    display: flex; align-items: center; gap: 20px;
    padding: 50px 0 30px;
    position: relative; z-index: 1;
}
.page-internal-header .page-logo svg { width: 70px; height: 70px; }
.page-internal-header h2 {
    font-family: 'Playfair Display', serif;
    font-style: italic; font-weight: 700;
    font-size: 30px; color: #6B7F5E;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn-outline {
    display: inline-block;
    padding: 9px 26px;
    border: 1.5px solid #2C2C2C;
    border-radius: 22px;
    font-size: 13px; font-weight: 500;
    color: #2C2C2C; background: transparent;
    cursor: pointer; transition: all 200ms ease;
}
.btn-outline:hover { background: #F7F3EC; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 16px;
    padding: 14px 28px;
    background: #6B7F5E; color: #FFFFFF;
    border-radius: 30px; font-size: 15px; font-weight: 600;
    border: none; cursor: pointer; transition: background 200ms ease;
}
.btn-primary:hover { background: #576A4E; }
.btn-primary .arrow {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    background: rgba(255,255,255,0.2); border-radius: 50%; font-size: 16px;
}

.btn-submit {
    display: inline-block; padding: 11px 36px;
    background: #6B7F5E; color: #FFFFFF; border-radius: 25px;
    border: none; font-family: 'Inter', sans-serif;
    font-size: 13px; font-weight: 600;
    cursor: pointer; transition: background 200ms ease;
}
.btn-submit:hover { background: #576A4E; }

.btn-terracotta {
    display: inline-block; padding: 12px 48px;
    background: #C4825A; color: #FFFFFF; border-radius: 25px;
    border: none; font-family: 'Inter', sans-serif;
    font-size: 14px; font-weight: 600;
    cursor: pointer; transition: background 200ms ease;
}
.btn-terracotta:hover { background: #A96B45; }

/* Carousel dots */
.carousel-dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #DDD8D0; }
.dot.active { background: #A3B396; }

/* ═══════════════════════════════════════════
   PAGE SECTION (pages internes)
   ═══════════════════════════════════════════ */
.page-section { position: relative; overflow: hidden; }
.page-section > .deco-circle.d1 { width: 180px; height: 180px; top: -50px; left: -60px; background: #EDE7DC; opacity: 0.55; }
.page-section > .deco-circle.d2 { width: 100px; height: 100px; top: 120px; left: 20px; background: #EDE7DC; opacity: 0.35; }
.page-section > .deco-circle.d3 { width: 60px; height: 60px; top: 300px; left: -10px; background: #F0EBE2; opacity: 0.4; }

/* ═══════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group label {
    display: block; font-size: 12.5px; font-weight: 700;
    color: #2C2C2C; margin-bottom: 5px;
}
.form-group input,
.form-group textarea {
    width: 100%; padding: 9px 12px;
    background: #FFFFFF; border: 1px solid #E0DCD5;
    border-radius: 6px; font-family: 'Inter', sans-serif;
    font-size: 13px; color: #4A4A4A; outline: none;
    transition: border-color 200ms ease;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #6B7F5E; }
.form-group textarea { min-height: 90px; resize: vertical; }
.form-submit { text-align: center; margin-top: 20px; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
    background: #F0EBE2; padding: 30px 0;
    text-align: center; font-size: 12px; color: #7A7A7A;
}
.site-footer .footer-logo { margin: 0 auto 10px; }
.site-footer .footer-logo svg { width: 50px; height: 50px; opacity: 0.6; }
.site-footer p { margin-bottom: 4px; }
.site-footer a { color: #6B7F5E; font-weight: 500; }

/* ═══════════════════════════════════════════
   ACCUEIL
   ═══════════════════════════════════════════ */
.hero {
    position: relative; padding: 30px 0 40px; overflow: visible;
}
.hero::before {
    content: ''; position: absolute;
    width: 200px; height: 200px; border-radius: 50%;
    background: #EDE7DC; top: -60px; left: -70px; z-index: 0; opacity: 0.6;
}
.hero::after {
    content: ''; position: absolute;
    width: 80px; height: 80px; border-radius: 50%;
    background: #EDE7DC; top: 50px; left: 60px; z-index: 0; opacity: 0.4;
}
.hero .container {
    display: flex; align-items: flex-start; gap: 20px;
    position: relative; z-index: 1;
}
.hero-text { flex: 0 0 42%; padding-top: 30px; }
.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-style: italic; font-weight: 700;
    font-size: 26px; color: #2C2C2C;
    margin-bottom: 18px; line-height: 1.25;
}
.hero-text p { font-size: 12.5px; color: #4A4A4A; line-height: 1.65; margin-bottom: 24px; }
.hero-illustration { flex: 1; display: flex; justify-content: flex-end; }
.hero-illustration img { max-width: 500px; width: 100%; }

.qui-sommes-nous {
    background: #F7F3EC; padding: 40px 0 45px;
    position: relative; overflow: hidden;
}
.qui-sommes-nous::after {
    content: ''; position: absolute;
    width: 250px; height: 250px; border-radius: 50%;
    background: #E8E2D6; bottom: -120px; right: -80px; opacity: 0.35;
}
.qui-sommes-nous .description {
    max-width: 680px; margin: 25px auto 0;
    text-align: center; font-size: 13px; color: #4A4A4A; line-height: 1.65;
}
.qui-sommes-nous .btn-container { text-align: right; margin-top: 22px; }

.carousel-section { padding: 45px 0 35px; position: relative; overflow: hidden; }
.carousel-section::before {
    content: ''; position: absolute;
    width: 140px; height: 140px; border-radius: 50%;
    background: #EDE7DC; top: -40px; right: -40px; opacity: 0.4;
}
.carousel-wrapper { display: flex; align-items: center; gap: 25px; }
.carousel-icon { flex-shrink: 0; }
.carousel-icon img { width: 120px; }
.carousel-viewport {
    flex: 1; background: #EFEBE4; border-radius: 10px;
    height: 180px; display: flex; align-items: center;
    justify-content: center; position: relative;
}
.carousel-viewport .placeholder-text { color: #9A9590; font-size: 13px; font-style: italic; }
.carousel-nav {
    display: flex; align-items: center; justify-content: space-between;
    position: absolute; left: 16px; right: 16px; top: 50%; transform: translateY(-50%);
}
.carousel-arrow {
    font-size: 22px; color: #2C2C2C; cursor: pointer; font-weight: 700;
    background: none; border: none; padding: 4px; user-select: none;
}

.stats-section { padding: 45px 0 55px; }
.stats-section h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700; font-size: 22px;
    text-align: center; color: #2C2C2C; margin-bottom: 35px;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item .number-line {
    font-family: 'Playfair Display', serif;
    font-weight: 700; color: #6B7F5E; line-height: 1.05; font-size: 44px;
}
.stat-item .number-line .small-word { font-size: 22px; color: #6B7F5E; }
.stat-item .unit {
    font-family: 'Playfair Display', serif;
    font-weight: 700; font-size: 28px; color: #2C2C2C; line-height: 1.2;
}
.stat-item .stat-label { font-size: 11.5px; color: #7A7A7A; margin-top: 6px; line-height: 1.4; }

.objectifs-section { background: #F7F3EC; padding: 40px 0 50px; }
.objectifs-section h2 {
    font-family: 'Caveat', cursive;
    font-size: 34px; font-weight: 600; color: #6B7F5E;
    font-style: italic; margin-bottom: 20px;
}
.objectifs-img-wrapper { display: flex; justify-content: center; }
.objectifs-img-wrapper img { max-width: 550px; width: 100%; }
.objectifs-labels {
    display: grid; grid-template-columns: repeat(4, 1fr);
    max-width: 550px; margin: 8px auto 0; text-align: center;
}
.objectifs-labels span { font-size: 13.5px; font-weight: 500; color: #2C2C2C; }

.agissons-section { padding: 45px 0 50px; position: relative; overflow: hidden; }
.agissons-wrapper { display: flex; align-items: center; gap: 30px; position: relative; z-index: 1; }
.agissons-left { flex: 0 0 45%; }
.agissons-left p { font-size: 12.5px; color: #4A4A4A; line-height: 1.65; }
.agissons-right { flex: 1; display: flex; align-items: center; gap: 20px; }
.agissons-cta-block { display: flex; flex-direction: column; gap: 18px; }
.agissons-cta-block h2 {
    font-family: 'Caveat', cursive;
    font-size: 34px; font-weight: 700; color: #2C2C2C;
    white-space: nowrap; line-height: 1.1;
}
.agissons-illustration { flex-shrink: 0; }
.agissons-illustration img { width: 200px; }

.soutiens-accueil { padding: 40px 0 45px; }
.soutiens-accueil h2 {
    font-family: 'Caveat', cursive;
    font-size: 32px; font-weight: 700; color: #6B7F5E;
    text-align: center; margin-bottom: 25px; font-style: italic;
}
.soutiens-carousel { display: flex; align-items: center; gap: 12px; justify-content: center; }
.soutiens-carousel .arrow-btn,
.partenaires-carousel .arrow-btn {
    font-size: 20px; color: #2C2C2C; cursor: pointer;
    background: none; border: none; padding: 4px 8px; font-weight: 700;
}
.soutiens-logos { display: flex; gap: 14px; align-items: center; overflow: hidden; }
.soutiens-logos img { height: 50px; width: auto; object-fit: contain; flex-shrink: 0; }

.contact-footer {
    background: #F0EBE2; padding: 40px 0 50px;
    position: relative; overflow: hidden;
}
.contact-footer::before {
    content: ''; position: absolute;
    width: 150px; height: 150px; border-radius: 50%;
    background: #E2DBCF; bottom: -60px; left: -50px; opacity: 0.5;
}
.contact-footer h2 {
    font-weight: 700; font-size: 20px;
    text-align: center; text-transform: uppercase;
    letter-spacing: 0.06em; margin-bottom: 30px;
    position: relative; z-index: 1;
}
.contact-outer {
    background: #F7F4EE; border-radius: 16px;
    padding: 30px 35px; position: relative; z-index: 1;
}
.contact-wrapper { display: flex; gap: 35px; }
.contact-form-block { flex: 1; }
.contact-info-block {
    flex: 0 0 240px; display: flex; flex-direction: column;
    align-items: flex-start; gap: 15px; padding-top: 5px;
}
.contact-info-block .info-text { font-size: 11.5px; color: #4A4A4A; line-height: 1.65; }
.contact-info-block .info-text p { margin-bottom: 10px; }
.contact-logo-footer { display: flex; justify-content: center; width: 100%; margin-top: auto; }
.contact-logo-footer svg { width: 90px; height: 90px; opacity: 0.7; }

/* ═══════════════════════════════════════════
   HISTOIRE
   ═══════════════════════════════════════════ */
.temoignage-section { padding: 10px 0 50px; position: relative; z-index: 1; }
.temoignage-section h3 {
    font-weight: 700; font-size: 17px; color: #2C2C2C;
    margin-bottom: 25px; line-height: 1.4;
}
.temoignage-block { display: flex; gap: 30px; align-items: flex-start; }
.temoignage-text { flex: 1; }
.temoignage-text p { font-size: 12.5px; color: #4A4A4A; line-height: 1.65; margin-bottom: 8px; }
.temoignage-avatar { flex-shrink: 0; text-align: center; }
.temoignage-avatar img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 6px; }
.temoignage-avatar .name { font-size: 11px; font-weight: 600; color: #C4825A; }

.equipe-section { padding: 40px 0 50px; position: relative; z-index: 1; }
.equipe-section h3 { font-weight: 700; font-size: 17px; color: #2C2C2C; margin-bottom: 5px; }
.equipe-section .subtitle { font-size: 13px; color: #4A4A4A; margin-bottom: 30px; }
.equipe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px 20px; }
.equipe-member { text-align: center; }
.equipe-member .avatar {
    width: 100px; height: 100px; border-radius: 50%;
    margin: 0 auto 10px; display: flex; align-items: center;
    justify-content: center; overflow: hidden;
}
.avatar-green { background: #B8C5AB; }
.avatar-terra { background: #D4A07A; }
.avatar-beige { background: #E8DFD0; }
.avatar-silhouette { width: 60px; height: 60px; opacity: 0.6; }
.equipe-member .member-name {
    font-size: 12px; font-weight: 700; color: #2C2C2C;
    text-transform: uppercase; line-height: 1.3; margin-bottom: 2px;
}
.equipe-member .member-role { font-size: 11.5px; color: #7A7A7A; }

.partenaires-section { padding: 50px 0 45px; position: relative; z-index: 1; }
.partenaires-section > h2 {
    font-family: 'Caveat', cursive;
    font-size: 32px; font-weight: 700; color: #2C2C2C;
    text-align: center; margin-bottom: 20px; font-style: italic;
}
.partenaires-text { font-size: 12.5px; color: #4A4A4A; line-height: 1.65; margin-bottom: 25px; }
.partenaires-text a { color: #2C2C2C; text-decoration: underline; font-weight: 500; }
.partenaires-carousel { display: flex; align-items: center; gap: 10px; justify-content: center; }
.partenaires-logos { display: flex; gap: 12px; align-items: center; overflow: hidden; }
.partenaires-logos img { height: 48px; width: auto; object-fit: contain; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   ACTUALITE
   ═══════════════════════════════════════════ */
.comite-section { padding: 10px 0 40px; position: relative; z-index: 1; }
.comite-card {
    background: #F7F3EC; border-radius: 14px; padding: 30px 35px;
    display: flex; gap: 30px; align-items: flex-start;
}
.comite-card-text { flex: 1; }
.comite-card-text h3 {
    font-weight: 700; font-size: 16px; color: #2C2C2C;
    margin-bottom: 14px; text-decoration: underline; text-underline-offset: 3px;
}
.comite-card-text p { font-size: 12.5px; color: #4A4A4A; line-height: 1.65; margin-bottom: 8px; }
.comite-card-icon { flex-shrink: 0; }
.comite-card-icon img { width: 90px; height: 90px; object-fit: contain; }

.membres-section {
    background: #4A5A42; padding: 40px 0;
    position: relative; z-index: 1;
}
.membres-section h2 {
    font-family: 'Caveat', cursive;
    font-size: 30px; font-weight: 700; color: #FFFFFF;
    text-align: center; margin-bottom: 25px;
}
.membres-list { max-width: 800px; margin: 0 auto; padding: 0 40px; }
.membres-list li {
    font-size: 13px; color: #E8E4DE; line-height: 1.7;
    padding-left: 16px; position: relative; margin-bottom: 6px;
}
.membres-list li::before { content: '\2022'; position: absolute; left: 0; color: #E8E4DE; }

.temps-forts-section { padding: 50px 0; position: relative; z-index: 1; }
.temps-forts-section h2 {
    font-family: 'Caveat', cursive;
    font-size: 30px; font-weight: 700; color: #2C2C2C;
    text-align: center; margin-bottom: 30px;
}
.temps-forts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.temps-forts-card {
    background: #FFFFFF; border: 1px solid #E8E4DE;
    border-radius: 10px; padding: 24px 22px;
}
.temps-forts-card h3 {
    font-weight: 700; font-size: 14px; text-transform: uppercase;
    color: #2C2C2C; margin-bottom: 12px; line-height: 1.35;
}
.temps-forts-card p { font-size: 12px; color: #4A4A4A; line-height: 1.65; }

.soutiens-fin-section { padding: 35px 0 50px; position: relative; z-index: 1; }
.soutiens-fin-section h3 { font-weight: 700; font-size: 16px; text-align: center; margin-bottom: 25px; }
.soutiens-logos-row { display: flex; justify-content: center; gap: 30px; align-items: center; }
.soutiens-logos-row img { height: 50px; width: auto; object-fit: contain; }

/* ═══════════════════════════════════════════
   DONS
   ═══════════════════════════════════════════ */
.dons-content { padding: 10px 0 40px; position: relative; z-index: 1; }
.dons-box {
    background: #F7F3EC; border-radius: 14px;
    padding: 35px 40px; margin-bottom: 35px;
}
.dons-step { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.dons-step:last-child { margin-bottom: 0; }
.dons-step .step-num {
    width: 34px; height: 34px; min-width: 34px;
    background: #6B7F5E; color: #FFFFFF;
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-weight: 700; font-size: 15px;
}
.dons-step .step-text { font-size: 13.5px; color: #4A4A4A; line-height: 1.6; padding-top: 5px; }
.dons-step .step-text a { color: #2C2C2C; text-decoration: underline; font-weight: 600; }
.dons-conclusion { font-size: 13.5px; color: #4A4A4A; line-height: 1.65; margin-bottom: 40px; }
.dons-merci {
    font-family: 'Inter', sans-serif;
    font-weight: 700; font-size: 22px; text-align: center;
    text-transform: uppercase; padding-bottom: 40px;
}

/* ═══════════════════════════════════════════
   CONTACT (page)
   ═══════════════════════════════════════════ */
.contact-page-content { padding: 10px 0 30px; position: relative; z-index: 1; }
.contact-page-content .intro {
    font-weight: 700; font-size: 17px; color: #2C2C2C;
    line-height: 1.5; margin-bottom: 30px;
}
.contact-page-form-wrapper {
    display: flex; gap: 0; align-items: stretch;
    position: relative;
}
.contact-page-form {
    background: #F5F1EA; border-radius: 16px;
    padding: 30px 35px; flex: 1;
}
.contact-page-illustration {
    flex-shrink: 0; margin-left: -30px;
    display: flex; align-items: flex-end;
}
.contact-page-illustration img { width: 220px; }

.espace-membre { padding: 40px 0 60px; position: relative; z-index: 1; }
.espace-membre h3 {
    font-weight: 700; font-size: 20px;
    text-align: center; margin-bottom: 25px;
}
.membre-form { max-width: 600px; margin: 0 auto; }
.membre-form label {
    display: block; font-size: 13px; color: #4A4A4A; margin-bottom: 5px;
}
.membre-form input {
    width: 100%; padding: 10px 14px; margin-bottom: 18px;
    background: #E8E4DE; border: none; border-radius: 6px;
    font-family: 'Inter', sans-serif; font-size: 14px;
    color: #4A4A4A; outline: none;
}
.membre-form input:focus { box-shadow: 0 0 0 2px rgba(107,127,94,0.3); }
.membre-form .forgot {
    text-align: right; font-size: 12px; color: #7A7A7A; margin-bottom: 20px;
}
.membre-form .btn-row { text-align: center; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .hero .container { flex-direction: column; text-align: center; }
    .hero-text { flex: none; padding-top: 10px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .objectifs-labels { max-width: 100%; }
    .agissons-wrapper { flex-direction: column; text-align: center; }
    .agissons-right { flex-direction: column; }
    .contact-wrapper { flex-direction: column; }
    .contact-info-block { flex: none; }
    .form-row { grid-template-columns: 1fr; }
    .header-nav { gap: 18px; }
    .soutiens-logos img { height: 40px; }
    .temoignage-block { flex-direction: column; }
    .equipe-grid { grid-template-columns: repeat(2, 1fr); }
    .partenaires-logos img { height: 36px; }
    .comite-card { flex-direction: column; }
    .temps-forts-grid { grid-template-columns: 1fr; }
    .contact-page-form-wrapper { flex-direction: column; }
    .contact-page-illustration { margin-left: 0; justify-content: center; }
    .page-internal-header h2 { font-size: 24px; }
}
