/* Variables de base */
:root {
    --beige: #fefdf9;
    --dark: #1c1b1b;
    --accent: #c3805e;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Lora', serif; 
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.7; 
}

h1, h2, h3, h4, .nav-cta, .btn-assistance {
    font-family: 'Playfair Display', serif; 
    font-weight: 700;
}

/* Mise en page globale */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-flex {
    display: flex;
    align-items: center;
    padding: 15px 0;
	gap: 25px;
}


.head-logo {
    height: 50px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-cta {
    color: var(--accent) !important;
	border: 1px solid var(--accent);
    padding: 8px 18px;
    border-radius: 4px;
	transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: var(--accent);
    color: var(--white) !important;
    transform: translateY(-2px); 
    box-shadow: 0 4px 10px rgba(128, 52, 34, 0.3); 
}

/* --- effet de transition pour passer au responsive --- */
@media screen and (max-width: 768px) {
    nav {
        display: flex; /* On change display:none en flex */
        transform: translateY(-100%); /* On le cache en le poussant vers le haut */
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease-in-out;
        pointer-events: none; /* Empêche de cliquer sur le menu caché */
        
        /* Garde le reste du style précédent (position absolute, etc.) */
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        z-index: 1000;
    }

    /* Quand le JS ajoute la classe .active */
    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

/* --- RESPONSIVE SMARTPHONE (Moins de 768px) --- */
@media screen and (max-width: 768px) {
    
    .header-flex {
        justify-content: space-between; 
    }

    nav {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 80px; 
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        border-bottom: 2px solid var(--accent);
        z-index: 1000;
    }

    nav.active {
        display: flex;
    }


    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        width: 25px;
        height: 3px;
        background-color: var(--dark);
        border-radius: 2px;
    }
}

/* --- VERSION DESKTOP (bouton cache) --- */
@media screen and (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}



/* --- SECTION HERO --- */
.hero {
    color: var(--white);
    padding: 90px 0; 
    text-align: center;
    position: relative; 
    background-image: linear-gradient(
        rgba(28, 27, 27, 0.50),
        rgba(28, 27, 27, 0.50)
    ), url('../img/hero-bg.webp');
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero h1 {
    font-size: 3rem;
    margin-top: 0;
    color: var(--white);
    letter-spacing: -1px;
	line-height: 1.1;
    margin-bottom: 20px;
}

.hero-slogan {
    display: block; 
    font-size: 1.5rem; 
    font-weight: 400; 
    margin-top: 10px;
    opacity: 0.9;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-assistance {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
	border: none;
    cursor: pointer;
    display: inline-block;
    font-family: 'Playfair Display', serif;
}

.btn-assistance:hover {
    background-color: #a04530;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 20px; 
    left: calc(50% - 17.5px); 
    width: 35px;
    height: 35px;
    color: var(--white);
    opacity: 0.9; 
    animation: bounce 2s infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* --- SECTION SOLUTIONS & VIGNETTES --- */
#offres {
    padding: 50px 0 80px 0;
    background-color: var(--white);
}

#offres h2 {
    text-align: center;
    color: var(--dark);
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
}

/* Petit soulignement stylisé sous le titre */
#offres h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
}

.vignettes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px; /* On augmente l'espace pour laisser respirer */
    justify-content: center;
    padding: 20px 0;
}

.vignette {
    background: var(--beige); /* Le fond de la formule "Le plus choisi" */
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    padding: 50px 30px;
    border: 1px solid rgba(195, 128, 94, 0.1); /* Bordure très subtile teintée par ton accent */
    border-radius: 0px; 
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    position: relative;
}

/* On garde la petite ligne horizontale pour le côté précieux */
.vignette::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 25px;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.4s ease;
}

