/* ============================================================
   Egoire – Legal Pages Stylesheet
   File:  public/css/legal.css
   Namespace: legal-
   ============================================================

   Design:  Clean, professional, editorial luxury
   Palette: Gold #C6A75E · Beige #FAF6F3 · Black #0a0a0a
   Fonts:   Playfair Display · Inter

   Table of Contents:
   1.  Container
   2.  Hero Section
   3.  Content Wrapper
   4.  Intro Block
   5.  Section Styles
   6.  Headings
   7.  Lists
   8.  Tables
   9.  Blockquotes
   10. Links
   11. Tablet  (≤ 1024px)
   12. Mobile  (≤ 767px)
   13. Small Mobile (≤ 479px)
   14. Reduced Motion
   ============================================================ */


/* ============================================================
   1. CONTAINER
   ============================================================ */
.legal-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

.legal-container--narrow {
    max-width: 780px;
}


/* ============================================================
   2. HERO SECTION
   ============================================================ */
.legal-hero {
    padding: clamp(72px, 12vw, 120px) 0 clamp(48px, 8vw, 80px);
    text-align: center;
    background: linear-gradient(180deg, #FAF6F3 0%, #ffffff 100%);
}

.legal-hero__label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C6A75E;
    margin-bottom: 20px;
}

.legal-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 400;
    letter-spacing: 1px;
    color: #0a0a0a;
    margin: 0 0 16px;
    line-height: 1.15;
}

.legal-hero__text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    font-weight: 300;
    color: #6b6b6b;
    margin: 0;
}


/* ============================================================
   3. CONTENT WRAPPER
   ============================================================ */
.legal-content {
    padding: clamp(48px, 8vw, 88px) 0 clamp(64px, 10vw, 112px);
    background: #ffffff;
}


/* ============================================================
   4. INTRO BLOCK
   ============================================================ */
.legal-intro {
    margin-bottom: clamp(32px, 5vw, 56px);
    padding-bottom: clamp(28px, 4vw, 48px);
    border-bottom: 1px solid rgba(198, 167, 94, 0.15);
}

.legal-intro p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.92rem, 1.4vw, 1.02rem);
    font-weight: 300;
    line-height: 1.8;
    color: #4a4a4a;
}


/* ============================================================
   5. SECTION STYLES
   ============================================================ */
.legal-section {
    margin-bottom: clamp(32px, 4vw, 48px);
    padding-bottom: clamp(28px, 3.5vw, 40px);
    border-bottom: 1px solid rgba(10, 10, 10, 0.06);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section p {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 12px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   6. HEADINGS
   ============================================================ */
.legal-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 400;
    color: #0a0a0a;
    margin: 0 0 16px;
    line-height: 1.3;
}

.legal-section h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0a0a0a;
    margin: 20px 0 10px;
    letter-spacing: 0.3px;
}


/* ============================================================
   7. LISTS
   ============================================================ */
.legal-section ul,
.legal-section ol {
    padding-left: 20px;
    margin: 12px 0 16px;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
}

.legal-section ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: #4a4a4a;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #C6A75E;
}

.legal-section ol {
    list-style: decimal;
    padding-left: 24px;
}

.legal-section ol li {
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: #4a4a4a;
}

.legal-section li strong {
    font-weight: 600;
    color: #0a0a0a;
}


/* ============================================================
   8. TABLES
   ============================================================ */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
}

.legal-table thead {
    background: #FAF6F3;
}

.legal-table th {
    font-weight: 600;
    color: #0a0a0a;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid rgba(198, 167, 94, 0.25);
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.legal-table td {
    padding: 11px 16px;
    color: #4a4a4a;
    font-weight: 300;
    border-bottom: 1px solid rgba(10, 10, 10, 0.06);
    line-height: 1.6;
}

.legal-table tbody tr:last-child td {
    border-bottom: none;
}

.legal-table tbody tr:hover {
    background: rgba(250, 246, 243, 0.5);
}


/* ============================================================
   9. BLOCKQUOTES
   ============================================================ */
.legal-blockquote {
    margin: 20px 0;
    padding: 20px 24px;
    background: #FAF6F3;
    border-left: 3px solid #C6A75E;
    border-radius: 0 4px 4px 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.8;
    color: #4a4a4a;
}


/* ============================================================
   10. LINKS
   ============================================================ */
.legal-section a {
    color: #C6A75E;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.legal-section a:hover {
    color: #b68e57;
}


/* ============================================================
   11. TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .legal-container--narrow {
        max-width: 100%;
    }
}


/* ============================================================
   12. MOBILE (≤ 767px)
   ============================================================ */
@media (max-width: 767px) {
    .legal-hero {
        padding: clamp(56px, 10vw, 80px) 0 clamp(36px, 6vw, 56px);
    }

    .legal-content {
        padding: clamp(36px, 6vw, 56px) 0 clamp(48px, 8vw, 80px);
    }

    .legal-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .legal-table th,
    .legal-table td {
        white-space: nowrap;
        padding: 10px 12px;
        font-size: 0.82rem;
    }
}


/* ============================================================
   13. SMALL MOBILE (≤ 479px)
   ============================================================ */
@media (max-width: 479px) {
    .legal-hero__title {
        font-size: 1.8rem;
    }

    .legal-section h2 {
        font-size: 1.15rem;
    }

    .legal-blockquote {
        padding: 16px 18px;
        font-size: 0.84rem;
    }
}


/* ============================================================
   14. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .legal-section a {
        transition: none;
    }
}
