/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #5C4033;
    background-color: #FAF3E0;
}

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

/* Header Styles */
.header {
    background-color: #264653;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: translateY(-2px);
}

.nav-brand .logo {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo {
    transform: scale(1.1);
}

.nav-brand h1 {
    color: #E9C46A;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #E9C46A;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #FAF3E0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #E9C46A;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-actions .nav-link {
    background: linear-gradient(135deg, #E9C46A 0%, #d4af37 100%);
    color: #264653;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(233, 196, 106, 0.3);
}

.nav-actions .nav-link:hover {
    background: linear-gradient(135deg, #d4af37 0%, #c19b26 100%);
    color: #264653;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 196, 106, 0.4);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #FAF3E0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: url('../images/clesdu-hero.jpg') no-repeat center center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #FAF3E0;
    padding: 180px 0 120px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(233, 196, 106, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #264653;

   
    -webkit-background-clip: text;
   
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #264653;
    line-height: 1.6;
}

.cta-button {
    background-color: #E9C46A;
    color: #264653;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 196, 106, 0.4);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background-color: #f5f0e8;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #264653;
    font-weight: 700;
}

.section p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #5C4033;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #5C4033;
    max-width: 900px;
    margin: 0 auto 3rem auto;
    line-height: 1.7;
    font-style: italic;
    background: linear-gradient(135deg, rgba(233, 196, 106, 0.1) 0%, rgba(250, 243, 224, 0.3) 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #E9C46A;
    position: relative;
}

.section-intro::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 3rem;
    color: #E9C46A;
    opacity: 0.5;
    font-family: serif;
}

.section-intro::after {
    content: '"';
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 3rem;
    color: #E9C46A;
    opacity: 0.5;
    font-family: serif;
}

/* Mission Section */
.mission-description {
    font-style: italic;
    font-size: 1.1rem;
    color: #5C4033;
    background: linear-gradient(135deg, #f8f5f0 0%, #e8f4f8 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #E9C46A;
    margin: 2rem auto;
    max-width: 900px;
}

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

.value-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E9C46A 0%, #264653 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.value-item:hover::before {
    transform: scaleX(1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.value-item h3 {
    color: #264653;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.value-item p {
    text-align: left;
    line-height: 1.7;
    color: #5C4033;
}

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

.conseil-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #E9C46A;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.conseil-item:hover {
    transform: translateY(-3px);
}

.conseil-item h3 {
    color: #264653;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Actualités Section */
.actualites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.actualite-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.actualite-item:hover {
    transform: translateY(-3px);
}

.actualite-item h3 {
    color: #264653;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.date {
    position: absolute;
    top: 0.3rem;
    right: 0.3rem;
    background-color: #E9C46A;
    color: #264653;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.blog-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-3px);
}

.blog-item h3 {
    color: #264653;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.read-more {
    background-color: #5C4033;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.read-more:hover {
    background-color: #4a3429;
}

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

.histoire-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-top: 4px solid #E9C46A;
    transition: transform 0.3s ease;
}

.histoire-item:hover {
    transform: translateY(-3px);
}

.histoire-item h3 {
    color: #264653;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Études de Cas Section */
.etudes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.etude-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.etude-item:hover {
    transform: translateY(-3px);
}

.etude-item h3 {
    color: #264653;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.etude-results {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f8f5f0;
    border-radius: 10px;
    border-left: 4px solid #E9C46A;
}

.etude-results span {
    font-weight: 600;
    color: #264653;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    background-color: #264653;
    color: #FAF3E0;
    margin: 0;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background-color: #1e3a3f;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 16px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

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

.faq-answer.active {
    padding: 1.5rem;
    max-height: 200px;
}

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

.tarif-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.tarif-item:hover {
    transform: translateY(-10px);
}

.tarif-item.featured {
    border: 3px solid #E9C46A;
    transform: scale(1.05);
}

.tarif-item.featured::before {
    content: 'POPULAIRE';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #E9C46A;
    color: #264653;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
}

.tarif-item h3 {
    color: #264653;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #E9C46A;
    margin-bottom: 2rem;
}

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

.features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #5C4033;
}

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

.btn-tarif {
    background-color: #264653;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-tarif:hover {
    background-color: #1e3a3f;
    transform: translateY(-2px);
}

/* Communauté Section */
.communaute-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stat-item h3 {
    font-size: 3rem;
    color: #E9C46A;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    color: #5C4033;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form Styles */
.inscription-form {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3.5rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.inscription-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #E9C46A 0%, #264653 50%, #E9C46A 100%);
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: #264653;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.form-group label::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #264653;
    transition: width 0.3s ease;
}

.form-group:focus-within label::after {
    width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid #e8e9ea;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E9C46A;
    box-shadow: 0 0 0 3px rgba(233, 196, 106, 0.1);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #d0d1d2;
}

.form-group input.error,
.form-group select.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
    font-weight: 500;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e8e9ea;
    transition: all 0.3s ease;
}

.checkbox-group:hover {
    border-color: #E9C46A;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    accent-color: #E9C46A;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.btn-submit {
    background: linear-gradient(135deg, #264653 0%, #2a5a66 100%);
    color: white;
    padding: 1.3rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #1e3a3f 0%, #234a57 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(38, 70, 83, 0.3);
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-submit:disabled::before {
    display: none;
}

/* Form Icons */
.form-group {
    position: relative;
}

.form-group.has-icon input {
    padding-left: 3rem;
}

.form-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #264653;
    font-size: 1.2rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.form-group:focus-within .form-icon {
    color: #E9C46A;
}

/* Contact Section */
.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    margin: 1rem 0;
    font-size: 1.1rem;
}

.contact-item a {
    color: #264653;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: #E9C46A;
}

/* Footer */
.footer {
    background-color: #264653;
    color: #FAF3E0;
    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 {
    color: #E9C46A;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #FAF3E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #E9C46A;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #3a5a5f;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #264653 0%, #2a5a66 100%);
    color: #FAF3E0;
    padding: 2rem;
    z-index: 10000;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(233, 196, 106, 0.2);
    transform: translateY(120%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-link {
    color: #E9C46A;
    text-decoration: underline;
}

.btn-accept {
    background: linear-gradient(135deg, #E9C46A 0%, #d4af37 100%);
    color: #264653;
    padding: 1rem 4rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 196, 106, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-accept::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-accept:hover {
    background: linear-gradient(135deg, #d4af37 0%, #c19b26 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 196, 106, 0.4);
}

.btn-accept:hover::before {
    left: 100%;
}

/* Mobile Navigation */
@media (max-width: 1087px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, #264653 0%, #2a5a66 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
        opacity: 0;
        transform: translateX(-20px);
        animation: slideInLeft 0.3s ease forwards;
    }
    
    .nav-menu.active li {
        animation-delay: calc(var(--i) * 0.1s);
    }
    
    .nav-menu li:nth-child(1) { --i: 1; }
    .nav-menu li:nth-child(2) { --i: 2; }
    .nav-menu li:nth-child(3) { --i: 3; }
    .nav-menu li:nth-child(4) { --i: 4; }
    .nav-menu li:nth-child(5) { --i: 5; }
    .nav-menu li:nth-child(6) { --i: 6; }
    .nav-menu li:nth-child(7) { --i: 7; }
    .nav-menu li:nth-child(8) { --i: 8; }
    .nav-menu li:nth-child(9) { --i: 9; }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(233, 196, 106, 0.2);
        transform: translateY(-2px);
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #264653;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .tarifs-grid {
        grid-template-columns: 1fr;
    }
    
    .tarif-item.featured {
        transform: none;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-accept {
        width: 100%;
    }
    
    .inscription-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .nav-brand h1 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .value-item,
    .conseil-item,
    .actualite-item,
    .blog-item,
    .histoire-item,
    .etude-item {
        padding: 1.5rem;
    }
    
    .inscription-form {
        padding: 1.5rem 1rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
}

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #E9C46A;
    outline-offset: 2px;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.gallery-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.gallery-text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.close:hover {
    color: #E9C46A;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(38, 70, 83, 0.8);
    color: white;
    border: none;
    font-size: 24px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10001;
}

.modal-nav:hover {
    background: rgba(38, 70, 83, 1);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: -60px;
}

.next {
    right: -60px;
}

.modal-caption {
    color: #fff;
    padding: 1rem 0;
    font-size: 1.1rem;
    margin-top: 1rem;
}

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

/* Print Styles */
@media print {
    .header,
    .cookie-popup,
    .modal {
        display: none;
    }
    
    .hero {
        margin-top: 0;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}