/* ============================================================
   SOMMAIRE CSS - ÂME ANIMALE
   ------------------------------------------------------------
   1. VARIABLES & BASE (Couleurs, Typo)
   2. NAVIGATION (Menu, Logo, Boutons Nav)
   3. ÉLÉMENTS RÉUTILISABLES (Container, Grilles, Boutons)
   4. PAGE ACCUEIL (Hero, Services)
   5. PAGE MON APPROCHE (Steps, ImageBox, Ethics)
   6. PAGE TÉMOIGNAGES (Cards spécifiques)
   7. PAGE CONTACT (Formulaire, Mise en page)
   8. FOOTER (Pied de page, Copyright)
   9. RESPONSIVE (Adaptation Mobile)
   ============================================================ */

/* 1. VARIABLES & BASE */
:root {
    --primary: #8da399; 
    --accent: #d4a373;  
    --light: #fefae0;  
    --dark: #4a4e4d;    
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif; 
    margin: 0;
    line-height: 1.8;
    color: var(--dark);
    background-color: #fff;
}

html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 100px; 
}

/* 2. NAVIGATION */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: slideDown 0.8s ease-out;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo a {
    text-decoration: none; 
    color: var(--primary);         
    display: inline-block;
    transition: 0.3s;      
}

.logo a:hover {
    opacity: 0.7;          
    transform: scale(1.02); 
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li { margin-left: 25px; }

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-size: 0.9rem;
    transition: 0.3s;
}

nav ul li a:hover { color: var(--accent); }

.nav-btn {
    background: var(--primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
}


.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none; 
    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 10px;
    padding: 10px 0;
    margin-top: 10px;
    list-style: none;
}


.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropbtn {
    padding-bottom: 20px; 
}

.dropdown-content li {
    margin: 0 !important; 
}

.dropdown-content li a {
    color: var(--dark);
    padding: 12px 20px;
    display: block;
    text-align: left;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.dropdown-content li a:hover {
    background-color: #f4f7f5; 
    color: var(--primary);
}


.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 10px;
    padding: 5px 0;
    margin-top: 0; 
    left: 0;
    border: 1px solid rgba(141, 163, 153, 0.1);
}


.dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: 15px; 
    margin-bottom: -15px; 
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 3. ÉLÉMENTS RÉUTILISABLES */


body {
    margin: 0;
    padding: 0;
}



.top-bar-complete {
    width: 100%;
    background-color: #d4a373; 
    color: white;
    padding: 5px 0;
    font-family: sans-serif;
}

.top-bar-inner {
    max-width: 1200px; 
    margin: 0 auto;    
    padding: 0 5%;   
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info span {
    margin-right: 20px;
    font-size: 0.8rem; 
}

.top-social-icons a {
    color: white;
    margin-left: 15px;
    font-size: 1rem;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%; 
    background: white;
    border-bottom: 1px solid #f0f0f0;
}


.top-info i {
    margin-right: 5px;
}

.top-social-icons a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 1.2rem;
    transition: 0.3s;
}

.top-social-icons a:hover {
    color: #fefae0;
}

/* Ajustement pour Mobile */
@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 8px;
    }
    .top-info span {
        margin-right: 0;
        display: block;
        text-align: center;
    }
}

.container {
    padding: 80px 10%;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

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

@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .grid-3 { grid-template-columns: 1fr; }
}

.footer-btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.footer-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0.9;
}

.main-cta-btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 30px;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgba(212, 163, 115, 0.25);
}

.main-cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(212, 163, 115, 0.35);
    opacity: 1;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    color: var(--primary);
    font-size: 1.4rem;
}

.logo img {
    max-height: 80px; 
    width: auto;
    transition: transform 0.3s ease;
}


.logo:hover img {
    transform: scale(1.05);
}

/* 4. PAGE ACCUEIL */

.hero {
    height: 80vh;
    background: linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.2)), 
                url('photo-animaux.jpg'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-style: italic;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    color: black;
}

.hero p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

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

.service-card {
    background: white;
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* 5. PAGE MON APPROCHE */
.hero-approche {
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('photo-femme-cheval.png'); 
    background-size: cover;
    background-position: center 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-approche h1 {
    font-size: 3rem;
    font-style: italic;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-approche .subtitle { color: white; }

.intro-approche { margin-bottom: 50px; }

.subtitle {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--primary);
}

.separator {
    width: 60px;
    border: 1px solid var(--accent);
    margin: 20px auto;
}

.image-box img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 15px 15px 0px var(--light);
}

.steps-section {
    background-color: var(--light);
    padding: 60px 0;
}

.step-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.step-card .number {
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: bold;
}

.ethics-card {
    background: #fdfcf0;
    padding: 40px;
    border-radius: 2px;
    border-left: 8px solid var(--primary);
    max-width: 800px;
    margin: auto;
}

.text-columns {
    column-count: 2;
    column-gap: 60px;
    text-align: justify;
}

/* --- Système de cartes dépliables (Mon Approche) --- */
.card-text {
    max-height: 75px; /* Hauteur visible par défaut réduite */
    overflow: hidden;
    position: relative;
    transition: max-height 0.6s ease-in-out;
}

.service-card.expanded .card-text {
    max-height: 2000px; /* Suffisamment grand pour tout afficher */
}

.card-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(transparent, white);
    transition: opacity 0.3s;
    pointer-events: none;
}

