/* ========================================
   OP! - NOUVELLE CHARTE GRAPHIQUE
   Inspirée d'Elsee.care
   Palette : #2D403B #DFF2B6 #F2D680 #F2B47E #BF604B
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:wght@100..900&display=swap');

/* ========================================
   VARIABLES
   ======================================== */

:root {
    /* Palette principale */
    --vert-fonce: #2D403B;
    --vert-clair: #DFF2B6;
    --jaune-dore: #F2D680;
    --peche: #F2B47E;
    --terracotta: #BF604B;
    
    /* Nuances */
    --vert-fonce-light: #3D5550;
    --vert-clair-dark: #C5E090;
    --terracotta-dark: #A5503E;
    --terracotta-light: #D4725F;
    
    /* Neutres */
    --white: #FFFFFF;
    --off-white: #FAFBF8;
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F2;
    --gray-200: #E9ECEB;
    --gray-300: #DEE2E0;
    --gray-400: #ADB5B2;
    --gray-500: #6C7A75;
    --gray-600: #4A5854;
    --gray-700: #2D403B;
    
    /* Couleurs sémantiques */
    --text-primary: var(--vert-fonce);
    --text-secondary: var(--gray-500);
    --text-light: var(--gray-400);
    --bg-primary: var(--white);
    --bg-secondary: var(--off-white);
    --bg-accent: var(--vert-clair);
    
    /* Typographie */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-logo: 'Noto Serif Display', serif;
    
    /* Espacements */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    /* Largeurs */
    --container-max: 1200px;
    --container-narrow: 800px;
    
    /* Rayons */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Ombres */
    --shadow-sm: 0 1px 2px rgba(45, 64, 59, 0.05);
    --shadow-md: 0 4px 12px rgba(45, 64, 59, 0.08);
    --shadow-lg: 0 8px 24px rgba(45, 64, 59, 0.12);
    --shadow-xl: 0 16px 48px rgba(45, 64, 59, 0.16);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   RESET & BASE
   ======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-family: var(--font-sans);
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.text-center {
    text-align: center;
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

section {
    padding: var(--space-4xl) 0;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--vert-fonce);
    border: 2px solid var(--vert-fonce);
}

.btn-secondary:hover {
    background: var(--vert-fonce);
    color: var(--white);
}

.btn-soft {
    background: var(--vert-clair);
    color: var(--vert-fonce);
}

.btn-soft:hover {
    background: var(--vert-clair-dark);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--vert-fonce);
}

.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-2px);
}

/* ========================================
   HEADER
   ======================================== */

.header {
    background: var(--vert-fonce);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--vert-clair);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--vert-clair) 0%, var(--jaune-dore) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--vert-clair);
    transition: width var(--transition);
}

.nav a:hover {
    opacity: 1;
}

.nav a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   HERO - PLEIN ÉCRAN
   ======================================== */

.hero {
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 64, 59, 0.15) 0%, rgba(45, 64, 59, 0.1) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content {
    max-width: 700px;
}

.hero-tagline {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: var(--terracotta);
    font-size: 0.9rem;
    font-weight: 600;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.hero-content h1 {
    margin-bottom: var(--space-lg);
    color: var(--white);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: var(--peche);
    color: var(--vert-fonce);
}

.hero .btn-primary:hover {
    background: var(--jaune-dore);
    transform: translateY(-2px);
}

.hero .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.hero .btn-secondary:hover {
    background: var(--white);
    color: var(--vert-fonce);
}

/* ========================================
   VALUE PROPOSITION
   ======================================== */

.value-proposition {
    background: var(--white);
    text-align: center;
}

.value-proposition h2 {
    color: var(--vert-fonce);
}

.section-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

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

.benefits-section {
    background: var(--off-white);
}

.benefits-section h2 {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.benefit-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--gray-200);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--vert-clair);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.benefit-card h3 {
    color: var(--vert-fonce);
    margin-bottom: var(--space-sm);
}

.benefit-card p {
    font-size: 0.95rem;
}

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

.offerings-section {
    background: var(--vert-clair);
}

