/* CSS Reset et Variables */
:root {
    --dark-blue: #1B1F3B;
    --mint-green: #A9E5BB;
    --coral: #FF715B;
    --cream: #FFF8E7;
    --graphite: #3A3A3A;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Empêche le défilement horizontal */
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--graphite);
    background-color: var(--cream);
    overflow-x: hidden; /* Empêche le défilement horizontal */
    width: 100%;
    max-width: 100vw;
}

/* Typography fluide */
h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    color: var(--graphite);
    margin-bottom: 0.5rem;
}

p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-bottom: 1rem;
}

/* Header Moderne */
.modern-header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--graphite) 100%);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(27, 31, 59, 0.3);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-wrapper {
    position: relative;
}

.modern-logo {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.modern-logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mint-green);
    margin: 0;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.8rem;
    color: rgba(169, 229, 187, 0.8);
    font-weight: 400;
}

/* Navigation Moderne */
.modern-nav {
    position: relative;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--mint-green);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--mint-green);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(169, 229, 187, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover, 
.nav-link.active {
    background: var(--mint-green);
    color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(169, 229, 187, 0.3);
}

.nav-cta {
    background: linear-gradient(135deg, var(--coral) 0%, #ff8a75 100%);
    color: white !important;
}

.nav-cta:hover {
    background: linear-gradient(135deg, #ff8a75 0%, var(--coral) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 113, 91, 0.4);
}

.nav-icon {
    font-size: 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--cream) 0%, var(--mint-green) 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./img/x55H5z.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--coral) 0%, #ff8a75 100%);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 113, 91, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 113, 91, 0.4);
    background: linear-gradient(135deg, #ff8a75 0%, var(--coral) 100%);
}

/* Sections communes */
.section {
    padding: 4rem 0;
    width: 100%;
    overflow: hidden;
}

.section:nth-child(even) {
    background: rgba(169, 229, 187, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Grid adaptable */
.grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    width: 100%;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--mint-green);
}

.card h3 {
    color: var(--coral);
    margin-bottom: 1rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--mint-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--dark-blue);
}

/* Services */
.services .grid {
    margin-top: 2rem;
}

.service-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

/* Témoignages */
.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.testimonial-photo {
    flex-shrink: 0;
}

.client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--mint-green);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.client-photo:hover {
    transform: scale(1.1);
    border-color: var(--coral);
    box-shadow: 0 6px 20px rgba(255, 113, 91, 0.3);
}

.testimonial-info {
    flex: 1;
    text-align: left;
}

.testimonial-info strong {
    color: var(--dark-blue);
    font-size: 1.1rem;
}

.testimonial-info small {
    color: var(--coral);
    font-weight: 500;
}

/* Pricing */
.pricing {
    background: var(--dark-blue);
    color: #1b1f3b;
}

.pricing .section-title h2 {
    color: var(--mint-green);
}

.pricing-card {
    background: white;
    color: var(--graphite);
    text-align: center;
    position: relative;
    border-radius: 25px;
    overflow: hidden;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 3px solid var(--coral);
}

.pricing-header {
    background: var(--mint-green);
    padding: 2rem;
    color: var(--dark-blue);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    list-style: none;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.pricing-features li:before {
    content: '✓';
    color: var(--mint-green);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Formulaire Compact */
.compact-contact {
    padding: 3rem 0;
}

.compact-form-section {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.compact-form {
    width: 100%;
}

.compact-form-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid transparent;
    border-radius: 12px;
    background: var(--cream);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--mint-green);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(169, 229, 187, 0.3);
}

.compact-radio-group {
    margin: 1.5rem 0;
}

.compact-radios {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.compact-radio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cream);
    padding: 0.75rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.9rem;
}

.compact-radio:hover {
    border-color: var(--mint-green);
    transform: translateY(-2px);
}

.compact-radio input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
}

.compact-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.compact-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.compact-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--mint-green);
    padding: 3rem 0 1rem;
}



.footer-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: var(--coral);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--mint-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--coral);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--graphite);
    color: #ccc;
}

.disclaimer-text {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-blue);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: all 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.accept-btn {
    background: var(--mint-green);
    color: var(--dark-blue);
}

.decline-btn {
    background: transparent;
    color: var(--mint-green);
    border: 2px solid var(--mint-green);
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-wrapper {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .brand-text {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-blue);
        flex-direction: column;
        padding: 1rem;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        transform: translateY(-100vh);
        opacity: 0;
        transition: all 0.3s ease;
        gap: 0.5rem;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-link {
        justify-content: center;
        padding: 1rem;
        border-radius: 12px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .compact-form-section {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .compact-form-grid {
        grid-template-columns: 1fr;
    }
    
    .compact-radios {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .modern-logo {
        width: 40px;
        height: 40px;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .compact-form-section {
        margin: 0 0.5rem;
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }