:root {
    --primary-color: #5D8BF4; /* Un bleu doux et professionnel */
    --secondary-color: #3A4F7A; /* Un bleu plus foncé pour le texte important */
    --light-bg-color: #F8F9FA;
    --dark-text-color: #333;
    --light-text-color: #666;
    --white-color: #FFFFFF;
    --border-color: #E0E0E0;
    --font-main: 'Montserrat', sans-serif;
    --font-serif: 'Lora', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Décale l'ancre pour ne pas être sous le header */
    overflow-x: hidden; /* Ajouté pour empêcher le scroll horizontal */
}

body {
    font-family: var(--font-main);
    color: var(--dark-text-color);
    line-height: 1.7;
    font-size: 1.15rem; /* Augmenté */
    overflow-x: hidden; /* Ajouté pour empêcher le scroll horizontal */
}

h1, h2, h3 {
    font-family: var(--font-main);
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

h1 { font-size: 3.2rem; } /* Augmenté */
h2 { font-size: 2.5rem; text-align: center; } /* Augmenté */
h3 { font-size: 1.6rem; } /* Augmenté */

p {
    margin-bottom: 1rem;
    color: var(--light-text-color);
    font-size: 1.18rem; /* Augmenté */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--light-bg-color);
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.25rem; /* Augmenté */
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1.18rem; /* Augmenté */
}

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

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

.btn-large {
    font-size: 1.25rem; /* Augmenté */
    padding: 18px 36px; /* Optionnel, pour suivre la taille */
}

/* ------------------- */
/* HEADER & NAVIGATION */
/* ------------------- */
header {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed; /* Modifié pour rester toujours visible */
    top: 0;
    z-index: 1000;
    width: 100vw; /* Modifié pour occuper toute la largeur */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo {
    color: var(--secondary-color);
    font-size: 2rem; /* Augmenté pour le nom dans le header */
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px; /* espace entre logo et texte */
}

/* AJOUTÉ : Style pour l'icône dans le logo */
.nav-logo i {
    margin-right: 10px;
    color: var(--primary-color);
}

.logo-perso {
    height: 40px;
    width: auto;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 6px; /* optionnel, pour arrondir légèrement */
    box-shadow: 0 2px 8px rgba(0,0,0,0.07); /* optionnel, effet subtil */
}

/* Responsive : réduit le logo sur petits écrans */
@media (max-width: 420px) {
    .logo-perso {
        height: 28px;
        margin-right: 5px;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-links .btn {
    display: flex; /* Centrage vertical du texte dans le bouton */
    align-items: center;
    justify-content: center;
    height: 40px; /* Ajustez selon la hauteur souhaitée */
    padding: 0 24px;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* ------------------- */
/* SECTIONS */
/* ------------------- */

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('background.jpg') center center/cover;
    height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    color: var(--white-color);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
    font-family: var(--font-serif);
}

/* AJOUTÉ : Style spécifique pour le bouton dans la section hero */
.hero .btn {
    background-color: var(--white-color);
    color: var(--secondary-color);
    border-color: var(--white-color);
}

.hero .btn:hover {
    background-color: transparent;
    color: var(--white-color);
}


/* About Section */
.content-section {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.profile-pic img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
}

.profile-text p {
    font-family: var(--font-serif);
    font-size: 1.22rem; /* Augmenté */
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
}

.card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Infos Pratiques Section */
.info-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    font-size: 1.18rem; /* Augmenté */
}
.info-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}
.info-card i {
    color: var(--primary-color);
}

/* AJOUTÉ : Style pour l'iframe de Google Maps */
.info-card iframe {
    border-radius: 5px;
    margin-top: 1rem;
    width: 100%;
}

.info-card hr {
    margin-top: 2.2rem; /* Ajoute de l'espace au-dessus de la barre */
    margin-bottom: 2.2rem; /* Ajoute de l'espace en dessous de la barre */
}

.small-text {
    font-size: 1.05rem; /* Augmenté */
    color: #777;
    font-style: italic;
}

/* ... (la suite du CSS reste identique) ... */
.contact-form {
    max-width: 700px;
    margin: 2rem auto 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group.full-width {
    grid-column: 1 / -1;
}
.contact-form label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-text-color);
    font-size: 1.12rem; /* Augmenté */
}
.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 1.12rem; /* Augmenté */
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(93, 139, 244, 0.5);
}
.contact-form .btn {
    width: 100%;
    border: none;
    cursor: pointer;
}
.disclaimer {
    text-align: center;
    margin-top: 2rem;
}

