/* static/css/style.css */

:root {
    --primary-color: #e04f74; /* Le beau rose de ton image */
    --accent-color: #000; /* Une touche turquoise/cyan pour contraster */
    --text-color: #333333;
    --bg-color: #ffffff;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

/* ================================ */
/* --------- Page Accueil --------- */
/* ================================ */

/* --- Header & Navigation --- */
.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
	text-decoration: none;
}

.logo span {
    color: var(--text-color); /* Utilise le gris très foncé/noir de ton thème */
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5% /* Marges responsives */;
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}



.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

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

/* L'effet de soulignement au survol du menu */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* --- Hero Section (Bannière 100%) --- */
.hero {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* L'image prend 100% de la largeur et adapte sa hauteur naturellement */
.hero-bg {
    width: 100%;
    height: auto;
    display: block;
}

/* Le texte vient se poser par-dessus l'image avec un fond presque invisible */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.2);
    padding: 30px 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 600px;
    width: 90%;
}

.hero-content h1 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem;
	font-weight: 600;
    margin-bottom: 30px;
    color: #fff;
}

/* Bouton d'action */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.3s;
}

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

/* --- Section Intro --- */
.intro {
    padding: 80px 5%;
    text-align: center;
    background-color: #fafafa;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
}

.intro-text h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

/* --- Responsive basique --- */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: 20px;
    }
    .hero-content {
        padding: 8px 12px;
        width: 85%;
    }
    .hero-content h1 {
        font-size: 1.2rem;
        margin-bottom: 4px;
        line-height: 1.1;
    }
    .hero-content p {
        font-size: 0.85rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    .hero-content .btn {
        padding: 5px 12px;
        font-size: 0.72rem;
    }
}




/* --- Nouvelle Section : Services --- */
.services {
    padding: 60px 5%;
    background-color: #fafafa; /* Fond très clair pour contraster avec le blanc des cartes */
    text-align: center;
}

.section-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; /* Pour le responsive */
}

.service-card {
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    width: 320px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 2px solid #B76E79; /* La touche cyan/turquoise */
}

.service-card h3 {
    color: var(--primary-color);
    padding: 25px 25px 10px;
    font-size: 1.4rem;
}

.service-card p {
    padding: 0 25px 20px;
    color: #555;
    font-size: 1rem;
}

.service-link {
    display: inline-block;
    padding: 0 25px 25px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600; /* On réutilise le même poids que ton texte de bannière */
    font-size: 0.95rem;
    transition: color 0.3s;
}

.service-link:hover {
    color: var(--accent-color); /* Le texte passe au turquoise au survol */
}



/* --- Footer équilibré en 3 colonnes --- */
.main-footer {
    background-color: #1a1a1a;
    color: #f0f0f0;
    padding: 60px 5% 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Permet aux colonnes de passer à la ligne sur mobile */
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1; /* Chaque colonne prend la même largeur */
    min-width: 250px; /* Évite que les colonnes soient trop écrasées sur petit écran */
}

.footer-column h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-column p {
    margin-bottom: 12px;
    color: #bbbbbb;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Style des liens rapides */
.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #bbbbbb;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color); /* Les liens deviennent roses au survol */
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 25px;
    color: #777;
    font-size: 0.9rem;
}


/* --- Bouton WhatsApp Flottant --- */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-floating:hover {
    background-color: #128C7E;
    transform: scale(1.1); /* Petit effet de grossissement au survol */
}



/* ================================ */
/* --------- Page Service --------- */
/* ================================ */

/* --- Grille Tarifaire Premium --- */ 

