/* ============================================================
   ESCAPAVAN THEME - CSS
   Same design as the Next.js version
   ============================================================ */

/* --- VARIABLES --- */
:root {
    --primary: #D4A853;
    --primary-light: #E4C278;
    --primary-dark: #B8912F;
    --secondary: #B8D4E3;
    --secondary-light: #D4E8F3;
    --warm: #F5EDE0;
    --warm-light: #FAF6F0;
    --warm-dark: #E8D9C5;
    --dark: #2C2C2C;
    --dark-light: #444444;
    --white: #FFFFFF;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: var(--warm-light);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* --- LAYOUT --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section { padding: 2rem 0; }
@media (min-width: 768px) { .section { padding: 2.5rem 0; } }

.section-header { text-align: center; margin-bottom: 1.5rem; }
.section-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
@media (min-width: 640px) { .section-title { font-size: 1.5rem; } }
@media (min-width: 1024px) { .section-title { font-size: 1.875rem; } }
.section-subtitle { color: rgba(44,44,44,0.6); max-width: 42rem; margin: 0 auto; font-size: 1rem; }
.text-primary { color: var(--primary-dark); }

/* --- BUTTONS --- */
.btn {
    display: inline-block; font-weight: 600; padding: 0.75rem 2rem; border-radius: 0.5rem;
    transition: all 0.3s; font-size: 1rem; border: 2px solid transparent; cursor: pointer; text-align: center;
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-full { width: 100%; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    transition: all 0.3s;
}
.navbar-scrolled { background: rgba(245,237,224,0.95); backdrop-filter: blur(12px); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 768px) { .navbar-inner { height: 5rem; } }
.navbar-logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--primary-dark); letter-spacing: 0.05em; display: flex; align-items: center; }
@media (min-width: 768px) { .navbar-logo { font-size: 1.875rem; } }
.navbar-logo-img { height: 3rem; width: auto; }
@media (min-width: 768px) { .navbar-logo-img { height: 3.5rem; } }

