/* =============================
   VARIABLES & POLICE (ROOT)
============================= */
/*
@font-face {
    font-family: 'Chillax';
    src: url('../fonts/Chillax-Variable.woff2') format('woff2-variations'),
         url('../fonts/Chillax-Regular.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
}
*/

:root {
    /* Palette de couleurs */
    --color-primary: #3B7FD2;   /* Bleu */
    --color-secondary: #F6B905; /* Jaune */
    
    --color-heading: #2c3e50;
    --color-text-dark: #333333;
    --color-text-light: #FFFFFF;
    --color-bg-light-blue: #f0f6ff; /* N'est plus utilisé pour le fond, mais gardé */
    --color-bg-blue-visible: #e4eefc; /* NOUVEAU: Bleu plus visible */
    --color-bg-dark: #FFFFFF;
    --color-border: #eeeeee;

    /* Typographie */
    --font-primary: 'Chillax', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-secondary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Tailles */
    --header-height: 100px;
    --border-radius: 12px;
    --container-width: 1140px;
    --container-padding: 20px;
    
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.1);
}


/* =============================
   RESET & STYLES GLOBAUX
============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-bg-dark);
}

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

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--color-secondary);
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-heading);
    margin-bottom: 15px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 15px;
}

/* =============================
   CLASSES UTILITAIRES
============================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* MODIFIÉ (point 6) : Fond bleu primaire et texte blanc */
.section-light {
    background-color: var(--color-primary);
    color: var(--color-text-light); /* Texte par défaut en blanc */
}
/* MODIFIÉ (point 6) : Titres des sections en blanc */
.section-light h2,
.section-light h3,
.section-light p {
    color: var(--color-text-light);
}

.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: -10px auto 30px auto;
    text-align: center;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-two-cols,
.grid-three-cols,
.grid-four-cols {
    grid-template-columns: 1fr;
}

.vertical-align-start {
    align-items: start;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-family: var(--font-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    color: var(--color-text-light);
    background-color: var(--color-primary);
    background-image: linear-gradient(45deg, var(--color-primary), #346abf);
    box-shadow: 0 4px 10px rgba(59, 127, 210, 0.3);
}
.btn-primary:hover {
    background-image: linear-gradient(45deg, var(--color-secondary), #d4a004);
    color: var(--color-text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(246, 185, 5, 0.4);
}


/* =============================
   HEADER & NAVIGATION
============================= */
.header {
    width: 100%;
    height: var(--header-height);
    background-color: var(--color-bg-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.35);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header > .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 75px; /* MODIFIÉ (point 1) : 45px -> 75px */
    width: auto;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--color-primary); /* MODIFIÉ (point 2) : --color-heading -> --color-primary */
}

.logo-text .highlight {
    color: var(--color-secondary);
}

/* Navigation Mobile */
.navbar {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--color-bg-dark);
    border-bottom: 1px solid var(--color-border);
    padding: 20px;
}

.navbar.active {
    display: block;
}

.navbar-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.navbar-link {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--color-text-dark);
    font-weight: 600; /* MODIFIÉ (point 3) : 500 -> 600 */
    transition: color 0.3s ease;
}
.navbar-link:hover {
    color: var(--color-primary);
}
.navbar-link.btn {
    text-align: center;
}

/* MODIFIÉ (point 4) : Style bouton Contact dans la Nav */
.navbar .btn-primary {
    background-image: linear-gradient(45deg, var(--color-secondary), #d4a004);
    color: var(--color-text-dark);
    box-shadow: 0 4px 10px rgba(246, 185, 5, 0.4);
    border: none;
}
.navbar .btn-primary:hover {
    background-image: linear-gradient(45deg, var(--color-primary), #346abf);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(59, 127, 210, 0.3);
}

.menu-toggle {
    display: block;
    font-size: 1.8rem;
    color: var(--color-primary);
    background: none;
    border: none;
    cursor: pointer;
}


/* =============================
   MAIN
============================= */
main {
    margin-top: var(--header-height);
}


/* =============================
   SECTION HÉROS
============================= */
.hero {
    /* MODIFIÉ (point 1): Fond blanc */
    background-color: var(--color-bg-dark); 
    
    color: var(--color-text-dark); /* Texte redevient foncé */
    
    /* MODIFIÉ (point 2): Espace réduit sur mobile */
    padding: 40px 0; 
    overflow: hidden; 
    
    /* MODIFIÉ (point 5): Bordure jaune ! */
    border-bottom: 5px solid var(--color-secondary);
    position: relative; /* Pour que les bulles s'alignent bien */
}

/* Centre le contenu de la grille (utile sur grand écran) */
#hero .grid-two-cols {
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center; /* Texte centré sur mobile */
}

.hero-title {
    /* MODIFIÉ: Texte foncé */
    color: var(--color-heading); 
}

.hero-subtitle {
    /* MODIFIÉ: Texte foncé */
    color: var(--color-text-dark); 
}


/* --- "Animation" --- */
.hero-animation-container {
    position: relative;
    min-height: 400px; /* Espace minimum pour l'animation sur mobile */
    z-index: 1;
}

.pet-bubble {
    position: absolute;
    display: block;
    background-size: cover;
    background-position: center;
    border-radius: 30%; /* "Squircle" */
    
    
    /* MODIFIÉ: L'ombre remplace la bordure blanche */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    /* border: 3px solid rgba(255, 255, 255, 0.5); <-- SUPPRIMÉ */
    
    /* Animation ! */
    animation: float-orbit 15s ease-in-out infinite;
}

/* Assigner les images (MODIFIÉ: point 3 & 4 - 8 images plus grosses) */
#bubble-chien1 {
    background-image: url('../images/chien4.jpg');
    width: 250px; /* Agrandit */
    height: 250px;
    top: 10%;
    left: 45%;
    animation-duration: 15s;
    animation-delay: -5s;
}

#bubble-chat1 {
    background-image: url('../images/chien3.jpg');
    width: 180px; /* Agrandit */
    height: 180px;
    top: 0%;
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
}

