/* Variables globales */
:root {
    --blue: #006494;
    --turquoise: #00CFC1;
    --beige: #F6E9D7;
    --dark: #2D2D2D;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, var(--blue), var(--turquoise));
    --gradient-secondary: linear-gradient(135deg, var(--turquoise), var(--beige));
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 5px;
}

/* Reset et styles de base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    padding-top: 5rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 5rem 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--turquoise);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    font-weight: 600;
}

button:hover, .btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--white);
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

/* Header et Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 0.5rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    width: auto;
    height: 40px;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--blue);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    background-image: linear-gradient(rgba(0, 100, 148, 0.7), rgba(0, 207, 193, 0.7)), url('../img/wANre6.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Désactiver l'effet parallaxe sur mobile pour améliorer les performances */
@media screen and (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        padding: 6rem 0;
        min-height: 400px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero .btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 4rem 0;
        min-height: 350px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.about-img {
    flex: 1;
    padding: 1rem;
}

.about-text {
    flex: 1;
    padding: 1rem;
}

/* Why Us Section */
.why-us {
    background-color: var(--beige);
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--blue);
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    background-color: var(--white);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;
}

.service-card .btn {
    margin-top: 1rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--beige);
    text-align: center;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: bold;
}

/* Contact Form Section */
.contact {
    background-color: var(--white);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 200px;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-form {
    flex: 1;
    min-width: 200px;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.form-error {
    color: red;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

/* FAQ Section */
.faq {
    background-color: var(--beige);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    background-color: var(--white);
    overflow: hidden;
}

.faq-question {
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 0 1rem 1rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--turquoise);
    margin-bottom: 1.5rem;
}

.footer-section a {
    color: var(--beige);
}

.footer-section a:hover {
    color: var(--turquoise);
}

.footer-section.about p {
    margin-bottom: 1rem;
}

.contact-info span:first-child {
    font-weight: bold;
    color: var(--turquoise);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark);
    color: var(--white);
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cookie-content p {
    margin-right: 1rem;
    margin-bottom: 0;
}

/* CSS Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.slide-up {
    animation: slideUp 1s ease-in-out;
}

/* Media Queries */
@media screen and (max-width: 992px) {
    .features, .services-container, .testimonial-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 4rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .nav-toggle-label {
        display: block;
        position: relative;
        height: 24px;
        width: 30px;
    }
    
    .nav-toggle-label span, 
    .nav-toggle-label span::before, 
    .nav-toggle-label span::after {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background-color: var(--dark);
        transition: all 0.3s;
    }
    
    .nav-toggle-label span {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-toggle-label span::before {
        content: '';
        top: -8px;
    }
    
    .nav-toggle-label span::after {
        content: '';
        bottom: -8px;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span {
        background-color: transparent;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::before {
        top: 0;
        transform: rotate(45deg);
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::after {
        bottom: 0;
        transform: rotate(-45deg);
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        transform: scale(1, 0);
        transform-origin: top;
        transition: transform 0.3s;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-toggle:checked ~ nav {
        transform: scale(1, 1);
    }
    
    nav ul {
        flex-direction: row;
        justify-content: space-around;
    }
    
    nav ul li {
        margin-left: 0;
        margin: 0.5rem 0;
    }
    
    nav ul li a {
        font-size: 0.8rem;
        opacity: 0;
        transition: opacity 0.15s ease-in-out;
    }
    
    .nav-toggle:checked ~ nav ul li a {
        opacity: 1;
        transition: opacity 0.25s ease-in-out 0.15s;
    }
    
    .logo-svg {
        height: 35px;
    }
}

@media screen and (max-width: 576px) {
    body {
        padding-top: 3.5rem;
    }
    
    .features, .services-container, .testimonial-cards {
        grid-template-columns: 1fr;
    }
    
    header {
        padding: 0.3rem 0;
    }
    
    .logo-svg {
        height: 30px;
    }
    
    nav ul li a {
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 480px) {
    body {
        padding-top: 3.5rem;
    }
    
    header {
        padding: 0.3rem 0;
    }
    
    .logo-svg {
        height: 24px;
    }
    
    .nav-toggle-label {
        height: 20px;
        width: 24px;
    }
    
    .hero {
        padding: 1.5rem 0;
    }
} 

/* Pages spécifiques - Hero alternatif */
.hero.alt-hero {
    background-image: linear-gradient(rgba(0, 207, 193, 0.7), rgba(0, 100, 148, 0.7)), url('../img/z7E2Zh.jpg');
    min-height: 300px;
    padding: 5rem 0;
}

.merci-hero {
    background-image: linear-gradient(rgba(0, 207, 193, 0.7), rgba(0, 100, 148, 0.7)), url('../img/nZGO5g.jpg');
}

/* Policy pages */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.policy-content h2 {
    color: var(--blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content p, .policy-content ul {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

@media screen and (max-width: 768px) {
    .hero.alt-hero {
        min-height: 250px;
        padding: 4rem 0;
    }
    
    .policy-content {
        padding: 1.5rem 0;
    }
}

@media screen and (max-width: 480px) {
    .hero.alt-hero {
        min-height: 200px;
        padding: 3rem 0;
    }
} 