.navbar-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .navbar-links { display: flex; } }
.navbar-links.active {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(245,237,224,0.95); backdrop-filter: blur(12px); padding: 1rem;
    border-top: 1px solid rgba(212,168,83,0.2); gap: 0;
}
.navbar-links.active .nav-link { color: rgba(44,44,44,0.8); text-shadow: none; }
.navbar-links.active .nav-link:hover { color: var(--primary-dark); }
.nav-link {
    color: rgba(255,255,255,0.9); font-weight: 500; font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 0.1em; padding: 0.5rem 0; text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.nav-link:hover { color: var(--primary); }
.nav-social { color: rgba(255,255,255,0.85); text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.nav-social:hover { color: var(--primary); }
/* Quand la navbar a un fond (après scroll), revenir en sombre */
.navbar-scrolled .nav-link { color: rgba(44,44,44,0.8); text-shadow: none; }
.navbar-scrolled .nav-link:hover { color: var(--primary-dark); }
.navbar-scrolled .nav-social { color: rgba(44,44,44,0.7); text-shadow: none; }
.navbar-scrolled .nav-social:hover { color: var(--primary); }
/* Pages légales : navbar toujours sombre (fond beige, pas de hero) */
body.page-template-page-mentions-legales-php .nav-link,
body.page-template-page-cgv-php .nav-link { color: rgba(44,44,44,0.8); text-shadow: none; }
body.page-template-page-mentions-legales-php .nav-link:hover,
body.page-template-page-cgv-php .nav-link:hover { color: var(--primary-dark); }
body.page-template-page-mentions-legales-php .nav-social,
body.page-template-page-cgv-php .nav-social { color: rgba(44,44,44,0.7); text-shadow: none; }
body.page-template-page-mentions-legales-php .nav-social:hover,
body.page-template-page-cgv-php .nav-social:hover { color: var(--primary); }
body.page-template-page-mentions-legales-php .navbar-toggle .hamburger-line,
body.page-template-page-cgv-php .navbar-toggle .hamburger-line { background: var(--dark); }


/* Hamburger */
.navbar-toggle { display: block; background: none; border: none; cursor: pointer; padding: 0.5rem; }
@media (min-width: 768px) { .navbar-toggle { display: none; } }
.hamburger-line {
    display: block; width: 24px; height: 2px; background: rgba(255,255,255,0.9); margin: 5px 0;
    transition: all 0.3s;
}
.navbar-scrolled .hamburger-line { background: var(--dark); }
.navbar-toggle.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.navbar-toggle.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
}
.hero-bg-placeholder { background: linear-gradient(135deg, #8B7355 0%, #5a4a35 100%); }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(20,20,20,0.5) 0%, rgba(20,20,20,0.35) 40%, rgba(20,20,20,0.55) 100%);
}
.hero-content { position: relative; z-index: 10; text-align: center; padding: 0 1rem; max-width: 56rem; }
.hero-title { font-size: 2rem; font-weight: 700; color: var(--primary); letter-spacing: 0.1em; margin-bottom: 0.75rem; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
@media (min-width: 640px) { .hero-title { font-size: 2.25rem; } }
@media (min-width: 768px) { .hero-title { font-size: 2.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.5rem; } }
.hero-subtitle { font-size: 1rem; color: rgba(255,255,255,0.95); font-weight: 400; margin-bottom: 0.75rem; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
@media (min-width: 640px) { .hero-subtitle { font-size: 1.125rem; } }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }
.hero-description { font-size: 0.9375rem; color: rgba(255,255,255,0.85); font-weight: 400; margin-bottom: 2rem; max-width: 42rem; margin-left: auto; margin-right: auto; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
@media (min-width: 640px) { .hero-description { font-size: 1rem; } }
.hero-buttons { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }
.hero-scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    animation: bounce 2s infinite; color: rgba(255,255,255,0.6);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: linear-gradient(135deg, rgba(212,168,83,0.1), var(--warm), rgba(212,168,83,0.05)); }
.about-grid { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.about-text .section-title { text-align: left; }
.about-subtitle { font-size: 0.9rem; color: rgba(44,44,44,0.7); font-style: italic; margin-bottom: 0.75rem; }
.about-text p { color: rgba(44,44,44,0.8); line-height: 1.6; margin-bottom: 0.75rem; font-size: 0.9rem; }
.about-image img { border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); max-height: 350px; object-fit: cover; width: 100%; }
.about-image .image-placeholder { border-radius: 1rem; aspect-ratio: 4/3; }

/* Highlights */
.highlights-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .highlights-grid { grid-template-columns: repeat(3, 1fr); } }
.highlight-card {
    text-align: center; padding: 1.25rem; border-radius: 0.75rem;
    background: rgba(255,255,255,0.5); backdrop-filter: blur(4px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); transition: all 0.3s;
}
.highlight-card:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.highlight-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 3rem; height: 3rem; border-radius: 50%;
    background: rgba(212,168,83,0.15); color: var(--primary-dark); margin-bottom: 1rem;
}
.highlight-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.375rem; }
.highlight-card p { color: rgba(44,44,44,0.6); font-size: 0.875rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { background: rgba(184,212,227,0.3); }

.service-main {
    background: var(--white); border-radius: 1rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    overflow: hidden; margin-bottom: 2rem;
}
@media (min-width: 768px) { .service-main { display: grid; grid-template-columns: 3fr 2fr; align-items: stretch; } }
.service-main-content { padding: 1.5rem; }
@media (min-width: 1024px) { .service-main-content { padding: 2rem; } }
.service-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(212,168,83,0.15); color: var(--primary-dark);
    padding: 0.375rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem;
}
.service-main h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
@media (min-width: 1024px) { .service-main h3 { font-size: 1.5rem; } }
.service-main p { color: rgba(44,44,44,0.7); margin-bottom: 1rem; line-height: 1.6; }
.service-main-image { position: relative; overflow: hidden; display: flex; }
.service-main-image img { width: 100%; height: 100%; object-fit: cover; }