#bubble-lapin {
    background-image: url('../images/lapin.jpg');
    width: 140px; /* Agrandit */
    height: 140px;
    top: 60%;
    left: 20%;
    animation-duration: 18s;
    animation-delay: -3s;
}

#bubble-chat2 {
    background-image: url('../images/chat4.jpg');
    width: 170px; /* Agrandit */
    height: 170px;
    top: 55%;
    left: 65%;
    animation-duration: 10s;
    animation-delay: -7s;
}

/* ** NOUVELLES RÈGLES CSS ** */
#bubble-chien2 {
    /* NOTE: Remplace cette image ! */
    background-image: url('../images/chat3.jpg'); 
    width: 160px;
    height: 160px;
    top: 70%;
    left: 40%;
    animation-duration: 16s;
    animation-delay: -2s;
}

#bubble-chat3 {
    /* NOTE: Remplace cette image ! */
    background-image: url('../images/chat1.jpg');
    width: 220px;
    height: 220px;
    top: 30%;
    left: 5%;
    animation-duration: 11s;
    animation-delay: -9s;
}

#bubble-nac1 {
    /* NOTE: Remplace cette image ! */
    background-image: url('../images/lapin.jpg');
    width: 120px;
    height: 120px;
    top: 5%;
    left: 70%;
    animation-duration: 19s;
    animation-delay: -6s;
}

#bubble-chien3 {
    /* NOTE: Remplace cette image ! */
    background-image: url('../images/chien1.jpg');
    width: 190px;
    height: 190px;
    top: 65%;
    left: 80%;
    animation-duration: 14s;
    animation-delay: -12s;
}


/* =============================
   SECTION PRÉSENTATION
============================= */
.presentation-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.presentation-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* =============================
   SECTION CERTIFICATIONS
============================= */
.card {
    background-color: var(--color-bg-dark);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 3rem;
    color: var(--color-secondary); /* MODIFIÉ (point 5) : --color-primary -> --color-secondary */
    margin-bottom: 20px;
}

/* MODIFIÉ (point 6) : Les cartes restent blanches, donc le texte redevient foncé */
.section-light .card h3,
.section-light .card p {
    color: var(--color-heading);
}


/* =============================
   SECTION SERVICES
============================= */
.list-check {
    margin-top: 15px;
}
.list-check li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.list-check .fa-check {
    color: var(--color-secondary); /* MODIFIÉ (point 5) : --color-primary -> --color-secondary */
    font-size: 1.2rem;
    margin-top: 4px;
}

.subsection-list {
    margin-top: 30px;
}

.service-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 450px;
}

