/* Variables globales */
:root {
    /* Couleurs */
    --color-primary: #003781; /* Bleu Allianz */
    --color-secondary: #00ADE4;
    --color-text: #333333;
    --color-background: #FFFFFF;
    --color-gray-light: #F5F5F5;
    
    /* Espacement */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* Conteneur */
    --container-width: 1200px;
    --container-padding: 1rem;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}

img {
    max-width: 100%;
    height: auto;
}

/* Conteneurs */
.header__container,
.hero__container,
.why__container,
.faq__container,
.footer__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0;
}

.header__container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
}

.header__logo {
    flex-shrink: 0;
    margin-right: 2rem;
}

.header__logo-link {
    display: block;
    transition: transform 0.3s ease;
}

.header__logo-link:hover {
    transform: scale(1.02);
}

.header__logo img {
    display: block;
    max-height: 50px;
    width: auto;
}

.header__contact {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: nowrap;
    margin-left: auto;
}

.contact-capsule {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    color: #003781;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: 500;
    white-space: nowrap;
}

.contact-capsule i {
    font-size: 1.2rem;
}

.contact-capsule:hover {
    background-color: #003781;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 55, 129, 0.2);
}

/* Style spécifique pour le bouton RDV */
.contact-capsule--rdv {
    background-color: #003781;
    color: white;
    border-color: #003781;
}

.contact-capsule--rdv:hover {
    background-color: white;
    color: #003781;
    border-color: #003781;
}

/* Icônes */
.icon-phone::before {
    content: "📞";
}

.icon-email::before {
    content: "✉️";
}

.icon-location::before {
    content: "📍";
}

.icon-location-pin::before {
    content: "📌";
}

.icon-dropdown::before {
    content: "▼";
    font-size: 0.7em;
    margin-left: 5px;
}

.icon-calendar::before {
    content: "📅";
}

/* Menu déroulant pour les agences */
.contact-dropdown {
    position: relative;
    cursor: pointer;
}

.contact-dropdown .icon-dropdown {
    transition: transform 0.3s ease;
}

.contact-dropdown:hover .icon-dropdown {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-top: 5px;
}

.contact-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--color-primary);
    text-decoration: none;
    transition: background-color 0.2s ease;
    gap: 8px;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: rgba(0, 55, 129, 0.05);
}

.dropdown-content i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

/* Ajustements responsifs pour le menu déroulant */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0.5rem;
        padding: 0;
        display: none;
    }
    
    .contact-dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown-content a {
        padding: 0.5rem 0 0.5rem 1.5rem;
    }
    
    .header__container {
        padding: 0.8rem 1rem;
    }
    
    .contact-capsule {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .header__contact {
        gap: 0.5rem;
    }
    
    .contact-capsule {
        padding: 0.6rem 1rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    overflow: hidden;
    padding: 80px 0 40px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 29, 69, 0.75), rgba(0, 29, 69, 0.65));
    z-index: 1;
}

.hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.8) brightness(0.8);
}

.hero__container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto;
}

.hero__content {
    flex: none;
    width: 100%;
    padding-top: 0;
}

.hero__cta-group {
    margin-top: 2rem;
    position: relative;
    z-index: 3;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 0;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero .btn--primary {
    font-size: 1.8rem;
    padding: 1.5rem 3.75rem;
    background-color: #FF5F00;
    border: 2px solid #FF5F00;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(255, 95, 0, 0.5);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    transform: scale(1.05);
    animation: pulse 2s infinite;
}

.cta-icon {
    font-size: 1.6rem;
    display: inline-block;
    vertical-align: middle;
    color: rgba(255, 255, 255, 0.9);
}

@keyframes pulse {
    0% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 95, 0, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(255, 95, 0, 0.7);
    }
    100% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 95, 0, 0.5);
    }
}

.hero .btn--primary:hover {
    background-color: #FF7F2A;
    border-color: #FF7F2A;
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 10px 25px rgba(255, 95, 0, 0.7);
    animation: none; /* Arrête l'animation lors du survol */
}

.hero__cta-note {
    margin-top: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn--primary {
    background-color: var(--color-primary);
    color: white;
}

.btn--primary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: white;
    padding: 2rem 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 55, 129, 0.98), rgba(0, 173, 228, 0.95));
    z-index: 1;
}