.check-list li { display: flex; align-items: center; gap: 0.75rem; color: rgba(44,44,44,0.8); margin-bottom: 0.75rem; }
.check-list li::before {
    content: ''; display: inline-block; width: 20px; height: 20px; flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23D4A853' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center;
}

.services-carte-title { font-size: 1.25rem; font-weight: 700; text-align: center; margin-bottom: 0.75rem; }
@media (min-width: 1024px) { .services-carte-title { font-size: 1.5rem; } }
.services-carte-subtitle { text-align: center; color: rgba(44,44,44,0.6); max-width: 42rem; margin: 0 auto 2rem; }

.services-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
    background: var(--white); border-radius: 0.75rem; padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); transition: all 0.3s;
}
.service-card:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); transform: translateY(-4px); }
.service-card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 3rem; height: 3rem; border-radius: 0.5rem;
    background: rgba(184,212,227,0.4); color: rgba(44,44,44,0.7); margin-bottom: 1rem; transition: all 0.3s;
}
.service-card:hover .service-card-icon { background: rgba(212,168,83,0.2); color: var(--primary-dark); }
.service-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.375rem; }
.service-card p { color: rgba(44,44,44,0.6); font-size: 0.875rem; line-height: 1.75; }

/* ============================================================
   REALISATIONS
   ============================================================ */
.realisations-section { background: var(--warm); }
.realisations-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .realisations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .realisations-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.realisation-card {
    background: var(--white); border-radius: 1rem; overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); transition: all 0.5s;
}
.realisation-card:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.realisation-image { position: relative; overflow: hidden; }
.realisation-image img { width: 100%; height: auto; display: block; transition: transform 0.7s; }
.realisation-card:hover .realisation-image img { transform: scale(1.02); }

/* Realisation Slider */
.realisation-slider { position: relative; width: 100%; height: 100%; }
.realisation-slides { position: relative; width: 100%; height: 100%; }
.realisation-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease;
    pointer-events: none;
}
.realisation-slide.active { opacity: 1; position: relative; pointer-events: auto; }
.realisation-slide img { width: 100%; height: 100%; object-fit: cover; }

/* Slider Arrows */
.slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.9); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--dark); box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    opacity: 0; transition: opacity 0.3s, background 0.2s;
}
.realisation-image:hover .slider-arrow { opacity: 1; }
.slider-arrow:hover { background: var(--white); }
.slider-prev { left: 8px; }
.slider-next { right: 8px; }

/* Slider Counter */
.slider-counter {
    position: absolute; bottom: 8px; right: 8px; z-index: 10;
    background: rgba(0,0,0,0.6); color: white; font-size: 0.75rem;
    padding: 2px 8px; border-radius: 9999px;
}
.realisation-tag {
    position: absolute; top: 0.75rem; left: 0.75rem;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(4px);
    color: var(--dark); font-size: 0.75rem; font-weight: 500; padding: 0.25rem 0.75rem; border-radius: 9999px;
}
.realisation-content { padding: 1rem; }
.realisation-content h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.375rem; }
.realisation-content p { color: rgba(44,44,44,0.6); font-size: 0.875rem; line-height: 1.6; }

/* Lire plus / Lire moins */
.realisation-toggle {
    display: inline-flex; align-items: center; gap: 4px;
    background: none; border: none; cursor: pointer;
    color: var(--primary-dark); font-size: 0.875rem; font-weight: 600;
    padding: 0.5rem 0 0; font-family: var(--font-body);
    transition: color 0.2s;
}
.realisation-toggle:hover { color: var(--primary); }
.toggle-icon { transition: transform 0.3s; }
.realisation-toggle[aria-expanded="true"] .toggle-icon { transform: rotate(180deg); }
.realisation-full-text p { margin-top: 0.5rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--dark); color: var(--white); }
.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-subtitle { color: rgba(255,255,255,0.5); margin-bottom: 2rem; }