.grid-photo {
    width: 100%;
    padding-bottom: 100%; 
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    animation: gentle-float 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}
.grid-photo:hover {
    transform: scale(1.05);
    animation-play-state: paused;
}
#photo-chien1 {
    background-image: url('../images/chien1.jpg');
    animation-delay: 0s;
}
#photo-chat1 {
    background-image: url('../images/chat1.jpg');
    animation-delay: -1.5s;
}
#photo-lapin {
    background-image: url('../images/lapin.jpg');
    animation-delay: -3s;
}
#photo-chat2 {
    background-image: url('../images/chat2.jpg');
    animation-delay: -4.5s;
}

.section-subsection {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

blockquote {
    /* MODIFIÉ (point 6) : Fond plus clair que le fond bleu, et bordure jaune */
    background-color: rgba(255, 255, 255, 0.1); 
    border-left: 5px solid var(--color-secondary);
    padding: 20px;
    margin-top: 20px;
    font-style: italic;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}
blockquote .fa-circle-exclamation {
    margin-right: 10px;
    color: var(--color-secondary);
}
/* MODIFIÉ (point 6) : Le texte de la citation reste blanc */
.section-light blockquote,
#services blockquote {
    color: var(--color-text-dark); /* La citation dans #services reste sombre */
    background-color: var(--color-bg-blue-visible); /* MODIFIÉ: Opacité augmentée */
}
#services blockquote {
    color: var(--color-text-dark);
}
/* La citation dans les sections bleues doit être blanche */
.section-light blockquote {
    background-color: rgba(255, 255, 255, 0.1); 
    color: var(--color-text-light);
}

/* AJOUT: Espace supplémentaire sous le titre "Fonctionnement" */
#reservation h2.text-center {
    margin-bottom: 50px; /* Augmente l'espace (c'était 15px par défaut) */
}


/* =============================
   SECTION FONCTIONNEMENT
============================= */
.step-card {
    position: relative;
    padding: 30px;
    padding-top: 40px;
    background-color: var(--color-bg-dark);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* MODIFIÉ (point 6) : Texte des cartes en foncé */
.section-light .step-card h3,
.section-light .step-card p {
    color: var(--color-heading);
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    color: var(--color-text-dark);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--color-primary); /* MODIFIÉ (point 6) : Bordure = fond bleu */
}


