/* --- VARIABLES --- */
:root {
    --bg-main: #070707;
    --bg-secondary: #111111;
    --text-main: #e0e0e0;
    --text-muted: #999999;
    --accent-gold: #cfa858;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --header-h: 78px;
    --ease: cubic-bezier(.22,1,.36,1);
}

/* --- RESET & ACCESSIBILITÉ --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-main); color: var(--text-main); font-family: var(--font-body); line-height: 1.7; font-size: 16px; overflow-x: hidden; text-rendering: optimizeLegibility;}

/* Utilitaires pour lecteurs d'écran */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 12px; background: var(--text-main); color: var(--bg-main); padding: 10px 12px; border-radius: 4px; z-index: 999; font-weight: bold;}
.skip-link:focus { left: 12px; }

/* Styles d'accessibilité au clavier (Focus visible) */
.nav-links a:focus-visible, 
.cta-button:focus-visible, 
.social-icons a:focus-visible,
.custom-checkbox input:focus-visible ~ .checkmark {
    outline: none;
    box-shadow: 0 0 0 4px rgba(207,168,88,0.25);
    border-radius: 4px;
}
.cta-button:focus-visible { border-radius: 2px; }

/* Décalage des ancres pour le menu fixe */
section { scroll-margin-top: calc(var(--header-h) + 20px); }

/* --- TYPOGRAPHIE --- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: normal; color: #ffffff; }
h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.2; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 2px;}
.poetic-subtitle { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-style: italic; color: var(--accent-gold); margin-bottom: 2rem; font-family: var(--font-heading); }
h2 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 1.5rem; color: var(--accent-gold); text-align: center; }
h3 { font-size: 1.8rem; margin-bottom: 1rem; color: #ffffff; }
h4 { font-size: 1.4rem; margin-top: 1rem; margin-bottom: 0.8rem; color: var(--accent-gold); }
p { margin-bottom: 1.2rem; }
strong { color: #ffffff; font-weight: 700; }
.center-text { text-align: center; }
.lead { max-width: 800px; margin: 0 auto 3rem; }

/* Styles spécifiques pour les nouveaux sous-titres demandés */
.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-main);
    margin-top: -1rem; /* Réduit l'espace avec le H2 au dessus */
    margin-bottom: 2rem;
    font-weight: normal;
}
.card-subtitle {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
}

/* --- STRUCTURE & LAYOUT --- */
main { padding-top: var(--header-h); }
.container { max-width: 1200px; margin: 0 auto; padding: 5rem 2rem; }
.section-darker { background-color: var(--bg-secondary); }
.layout-split { display: flex; align-items: center; gap: 4rem; }
.layout-split > div { flex: 1; }

/* --- HEADER --- */
.main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(7, 7, 7, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.05); transition: background 0.3s var(--ease); }
.main-header.is-scrolled { background: rgba(7, 7, 7, 0.98); box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; height: var(--header-h);}
.logo { font-family: var(--font-heading); font-size: 1.8rem; letter-spacing: 4px; color: var(--accent-gold); text-transform: uppercase; text-decoration: none; }

.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-main); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; transition: color 0.3s; padding: 0.3rem;}
.nav-links a:hover { color: var(--accent-gold); }
.btn-nav { border: 1px solid var(--accent-gold); padding: 0.5rem 1.2rem !important; border-radius: 2px; }

