/* ═══════════════════════════════════════════════
   MAZE CRÉATIONS — Style Sheet
   Palette : crème chaude · brun terracotta · brun foncé
   Typo    : Dancing Script · Cormorant Garamond · Montserrat
   ═══════════════════════════════════════════════ */

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

:root {
    --bg:           #EDE8DF;
    --bg-alt:       #E5DDD3;
    --nav-bg:       #B5785B;
    --nav-hover:    #9A6448;
    --text:         #2C1A12;
    --text-mid:     #6B4A37;
    --border:       #3D2B1F;
    --gold:         #A07040;
    --radius-card:  28px;
    --frame-gap:    28px;
    --shadow:       0 2px 18px rgba(44, 26, 18, 0.09);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

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

ul {
    list-style: none;
}

/* ── TYPOGRAPHY UTILITIES ─────────────────────── */

.script {
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
    color: var(--text);
    line-height: 1.1;
}

.script--xl {
    font-size: clamp(3rem, 6vw, 5.5rem);
}

.script--product {
    font-size: clamp(3.2rem, 5.5vw, 5rem);
    margin-bottom: 0.2em;
}

.script--contact {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-top: 2rem;
    text-align: right;
}

.script--merci {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    margin-top: 1.2rem;
    color: var(--text-mid);
}

.script--footer {
    font-size: 2rem;
    opacity: 0.5;
    margin-top: 0.3rem;
}

.brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    letter-spacing: 0.18em;
    color: var(--text);
    margin-bottom: 0.5em;
    line-height: 1.2;
}

.serif-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    letter-spacing: 0.12em;
    color: var(--text);
}

.serif-title--underline {
    border-bottom: 1.5px solid var(--border);
    padding-bottom: 0.4em;
    margin-bottom: 1.8em;
}

.serif-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    letter-spacing: 0.2em;
    color: var(--text-mid);
    margin-top: -0.2em;
    margin-bottom: 1.8em;
    font-style: italic;
}

.body-caps {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.72rem, 1.1vw, 0.88rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
    line-height: 1.85;
    text-align: center;
}

.body-caps strong {
    font-weight: 700;
    letter-spacing: 0.08em;
}

.body-caps--footer {
    margin-top: 1.2em;
    color: var(--text-mid);
    font-style: italic;
    font-size: 0.78rem;
}

.tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    font-style: italic;
    letter-spacing: 0.06em;
    color: var(--text-mid);
    margin-bottom: 2.2em;
}

.price {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 500;
    color: var(--text);
    margin-bottom: 1.4em;
    letter-spacing: 0.05em;
}

.price-star {
    color: var(--gold);
    margin-right: 0.3em;
    font-size: 1.1em;
}

.coming-soon {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    color: var(--text-mid);
    margin-top: 1.5rem;
    font-style: italic;
}

/* ── NAVIGATION ───────────────────────────────── */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--nav-bg);
    box-shadow: 0 2px 12px rgba(44, 26, 18, 0.18);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: 74px;
    gap: 1rem;
}

.nav-left {
    display: flex;
    gap: 2rem;
    flex: 1;
}

.nav-left a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.92);
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-left a:hover {
    color: #ffffff;
}

.nav-left a.active {
    color: #ffffff;
    border-bottom: 1.5px solid rgba(255,255,255,0.7);
    padding-bottom: 2px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
    line-height: 1;
    gap: 0.25rem;
}

.nav-logo-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 2.6vw, 2.4rem);
    font-weight: 300;
    letter-spacing: 0.14em;
    color: #ffffff;
    white-space: nowrap;
}

.nav-logo-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.55rem, 0.9vw, 0.72rem);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    white-space: nowrap;
}

.nav-right {
    display: flex;
    gap: 0.8rem;
    flex: 1;
    justify-content: flex-end;
}

.btn-nav {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.92);
    border: 1.5px solid rgba(255,255,255,0.6);
    padding: 0.42em 1.1em;
    border-radius: 2px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.btn-nav:hover {
    background-color: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.9);
    color: #ffffff;
}

/* ── HERO BANNER ─────────────────────────────── */

.hero-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem var(--frame-gap);
}