.footer__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 1.25rem;
}

.footer__copyright {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 0.5rem 0;
}

.footer__copyright span {
    color: #6ad0ff;
    font-weight: 700;
}

.footer__links {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer__links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer__links a:hover {
    background-color: white;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Media Queries pour le Footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0;
    }
    
    .footer__container {
        gap: 1rem;
    }
    
    .footer__info {
        gap: 1.25rem;
    }

    .footer__links {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .footer__links a {
        padding: 0.6rem 1rem;
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .footer__links {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .footer__links a {
        width: 90%;
        max-width: 250px;
    }

    .footer__copyright {
        font-size: 0.85rem;
        padding: 0.5rem;
        text-align: center;
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Media Queries pour le Responsive */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        min-height: 100vh;
        height: auto;
    }

    .hero h1 {
        font-size: 2rem;
        margin-top: 2rem;
        line-height: 1.2;
    }

    .hero__container {
        padding: 2rem var(--spacing-md);
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }
    
    .header__container {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .footer__container {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .header__contact {
        gap: 0.75rem;
    }

    .contact-capsule {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .contact-capsule i {
        font-size: 1rem;
    }

    .hero .btn--primary {
        font-size: 1.5rem;
        padding: 1.2rem 3rem;
    }
}

@media (max-width: 480px) {
    .why {
        padding: 3rem 0;
    }
    
    .icon-check {
        width: 24px;
        height: 24px;
    }
    
    .icon-check::before {
        font-size: 1rem;
    }

    .contact-capsule span {
        display: none;
    }

    .contact-capsule {
        padding: 0.5rem;
        width: 40px;
        height: 40px;
        justify-content: center;
    }

    .contact-capsule i {
        margin: 0;
        font-size: 1.2rem;
    }

    .hero .btn--primary {
        font-size: 1.3rem;
        padding: 1rem 2rem;
        width: 90%;
        max-width: 300px;
    }
}

/* ==========================================================================
   STYLES COMMUNS
   ========================================================================== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

/* ==========================================================================
   SECTION POURQUOI
   ========================================================================== */
.why {
    padding: 6rem 0;
    background-color: var(--color-gray-light);
}

.why__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.why__content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    justify-content: space-between;
}

.why__text {
    flex: 0 1 60%;
}

.why__image {
    flex: 0 1 35%;
    position: sticky;
    top: 100px;
}

.why__image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.why__image img:hover {
    transform: scale(1.02);
}

.why__grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why__item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.why__item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.why__item-header h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin: 0;
}

.why__item p {
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
}

.why__item strong {
    color: var(--color-primary);
    display: block;
    margin-top: 0.5rem;
}

.icon-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--color-primary);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.icon-check::before {
    content: "✓";
    color: white;
    font-size: 1.2rem;
}

/* Adaptations pour mobile */
@media (max-width: 992px) {
    .why__content {
        flex-direction: column;
    }

    .why__text {
        flex: 1 1 100%;
    }

    .why__image {
        flex: 1 1 100%;
        max-width: 500px;
        margin: 0 auto;
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .why {
        padding: 4rem 0;
    }
    
    .why__item {
        padding: 1.25rem;
    }
    
    .why__item-header h3 {
        font-size: 1.1rem;
    }
    
    .why__grid {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .why {
        padding: 3rem 0;
    }
    
    .icon-check {
        width: 24px;
        height: 24px;
    }
    
    .icon-check::before {
        font-size: 1rem;
    }
}

/* ==========================================================================
   SECTION FAQ
   ========================================================================== */
.faq {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #f0f5fc, #ffffff);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23003781' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.faq__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.faq .section-title {
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--color-primary);
    position: relative;
    font-size: 2.2rem;
}

.faq .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.faq__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 850px;
    margin: 0 auto;
}

.faq__item {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.faq__item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.faq__item.active {
    border-left-color: var(--color-secondary);
}

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: white;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq__question:hover {
    color: var(--color-secondary);
    background-color: rgba(0, 173, 228, 0.05);
}

.faq__question[aria-expanded="true"] {
    color: var(--color-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: rgba(0, 173, 228, 0.05);
}

.faq__icon {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0, 55, 129, 0.1);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.faq__question[aria-expanded="true"] .faq__icon {
    background-color: var(--color-secondary);
    transform: rotate(180deg);
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

.faq__question[aria-expanded="true"] .faq__icon::before,
.faq__question[aria-expanded="true"] .faq__icon::after {
    background-color: white;
}

.faq__icon::before {
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq__icon::after {
    top: 50%;
    left: 50%;
    width: 2px;
    height: 12px;
    transform: translate(-50%, -50%);
}

.faq__question[aria-expanded="true"] .faq__icon::after {
    opacity: 0;
}

.faq__answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    background-color: white;
}

.faq__question[aria-expanded="true"] + .faq__answer {
    max-height: 500px;
    padding: 0.5rem 1.5rem 1.5rem;
}

.faq__answer p {
    margin: 0;
    padding: 0.5rem 0;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .faq {
        padding: 3rem 0;
    }
    
    .faq .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .faq__question {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }
    
    .faq__answer p {
        font-size: 0.9rem;
    }
    
    .faq__icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .faq {
        padding: 2.5rem 0;
    }
    
    .faq .section-title {
        font-size: 1.6rem;
    }
    
    .faq__container {
        padding: 0 1.25rem;
    }
    
    .faq__question {
        font-size: 0.95rem;
        padding: 0.9rem 1rem;
    }
    
    .faq__answer p {
        font-size: 0.85rem;
    }
    
    .faq__icon {
        width: 18px;
        height: 18px;
    }
}

/* Menu Burger */
.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.burger-menu__bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

/* Navigation */
.header__nav {
    display: flex;
    align-items: center;
}

/* Styles pour mobile */
@media (max-width: 768px) {
    .burger-menu {
        display: block;
        margin-left: auto;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        padding: 5rem 1.5rem 2rem;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1001;
    }

    .header__nav.active {
        right: 0;
    }

    .header__contact {
        flex-direction: column;
        gap: 1rem;
        margin-left: 0;
    }

    .contact-capsule {
        width: 100%;
        justify-content: flex-start;
    }

    .contact-capsule span {
        display: block;
    }

    /* Animation du burger menu */
    .burger-menu.active .burger-menu__bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .burger-menu.active .burger-menu__bar:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .burger-menu__bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Ajustements pour très petits écrans */
@media (max-width: 480px) {
    .header__nav {
        max-width: 100%;
    }
}

/* Styles pour les modales */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999; /* Valeur élevée pour être au-dessus de tout */
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal__content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 90%;
    width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 10000; /* Encore plus élevé que le fond de la modale */
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.modal__close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.modal__body {
    margin-top: 1rem;
}

/* Styles pour le contenu des modales */
.modal h2 {
    margin-bottom: 1.5rem;
    color: #003781;
}

.modal h3 {
    margin: 1.5rem 0 1rem;
    color: #003781;
}

.modal p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.modal li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   SECTION AVIS GOOGLE
   ========================================================================== */
.reviews {
    padding: 5rem 0;
    background-color: transparent;
    position: relative;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 0;
}

.reviews__container {
    position: relative;
    z-index: 1;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.reviews__header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    background: transparent;
}

.reviews__logo {
    height: auto;
    width: 200px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.reviews__rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.reviews__stars {
    display: flex;
    margin-bottom: 0.25rem;
}

.star {
    color: #FBBC05;
    font-size: 1.5rem;
    margin: 0 0.1rem;
}

.reviews__score {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.reviews__item {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reviews__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.reviews__client {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.reviews__avatar {
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 1rem;
}

.reviews__name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.reviews__item .reviews__stars {
    margin-bottom: 1rem;
}

.reviews__item .star {
    font-size: 1.2rem;
}

.reviews__text {
    font-style: italic;
    line-height: 1.6;
    color: #555;
}

.reviews__cta {
    text-align: center;
}

.btn--secondary {
    background-color: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn--secondary:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 55, 129, 0.2);
}

@media (max-width: 768px) {
    .reviews {
        padding: 4rem 0;
    }
    
    .reviews__grid {
        grid-template-columns: 1fr;
    }
    
    .reviews__item {
        padding: 1.5rem;
    }
}

.google-logo {
    mix-blend-mode: multiply;
    max-height: 50px;
    max-width: 50px;
    border-radius: 0;
    box-shadow: none;
    margin-right: 1rem;
    object-fit: contain;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .google-logo {
        max-height: 40px;
        max-width: 40px;
    }
} 