/* ============================================ */
/* CSS GLOBAL                                   */
/* ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --cream: #f5f0eb;
    --warm-beige: #e8ddd0;
    --taupe: #8b7d6b;
    --dark: #2c2825;
    --accent: #a67c52;
    --light: #faf8f6;
    --text: #3d3733;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text);
    background: var(--light);
    line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

.btn {
    display: inline-block; padding: 14px 42px;
    background: var(--accent); color: white;
    text-decoration: none; font-weight: 500; font-size: 0.8rem;
    letter-spacing: 2px; text-transform: uppercase;
    border: none; cursor: pointer; transition: all 0.3s;
    position: relative;
}
.btn::after {
    content: ''; position: absolute; inset: -3px;
    border: 1px solid var(--accent); opacity: 0;
    transition: opacity 0.3s;
}
.btn:hover { background: var(--dark); transform: translateY(-2px); }
.btn:hover::after { opacity: 0.5; }

/* ============================================ */
/* HEADER                                       */
/* ============================================ */
header {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    z-index: 1000; border-bottom: 1px solid var(--warm-beige);
    transition: box-shadow 0.3s;
}
header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.header-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 30px;
}

.logo {
    display: flex; align-items: center;
    text-decoration: none;
}
.logo-svg {
    height: 48px; width: auto;
    transition: transform 0.3s ease;
}
.logo-img {
    height: 52px; width: auto;
    border-radius: 4px;
    transition: transform 0.3s ease;
}
.logo:hover .logo-img {
    transform: scale(1.03);
}
.logo:hover .logo-svg {
    transform: scale(1.03);
}

nav { display: flex; gap: 28px; align-items: center; }
nav a {
    text-decoration: none; color: var(--text);
    font-size: 0.85rem; font-weight: 500; letter-spacing: 0.5px;
    text-transform: uppercase; transition: color 0.3s; position: relative;
}
nav a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--accent);
    transition: width 0.3s;
}
nav a:hover { color: var(--accent); }
nav a:hover::after { width: 100%; }

.social-nav { display: flex; gap: 12px; }
.social-nav a {
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid var(--taupe);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; color: var(--taupe); text-decoration: none;
    transition: all 0.3s;
}
.social-nav a:hover { background: var(--accent); border-color: var(--accent); color: white; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { width: 24px; height: 2px; background: var(--dark); transition: all 0.3s; }

.mobile-menu {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98); z-index: 999;
    flex-direction: column; align-items: center; justify-content: center; gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    font-size: 1.2rem; text-decoration: none; color: var(--text);
    text-transform: uppercase; letter-spacing: 1px; font-weight: 500;
}
.mobile-menu .close-btn {
    position: absolute; top: 20px; right: 30px;
    font-size: 1.8rem; background: none; border: none; cursor: pointer; color: var(--dark);
}

/* ============================================ */
/* HERO                                         */
/* ============================================ */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 120px 30px 80px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-beige) 100%);
    position: relative;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20 20 L80 20 L80 80 L20 80 Z" fill="none" stroke="%23a67c52" stroke-width="0.3" opacity="0.15"/><path d="M10 10 L90 10 L90 90 L10 90 Z" fill="none" stroke="%23a67c52" stroke-width="0.2" opacity="0.1"/></svg>');
    background-size: 80px 80px;
}
.hero-content { position: relative; max-width: 720px; }
.hero-icon {
    width: 96px; height: 96px; margin: 0 auto 24px;
    background: transparent; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--accent);
    overflow: hidden;
    position: relative;
    padding: 6px;
}
.hero-icon img {
    width: 100%; height: 100%;
    object-fit: cover; border-radius: 50%;
}
.hero-icon::before {
    content: ''; position: absolute; inset: -6px;
    border: 1px solid var(--accent); border-radius: 50%; opacity: 0.3;
}
.hero h1 {
    font-size: 2.2rem; font-weight: 700; color: var(--dark);
    margin-bottom: 8px; letter-spacing: 3px;
    text-transform: uppercase; white-space: nowrap;
}
.hero .subtitle {
    font-size: 1.5rem; font-family: 'Playfair Display', serif;
    font-style: italic; color: var(--accent); margin-bottom: 24px;
    letter-spacing: 1px;
}
.hero p {
    font-size: 1rem; color: #6b625c; max-width: 520px; margin: 0 auto 36px;
    line-height: 1.7;
}