.hero-banner-wrap {
    position: relative;
    width: 100%;
    max-width: 700px;
    border-radius: 24px;
    overflow: hidden;
}

.hero-banner-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: unset;
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(235, 245, 255, 0.18);
}

.hero-banner-text {
    position: relative;
    z-index: 1;
    font-family: 'Dancing Script', cursive;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    color: #2C1A12;
    text-shadow: 0 2px 12px rgba(255,255,255,0.3);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

/* ── SECTION FRAME ───────────────────────────── */

.section {
    background-color: var(--bg);
    padding: var(--frame-gap);
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

#amour, #serenite, #vitalite, #protection, #ancrage, #purification, #eclosion {
    min-height: unset;
}

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

#presentation {
    min-height: unset;
    padding: var(--frame-gap);
    margin-top: 10vh;
}

#presentation .frame {
    padding: 2rem 4rem;
}

#signatures {
    background-image: linear-gradient(rgba(44, 26, 18, 0.45), rgba(44, 26, 18, 0.45)),
                      url('../images/collection-signature.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#signatures .collection-tag,
#signatures h2,
#signatures .body-caps {
    color: #F5EFE6;
}

.frame {
    position: relative;
    width: 100%;
    border: none;
    padding: 3.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}


/* ── TWO-COL PRODUCT LAYOUT ──────────────────── */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1.55fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.col-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rounded-frame {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 3 / 4.2;
    border-radius: 120px;
    border: 1.5px solid var(--border);
    overflow: hidden;
    background-color: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.rounded-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.col-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.col-text--hero {
    align-items: flex-start;
    text-align: left;
}

.col-text--hero .body-caps {
    text-align: left;
}

/* ── HERO ─────────────────────────────────────── */

.hero {
    min-height: 55vh;
}

.frame--hero {
    background-color: var(--nav-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.2rem;
    border-color: var(--nav-bg);
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(5rem, 14vw, 13rem);
    letter-spacing: 0.04em;
    line-height: 0.92;
    color: var(--bg);
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.75rem, 1.6vw, 1.1rem);
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(237, 232, 223, 0.85);
    margin-top: 0.4em;
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn-group--bougies {
    margin-top: 1.8rem;
    justify-content: center;
}

.btn-outline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text);
    border: 1.5px solid var(--border);
    padding: 0.55em 1.4em;
    border-radius: 2px;
    transition: background-color 0.2s, color 0.2s;
}

.btn-outline:hover {
    background-color: var(--border);
    color: var(--bg);
}

.btn-acheter {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bg);
    background-color: var(--nav-bg);
    border: 1.5px solid var(--nav-bg);
    padding: 0.65em 1.8em;
    border-radius: 2px;
    margin-top: 1.4rem;
    transition: background-color 0.2s, border-color 0.2s;
}

.btn-acheter:hover {
    background-color: var(--nav-hover);
    border-color: var(--nav-hover);
}

.btn-decouvrir {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #F5EFE6;
    background-color: transparent;
    border: 1.5px solid rgba(245, 239, 230, 0.7);
    padding: 0.65em 2em;
    border-radius: 2px;
    margin-top: 1.8rem;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn-decouvrir:hover {
    background-color: rgba(245, 239, 230, 0.15);
    border-color: #F5EFE6;
}

.collection-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--nav-bg);
    margin-bottom: 0.5rem;
}

.collection-tag {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--nav-bg);
    margin-bottom: 0.2rem;
}

.bougie-card-vertu {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-style: italic;
    color: var(--text-mid);
    letter-spacing: 0.03em;
    line-height: 1.4;
    margin-bottom: 0.2rem;
}

.bougie-card-pierre {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(0.92rem, 1.35vw, 1.1rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--text-mid);
    opacity: 0.85;
    margin-bottom: 0.5rem;
}

/* ── SECTION INTRO ────────────────────────────── */

.section-intro-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.intro-text {
    max-width: 600px;
}

.intro-warning {
    margin-top: 1.5rem;
    color: var(--text-mid);
    font-size: 0.78rem;
}

/* ── TARIFS ───────────────────────────────────── */

.tarifs-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tarifs-list {
    width: 100%;
    max-width: 520px;
    margin-bottom: 3rem;
}

.tarif-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0.6rem 0;
}

.tarif-label {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
}