/* =============================
   SECTION TARIFS
============================= */
.tarifs-intro p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.isochrone-map img {
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.pricing-card {
    background-color: var(--color-bg-blue-visible); /* MODIFIÉ: Opacité augmentée */
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.pricing-title {
    text-align: center;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 15px;
}

.pricing-row {
    display: flex;
    /* flex-direction: column; <-- On supprime ça */
    justify-content: space-between;
    margin-top: 20px;
    font-size: 0.95rem;
    
    /* AJOUTS : */
    align-items: center; /* Centre verticalement */
    gap: 15px; /* Espace entre les deux blocs */
}
.pricing-row span:first-child {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0; /* On enlève (c'était pour le mobile) */
    
    /* AJOUTS : */
    flex-shrink: 0; /* Ne pas réduire ce bloc */
    width: 80px;    /* On lui donne une largeur fixe */
}

.list-options {
    columns: 1;
}

.list-options li {
    margin-bottom: 10px;
}


/* =============================
   SECTION CONTACT
============================= */
.contact-form {
    background-color: var(--color-bg-dark);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

/* MODIFIÉ (point 6) : Texte du formulaire en foncé */
.section-light .contact-form h3,
.section-light .contact-form label {
    color: var(--color-heading);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 5px rgba(59, 127, 210, 0.3);
}

.contact-info {
    padding-top: 20px;
}
.contact-info p {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-info p i {
    color: var(--color-secondary); /* MODIFIÉ (point 5) : --color-primary -> --color-secondary */
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}
/* MODIFIÉ (point 6) : Liens en jaune pour ressortir sur le fond bleu */
.section-light .contact-info a {
    color: var(--color-secondary);
    font-weight: 600;
}
.section-light .contact-info a:hover {
    color: var(--color-text-light);
    text-decoration: underline;
}

.map-container {
    margin-top: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
}


/* =============================
   FOOTER
============================= */
.footer {
    background-color: var(--color-heading);
    color: #ecf0f1;
    padding-top: 50px;
}

.footer-col h4 {
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: 1.3rem;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-col p {
    font-size: 0.9rem;
    color: #bdc3c7;
}

.footer-col p i {
    color: var(--color-secondary);
    margin-right: 5px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Style pour les liens DANS la colonne contact (pour Instagram) */
.footer-col p a {
    color: #bdc3c7; /* Couleur du texte <p> normal */
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-col p a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid #34495e;
    font-size: 0.85rem;
    color: #bdc3c7;
}


/* ======================================================
   ANIMATIONS (Fade in on scroll)
========================================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ======================================================
   LÉGENDE ZONES & LIGHTBOX
========================================================= */
.zone-legend {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}
.zone-legend li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.1);
    margin-right: 12px;
}
.color-swatch.zone-1 { background-color: #A78C7C; }
.color-swatch.zone-2 { background-color: #D9AE91; }
.color-swatch.zone-3 { background-color: #F9E1A4; }

#isochrone-trigger {
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#isochrone-trigger:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}
.lightbox.active {
    display: flex;
}
.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}
.lightbox-close:hover {
    color: #ccc;
}
@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


/* ======================================================
   KEYFRAMES (Animations)
========================================================= */
@keyframes gentle-float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

/* MODIFIÉ (point 3): Mouvement plus complexe et "aléatoire" */
@keyframes float-orbit {
    0% {
        transform: translateY(0) translateX(0) scale(1) rotate(0deg);
    }
    20% {
        transform: translateY(-15px) translateX(20px) rotate(-3deg);
    }
    40% {
        transform: translateY(10px) translateX(-10px) rotate(5deg);
    }
    60% {
        transform: translateY(20px) translateX(15px) rotate(0deg);
    }
    80% {
        transform: translateY(-5px) translateX(-20px) rotate(-5deg);
    }
    100% {
        transform: translateY(0) translateX(0) scale(1) rotate(0deg);
    }
}

/* =============================
   AJOUT: FIX LOGO MOBILE
============================= */
.mobile-break {
    display: none; /* Caché par défaut */
}

/* On cible les écrans mobiles (jusqu'à 767px) */
@media (max-width: 767px) {
    .logo-img {
        height: 45px; /* On réduit la taille du logo */
    }
    .logo-text {
        font-size: 1.2rem; /* On réduit le texte */
        line-height: 1.1; /* On resserre les lignes */
    }
    .mobile-break {
        display: block; /* On affiche le <br> */
    }
}
/* ======================================================
   PAGE LÉGALE (CGV / Mentions)
========================================================= */

/* On ajoute un padding pour décaler le contenu du header fixe */
.legal-page {
    padding-top: 60px;
    padding-bottom: 60px;
}

.legal-page .container {
    max-width: 900px; /* Un peu moins large pour la lecture */
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--color-heading);
}

.legal-page h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-secondary); /* Titres soulignés en jaune */
    padding-bottom: 5px;
}

.legal-page p {
    margin-bottom: 15px;
    line-height: 1.7; /* Plus d'espace entre les lignes */
}

/* Style pour les listes à puces */
.legal-page ul {
    list-style: disc;
    margin-left: 30px;
    margin-bottom: 15px;
    padding-left: 0;
}

.legal-page ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}


/* ======================================================
   RESPONSIVITÉ (TABLETTE)
========================================================= */
@media (min-width: 768px) {

    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }

    .grid-two-cols { grid-template-columns: repeat(2, 1fr); }
    .grid-three-cols {
    grid-template-columns: 1fr; /* MODIFICATION: Reste sur 1 colonne sur tablette */
  }
    .grid-four-cols { grid-template-columns: repeat(2, 1fr); }

    .menu-toggle { display: none; }
    .navbar {
        display: block;
        position: static;
        width: auto;
        background: none;
        border: none;
        padding: 0;
    }
    .navbar-list {
        flex-direction: row;
        align-items: center;
        gap: 25px;
    }
    .navbar-link { font-size: 1rem; }
    .navbar-link.btn {
        text-align: left;
        padding: 8px 20px; /* MODIFIÉ (point 4) : Ajustement du padding pour le bouton nav */
    }

    .list-options { columns: 2; }
    .contact-info { padding-top: 0; }

    /* MODIFIÉ (point 2): Espace réduit sur PC */
    #hero {
        padding: 0; 
        min-height: 60vh; /* 80vh -> 60vh */
    }
    
    #hero .grid-two-cols {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        min-height: 60vh; /* Ajout pour garantir la hauteur */
    }

    /* Aligne le texte du héros à gauche */
    #hero .hero-content {
        text-align: left;
        padding: 20px;
    }

    #hero .hero-animation-container {
        min-height: 450px; /* Hauteur minimum pour que les bulles s'affichent */
    }
}


