
/* =========================================
    VARIABLES & RESET
    ========================================= */
:root {
    --bg-color: #F8F7F4;
    --bg-alt: #DCD8CC;
    --text-color: #2C2A26;
    --accent-color: #53664C;
    --dark-bg: #1C1B1A;
    --border-color: #DCD8CC;
    --white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--text-color);
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

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

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5vw;
}

/* =========================================
    ANIMATIONS AU SCROLL (REVEAL)
    ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* =========================================
    NAVIGATION
    ========================================= */
header.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 100;
    transition: all 0.4s ease;
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

header.navbar.scrolled {
    background-color: rgba(28, 27, 26, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.2rem;
    letter-spacing: 0.5px;
}

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

.nav-links a {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 5px;
    color: inherit;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--white);
    transition: width 0.4s ease;
}

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

.menu-btn {
    display: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
}

/* =========================================
    HERO SECTION
    ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url(img/376920.jpg);
    background-size: cover;
    background-position: center 30%;
    z-index: -2;
    transform: scale(1.05);
    animation: breathe 30s infinite alternate ease-in-out;
}

@keyframes breathe {
    0% { transform: scale(1.02); }
    100% { transform: scale(1.08); }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(34, 41, 30, 0.4) 0%, rgba(34, 41, 30, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    max-width: 900px;
    animation: fadeUp 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

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


.gradiant { 
-webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.hero-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 25px;
    display: inline-block;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding-bottom: 8px;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 1.05;
    margin-bottom: 30px;
    font-weight: 500;
    letter-spacing: -1px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
}

/* =========================================
    BOUTONS PRO
    ========================================= */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    background-color: var(--accent-color);
    border: 1px solid var(--accent-color);
    transition: all 0.4s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
}

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

.hero .btn {
    background-color: var(--white);
    color: var(--text-color);
    border-color: var(--white);
}

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

/* =========================================
    SECTION PHILOSOPHIE
    ========================================= */
.section {
    padding: 140px 0;
}

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

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10vw;
    align-items: center;
}

.section-title {
    font-size: clamp(2.8rem, 4vw, 4rem);
    line-height: 1.1;
    margin-bottom: 35px;
    letter-spacing: -0.5px;
}

.text-lead {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 500;
}

.text-body {
    color: #5A5650;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.image-wrapper {
    position: relative;
    z-index: 1;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 30px;
    right: -30px;
    bottom: -30px;
    left: 30px;
    background-color: var(--border-color);
    z-index: -1;
}

.image-portrait {
    width: 100%;
    height: 75vh;
    max-height: 700px;
    object-fit: cover;
}

/* =========================================
    SECTION PRESTATIONS & TARIFS
    ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 70px;
}

.service-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}

.service-content {
    padding: 50px 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-item h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--accent-color);
}

.service-item h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 20px auto 0;
    opacity: 0.5;
}

.price-list {
    list-style: none;
    width: 100%;
    margin-bottom: 30px;
    flex-grow: 1;
}

.price-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-color);
}

.price-name {
    font-weight: 700;
}

.price-dots {
    flex-grow: 1;
    border-bottom: 1px dotted #BDB8AD;
    margin: 0 10px;
    position: relative;
    top: -4px;
}

.price-value {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--accent-color);
}

.price-note {
    font-size: 0.85rem;
    color: #7A756D;
    font-style: italic;
    display: block;
    margin-top: -10px;
    margin-bottom: 15px;
}

.service-content .btn-outline {
    width: 100%;
    text-align: center;
    padding: 12px;
    margin-top: auto;
}

/* =========================================
    CARTE & ACCÈS
    ========================================= */
.map-wrapper {
    background: var(--white);
    padding: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
    border-radius: 2px;
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    display: block;
    border: none;
    filter: grayscale(30%) contrast(1.1);
}

/* =========================================
    FOOTER
    ========================================= */
.footer {
    background-color: var(--dark-bg);
    color: var(--bg-color);
    padding: 100px 0 30px 0;
    border-top: 5px solid var(--accent-color);
}

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

.footer h3 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.footer-col h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #9A9894; 
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #8C8A85;
}

.footer-links a {
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

/* =========================================
    RESPONSIVE
    ========================================= */
@media (max-width: 1024px) {
    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .image-wrapper::before {
        top: 20px; right: -20px; bottom: -20px; left: 20px;
    }
    .image-portrait {
        height: 50vh;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-btn { display: block; }
    .section { padding: 90px 0; }
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.1rem; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    .footer-links a { margin: 0 10px; }
}

/* =========================================
   PAGE CONTACT (Nouveau)
   ========================================= */

/* Hero plus court pour les pages internes */
.hero-short {
    min-height: 40vh;
    height: 450px;
}

.hero-short .hero-subtitle {
    margin-bottom: 10px;
}

/* Style du formulaire Premium */
.contact-form {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.form-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.form-group-row {
    display: flex;
    gap: 20px;
}

.contact-form label {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    padding: 15px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--white);
    box-shadow: 0 0 0 1px var(--accent-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* Responsive pour le formulaire */
@media (max-width: 768px) {
    .form-group-row {
        flex-direction: column;
        gap: 0;
    }
    .contact-form {
        padding: 25px 20px;
    }
}

/* =========================================
   BANDEAU COOKIES (RGPD)
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(28, 27, 26, 0.98); /* Utilise la couleur sombre du header/footer */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    padding: 20px 0;
    z-index: 9999;
    transform: translateY(100%); /* Caché par défaut en bas de l'écran */
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.2);
}

.cookie-banner.show {
    transform: translateY(0); /* Fait remonter le bandeau à l'écran */
}

.cookie-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cookie-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    font-size: 0.8rem;
}

/* Version Mobile */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}