.pricing-grid-section {
    padding: 80px 5%;
    background-color: #fafafa;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48ZyBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNkZGRkZGQiIGZpbGwtb3BhY2l0eT0iMC4yIj48cGF0aCBkPSJNMCAwaDR2NEgwVjB6bTRoNHY0SDRWNHptMCA0aDR2NEgwVjR6bTAgNGg0djRIMFY4em04IDRoNHY0SDhWNHptMCA0aDR2NEg4VjR6bTAgNGg0djRIOFY4em0wIDRoNHY0SDhWMTJ6bTQtNEg0djRINFY4em00LTRINHY0SDRWNHptNC00SDRvNHI0SDRWNHoiLz48L2c+PC9nPjwvc3ZnPg=='); /* Texture légère */
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* Responsive */
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-column {
    background: var(--bg-color);
    flex: 1;
    min-width: 320px;
    max-width: 380px;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.pricing-column:hover {
    transform: translateY(-5px);
}

.column-header {
    background-color: #fdf5f6; /* Rose très pâle pour le header */
    padding: 30px;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
}

.column-header .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.column-header h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-items {
    padding: 20px 30px 30px;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px dashed #ddd;
}

.pricing-item:last-child {
    border-bottom: none;
}

.item-details h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.item-details p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.5;
    padding-right: 15px;
}

.item-price {
    font-weight: 700;
    color: #B76E79; /* Ton vieux rose élégant pour les prix */
    font-size: 1.2rem;
    white-space: nowrap;
    margin-top: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-container {
        gap: 20px;
    }
}



/* On cible l'image DIRECTEMENT */
.column-header .icon img {
    /* 1. AGGRANDISSEMENT DE L'ICÔNE (80px, ou la valeur que vous voulez) */
    height: 250px; /* J'ai mis 80px, vous pouvez l'ajuster ici ! */
    width: auto; /* Pour ne pas déformer vos belles images */

    /* 2. LA SOLUTION MAGIQUE POUR LE FOND BLANC SUR ROSE */
    mix-blend-mode: multiply; /* Fait disparaître le blanc de vos PNGs sur le fond rose ! */
}

/* Et on s'assure que le conteneur n'a pas de styles gênants */
.column-header .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    height: auto; /* On laisse l'image dicter la hauteur */
}



/* ================================ */
/* --------- Page Contact --------- */
/* ================================ */

.contact-section {
    padding: 80px 5%;
    background-color: var(--bg-color);
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* S'adapte sur mobile */
}

.contact-info-block, .contact-form-block {
    flex: 1;
    min-width: 320px;
}

.contact-info-block h2, .contact-form-block h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-intro {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.info-item p {
    color: #555;
    line-height: 1.6;
}

.text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.text-link:hover {
    text-decoration: underline;
}

/* Style du Formulaire */
.contact-form {
    background-color: #fafafa;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid #eee;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%; /* Le bouton prend toute la largeur du formulaire */
    cursor: pointer;
    font-size: 1.1rem;
    border: none;
    margin-top: 10px;
}

/* Section Carte Google Maps */
.map-section {
    width: 100%;
    line-height: 0; /* Enlève l'espace blanc sous l'iframe */
}

.map-section iframe {
    width: 100%;
    height: 450px;
    border: none;
}






/* ================================== */
/* --------- Pages Legales  --------- */
/* ================================== */

/* static/css/style.css */

/* --- Page Légale (Privacy, Terms, Cookies) --- */
.legal-section {
    padding: 80px 5%;
    background-color: var(--bg-color);
    min-height: 60vh; /* S'assure que le footer reste en bas même s'il y a peu de texte */
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-container h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.last-updated {
    color: #888;
    font-style: italic;
    margin-bottom: 40px;
}

.legal-container h2 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.legal-container p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.legal-container strong {
    color: var(--text-color);
}
/* ================================ */
/* MOBILE - PAGES SECONDAIRES (Pattern 2 empilé) */
/* ================================ */
@media (max-width: 768px) {
    section.hero.hero--internal {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        background: #fff !important;
        overflow: visible !important;
    }

    section.hero.hero--internal > img.hero-bg {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        z-index: auto !important;
        display: block !important;
        transform: none !important;
    }

    section.hero.hero--internal .hero-content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        z-index: auto !important;
        background: #fff !important;
        padding: 30px 20px !important;
        text-align: center !important;
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 0 !important;
    }

    section.hero.hero--internal .hero-content h1 {
        color: #0A1128 !important;
        font-size: 2.2rem !important;
        margin-bottom: 0.6rem !important;
        text-shadow: none !important;
        line-height: 1.2 !important;
    }

    section.hero.hero--internal .hero-content p {
        color: #0A1128 !important;
        font-size: 0.95rem !important;
        font-weight: 500 !important;
        letter-spacing: normal !important;
        text-transform: none !important;
        text-shadow: none !important;
        margin-bottom: 0 !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 768px) {
    section.hero.hero--internal .hero-content .btn {
        margin-top: 18px !important;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding-top: 30px !important;
    }
}

@media (max-width: 768px) {
    .pricing-item {
        gap: 15px !important;
    }
    .item-details h3 {
        font-size: 1.05rem !important;
    }
    .item-price {
        font-size: 1.05rem !important;
    }
    .item-details p {
        font-size: 0.9rem !important;
    }
}
