/* Reset et variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d8659;
    --primary-dark: #1f5d3f;
    --primary-light: #3da372;
    --secondary-color: #f4a261;
    --text-dark: #2b2d42;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 9999;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-text {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    transition: var(--transition);
}

.logo-link:hover .logo-text {
    color: var(--primary-dark);
}

.logo-link:hover .logo-image {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* Indicateur de page active */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    background-color: var(--primary-color);
}

/* Pour les dropdowns actifs */
.nav-item-has-dropdown.active > .nav-link {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-item-has-dropdown.active > .nav-link::after {
    width: 100%;
    background-color: var(--primary-color);
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: var(--transition);
}

/* Dropdown Menu */
.nav-item-has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: var(--bg-white);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    min-width: 220px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item-has-dropdown:hover .dropdown-menu,
.nav-item-has-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item-has-dropdown:hover .dropdown-arrow,
.nav-item-has-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.dropdown-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
    background: transparent;
    border: none;
    z-index: 10000;
    position: relative;
    transition: var(--transition);
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 3px;
    display: block;
    transform-origin: center;
}

.hamburger:hover span {
    background: var(--primary-dark);
}

/* Animation du hamburger en X */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fallback gradient - sera masqué par l'image */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    margin-top: 70px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./images/brocolis.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    animation: fadeIn 1.5s ease-in;
}

/* Debug : Vérifier si l'image se charge */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.2;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 134, 89, 0.5) 0%, rgba(31, 93, 63, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.4);
}

.btn-primary:hover {
    background: #e8914d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 162, 97, 0.5);
}

/* Stats Section */
.stats {
    background: var(--bg-white);
    padding: 60px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
    margin-top: -50px;
    border-radius: 30px 30px 0 0;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background: var(--bg-white);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Sections */
section {
    padding: 80px 0;
    scroll-margin-top: 80px; /* Pour éviter que les titres passent sous la navbar fixe */
}

/* Première section après la navbar */
section:first-of-type {
    padding-top: 100px;
}

/* Pour les pages individuelles (pas la page d'accueil avec hero) */
body:not(.home-page) section:first-of-type,
body > section:first-of-type:not(.hero) {
    padding-top: 100px;
    margin-top: 0;
}

/* Titres de page qui doivent être visibles */
.section-title:first-of-type,
h1.section-title {
    padding-top: 20px;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Services Section */
.services {
    background: var(--bg-light);
}

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

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 2rem auto 0;
}

.about-main h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.about-main h3:first-child {
    margin-top: 0;
}

.about-description {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: center;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(45, 134, 89, 0.3);
    transition: var(--transition);
}

.feature:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(45, 134, 89, 0.4);
}

.feature div strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.feature div p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.values-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
}

.values-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.value-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.value-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.value-item {
    transition: var(--transition);
    border: 2px solid transparent;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

/* Section Histoire et Vision */
.about-story {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 20px;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.story-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.story-text .about-description {
    text-align: left;
    margin-bottom: 1rem;
}

@media (max-width: 968px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-story {
        padding: 2rem 1.5rem;
    }
}

.about-image {
    position: relative;
}

.about-image-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-hover);
}

/* FAQ Section */
.faq {
    background: var(--bg-white);
}

.faq-content {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-item.active {
    background: var(--bg-white);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(45, 134, 89, 0.05);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
    transition: var(--transition);
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(45, 134, 89, 0.1);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
    font-size: 1.05rem;
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-text p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Messages de formulaire */
.form-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
    grid-column: 1 / -1; /* Prend toute la largeur du grid */
    width: 100%;
    text-align: center;
}

.form-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Coaching Section */
.coaching {
    background: var(--bg-white);
}

.coaching-content {
    margin-top: 3rem;
}

.coaching-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.coaching-intro h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.coaching-intro p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 100%;
}

.coaching-approaches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.approach-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.approach-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.approach-card h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.approach-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.coaching-programs h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

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

.program-card {
    background: var(--bg-white);
    border: 2px solid var(--bg-light);
    border-radius: 15px;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
}

