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

:root {
    --primary-color: #e67e22;
    --secondary-color: #7b92ed;
    --text-color: #333;
    --light-bg: #f9f7f2;
    --white: #ffffff;
    --gray: #757575;
    --light-gray: #f5f5f5;
    --blue-bg: #c2cff8;
    --border-radius: 8px;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: #6678d9;
    transform: translateY(-2px);
}

/* Navigation */
header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links li a {
    font-weight: 500;
    position: relative;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 2px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./imgs/1.png');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Concepts Section */
.concepts {
    background-color: var(--white);
}

.concept-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.concept-card {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

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

.concept-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Mythes Section */
.mythes {
    background-color: var(--light-bg);
}

.mythes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.mythe-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.mythe, .realite {
    padding: 20px;
}

.mythe {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.mythe h4, .realite h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--gray);
}

.mythe p {
    font-weight: 600;
    margin-bottom: 0;
}

.realite h4 {
    color: var(--primary-color);
}

.realite p {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0;
}

/* Objectifs Section */
.objectifs {
    background-color: var(--white);
}

.objectifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.objectif-card {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.objectif-card p {
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Témoignages Section */
.temoignages {
    background-color: var(--blue-bg);
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.temoignage-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.temoignage-photo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.temoignage-content {
    padding: 25px;
}

.temoignage-content > p {
    font-style: italic;
    margin-bottom: 20px;
}

.temoignage-info {
    margin-bottom: 15px;
}

.temoignage-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.temoignage-info p {
    color: var(--gray);
    margin-bottom: 0;
}

.temoignage-link {
    color: var(--secondary-color);
    font-weight: 500;
}

.temoignage-link:hover {
    text-decoration: underline;
}

/* Outils Section */
.outils {
    background-color: var(--light-bg);
}

.outils-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.outil-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.outil-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.outil-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.outil-card p {
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Communauté Section */
.communaute {
    background-color: var(--blue-bg);
    padding: 60px 0;
}

.communaute-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.communaute-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.communaute-features {
    margin-top: 25px;
}

.communaute-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.communaute-features li::before {
    content: '✓';
    display: inline-block;
    margin-right: 10px;
    color: var(--primary-color);
    font-weight: bold;
}

.newsletter-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.newsletter-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

#newsletter-form {
    margin-top: 20px;
}

#newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

#newsletter-form button {
    width: 100%;
}

.form-note {
    font-size: 0.85rem;
    color: var(--gray);
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.cookie-content {
    background-color: var(--white);
    max-width: 500px;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
}

.cookie-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.cookie-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.cookie-content p {
    margin-bottom: 25px;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cookie-buttons button {
    width: 100%;
}

.hidden {
    display: none;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .communaute-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero {
        height: 70vh;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .temoignages-grid,
    .concept-cards,
    .mythes-grid,
    .objectifs-grid,
    .outils-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}