/* ======================================================
   RESPONSIVITÉ (ORDINATEUR)
========================================================= */
@media (min-width: 1024px) {

    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    
    .grid-three-cols {
    grid-template-columns: repeat(3, 1fr); /* PASSE à 3 colonnes SEULEMENT ici */
  }

    .grid-four-cols { grid-template-columns: repeat(4, 1fr); }

    .presentation-image { padding-right: 30px; }
    .presentation-text { padding-left: 30px; }
    .list-options { columns: 3; }

    #services .grid-two-cols {
        grid-template-columns: 1fr 0.8fr;
        gap: 50px;
    }
}

/* =============================
   CORRECTIF MOBILE MAPS & FORM
============================= */

/* Force l'iframe Google Maps à être responsive */
.map-container iframe {
    width: 100% !important; /* Prend 100% de la largeur du conteneur */
    height: 300px; /* Hauteur fixe pour mobile */
    display: block;
}

/* Sur ordinateur, on peut la faire plus haute */
@media (min-width: 768px) {
    .map-container iframe {
        height: 450px;
    }
}

/* Ajustement des marges sur petit écran */
@media (max-width: 767px) {
    /* Réduit l'espace intérieur du formulaire et des cartes */
    .contact-form, .card, .contact-info {
        padding: 20px; /* 20px au lieu de 30px pour gagner de la place */
    }
}

/* ======================================================
   CORRECTIF MOBILE (Écrans < 400px)
========================================================= */

@media (max-width: 400px) {
    
    /* 1. Réduit les marges générales de la section */
    .section {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .container {
        padding-left: 5px;
        padding-right: 5px;
    }

    /* 2. Formulaire : On enlève presque tout le padding pour gagner de la place */
    .contact-form {
        padding: 15px 10px !important; 
        width: 100%;
    }

    /* 3. Coordonnées : On empêche le débordement du texte */
    /* MODIFICATION : Gestion des lignes de contact */
    .contact-info p {
        font-size: 0.9rem; /* On réduit légèrement la police */
        flex-wrap: wrap;   /* AUTORISE le passage à la ligne */
        row-gap: 2px;      /* Petit espace si ça passe sur 2 lignes */
    }

    /* AJOUT : On empêche "Instagram :" de se couper */
    .contact-info p strong {
        white-space: nowrap; /* Interdit de couper ce mot */
        margin-right: 5px;
    }

    /* AJOUT : Gestion du lien/pseudo */
    .contact-info p a {
        word-break: break-all; /* Coupe le mot s'il est VRAIMENT trop long */
    }
    
    .contact-info p i {
        margin-top: 5px; /* Ajuste l'icône */
        min-width: 25px; /* Garde de la place pour l'icône */
    }

    /* 4. Carte Google Maps : On s'assure qu'elle ne dépasse pas */
    .map-container {
        width: 100%;
        overflow: hidden;
    }

    /* AJOUT : On redonne de l'espace au Header pour décoller le logo et le burger */
    .header .container {
        padding-left: 25px !important;  /* Plus d'espace à gauche */
        padding-right: 25px !important; /* Plus d'espace à droite */
    }
}

/* =============================
   BOUTON D'APPEL FLOTTANT
============================= */
.floating-call-btn {
    position: fixed;      /* Fixe le bouton par rapport à l'écran */
    bottom: 20px;         /* À 20px du bas */
    right: 20px;          /* À 20px de la droite */
    width: 60px;
    height: 60px;
    background-color: var(--color-secondary); /* Fond jaune */
    color: var(--color-text-dark); /* Icône foncée */
    border-radius: 50%;   /* Forme ronde */
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* Ombre portée */
    z-index: 9999;        /* S'assure qu'il est au-dessus de tout */
    
    /* Centrage de l'icône */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;

    /* Petite animation pour attirer l'attention */
    animation: pulse-btn 2s infinite;
    transition: transform 0.3s ease;
}

.floating-call-btn:active {
    transform: scale(0.9); /* Petit effet de clic */
}

/* Animation de pulsation */
@keyframes pulse-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(246, 185, 5, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(246, 185, 5, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(246, 185, 5, 0);
    }
}

/* CACHER SUR ORDINATEUR */
/* Le bouton ne s'affiche que si l'écran est plus petit que 768px (mobiles) */
@media (min-width: 768px) {
    .floating-call-btn {
        display: none;
    }
}