.vignette:hover {
    transform: translateY(-8px);
    background: var(--white); /* Inversion au survol pour dynamiser la page */
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.vignette:hover::before {
    width: 50px;
}

.vignette h3 {
    margin: 30px 0 15px 0;
    color: var(--dark);
    font-size: 1.25rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.vignette p {
    margin: 0;
    font-size: 0.95rem;
    font-family: 'Lora', serif;
    color: #555;
    line-height: 1.8;
    font-style: italic;
}

/* On ajoute un petit "En savoir plus" discret qui apparaît au survol */
.vignette::after {
    content: 'Découvrir';
    margin-top: 20px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vignette:hover::after {
    opacity: 1;
}

/* --- SECTION ENGAGEMENTS --- */
#engagements {
    padding: 40px 0;
    background-color: #fefdf9; /* Un gris très léger pour différencier de la section du haut */
    border-radius: 20px; /* Optionnel : pour adoucir le bloc */
}

#engagements h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
}

.section-title {
    text-align: center;
    color: var(--dark);
    font-size: 2.2rem;
    margin-bottom: 50px;
    font-family: 'Playfair Display', serif;
}

.vignette-engagement {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    padding: 30px;
    text-align: center; /* On centre le texte pour les engagements */
    transition: all 0.3s ease;
}

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

.vignette-engagement h3 {
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.vignette-engagement p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Petit effet au survol pour la consistance */
.vignette-engagement:hover {
    transform: translateY(-5px);
}

/* --- FORMULAIRES --- */
.form-section {
    padding: 60px 0;
    max-width: 700px;
    margin: 0 auto;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-section h2 {
    color: var(--accent);
    margin-bottom: 10px;
}

.contact-form {
    background: var(--beige);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: 30px;
}

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

.form-group label {
    display: block;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    font-family: 'Lora', serif;
    font-size: 1rem;
    background: var(--white);
}

.form-group input:focus {
    outline: 2px solid var(--accent);
    border-color: transparent;
}

/* --- Specificité formulaire --- */

.appointment-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.selector-btn {
    padding: 10px 20px;
    border: 2px solid var(--accent);
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.selector-btn.active {
    background: var(--accent);
    color: var(--white);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.rgpd-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.85rem;
}

.rgpd-consent input {
    margin-top: 4px;
}

/* --- PAGE A PROPOS --- */
.about-hero {
    text-align: center;
    padding: 80px 0 40px;
}

.about-intro {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--accent);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 80px;
    margin: 80px 0;
}

.about-grid.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

.about-image {
    flex: 1;
    height: 450px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-family: 'Lora', serif;
    font-style: italic;
    border: 1px solid rgba(195, 128, 94, 0.1);
}

.about-cta {
    text-align: center;
    padding: 60px 40px;
    background-color: var(--beige);
    margin-bottom: 80px;
}

.about-cta h3 {
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

/* Responsive A Propos */
@media (max-width: 850px) {
    .about-grid, .about-grid.reverse {
        flex-direction: column;
        gap: 40px;
        margin: 40px 0;
    }
    .about-image {
        width: 100%;
        height: 300px;
    }
}

/* --- ajustements responsive --- */
@media screen and (max-width: 768px) {
    .hero {
        padding: 50px 0 90px 0;
    }
	
	.hero h1 {
        font-size: 2rem;
        padding: 0 10px;
    }
    
	.scroll-indicator {
        bottom: 15px;
    }
	
	#offres {
        padding-top: 30px;
    }
	
    .vignette {
        max-width: 100%; 
    }
}

/* --- PAGE TARIFS --- */
.pricing-intro {
    text-align: center;
    padding: 60px 0 40px;
}

.pricing-subtitle {
    font-style: italic;
    opacity: 0.8;
    margin-top: -10px;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Force la même hauteur pour tous */
    gap: 30px;
    padding-bottom: 80px;
}

.price-tag {
    background: var(--white);
    border: 1px solid #eee;
    padding: 60px 40px;
    flex: 1;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 4px; /* Coins très légèrement arrondis pour l'élégance */
    transition: all 0.4s ease;
    position: relative;
}

/* Effet étiquette allongée */
.price-tag:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.tag-header h3 {
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.price {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.price span {
    font-size: 1.5rem;
    vertical-align: top;
    margin-left: 5px;
}

.price-detail {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 10px;
}

.tag-features {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    flex-grow: 1; /* Pousse le bouton vers le bas */
}

.tag-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f9f9f9;
    font-size: 0.95rem;
}

.btn-tag {
    text-decoration: none;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 12px 20px;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-tag:hover {
    background: var(--accent);
    color: var(--white);
}

/* Style spécifique pour la formule mise en avant */
.price-tag.featured {
    border: 1.5px solid var(--accent);
    background-color: #fefdf9;
}

.tag-badge {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    font-size: 0.7rem;
    padding: 5px 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-tag.featured .btn-tag {
    background: var(--accent);
    color: var(--white);
}

/* Responsive */
@media (max-width: 900px) {
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    .price-tag {
        width: 100%;
        max-width: 400px;
    }
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 0 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 40px;
    padding-bottom: 40px;
}

.footer-section h3 {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

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

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s, color 0.3s;
}

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
}


.footer-section p a {
    border-bottom: 1px dotted rgba(255,255,255,0.3);
    padding-bottom: 2px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

/* Barre de copyright tout en bas */
.footer-bottom {
    background-color: var(--white); 
    color: var(--dark);
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
}

/* --- RESPONSIVE FOOTER --- */
@media screen and (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h3::after {
        content: '';
        display: block;
        width: 30px;
        height: 2px;
        background: var(--accent);
        margin: 10px auto;
    }
}