/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #2E2520; background: #FFFFFF; }
a { text-decoration: none; }

/* === SHARED === */
.highlight-word {
    background: rgba(0,168,150,0.08); color: #00A896;
    padding: 0 0.35rem; border-radius: 4px;
    font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400;
}
.section-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(139,69,19,0.06); color: #8B4513;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; padding: 0.42rem 1rem;
    border-radius: 30px; margin-bottom: 1.5rem;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.pill-button {
    background: #2E2520; color: #FFFFFF;
    padding: 0.85rem 1.75rem; border-radius: 30px;
    font-size: 0.875rem; font-weight: 600;
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: all 0.25s ease;
}
.pill-button:hover { background: #8B4513; transform: translateY(-1px); }

/* === NAV === */
.premium-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(139,69,19,0.08);
}
.header-container {
    max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
    height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.header-logo { font-size: 1.25rem; font-weight: 900; color: #2E2520; letter-spacing: -0.02em; }
.header-logo em { font-style: italic; font-family: 'Playfair Display', serif; color: #8B4513; }
.nav-menu { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-item { position: relative; }
.nav-link {
    display: flex; align-items: center; gap: 0.3rem;
    padding: 0.5rem 0.85rem; border-radius: 8px;
    font-size: 0.875rem; font-weight: 500; color: rgba(46,37,32,0.7);
    transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active { color: #2E2520; background: rgba(139,69,19,0.05); }
.nav-link .fa-chevron-down { font-size: 0.6rem; transition: transform 0.2s; }
.nav-item:hover .fa-chevron-down { transform: rotate(180deg); }
.dropdown-menu {
    position: absolute; top: calc(100% + 0.5rem); left: 50%; transform: translateX(-50%);
    background: #FFFFFF; border: 1px solid rgba(139,69,19,0.1);
    border-radius: 12px; padding: 0.5rem 0; min-width: 220px;
    box-shadow: 0 16px 40px rgba(46,37,32,0.1);
    opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-4px);
    transition: all 0.2s ease; list-style: none;
}
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-link { display: block; padding: 0.55rem 1.25rem; font-size: 0.875rem; color: rgba(46,37,32,0.75); transition: color 0.15s, background 0.15s; }
.dropdown-link:hover { color: #2E2520; background: rgba(139,69,19,0.04); }
.dd-sep { height: 1px; background: rgba(139,69,19,0.08); margin: 0.35rem 1.25rem; list-style: none; }
.dd-small { font-size: 0.82rem; color: rgba(46,37,32,0.5); padding: 0.5rem 1.25rem; }
.nav-sep { width: 1px; height: 20px; background: rgba(139,69,19,0.15); }
.cta-pill {
    background: #2E2520; color: #FFFFFF;
    padding: 0.55rem 1.25rem; border-radius: 30px;
    font-size: 0.8rem; font-weight: 600; transition: background 0.2s;
}
.cta-pill:hover { background: #8B4513; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; color: #2E2520; font-size: 1.1rem; padding: 0.4rem; }
.mobile-menu { display: none; position: fixed; inset: 0; background: #FFFFFF; z-index: 999; padding-top: 72px; overflow-y: auto; }
.mobile-menu.open { display: block; }
.mobile-menu-inner { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.15rem; }
.mobile-link { padding: 0.8rem 0.75rem; font-size: 1rem; font-weight: 600; color: #2E2520; border-radius: 8px; transition: background 0.15s; }
.mobile-link:hover { background: rgba(139,69,19,0.05); }
.mobile-section-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(46,37,32,0.35); padding: 0.75rem 0.75rem 0.25rem; }
.mobile-sub-link { padding: 0.6rem 1.25rem; font-size: 0.875rem; color: rgba(46,37,32,0.7); border-radius: 6px; transition: background 0.15s; }
.mobile-sub-link:hover { background: rgba(139,69,19,0.04); }
.mobile-section-label--sub { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(46,37,32,0.3); padding: 0.6rem 2.25rem 0.25rem; }
.mobile-divider { height: 1px; background: rgba(139,69,19,0.08); margin: 0.75rem 0; }
.mobile-cta-wrap { padding: 1rem 0.75rem 0; }
.mobile-cta { display: block; text-align: center; background: #2E2520; color: #FFFFFF; padding: 0.9rem 1.5rem; border-radius: 30px; font-size: 0.875rem; font-weight: 600; }

/* === LEGAL PAGES === */
.legal-hero {
    padding: 9rem 0 3.5rem;
    background: #FDFCFB;
    border-bottom: 1px solid rgba(139,69,19,0.08);
}
.legal-breadcrumb { font-size: 0.75rem; color: rgba(46,37,32,0.4); margin-bottom: 1.5rem; }
.legal-breadcrumb a { color: rgba(46,37,32,0.4); transition: color 0.2s; }
.legal-breadcrumb a:hover { color: #8B4513; }
.legal-breadcrumb span { margin: 0 0.5rem; }
.legal-hero-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; color: #2E2520; letter-spacing: -0.025em; margin-bottom: 0.75rem; }
.legal-hero-meta { font-size: 0.8rem; color: rgba(46,37,32,0.4); }

.legal-content { padding: 4rem 0 7rem; }
.legal-body { max-width: 720px; }
.legal-body h2 {
    font-size: 1.15rem; font-weight: 800; color: #2E2520;
    margin: 2.5rem 0 0.75rem; padding-top: 2.5rem;
    border-top: 1px solid rgba(139,69,19,0.08);
}
.legal-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-body h3 { font-size: 1rem; font-weight: 700; color: #2E2520; margin: 1.5rem 0 0.5rem; }
.legal-body p { font-size: 0.92rem; color: rgba(46,37,32,0.7); line-height: 1.8; margin-bottom: 0.9rem; }
.legal-body ul { margin: 0.5rem 0 1rem 1.25rem; }
.legal-body ul li { font-size: 0.92rem; color: rgba(46,37,32,0.7); line-height: 1.8; margin-bottom: 0.3rem; list-style: disc; }
.legal-body a { color: #8B4513; border-bottom: 1px solid rgba(139,69,19,0.2); transition: border-color 0.2s; }
.legal-body a:hover { border-color: #8B4513; }
.legal-highlight {
    background: rgba(139,69,19,0.04); border-left: 3px solid #8B4513;
    padding: 1rem 1.25rem; margin: 1.25rem 0; border-radius: 0 6px 6px 0;
}
.legal-highlight p { margin-bottom: 0; }

/* === 404 PAGE === */
.error-wrap {
    min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 2rem 1.5rem; text-align: center;
    background: #FDFCFB; position: relative; overflow: hidden;
}
.error-wrap::before {
    content: '404';
    position: absolute; font-size: clamp(200px, 30vw, 320px);
    font-weight: 900; color: rgba(139,69,19,0.04);
    letter-spacing: -0.05em; top: 50%; left: 50%;
    transform: translate(-50%, -50%); pointer-events: none;
    font-family: 'Playfair Display', serif;
}
.error-badge { display: inline-block; background: rgba(139,69,19,0.08); color: #8B4513; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.4rem 1rem; border-radius: 30px; margin-bottom: 1.5rem; }
.error-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: #2E2520; letter-spacing: -0.03em; margin-bottom: 1rem; line-height: 1.1; }
.error-sub { font-size: 1rem; color: rgba(46,37,32,0.55); max-width: 420px; line-height: 1.7; margin-bottom: 2.5rem; }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.error-btn-main { background: #2E2520; color: #FFFFFF; padding: 0.85rem 1.75rem; border-radius: 30px; font-size: 0.875rem; font-weight: 700; display: inline-flex; align-items: center; gap: 0.5rem; transition: background 0.2s; }
.error-btn-main:hover { background: #8B4513; }
.error-btn-ghost { background: transparent; color: #2E2520; padding: 0.85rem 1.75rem; border-radius: 30px; font-size: 0.875rem; font-weight: 600; border: 1px solid rgba(46,37,32,0.15); transition: border-color 0.2s; display: inline-flex; align-items: center; gap: 0.5rem; }
.error-btn-ghost:hover { border-color: #8B4513; color: #8B4513; }
.error-links { margin-top: 3rem; display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.error-link { font-size: 0.82rem; color: rgba(46,37,32,0.4); transition: color 0.2s; }
.error-link:hover { color: #8B4513; }

/* === MERCI PAGE === */
.merci-wrap {
    min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 2rem 1.5rem; text-align: center; background: #FDFCFB;
}
.merci-icon {
    width: 72px; height: 72px; background: rgba(0,168,150,0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; color: #00A896; margin: 0 auto 1.75rem;
}
.merci-title { font-size: clamp(2rem,4vw,2.8rem); font-weight: 900; color: #2E2520; letter-spacing: -0.03em; margin-bottom: 1rem; line-height: 1.1; }
.merci-sub { font-size: 1rem; color: rgba(46,37,32,0.6); max-width: 460px; line-height: 1.75; margin: 0 auto 2rem; }
.merci-detail {
    display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap;
    background: #FFFFFF; border: 1px solid rgba(139,69,19,0.1);
    padding: 1.5rem 2rem; margin-bottom: 2.5rem; max-width: 480px; width: 100%;
}
.merci-step { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.merci-step-num { width: 28px; height: 28px; background: #2E2520; color: #FFFFFF; border-radius: 50%; font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.merci-step-label { font-size: 0.75rem; color: rgba(46,37,32,0.55); text-align: center; max-width: 80px; line-height: 1.4; }
.merci-step-sep { height: 1px; background: rgba(139,69,19,0.1); align-self: center; flex: 1; min-width: 24px; }
.merci-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.merci-btn-main { background: #2E2520; color: #FFFFFF; padding: 0.85rem 1.75rem; border-radius: 30px; font-size: 0.875rem; font-weight: 700; transition: background 0.2s; display: inline-flex; align-items: center; gap: 0.5rem; }
.merci-btn-main:hover { background: #8B4513; }
.merci-btn-ghost { background: transparent; color: rgba(46,37,32,0.6); padding: 0.85rem 1.75rem; border-radius: 30px; font-size: 0.875rem; font-weight: 600; border: 1px solid rgba(46,37,32,0.12); transition: all 0.2s; display: inline-flex; align-items: center; gap: 0.5rem; }
.merci-btn-ghost:hover { border-color: #8B4513; color: #8B4513; }

/* === FOOTER === */
.footer { background: #1A0F08; padding: 4rem 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-logo { font-size: 1.3rem; font-weight: 900; color: #FFFFFF; letter-spacing: -0.02em; display: inline-block; margin-bottom: 1rem; }
.footer-logo em { font-style: italic; font-family: 'Playfair Display', serif; color: #8B4513; }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.35); line-height: 1.7; }
.footer-col-title { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); margin-bottom: 1.25rem; }
.footer-col-link { display: block; font-size: 0.83rem; color: rgba(255,255,255,0.55); margin-bottom: 0.6rem; transition: color 0.2s; }
.footer-col-link:hover { color: #FFFFFF; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.25); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.6); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav-menu, .nav-sep, .cta-pill { display: none; }
    .mobile-toggle { display: block; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
    .merci-detail { gap: 0.75rem; }
    .merci-step-sep { display: none; }
}
@media (max-width: 480px) {
    .footer-top { grid-template-columns: 1fr; }
}