/* Menu Mobile Toggle */
.menu-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; padding: 8px 10px; cursor: pointer; }
.burger { display: block; width: 20px; height: 14px; background: linear-gradient(#fff, #fff) 0 0/100% 2px no-repeat, linear-gradient(#fff, #fff) 0 50%/100% 2px no-repeat, linear-gradient(#fff, #fff) 0 100%/100% 2px no-repeat; }

/* --- HERO SECTION --- */
.hero { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 2rem; position: relative; overflow: hidden; }
.hero-bg-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; z-index: -1; animation: slowZoom 25s infinite alternate; }
.hero-content { max-width: 900px; z-index: 1; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.hero-text-narrow { max-width: 650px; margin: 0 auto 2rem; }

/* --- IMAGES --- */
.img-large { width: 100%; height: 450px; object-fit: cover; margin-bottom: 2rem; border: 1px solid rgba(255, 255, 255, 0.05); }
.img-square { width: 100%; max-width: 500px; aspect-ratio: 1/1; object-fit: cover; margin: 0 auto; border: 1px solid rgba(255, 255, 255, 0.05); display: block;}
.service-img { width: 100%; height: 260px; object-fit: cover; margin-bottom: 1.5rem; background: #111; border: 1px solid rgba(255,255,255,0.05);}

/* --- GRILLES SERVICES --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; margin-top: 3rem; }
.service-card { background: var(--bg-main); border: 1px solid rgba(255, 255, 255, 0.05); padding: 2rem; display: flex; flex-direction: column; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.service-card.alt-bg { background: var(--bg-secondary); }
.service-card:hover { transform: translateY(-10px); border-color: rgba(207, 168, 88, 0.4); }

/* --- SECTION AVIS --- */
.quotes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; }
.quote-card { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05); padding: 2rem; border-radius: 4px;}
.quote-card blockquote { font-family: var(--font-heading); font-size: 1.1rem; color: var(--text-main); font-style: italic; margin-bottom: 1rem; }
.quote-card figcaption { font-size: 0.9rem; color: var(--accent-gold); text-transform: uppercase; letter-spacing: 1px;}

/* --- BOUTONS & FORMULAIRES --- */
.cta-button { display: inline-block; padding: 1rem 2.5rem; background-color: transparent; color: var(--accent-gold); text-decoration: none; font-family: var(--font-heading); font-size: 1.1rem; border: 1px solid var(--accent-gold); transition: all 0.4s var(--ease); text-transform: uppercase; letter-spacing: 2px; cursor: pointer; }
.cta-button:hover { background-color: var(--accent-gold); color: var(--bg-main); box-shadow: 0 0 20px rgba(207, 168, 88, 0.3); }
.cta-button.ghost { border-color: rgba(255,255,255,0.2); color: var(--text-main); }
.cta-button.ghost:hover { background-color: rgba(255,255,255,0.05); border-color: var(--text-main); box-shadow: none; color: #fff;}

.contact-section { padding-bottom: 6rem; }
.contact-form { max-width: 600px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 1.5rem; }
.input-group input[type="text"], .input-group input[type="email"], .input-group input[type="tel"], .input-group input[type="number"], .input-group input[type="date"], .input-group input[type="time"], .input-group select, .input-group textarea { width: 100%; padding: 1rem; background-color: rgba(0,0,0,0.4); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-main); font-family: var(--font-body); transition: border-color 0.3s; border-radius: 4px;}
.input-group input[type="text"]:focus, .input-group input[type="email"]:focus, .input-group input[type="tel"]:focus, .input-group input[type="number"]:focus, .input-group input[type="date"]:focus, .input-group input[type="time"]:focus, .input-group select:focus, .input-group textarea:focus { outline: none; border-color: var(--accent-gold); box-shadow: 0 0 0 2px rgba(207,168,88,0.2);}

/* --- CUSTOM CHECKBOXES --- */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    user-select: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}
.custom-checkbox:hover { color: var(--text-main); }
.custom-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark {
    height: 20px;
    width: 20px;
    background-color: rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.custom-checkbox:hover input ~ .checkmark { border-color: var(--accent-gold); }
.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}
.checkmark::after {
    content: "";
    display: none;
    width: 4px;
    height: 9px;
    border: solid var(--bg-main);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}
.custom-checkbox input:checked ~ .checkmark::after { display: block; }

/* --- PATCH STRATÉGIQUE SEO --- */
.trust-badge { display: inline-block; border: 1px solid rgba(207, 168, 88, 0.4); background: rgba(207, 168, 88, 0.05); color: var(--accent-gold); padding: 0.4rem 1.2rem; border-radius: 999px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2rem; }
.seo-h2 { font-family: var(--font-body); font-size: 1rem; color: var(--text-main); text-transform: none; letter-spacing: normal; margin-bottom: 1.2rem; line-height: 1.7; }

/* --- FAQ ACCORDION --- */
.faq-accordion { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem;}
.faq-item { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 4px; overflow: hidden; }
.faq-item summary { font-family: var(--font-heading); font-size: 1.2rem; color: var(--text-main); padding: 1.5rem; cursor: pointer; list-style: none; position: relative; transition: color 0.3s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-gold); }
.faq-item summary::after { content: '+'; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--accent-gold); transition: transform 0.3s ease; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-content { padding: 0 1.5rem 1.5rem 1.5rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.faq-content strong { color: var(--accent-gold); font-weight: normal; }

/* --- ANIMATIONS --- */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none !important; }
    .hero-bg-image { animation: none; }
}

/* --- FOOTER SEO LOCAL (SVG purs) --- */
.site-footer { background: var(--bg-main); border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 4rem 0 2rem; text-align: center; color: var(--text-muted); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.social-icons { margin-bottom: 1.5rem; display: flex; justify-content: center; gap: 1.5rem; }
.social-icons a { display: inline-flex; transition: transform 0.3s; }
.social-icons svg { width: 24px; height: 24px; fill: var(--text-muted); transition: fill 0.3s; }
.social-icons a:hover { transform: translateY(-3px); }
.social-icons a:hover svg { fill: var(--accent-gold); }
.nap-info p { margin-bottom: 0.5rem; font-size: 0.95rem; display: flex; align-items: center; justify-content: center;}
.nap-info svg { width: 16px; height: 16px; fill: var(--accent-gold); margin-right: 8px; }
.footer-meta { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .layout-split { flex-direction: column; }
    .header-inner { padding: 0 1.5rem; }
    .img-large { height: 300px; }
}
@media (max-width: 768px) {
    .menu-toggle { display: inline-flex; }
    .nav-links { display: none; position: absolute; top: var(--header-h); left: 0; width: 100%; background: rgba(7, 7, 7, 0.98); flex-direction: column; padding: 2rem 0; gap: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1);}
    .nav-links.open { display: flex; }
    .btn-nav { border: none; padding: 0 !important;}
}