.service-card.expanded .card-text::after {
    opacity: 0;
}

.read-more-btn {
    display: block;
    margin: 15px auto 0; /* Centré */
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 163, 115, 0.2);
}

@media (max-width: 768px) {
    .text-columns { column-count: 1; }
}

/* 6. PAGE TÉMOIGNAGES */
.testimonial {
    background: #fdfcf0;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--accent);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3 ease;
}

.testimonial:hover {
    transform: scale(1.02);
}

.stars {
    color: #ffc107; 
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: block;
}

/* 7. PAGE CONTACT */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
    text-align: left;
}

.contact-info {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
}

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

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
    box-sizing: border-box; 
}

.checkbox-group {
    display: flex;
    align-items: flex-start; 
    gap: 15px;
    text-align: left;
    margin-top: 25px;
}

.checkbox-group input {
    width: auto; 
    margin-top: 5px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group label a {
    color: var(--primary);
    text-decoration: underline;
}

.page-header {
    padding-top: 40px; 
    padding-bottom: 20px;
    text-align: center;
}

.page-header h1 {
    margin-top: 0;
    margin-bottom: 10px;
}

/* 8. FOOTER */
footer {
    background: var(--dark);
    color: white;
    padding: 20px 0 5px;
    margin-top: 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 10% 10px 10%;
}

.footer-content h3, .footer-content h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-links ul li a:hover { opacity: 1; color: var(--accent); }

.copyright {
    text-align: center;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 10px;
    opacity: 0.5;
}

.back-to-top {
    display: inline-block;
    margin: 15px 0;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Logo dans le footer */
.footer-content .logo {
    color: white;
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-content .logo img {
    max-height: 100px;
}

/* 9. RESPONSIVE */
@media (max-width: 768px) {
   
    nav {
        flex-direction: column;
        padding: 15px 5%;
        position: relative;
    }

    .logo {
        margin-bottom: 10px;
    }

   
    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    nav ul li {
        margin: 5px 0; 
        width: 100%;
        text-align: center;
    }

    
    .nav-btn {
        display: inline-block;
        width: auto;
        padding: 10px 25px;
        margin-top: 10px;
    }

   
    .hero h1 {
        font-size: 1.8rem;
        padding: 0 10px;
    }

    .logo img {
        max-height: 60px;
    }

    .contact-wrapper, .split-content {
        grid-template-columns: 1fr !important;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-content .logo {
        width: 100%;
        justify-content: center;
    }
}


/* 10. ETHIQUE */
.ethics-card {
    background: #fdfcf0;
    padding: 30px;
    border-radius: 10px;
    border-left: 8px solid var(--primary);
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.ethics-card h3 {
    color: var(--primary);
    margin-top: 0;
} 

/* 11. PAGE SÉANCES */


.price-card {
    background: #91a497; 
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(141, 163, 153, 0.15);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.price-card:hover {
    transform: translateY(-12px);
    background: #ffffff; 
    box-shadow: 0 15px 35px rgba(141, 163, 153, 0.2);
    border-color: var(--primary);
}

.icon-circle {
    font-size: 2rem;
    background: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.price-tag {
    font-size: 2.2rem;
    font-weight: bold;
    color: #ffffff;
    margin: 15px;
    transition: color 0.3s ease;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
    text-align: left;
    width: 100%;
}

.price-features li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    padding-left: 25px;
    position: relative;
}

.price-features li::before {
    content: "•";
    position: absolute;
    left: 5px;
    color: var(--primary);
    font-weight: bold;
}

.price-card:hover .price-tag {
    color: var(--accent); 
}

.price-card:hover .footer-btn {
    background: var(--primary);
}

.price-card .footer-btn {
    margin-top: auto;
}

.price-card p {
    color: white;
    transition: color 0.3s ease;
}

.price-card:hover p {
    color: var(--dark);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}


/* 12. Salon */

.simple-list {
    list-style: none; 
    padding: 0;       
    margin: 20px 0;   
}

.simple-list li {
    margin-bottom: 10px; 
    position: relative;
    padding-left: 0;     
}


.simple-list li:last-child {
    margin-bottom: 20px;
}

/* 13. Initiation */

.pro-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.pro-list li {
    position: relative;
    padding-left: 30px; 
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--dark);
    display: flex;
    align-items: center;
}


.pro-list li::before {
    content: "🌿"; 
    position: absolute;
    left: 0;
    color: var(--accent); 
    font-size: 0.8rem;
    font-weight: bold;
}


.pro-list li:hover {
    transform: translateX(5px);
    transition: 0.3s ease;
    color: var(--primary);
}

/* 14. Nettoyage */ 

.testimonial-box {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
    border-left: 8px solid var(--accent);
    font-style: italic;
    margin: 40px 0;
}
.testimonial-box h3 {
    font-style: normal;
    color: var(--primary);
    margin-bottom: 15px;
}

/* 15. BANNIÈRE COOKIES */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Caché par défaut en bas */
    left: 0;
    width: 100%;
    background: var(--dark);
    color: white;
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
    transition: bottom 0.5s ease-in-out;
}

.cookie-banner.show {
    bottom: 0; /* Apparaît à l'écran */
}

.cookie-banner a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.cookie-btn:hover {
    background: var(--accent);
    transform: scale(1.05);
}