/* Variables des couleurs */
:root {
    --primary: #4B0082; /* indigo */
    --accent: #FF6B6B; /* corail */
    --bg-color: #F2FFE5; /* néon-salé */
    --secondary-bg: #E8EAF6; /* lavande clair */
    --text-color: #0A0A23; /* bleu foncé */
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 80px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 5rem 0;
}

button, .btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

button:hover, .btn:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow);
}

/* Header et Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.5rem;
}

.logo svg {
    margin-right: 10px;
}

.menu {
    display: flex;
}

.menu li {
    margin-left: 20px;
}

.menu a {
    padding: 10px;
    font-weight: 500;
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s;
}

.menu a:hover::after {
    width: 100%;
}

/* Menu hamburger pour mobile */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 8px;
}

.menu-icon span:nth-child(3) {
    top: 16px;
}

/* Styles pour l'accueil */
#accueil {
    background-image: url('./img/TI0iJ.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--white);
    text-align: center;
}

#accueil::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

#accueil .content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

#accueil h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

#accueil p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Styles pour À propos */
#a-propos {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-content {
    order: 1;
}

.about-image {
    order: 2;
    border-radius: 10px;
    overflow: hidden;
}

/* Styles pour Avantages */
#avantages {
    background-color: var(--secondary-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--white);
    padding: 0 0 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.benefit-card:hover .benefit-image img {
    transform: scale(1.05);
}

.benefit-card h3 {
    padding: 0 30px;
    margin-top: 0;
}

.benefit-card p {
    padding: 0 30px;
}

/* Styles pour Services */
#services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--secondary-bg);
    padding: 0 0 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    transition: all 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    margin-top: 0;
    padding: 0 30px;
}

.service-card p {
    margin-bottom: 20px;
    padding: 0 30px;
}

.service-card .btn {
    margin: auto 30px 0;
}

/* Styles pour le formulaire */
#devis {
    background-color: var(--secondary-bg);
}

.form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

form .full-width {
    grid-column: span 2;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
}

.checkbox-container input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

button[type="submit"] {
    background-color: var(--accent);
    grid-column: span 2;
}

/* Styles pour Pourquoi nous */
#pourquoi-nous {
    background-color: var(--white);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.reason-item {
    text-align: center;
    padding: 0 0 20px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--secondary-bg);
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s;
}

.reason-item:hover {
    transform: translateY(-5px);
}

.reason-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: 20px;
}

.reason-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.reason-item:hover .reason-image img {
    transform: scale(1.05);
}

.reason-item h3 {
    padding: 0 20px;
    margin-top: 0;
}

.reason-item p {
    padding: 0 20px;
}

/* Styles pour FAQ */
#faq {
    background-color: var(--secondary-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--white);
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: bold;
}

.faq-answer {
    background-color: var(--light-gray);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    padding: 0 20px;
}

.faq-checkbox {
    display: none;
}

.faq-checkbox:checked + .faq-question + .faq-answer {
    max-height: 500px;
    padding: 20px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    transition: transform 0.3s;
}

.faq-checkbox:checked + .faq-question::after {
    transform: rotate(45deg);
}

/* Styles pour Témoignages */
#temoignages {
    background-color: var(--white);
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    flex: 1 1 300px;
    max-width: 400px;
    position: relative;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.client-name {
    font-weight: bold;
}

/* Styles pour Contact */
#contact {
    background-color: var(--secondary-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background-color: var(--accent);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
}

.contact-info a {
    color: var(--white);
    border-bottom: 1px dotted var(--white);
}

.contact-info a:hover {
    color: var(--accent);
}

.contact-method {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    margin-right: 15px;
    min-width: 24px;
}

.map {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
    background-color: var(--light-gray);
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

footer a {
    color: var(--white);
}

footer a:hover {
    color: var(--accent);
}

footer h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-info p {
    margin-top: 15px;
}

footer ul li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
    z-index: 1000;
    max-width: 90%;
    width: 400px;
    text-align: center;
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: slideUp 0.5s forwards;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 100px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Style des pages légales */
.legal-page {
    padding: 120px 0 50px;
    min-height: calc(100vh - 430px);
}

.legal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.legal-content h2 {
    margin-top: 30px;
}

.legal-content h3 {
    margin-top: 20px;
}

.legal-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

/* Page de remerciement */
.thanks-page {
    padding: 150px 0 80px;
    min-height: calc(100vh - 430px);
    text-align: center;
}

.thanks-content {
    background-color: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.thanks-content h1 {
    color: var(--accent);
    font-size: 2.8rem;
    margin-bottom: 30px;
}

.thanks-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.thanks-content .btn {
    margin-top: 20px;
    font-size: 1.1rem;
    padding: 15px 40px;
}

.thanks-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.thanks-icon::before {
    content: "✓";
}

.thanks-links {
    margin-top: 30px;
}

.thanks-links a:not(.btn) {
    display: inline-block;
    margin: 0 15px;
    text-decoration: underline;
}

/* Media Queries pour la responsivité */
@media (max-width: 992px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 30px;
        transition: left 0.3s;
    }
    
    .menu li {
        margin: 0 0 20px;
    }
    
    .menu-icon {
        display: block;
    }
    
    .menu-toggle:checked ~ .menu {
        left: 0;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(1) {
        transform: rotate(45deg);
        top: 8px;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(3) {
        transform: rotate(-45deg);
        top: 8px;
    }
    
    form {
        grid-template-columns: 1fr;
    }
    
    form .full-width {
        grid-column: 1;
    }
    
    button[type="submit"] {
        grid-column: 1;
    }
    
    .thanks-content {
        padding: 40px 20px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    #accueil h1 {
        font-size: 2.2rem;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .benefit-image, .service-image, .reason-image {
        height: 180px;
    }
    
    .thanks-content h1 {
        font-size: 2.2rem;
    }
    
    .thanks-links a:not(.btn) {
        display: block;
        margin: 10px 0;
    }
} 