/* Variables */
:root {
    --color-indigo: #1A1A40;
    --color-orange: #FFA500;
    --color-gray: #C0C0C0;
    --color-smoke: #F5F5F5;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 10px */
    scroll-padding-top: 10rem; /* Ajout de padding pour les ancres pour éviter que le contenu ne se cache sous le header */
}

body {
    font-family: var(--font-main);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--color-indigo);
    background-color: var(--color-smoke);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--color-indigo);
}

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.6rem;
}

section {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 6rem;
    height: 0.4rem;
    background: linear-gradient(90deg, var(--color-indigo), var(--color-orange));
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    background-color: var(--color-orange);
    color: white;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 165, 0, 0.3);
}

.btn--outline {
    background-color: transparent;
    border: 2px solid var(--color-orange);
    color: var(--color-orange);
}

.btn--outline:hover {
    background-color: var(--color-orange);
    color: white;
}

.btn--small {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow);
    z-index: 100;
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 8rem;
}

.header__logo a {
    display: block;
}

.nav__list {
    display: flex;
    gap: 3rem;
}

.nav__link {
    font-weight: 600;
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--color-orange);
}

.header__contact-mobile {
    display: none;
}

/* Hero Section */
.hero {
    height: 90vh;
    min-height: 60rem;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(26, 26, 64, 0.8), rgba(26, 26, 64, 0.8)), url('./img/iJrzZO.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    margin-top: 8rem;
    text-align: center; /* Centrer le texte */
}

.hero__content {
    max-width: 70rem;
    margin: 0 auto; /* Centrer le contenu */
}

.hero__title {
    font-size: 5rem;
    color: white;
    margin-bottom: 2.4rem;
}

.hero__subtitle {
    font-size: 2.2rem;
    margin-bottom: 3.2rem;
    color: var(--color-gray);
}

.hero__buttons {
    display: flex;
    gap: 2rem;
    justify-content: center; /* Centrer les boutons */
}

/* About Section */
.about {
    background-color: white;
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about__image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Services Section */
.services {
    background-color: var(--color-smoke);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card__image {
    height: 20rem;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card__content {
    padding: 3rem;
}

.service-card__title {
    margin-bottom: 1rem;
}

.service-card__price {
    display: inline-block;
    background-color: var(--color-smoke);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius);
    font-weight: 700;
    margin-bottom: 1.6rem;
    color: var(--color-indigo);
}

/* Features Section */
.features {
    background-color: white;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 3rem;
    background-color: var(--color-smoke);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 6rem;
    height: 6rem;
    background: linear-gradient(135deg, var(--color-indigo), var(--color-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2.4rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--color-smoke);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: "\201C";
    font-size: 8rem;
    font-family: serif;
    position: absolute;
    top: 1rem;
    left: 2rem;
    opacity: 0.1;
    color: var(--color-orange);
}

.testimonial-text {
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.testimonial-author__image {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-author__name {
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.testimonial-author__title {
    font-size: 1.4rem;
    color: #777;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact__info {
    padding: 3rem;
    background-color: var(--color-indigo);
    border-radius: var(--radius);
    color: white;
}

.contact__info h3 {
    color: white;
}

.contact-details {
    margin-top: 3rem;
}

.contact-details__item {
    display: flex;
    gap: 1.6rem;
    margin-bottom: 2rem;
}

.contact-details__icon {
    font-size: 2rem;
    color: var(--color-orange);
}

/* Form */
.form {
    background-color: var(--color-smoke);
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.form__group {
    margin-bottom: 2rem;
}

.form__label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: inherit;
    background-color: white;
    transition: var(--transition);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-orange);
}

.form__checkbox {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.6rem;
}

.form__checkbox input {
    margin-top: 0.4rem;
}

/* Footer */
.footer {
    padding: 8rem 0 2rem;
    background-color: var(--color-indigo);
    color: white;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer h3 {
    color: white;
    margin-bottom: 2rem;
}

.footer__legal ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer a {
    transition: var(--transition);
}

.footer a:hover {
    color: var(--color-orange);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
    display: flex;
    justify-content: space-between;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    z-index: 99;
    transition: all 0.5s ease;
    opacity: 0;
}

.cookie-banner.show {
    bottom: 0;
    opacity: 1;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Legal Pages */
.legal-page {
    padding: 12rem 0 6rem;
}

.legal-page__content {
    max-width: 80rem;
    margin: 0 auto;
    background-color: white;
    padding: 5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.legal-page h1 {
    text-align: center;
    margin-bottom: 1rem;
}

.last-updated {
    text-align: center;
    color: #777;
    margin-bottom: 4rem;
    font-style: italic;
}

.legal-section {
    margin-bottom: 4rem;
}

.legal-section h2 {
    color: var(--color-indigo);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.legal-section ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1.6rem;
}

.legal-section ul li {
    margin-bottom: 0.8rem;
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    html {
        font-size: 56.25%; /* 9px */
    }
    
    .hero__title {
        font-size: 4.4rem;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 50%; /* 8px */
    }
    
    .header__nav {
        display: none;
    }
    
    .header__contact-mobile {
        display: block;
    }
    
    .hero__title {
        font-size: 4rem;
    }
    
    .about__content,
    .contact__content {
        grid-template-columns: 1fr;
    }
    
    .hero__buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero__buttons .btn {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    h3 {
        font-size: 2.2rem;
    }
    
    .hero__title {
        font-size: 3.2rem;
    }
    
    .hero__subtitle {
        font-size: 1.8rem;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .footer__content {
        gap: 3rem;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
} 