/* 
Color Palette:
- Main color: #15727E (dark teal)
- Accent color: #C7EA46 (lime)
- Background: #F5F7F9 (smoky white)
- Text: #2C2C2C (anthracite)
- Gradients: #A9EAFE → #79C2D0 (cool blue)
*/

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px; /* Ajout d'une compensation pour l'en-tête fixe */
}

body {
    font-family: 'Arial', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #2C2C2C;
    background-color: #F5F7F9;
    overflow-x: hidden;
}

a {
    color: #15727E;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #C7EA46;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial', sans-serif;
    margin-bottom: 0.8em;
    line-height: 1.3;
    color: #15727E;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #C7EA46;
    margin: 0.5rem auto;
}

h3 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1.2rem;
}

/* Ajout d'un offset pour toutes les sections avec ID */
section[id] {
    scroll-margin-top: 80px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: #15727E;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #1A8C9B;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #15727E;
    color: white;
}

.btn-secondary {
    background-color: #C7EA46;
    color: #2C2C2C;
}

.btn-secondary:hover {
    background-color: #D5F769;
    color: #2C2C2C;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #15727E;
    color: #15727E;
}

.btn-outline:hover {
    background-color: #15727E;
    color: white;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(245, 247, 249, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    height: 70px; /* Définir une hauteur fixe pour l'en-tête */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #15727E;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, #A9EAFE, #79C2D0);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-content p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-10px);
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Advantages Section */
.advantages {
    padding: 5rem 0;
    background: linear-gradient(to right, #F5F7F9, #E5E7E9);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F5F7F9;
    border-radius: 50%;
    color: #15727E;
}

.advantage-icon svg {
    width: 30px;
    height: 30px;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3, .service-card p {
    padding: 0 1.5rem;
}

.service-card h3 {
    margin-top: 1.5rem;
}

.service-price {
    margin: 1rem 1.5rem;
    padding: 0.5rem 1rem;
    background-color: #F5F7F9;
    color: #15727E;
    display: inline-block;
    border-radius: 4px;
    font-weight: bold;
}

.service-card .btn {
    margin: 0 1.5rem 1.5rem;
    align-self: flex-start;
}

/* Process Section */
.process {
    padding: 5rem 0;
    background-color: #F5F7F9;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
}

.process-steps:before {
    content: "";
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #15727E;
    z-index: 1;
}

.process-step {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #15727E, #1A8C9B);
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: white;
}

.testimonials-slider {
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
}

.testimonial {
    flex: 0 0 calc(33.333% - 1.5rem);
    background-color: #F5F7F9;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
}

.author-name {
    font-weight: bold;
    color: #15727E;
}

.author-company {
    font-size: 0.9rem;
    color: #666;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #A9EAFE, #79C2D0);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('../img/CNFfHb.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.contact h2:after {
    background-color: white;
    height: 4px;
    width: 100px;
}

.contact-content {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    color: white;
    background: rgba(21, 114, 126, 0.3);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.contact-item svg {
    background-color: white;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #15727E;
}

.contact-map {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
}

.contact-form {
    flex: 2;
    background-color: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: bold;
    color: #15727E;
}

.form-group input, 
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 1rem;
}

.form-group input:focus, 
.form-group select:focus,
.form-group textarea:focus {
    border-color: #15727E;
    outline: none;
    box-shadow: 0 0 8px rgba(21, 114, 126, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.3rem;
    transform: scale(1.2);
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

.contact-form .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    box-shadow: 0 8px 15px rgba(21, 114, 126, 0.2);
}

/* Footer */
.site-footer {
    background-color: #15727E;
    color: #F5F7F9;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info {
    flex: 2;
}

.footer-description {
    margin-top: 1rem;
    max-width: 400px;
}

.footer-contact, 
.footer-links {
    flex: 1;
}

.footer-contact h3, 
.footer-links h3 {
    color: #C7EA46;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-contact h3:after, 
.footer-links h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: #C7EA46;
}

.footer-contact ul li, 
.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a {
    color: #F5F7F9;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #C7EA46;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem 2rem;
    z-index: 1000;
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    margin-bottom: 0;
}

.cookie-content a {
    color: #C7EA46;
    text-decoration: underline;
}

/* Policy Pages */
.policy {
    padding: 8rem 0 5rem;
}

.policy h1 {
    text-align: center;
    margin-bottom: 3rem;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.policy-content h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.policy-content h2:after {
    margin: 0.5rem 0;
}

.policy-content ul, 
.policy-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.policy .btn {
    display: block;
    max-width: 200px;
    text-align: center;
    margin: 0 auto;
}

/* Thank You Page */
.thank-you {
    padding: 8rem 0 5rem;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you h1 {
    color: #15727E;
}

.thank-you .btn {
    margin-top: 2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .testimonials-slider {
        flex-wrap: wrap;
    }
    
    .testimonial {
        flex: 0 0 calc(50% - 1rem);
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 60px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero .container,
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .about-image {
        margin-top: 2rem;
        order: -1;
    }
    
    .process-steps:before {
        display: none;
    }
    
    .process-step {
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }
    
    .testimonial {
        flex: 0 0 100%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #F5F7F9;
        flex-direction: column;
        align-items: center;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 480px) {
    .advantages-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
} 