.program-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.program-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.program-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.program-card.featured .program-badge {
    background: var(--primary-color);
}

.program-card h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.program-duration {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.program-features {
    list-style: none;
    margin-bottom: 2rem;
}

.program-features li {
    padding: 0.75rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--bg-light);
}

.program-features li:last-child {
    border-bottom: none;
}

.program-price {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 1.5rem;
    border-top: 2px solid var(--bg-light);
    margin-bottom: 0.5rem;
}

.program-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.5rem;
}

.program-select-btn {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

/* Galerie d'exemples de repas */
.meals-gallery {
    margin-top: 4rem;
    text-align: center;
}

.meals-gallery h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.gallery-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .meals-gallery h3 {
        font-size: 1.5rem;
    }
}

.program-card.featured .program-select-btn {
    background: var(--primary-dark);
}

.program-card.featured .program-select-btn:hover {
    background: var(--primary-color);
}

.program-selected-input {
    background: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
    cursor: default;
}

/* Events Section */
.events {
    background: var(--bg-light);
}

.events-content {
    margin-top: 3rem;
}

.events-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.events-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.event-category {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.event-category h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.event-category p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.event-category ul {
    list-style: none;
}

.event-category ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.event-category ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.upcoming-events {
    margin-top: 4rem;
}

.upcoming-events h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.events-calendar {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.month-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.month-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 2rem;
    transition: var(--transition);
}

.event-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateX(5px);
}

.event-date {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
    height: fit-content;
}

.event-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.event-details {
    flex: 1;
}

.event-details h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.event-time {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.event-description {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.event-description strong {
    color: var(--text-dark);
    font-weight: 600;
}

.event-note {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0.5rem;
    font-style: italic;
}

.event-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.event-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Responsive pour les événements */
@media (max-width: 768px) {
    .month-section {
        padding: 1.5rem;
    }
    
    .month-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .event-item {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .event-date {
        align-self: flex-start;
        min-width: 70px;
    }
}

/* Founder Section */
.founder {
    background: var(--bg-light);
}

.founder-content {
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.founder-intro {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

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

.founder-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    box-shadow: var(--shadow-hover);
    border: 5px solid var(--primary-light);
    display: block;
    margin: 0 auto;
}

.avatar-placeholder {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    padding: 1rem;
    box-shadow: var(--shadow-hover);
}

.founder-credentials h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.founder-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.credentials-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.credential-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.founder-message {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    line-height: 1.9;
}

.message-greeting {
    margin-bottom: 2rem;
}

.message-greeting h4 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.message-content {
    color: var(--text-dark);
    font-size: 1.05rem;
}

.message-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.message-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.message-content .quote {
    background: var(--bg-light);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    font-style: italic;
    margin: 2rem 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.message-content .quote em {
    color: var(--primary-color);
    font-weight: 600;
}

.message-conclusion {
    background: linear-gradient(135deg, rgba(45, 134, 89, 0.1) 0%, rgba(31, 93, 63, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    font-weight: 500;
}

.founder-signature {
    text-align: right;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
}

.founder-signature p {
    margin: 0.25rem 0;
    color: var(--text-dark);
}

.founder-signature p:first-child {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Blog Section */
.blog {
    background: var(--bg-light);
}

.blog-content {
    max-width: 900px;
    margin: 3rem auto 0;
}

.blog-article {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.article-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--bg-light);
}

.article-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 0.95rem;
}

.article-date::before {
    content: '📅 ';
}

.article-category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.article-body {
    line-height: 1.9;
    color: var(--text-dark);
}

.article-section {
    margin-bottom: 3rem;
}

.article-section:last-child {
    margin-bottom: 0;
}

.article-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.article-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 2.5rem 0 1.5rem;
    font-weight: 700;
}

.article-section h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.article-section p {
    margin-bottom: 1.5rem;
    text-align: justify;
    font-size: 1.05rem;
}

.article-list {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 0;
}

.article-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.8;
}

.article-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.article-highlight {
    background: linear-gradient(135deg, rgba(45, 134, 89, 0.1) 0%, rgba(31, 93, 63, 0.1) 100%);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
}

.article-highlight p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-quote {
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--bg-light);
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
}

.article-quote blockquote {
    margin: 0;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.article-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    font-style: normal;
    color: var(--text-light);
    text-align: right;
}

.article-quote cite::before {
    content: '— ';
}

.article-conclusion {
    background: rgba(244, 162, 97, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    font-size: 1.1rem;
    border-left: 4px solid var(--secondary-color);
}

.article-callout {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem 0;
    box-shadow: var(--shadow-hover);
}

.article-callout h3 {
    color: white;
    margin-top: 0;
    font-size: 1.6rem;
}

.article-callout p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

.article-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
}

.article-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-share p {
    margin: 0;
    color: var(--text-light);
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Public Health Section */
.public-health {
    background: var(--bg-white);
}

.public-health-content {
    margin-top: 3rem;
}

.public-health-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
}

.intro-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.public-health-sections {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.public-health-section {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.public-health-section:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.section-icon {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.public-health-section h3 {
    font-size: 2rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
}

.subsection-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color) !important;
    margin: 2rem 0 1rem;
    text-align: center;
}

.public-health-section .subsection-title {
    color: var(--primary-color) !important;
}

.public-health-list {
    list-style: none;
    margin: 1.5rem 0;
}

.public-health-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.public-health-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.section-note {
    background: rgba(45, 134, 89, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin-top: 2rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-white);
}

/* Réduire l'espacement entre coaching-preview et testimonials-preview sur la page d'accueil */
#coaching-preview {
    padding-bottom: 20px;
}

#coaching-preview .section-cta {
    margin-top: 2rem;
    margin-bottom: 0;
}

#testimonials-preview {
    padding-top: 20px;
}

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

.testimonial-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-rating {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.testimonial-author {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links-inline {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.social-links-inline a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

.social-links-inline a:hover {
    color: var(--secondary-color);
}

.footer-newsletter {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.4;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    /* Ajuster la taille du logo sur mobile */
    .logo-image {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-link {
        gap: 0.5rem;
    }

    .nav-wrapper {
        padding: 0.75rem 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 1.5rem 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-menu .nav-link {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        text-align: left;
        border-bottom: 1px solid var(--bg-light);
    }

    .nav-menu .nav-link:hover {
        background: var(--bg-light);
        color: var(--primary-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item-has-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        margin: 0;
        padding: 0;
        background: var(--bg-light);
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border: none;
        min-width: auto;
    }

    .nav-item-has-dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-link {
        padding: 0.875rem 1.5rem 0.875rem 3rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .dropdown-link:hover {
        background: var(--bg-light);
        padding-left: 3.5rem;
    }

    /* Désactiver le hover sur mobile */
    @media (max-width: 968px) {
        .nav-item-has-dropdown:hover .dropdown-menu {
            opacity: 1 !important;
            visibility: visible !important;
            transform: none !important;
        }
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Espacement supplémentaire pour les titres sur mobile */
    section:first-of-type {
        padding-top: 120px !important;
    }

    /* Améliorer l'alignement du menu mobile */
    .nav-menu .nav-link {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .nav-menu .dropdown-link {
        padding: 1rem 1.5rem 1rem 3rem;
        font-size: 0.95rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        padding-right: 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .coaching-approaches,
    .programs-grid,
    .events-categories,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .founder-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-avatar {
        margin: 0 auto;
    }

    .founder-message {
        padding: 2rem;
    }

    .stats {
        margin-top: -30px;
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .event-item {
        flex-direction: column;
    }

    .event-date {
        align-self: flex-start;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Bouton Scroll to Top */
.scroll-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-btn.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.scroll-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(45, 134, 89, 0.6);
}

.scroll-btn span {
    line-height: 1;
    font-weight: bold;
}

@media (max-width: 768px) {
    .scroll-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    section {
        padding: 60px 0;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Logo encore plus petit sur très petits écrans */
    .logo-image {
        width: 35px;
        height: 35px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-link {
        gap: 0.4rem;
    }

    .nav-wrapper {
        padding: 0.5rem 0;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