/* Google Badge */
.google-badge {
    display: inline-flex; align-items: center; gap: 1rem;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(4px);
    border-radius: 1rem; padding: 1rem 1.5rem; border: 1px solid rgba(255,255,255,0.1);
}
.google-rating-row { display: flex; align-items: center; gap: 0.5rem; }
.google-rating-number { font-size: 1.875rem; font-weight: 700; color: var(--white); }
.stars { display: flex; gap: 2px; }
.google-badge-info p { color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-top: 0.25rem; }
.google-badge-info strong { color: var(--white); }

/* Testimonials Grid (3 cards) */
.testimonials-grid {
    display: grid; gap: 1.5rem; max-width: 72rem; margin: 0 auto;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
    position: relative; background: rgba(255,255,255,0.05); backdrop-filter: blur(4px);
    border-radius: 1rem; padding: 1.25rem; border: 1px solid rgba(255,255,255,0.1);
    display: flex; flex-direction: column;
}
.quote-icon { color: rgba(212,168,83,0.3); margin-bottom: 0.75rem; }
.testimonial-google-tag { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.testimonial-google-tag span { font-size: 0.7rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; }
.testimonial-quote {
    font-size: 0.875rem; color: rgba(255,255,255,0.9); line-height: 1.5;
    font-style: italic; margin-bottom: 1rem; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 0.5rem; }
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.testimonial-project { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

/* Navigation dots for page groups */
.testimonial-dots { display: flex; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; }
.dot {
    width: 0.75rem; height: 0.75rem; border-radius: 9999px;
    background: rgba(255,255,255,0.3); border: none; cursor: pointer; transition: all 0.3s; padding: 0;
}
.dot:hover { background: rgba(255,255,255,0.5); }
.dot.active { background: var(--primary); width: 2rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: linear-gradient(135deg, rgba(212,168,83,0.2), var(--warm), rgba(212,168,83,0.1)); }
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; gap: 3rem; } }

.contact-form {
    background: var(--white); border-radius: 1rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    padding: 2rem;
}
@media (min-width: 1024px) { .contact-form { padding: 2.5rem; } }
.form-row { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 0; }
.form-group:last-child { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: rgba(44,44,44,0.7); margin-bottom: 0.375rem; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 0.75rem 1rem; border-radius: 0.5rem;
    border: 1px solid rgba(232,217,197,0.5); outline: none; transition: all 0.2s;
    font-family: var(--font-body); font-size: 1rem; color: var(--dark); background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(212,168,83,0.2); }
.form-group textarea { resize: vertical; }

.form-status { margin-top: 1rem; padding: 1rem; border-radius: 0.5rem; font-size: 0.875rem; }
.form-status-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.form-status-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }

/* Contact Info */
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; gap: 1rem; }
.contact-item-icon {
    flex-shrink: 0; width: 3rem; height: 3rem; border-radius: 50%;
    background: rgba(212,168,83,0.15); display: flex; align-items: center; justify-content: center;
    color: var(--primary-dark);
}
.contact-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.contact-item p { color: rgba(44,44,44,0.6); line-height: 1.75; font-size: 0.875rem; }
.contact-item a { color: rgba(44,44,44,0.6); }
.contact-item a:hover { color: var(--primary); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 2rem 0 1.5rem; }
@media (min-width: 768px) { .footer { padding: 2.5rem 0 1.5rem; } }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--primary); letter-spacing: 0.05em; }
.footer-brand p { margin-top: 1rem; font-size: 0.875rem; line-height: 1.75; }
.footer-col h4 { font-family: var(--font-heading); font-weight: 600; color: var(--white); font-size: 1.125rem; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.625rem; font-size: 0.875rem; }
.footer-col a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a {
    width: 2.5rem; height: 2.5rem; border-radius: 50%;
    background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: all 0.3s;
}
.footer-social a:hover { background: rgba(212,168,83,0.3); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem;
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.back-to-top-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.back-to-top-link:hover { color: var(--primary); }

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-to-top {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 40;
    width: 3rem; height: 3rem; border-radius: 50%; border: none; cursor: pointer;
    background: var(--primary); color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(1rem); pointer-events: none; transition: all 0.3s;
}
.scroll-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-to-top:hover { background: var(--primary-dark); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }

.fade-in { animation: fadeIn 0.8s ease-out forwards; opacity: 0; }
.fade-in-up { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   PLACEHOLDERS & MISC
   ============================================================ */
.image-placeholder {
    background: linear-gradient(135deg, var(--warm-dark), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    color: rgba(44,44,44,0.5); font-size: 0.875rem; min-height: 200px; width: 100%;
}
.no-content-message {
    text-align: center; color: rgba(44,44,44,0.5); font-size: 1rem; padding: 3rem 0;
}
.no-content-message strong { color: var(--primary-dark); }

/* ============================================================
   LANGUAGE SWITCHER (TranslatePress shortcode in navbar)
   ============================================================ */
.nav-lang-switcher { display: flex; align-items: center; margin-left: 0.5rem; }
.nav-lang-switcher .trp-language-switcher {
    font-family: var(--font-body) !important;
}
/* Drapeaux petits */
.nav-lang-switcher .trp-language-switcher img {
    width: 18px !important;
    height: 13px !important;
    border-radius: 2px !important;
    vertical-align: middle !important;
}
/* Cacher le texte "FRENCH", garder seulement le drapeau */
.nav-lang-switcher .trp-ls-shortcode-current-language {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    min-width: auto !important;
}
.nav-lang-switcher .trp-ls-shortcode-current-language a {
    font-size: 0 !important;
    padding: 0.2rem !important;
    color: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    background: transparent !important;
}
/* Dropdown : fond transparent, pas de bordure blanche */
.nav-lang-switcher .trp-ls-shortcode-language {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-width: auto !important;
    padding: 0.1rem !important;
}
.nav-lang-switcher .trp-ls-shortcode-language a {
    font-size: 0 !important;
    padding: 0.2rem !important;
    color: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    background: transparent !important;
}
.nav-lang-switcher .trp-ls-shortcode-language a:hover {
    opacity: 0.7 !important;
}
/* Cacher le chevron et éléments inutiles */
.nav-lang-switcher .trp-ls-shortcode-current-language::after,
.nav-lang-switcher .trp-ls-shortcode-disabled-language {
    display: none !important;
}
/* Forcer tout transparent dans le switcher */
.nav-lang-switcher div, .nav-lang-switcher a {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* WordPress admin bar fix */
body.admin-bar .navbar { top: 32px; }
@media (max-width: 782px) { body.admin-bar .navbar { top: 46px; } }

/* ============================================================
   LEGAL PAGES (Mentions légales, CGV)
   ============================================================ */
.legal-page {
    padding-top: 6rem;
    padding-bottom: 3rem;
    min-height: 100vh;
    background: var(--warm-light);
}
.legal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    text-align: center;
}
@media (min-width: 768px) { .legal-title { font-size: 2.5rem; } }
.legal-date {
    text-align: center;
    color: rgba(44,44,44,0.5);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}
.legal-content {
    max-width: 800px;
    margin: 2rem auto;
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
@media (min-width: 768px) { .legal-content { padding: 3rem 2.5rem; } }
.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212,168,83,0.2);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.legal-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-light);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.legal-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(44,44,44,0.8);
    margin-bottom: 0.75rem;
}
.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}
.legal-content li {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(44,44,44,0.8);
    margin-bottom: 0.25rem;
}
.legal-content a {
    color: var(--primary-dark);
    text-decoration: underline;
}
.legal-content a:hover { color: var(--primary); }
.legal-box {
    background: var(--warm);
    border: 1px solid rgba(212,168,83,0.2);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 1rem 0;
}
.legal-back-btn {
    display: block;
    max-width: 250px;
    margin: 2rem auto 0;
    text-align: center;
}