/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --peach: #F2C4B0;
    --peach-light: #F9E0D4;
    --peach-bg: #FDF5F1;
    --gold: #8A6A3E;
    --gold-light: #B0864F;
    --gold-dark: #6B4F2A;
    --brown: #5C4A32;
    --text: #3D3330;
    --text-light: #6B5D58;
    --white: #FFFFFF;
    --cream: #FFF9F6;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Lexend Exa', sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Lexend Exa', sans-serif;
    font-weight: 400;
    line-height: 1.2;
}

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-dark); }

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Skip link ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 200;
    padding: 12px 24px;
    background: var(--brown);
    color: var(--white);
    border-radius: 0 0 8px 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
    color: var(--white);
}

/* ── Screen reader only ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Focus visible ── */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold-dark);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── Navigation ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 245, 241, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(176, 134, 79, 0.12);
    transition: box-shadow 0.3s;
}

nav.scrolled { box-shadow: 0 2px 20px rgba(92, 74, 50, 0.08); }

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Lexend Exa', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--brown);
}

.nav-logo svg { width: 36px; height: 36px; }

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

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }

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

/* ── Hero Section ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--peach-light);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("images/fond-motif-CK.svg");
    background-size: 600px 600px;
    background-position: center;
    background-repeat: repeat;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text { max-width: 500px; }

.hero-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--brown);
    margin-bottom: 12px;
}

.hero-subtitle {
    font-family: 'Lexend Exa', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-tagline {
    font-family: 'Lexend Exa', sans-serif;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--gold);
    color: var(--white);
    font-family: 'Lexend Exa', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
    border: 2px solid var(--gold);
    transition: all 0.3s;
    cursor: pointer;
}
.btn:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
}

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

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image { position: relative; }

.hero-image img {
    width: 100%;
    max-width: 440px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(92, 74, 50, 0.15);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--peach);
    opacity: 0.5;
    z-index: -1;
}

/* ── Section Commons ── */
section { padding: 100px 0; }

.section-label {
    font-family: 'Lexend Exa', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brown);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--brown);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.8;
}

/* ── About / Presentation ── */
.about { background: var(--white); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-images img {
    border-radius: 16px;
    object-fit: cover;
    width: 100%;
    height: 260px;
}

.about-images img:first-child {
    grid-row: 1 / 3;
    height: 100%;
}

.about-single-image {
    display: block;
}

.about-single-image img {
    height: auto;
    max-height: 500px;
    width: 100%;
    object-fit: cover;
}

.about-text p { margin-bottom: 16px; }

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--peach-light);
    color: var(--brown);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 50px;
}

/* ── Services / Pourquoi consulter ── */
.services { background: var(--peach-bg); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(92, 74, 50, 0.08);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--peach-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg { width: 24px; height: 24px; }

.service-card h3 {
    font-size: 1.3rem;
    color: var(--brown);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ── Infos Pratiques ── */
.infos { background: var(--white); }

.infos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.infos-single {
    max-width: 640px;
    margin: 48px auto 0;
}

.info-block {
    padding: 40px;
    background: var(--cream);
    border-radius: 20px;
    border: 1px solid rgba(176, 134, 79, 0.12);
}

.info-block h3 {
    font-size: 1.4rem;
    color: var(--brown);
    margin-bottom: 20px;
}

.info-list { list-style: none; }

.info-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(176, 134, 79, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.info-list li:last-child { border-bottom: none; }

.info-label { font-weight: 500; color: var(--text); }

.info-value {
    color: var(--brown);
    font-weight: 600;
    text-align: right;
}

.info-note {
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--peach-light);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* ── Contact ── */
.contact { background: var(--peach-bg); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 48px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-block h3 {
    font-size: 1.3rem;
    color: var(--brown);
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg { width: 20px; height: 20px; }

.contact-item-text { font-size: 0.95rem; }
.contact-item-text strong { display: block; margin-bottom: 2px; }

/* ── Instagram ── */
.instagram {
    background: var(--white);
    text-align: center;
    padding: 80px 0;
}

.instagram .section-title { margin-bottom: 24px; }

.insta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ── Footer ── */
footer {
    background: var(--brown);
    padding: 40px 0;
    text-align: center;
}

.footer-mark {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

/* ── Mobile Menu ── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(253, 245, 241, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px;
    z-index: 99;
    border-bottom: 1px solid rgba(176, 134, 79, 0.12);
}

.mobile-menu.open { display: block; }

.mobile-menu a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    color: var(--text);
    border-bottom: 1px solid rgba(176, 134, 79, 0.1);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-text { max-width: 100%; }
    .hero-image { order: -1; }
    .hero-image img { max-width: 320px; margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .hero-logo { margin: 0 auto 24px; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-images { order: -1; }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }

    .infos-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    section { padding: 64px 0; }

    .nav-links { display: none; }
    .hamburger { display: flex; }

    .hero { min-height: auto; padding-top: 64px; }
    .hero-inner { padding: 80px 20px 60px; }

    .hero h1 { font-size: 2.2rem; }

    .about-images img { height: 200px; }
    .about-images img:first-child { height: 100%; }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .info-block { padding: 28px 20px; }
}

/* ── Animations ── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .fade-in {
        opacity: 1;
        transform: none;
    }
}