.tarif-price {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.tarif-divider {
    height: 1px;
    background-color: rgba(44, 26, 18, 0.2);
    width: 100%;
}

.tarifs-img-wrap {
    width: 100%;
    max-width: 860px;
    height: 260px;
    overflow: hidden;
    border-radius: 8px;
}

.tarifs-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── CONTACT ─────────────────────────────────── */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.oval-frame {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 3 / 4;
    border-radius: 50% / 50%;
    overflow: hidden;
    background-color: var(--bg-alt);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    margin: 0 auto;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

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

.contact-list .body-caps {
    text-align: left;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    color: inherit;
}

.contact-link:hover .contact-icon {
    background-color: var(--nav-bg);
    border-color: var(--nav-bg);
    color: var(--bg);
}

.contact-link:hover .body-caps {
    color: var(--nav-bg);
}

/* ── WATERMARKS ──────────────────────────────── */

.watermark {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 45% auto;
}

/* Each watermark gets a subtle tinted gradient as placeholder */
.watermark--botanical { background: radial-gradient(ellipse at 75% 60%, #C4957A 0%, transparent 70%); opacity: 0.08; }
.watermark--rose       { background: radial-gradient(ellipse at 75% 60%, #E8A0A0 0%, transparent 65%); opacity: 0.10; }
.watermark--lavande    { background: radial-gradient(ellipse at 75% 60%, #B0A0D0 0%, transparent 65%); opacity: 0.10; }
.watermark--soleil     { background: radial-gradient(ellipse at 75% 60%, #E8D080 0%, transparent 65%); opacity: 0.10; }
.watermark--tigre      { background: radial-gradient(ellipse at 75% 60%, #D09050 0%, transparent 65%); opacity: 0.10; }
.watermark--fleur      { background: radial-gradient(ellipse at 75% 60%, #E0A0C0 0%, transparent 65%); opacity: 0.10; }

/* ── FOOTER ──────────────────────────────────── */

.footer {
    background-color: var(--nav-bg);
    text-align: center;
    padding: 2.4rem 2rem;
}

.footer .body-caps {
    color: rgba(255,255,255,0.75);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
}

.footer .script--footer {
    color: rgba(255,255,255,0.55);
    font-family: 'Dancing Script', cursive;
}

.footer-credit {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35);
    margin-top: 1.2rem;
}

.footer-credit a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-credit a:hover {
    color: rgba(255,255,255,0.85);
}

/* ── LIGHTBOX ────────────────────────────────── */

#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: center;
    justify-content: center;
}

#lightbox.open {
    display: flex;
}

#lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 10, 5, 0.88);
}

#lightbox-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
}

#lightbox-img {
    max-width: 88vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.5);
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

#lightbox-btn-wrap .btn-acheter {
    margin-top: 0;
}

#lightbox-close {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    z-index: 2;
    background: none;
    border: 1.5px solid rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, color 0.2s;
}

#lightbox-close:hover {
    border-color: #fff;
    color: #fff;
}

/* ── HAMBURGER ───────────────────────────────── */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ─────────────────────────────── */

.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: var(--nav-bg);
    padding: 0.8rem 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(44, 26, 18, 0.22);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.92);
    padding: 0.85rem 2rem;
    transition: background-color 0.2s;
    display: block;
}

.mobile-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: #ffffff;
}

.mobile-divider {
    height: 1px;
    background-color: rgba(255,255,255,0.2);
    margin: 0.4rem 2rem;
}

/* ── RESPONSIVE ──────────────────────────────── */

@media (max-width: 900px) {
    .nav-left,
    .nav-right {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .mobile-menu {
        display: flex;
    }
    .navbar {
        position: sticky;
        top: 0;
    }
    .frame {
        padding: 2.5rem 2rem;
    }
    .two-col {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .rounded-frame {
        max-width: 260px;
        aspect-ratio: 3 / 4;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .script--contact {
        text-align: center;
    }
}

@media (max-width: 600px) {
    :root {
        --frame-gap: 16px;
    }
    .frame {
        padding: 2rem 1.2rem;
    }
    .btn-group {
        flex-direction: column;
    }
}

/* ── SCROLL FADE-IN ───────────────────────────── */

.section.hidden {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