/* ============================================ */
/* SECTIONS (général)                           */
/* ============================================ */
section { padding: 100px 30px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title {
    text-align: center; font-size: 2.4rem; color: var(--dark);
    margin-bottom: 8px; letter-spacing: 2px;
    text-transform: uppercase;
}
.section-divider {
    width: 50px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 16px auto 10px;
}
.section-subtitle {
    text-align: center; font-family: 'Playfair Display', serif;
    font-style: italic; color: var(--accent); font-size: 1.1rem;
    margin-bottom: 56px;
}

/* ============================================ */
/* GALERIE                                      */
/* ============================================ */
.gallery { background: white; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.gallery-grid .item { position: relative; overflow: hidden; border-radius: 4px; }
.gallery-grid .item .placeholder {
    width: 100%; height: 100%; min-height: 180px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 2rem;
}
.item-tall { grid-row: span 2; }
.item-tall .placeholder { min-height: 240px; }
.gallery-grid .item .overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    padding: 20px 16px 12px; color: white; opacity: 0;
    transition: opacity 0.3s; font-size: 0.8rem; letter-spacing: 0.5px;
}
.gallery-grid .item:hover .overlay { opacity: 1; }

/* ============================================ */
/* SERVICES                                     */
/* ============================================ */
.services { background: var(--cream); }
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.service-card {
    background: white; padding: 48px 36px; text-align: center;
    border-radius: 4px; transition: all 0.3s; cursor: default;
    border: 1px solid transparent;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: var(--warm-beige);
}
.service-card .icon {
    width: 70px; height: 70px; margin: 0 auto 20px;
    border-radius: 50%; background: transparent;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: var(--accent); transition: all 0.3s;
    border: 1.5px solid var(--accent);
    position: relative;
}
.service-card .icon::before {
    content: ''; position: absolute; inset: -5px;
    border: 1px solid var(--accent); border-radius: 50%; opacity: 0.25;
    transition: opacity 0.3s;
}
.service-card:hover .icon { background: var(--accent); color: white; }
.service-card:hover .icon::before { opacity: 0; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--dark); }
.service-card p { font-size: 0.9rem; color: #6b625c; margin-bottom: 20px; line-height: 1.7; }
.service-card .link {
    color: var(--accent); text-decoration: none; font-weight: 500;
    font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase;
}
.service-card .link:hover { color: var(--dark); }

/* ============================================ */
/* TÉMOIGNAGES                                  */
/* ============================================ */
.testimonials { background: white; }
.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.testimonial-card {
    background: var(--cream); padding: 36px; border-radius: 4px;
    border-left: 3px solid var(--accent);
}
.testimonial-card .quote {
    font-style: italic; font-size: 0.9rem; line-height: 1.7;
    margin-bottom: 20px; color: #5a524c;
}
.testimonial-card .author { font-weight: 600; font-size: 0.85rem; color: var(--dark); }
.testimonial-card .source { font-size: 0.75rem; color: var(--taupe); margin-top: 2px; }

/* ============================================ */
/* CONTACT                                      */
/* ============================================ */
.contact { background: var(--cream); }
.questionnaire-cta {
    background: white;
    padding: 100px 30px;
}
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: start;
}
.contact-info h3 { font-size: 1.5rem; margin-bottom: 24px; color: var(--dark); }
.contact-info p { font-size: 0.9rem; color: #6b625c; margin-bottom: 8px; line-height: 1.7; }
.contact-detail {
    display: flex; align-items: center; gap: 14px; margin-top: 20px;
}
.contact-detail .icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--accent); color: white; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
}
.contact-detail a { color: var(--text); text-decoration: none; font-weight: 500; }
.contact-detail a:hover { color: var(--accent); }
.contact-detail .label { font-size: 0.75rem; color: var(--taupe); text-transform: uppercase; letter-spacing: 0.5px; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-map iframe {
    width: 100%; height: 100%; min-height: 320px;
    border: 0; border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    filter: sepia(0.45) saturate(0.85) brightness(1.02) contrast(0.95) hue-rotate(-5deg);
}
.contact-form input, .contact-form textarea {
    padding: 14px 18px; border: 1px solid var(--warm-beige);
    font-family: 'Raleway', sans-serif; font-size: 0.9rem;
    border-radius: 4px; background: white; transition: border 0.3s;
    outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { min-height: 140px; resize: vertical; }

/* ============================================ */
/* FOOTER                                       */
/* ============================================ */
footer {
    background: var(--dark); color: rgba(255,255,255,0.7);
    padding: 40px 30px; text-align: center;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-links {
    display: flex; justify-content: center; gap: 28px; margin-bottom: 20px; flex-wrap: wrap;
}
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.8rem; transition: color 0.3s; }
.footer-links a:hover { color: white; }
.footer-social { display: flex; justify-content: center; gap: 14px; margin-bottom: 20px; }
.footer-social a {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.8rem;
    transition: all 0.3s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.legal-mention {
    font-size: 0.72rem; color: rgba(255,255,255,0.4);
    line-height: 1.6; margin-bottom: 12px; letter-spacing: 0.3px;
}
footer .copy { font-size: 0.78rem; color: rgba(255,255,255,0.4); }

/* ============================================ */
/* RESPONSIVE                                   */
/* ============================================ */
@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 2.4rem; }
    .hero .subtitle { font-size: 1.2rem; }
}
@media (max-width: 700px) {
    nav .nav-links, .social-nav { display: none; }
    .hamburger { display: flex; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    section { padding: 70px 20px; }
    .section-title { font-size: 1.8rem; }
}
@media (min-width: 701px) {
    .mobile-menu { display: none !important; }
}