.offerings-section h2 {
    text-align: center;
    color: var(--vert-fonce);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.offering-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.offering-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.offering-icon {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
}

.offering-card h3 {
    color: var(--vert-fonce);
    margin-bottom: var(--space-sm);
}

.offering-card p {
    margin-bottom: var(--space-lg);
}

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

.moments-section {
    background: var(--white);
}

.moments-section h2 {
    text-align: center;
}

.moments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.moment-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--off-white);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--peche);
    transition: all var(--transition);
}

.moment-item:hover {
    background: var(--vert-clair);
    border-left-color: var(--vert-fonce);
    transform: translateX(4px);
}

.moment-icon {
    font-size: 1.8rem;
}

.moment-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ========================================
   FOR WHO SECTION
   ======================================== */

.for-who-section {
    background: var(--off-white);
    text-align: center;
}

.for-who-section h2 {
    color: var(--vert-fonce);
}

.audience-list {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
    flex-wrap: wrap;
}

.audience-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--gray-200);
    transition: all var(--transition);
}

.audience-item:hover {
    border-color: var(--terracotta);
    box-shadow: var(--shadow-md);
}

.audience-icon {
    font-size: 1.5rem;
}

.audience-item span:last-child {
    font-weight: 500;
    color: var(--text-primary);
}

.highlight-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--terracotta);
    margin-top: var(--space-lg);
}

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

.credibility-section {
    background: var(--white);
    text-align: center;
}

.credibility-section h2 {
    color: var(--vert-fonce);
}

.credibility-box {
    background: var(--vert-fonce);
    color: var(--white);
    padding: var(--space-3xl);
    border-radius: var(--radius-2xl);
    max-width: 700px;
    margin: 0 auto;
}

.credibility-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: var(--space-md);
}

.credibility-box p:last-child {
    margin-bottom: 0;
}

.credibility-box strong {
    color: var(--vert-clair);
}

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

.testimonials-section {
    background: var(--off-white);
}

.testimonials-section h2 {
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--peche);
}

.testimonial-stars {
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    font-weight: 600;
    color: var(--terracotta);
    font-size: 0.9rem;
    margin-bottom: 0;
}

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

.summary-section {
    background: var(--peche);
    padding: var(--space-3xl) 0;
}

.summary-section h2 {
    text-align: center;
    color: var(--vert-fonce);
}

.summary-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.summary-icon {
    font-size: 1.3rem;
}

.summary-item span:last-child {
    font-weight: 500;
    color: var(--vert-fonce);
}

/* ========================================
   CTA FINAL
   ======================================== */

.cta-final {
    background: var(--vert-fonce);
    text-align: center;
    padding: var(--space-4xl) 0;
}

.cta-final h2 {
    color: var(--white);
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.cta-final .btn-primary {
    background: var(--peche);
    color: var(--vert-fonce);
}

.cta-final .btn-primary:hover {
    background: var(--jaune-dore);
}

.cta-final .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.cta-final .btn-secondary:hover {
    background: var(--white);
    color: var(--vert-fonce);
}

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

.footer {
    background: var(--vert-fonce);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-xl);
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: var(--space-md);
}

.footer-tagline {
    font-family: var(--font-logo);
    font-size: 1.2rem;
    color: var(--vert-clair);
    margin-bottom: var(--space-md);
    display: block;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-col h4 {
    color: var(--vert-clair);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--vert-clair);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a:hover {
    color: var(--vert-clair);
}

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

@media (max-width: 1024px) {
    .benefits-grid,
    .offerings-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .moments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    section {
        padding: var(--space-3xl) 0;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--vert-fonce);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        box-shadow: var(--shadow-lg);
    }
    
    .nav.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero .container {
        text-align: center;
        padding: var(--space-lg);
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-cta {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .moments-grid {
        grid-template-columns: 1fr;
    }
    
    .audience-list {
        flex-direction: column;
        align-items: center;
    }
    
    .summary-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .logo {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ========================================
   SCROLLBAR
   ======================================== */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--vert-fonce);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--vert-fonce-light);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--vert-fonce) var(--gray-100);
}

/* ========================================
   SELECTION
   ======================================== */

::selection {
    background: var(--vert-clair);
    color: var(--vert-fonce);
}