/* ------------------- */
/* FOOTER */
/* ------------------- */
footer {
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-align: center;
    padding: 0.6rem 0; /* Encore réduit */
}
footer p {
    font-size: 0.82rem; /* Encore réduit */
    color: rgba(255,255,255,0.8);
    margin: 0;
}
.footer-email a,
.footer-phone a {
    font-size: 0.82rem; /* Encore réduit */
}
.footer-contact-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin: 0.3rem 0; /* Encore réduit */
}
.footer-contact-row .footer-phone a,
.footer-contact-row .footer-email a {
    color: #fff !important;
    text-decoration: underline;
    font-weight: 500;
    font-size: 0.82rem; /* Encore réduit */
}

/* ---------- */
/* FAQ Styles */
/* ---------- */
.faq-container {
    max-width: 800px;
    margin: 120px auto 3rem;
    padding: 0 1.5rem;
}

.accordion {
    margin-top: 2rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

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

.accordion-button::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
}

.accordion-button.active::after {
    content: '-';
}

.accordion-button:hover {
    background-color: var(--light-bg-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--white-color);
}

.accordion-content p {
    padding: 1.2rem;
    margin: 0;
    color: var(--light-text-color);
    font-size: 1.05rem;
}

.accordion-button.active + .accordion-content {
    max-height: 500px;
}

/* RESPONSIVE DESIGN */
/* ------------------- */
@media (max-width: 992px) {
    h1 { font-size: 2.7rem; }
    h2 { font-size: 2.1rem; }
    h3 { font-size: 1.3rem; }
    p, .profile-text p, .grid-3 .card p, .info-card, .section-subtitle, .small-text, .btn, .btn-large, .contact-form label, .contact-form input, .contact-form textarea, footer p {
        font-size: 1rem;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .content-section {
        flex-direction: column;
        text-align: center;
    }
    .profile-pic {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .hero h1 { font-size: 2.5rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.1rem; }
    p, .profile-text p, .grid-3 .card p, .info-card, .section-subtitle, .small-text, .btn, .btn-large, .contact-form label, .contact-form input, .contact-form textarea, footer p {
        font-size: 0.95rem;
    }
    .nav-links {
        position: absolute;
        top: 80px;
        right: 0;
        left: auto;
        background-color: var(--white-color);
        flex-direction: column;
        align-items: center;
        width: 100vw;
        max-width: 100vw;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        overflow: hidden;
        height: 0; /* Ajouté : cache le menu */
        pointer-events: none; /* Ajouté : empêche l'interaction */
    }
    .nav-active {
        transform: translateX(0%);
        height: auto; /* Ajouté : affiche le menu */
        pointer-events: auto; /* Ajouté : permet l'interaction */
    }
    .nav-links li {
        margin: 1.5rem 0;
    }
    .burger {
        display: block;
    }
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .toggle .line2 {
        opacity: 0;
    }
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
    .contact-form {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: auto;
    }
}

@media (max-width: 420px) {
    .hero-content h1 {
        font-size: 1.7rem;
        line-height: 1.15;
        word-break: break-word;
    }
    .hero-content .subtitle {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    .hero-content .btn.btn-large {
        font-size: 1.05rem;
        padding: 0.8em 1.4em;
    }
    .hero-content {
        padding: 1.4em 0.65em;
    }
}

/* Responsive pour la grille 2x2 des infos pratiques */
@media (max-width: 490px) {
  .grid-2x2 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* espace entre les cartes */
  }
  .grid-2x2 .info-card {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 350px) {
    .nav-logo {
        font-size: 1.25rem;
        /* Optionnel : réduire l'espace de l'icône */
    }
    .nav-logo i {
        margin-right: 6px;
        font-size: 1.1rem;
    }
}

/* Responsive pour écrans larges mais peu hauts */
@media screen and (min-width: 900px) and (max-height: 700px) {
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    .hero-content .subtitle {
        font-size: 1.1rem;
    }
    .hero-content {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* Pour écrans très peu hauts */
@media screen and (max-height: 600px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content .subtitle {
        font-size: 1rem;
    }
    .hero-content {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

.justify {
    text-align: justify;
}

