/* ============================================
   MURUCUTU | Reforço Escolar
   Design: Editorial pedagógico caloroso
   Paleta: cream / terracota / café / mostarda / verde
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500;1,600&display=swap');

/* -----------------------------
   TOKENS
   ----------------------------- */
:root {
    --cream: #FBF3E4;
    --cream-2: #F5E9CE;
    --paper: #FDF8ED;
    --paper-warm: #F9EED5;

    --terracota: #C4704A;
    --terracota-soft: #E2AA8C;
    --terracota-ink: #8E4E2E;

    --cafe: #3E2A1F;
    --cafe-2: #5C4638;
    --cafe-3: #7A6353;

    --mostarda: #FEB71B;
    --mostarda-deep: #E4A00E;
    --mostarda-soft: #FFE39B;

    --verde: #4A8B3B;
    --verde-deep: #386B2C;
    --verde-soft: #E7F0E1;

    --ink-line: rgba(62, 42, 31, 0.15);
    --shadow-soft: 0 10px 30px -12px rgba(62, 42, 31, 0.18);
    --shadow-lift: 0 24px 60px -20px rgba(62, 42, 31, 0.28);

    --serif: 'Montserrat', system-ui, sans-serif;
    --hand: 'Montserrat', system-ui, sans-serif;
    --sans: 'Montserrat', system-ui, sans-serif;

    --radius-s: 10px;
    --radius: 18px;
    --radius-l: 28px;
    --radius-xl: 44px;

    --max: 1240px;
}

/* -----------------------------
   RESET
   ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    font-weight: 500;
    color: var(--cafe);
    background: #EFE4C8;
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.24 0 0 0 0 0.17 0 0 0 0 0.12 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--mostarda); color: var(--cafe); }

.container {
    width: min(100% - 40px, var(--max));
    margin-inline: auto;
}

/* -----------------------------
   TYPOGRAPHY
   ----------------------------- */
h1, h2, h3, h4 {
    font-family: var(--serif);
    color: var(--cafe);
    margin: 0 0 0.6em;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 500; }
p { margin: 0 0 1em; font-weight: 500; }

.hand {
    font-family: var(--hand);
    font-weight: 500;
    line-height: 1.1;
    color: var(--terracota-ink);
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--sans);
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--terracota-ink);
}
.italic { font-style: italic; }

/* -----------------------------
   BUTTONS
   ----------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 28px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.98rem;
    letter-spacing: 0.02em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    border: 2px solid transparent;
    white-space: nowrap;
    font-family: var(--sans);
}
.btn svg { width: 20px; height: 20px; }
.btn-wa {
    background: var(--terracota);
    color: var(--cream);
    box-shadow: 0 12px 28px -12px rgba(196, 112, 74, 0.55);
}
.btn-wa:hover { background: var(--terracota-ink); transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(142, 78, 46, 0.6); }
.btn-ghost {
    background: transparent;
    color: var(--cafe);
    border-color: var(--cafe);
}
.btn-ghost:hover { background: var(--cafe); color: var(--paper); transform: translateY(-2px); }
.btn-solid {
    background: var(--cafe);
    color: var(--paper);
}
.btn-solid:hover { background: var(--cafe-2); transform: translateY(-2px); }
.btn-mostarda {
    background: var(--mostarda);
    color: var(--cafe);
    box-shadow: 0 10px 24px -12px rgba(254, 183, 27, 0.7);
}
.btn-mostarda:hover { background: var(--mostarda-deep); transform: translateY(-2px); }

/* -----------------------------
   HEADER
   ----------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    border-bottom: 0;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
    background: var(--paper);
    box-shadow: 0 6px 24px -14px rgba(62, 42, 31, 0.35);
}
.site-header.scrolled .header-cta .btn-ghost,
.site-header.scrolled .header-cta .btn-wa {
    background: transparent;
    border-color: var(--cafe);
    color: var(--cafe);
    box-shadow: none;
}
.site-header.scrolled .header-cta .btn-ghost:hover,
.site-header.scrolled .header-cta .btn-wa:hover {
    background: var(--cafe);
    color: var(--paper);
    box-shadow: none;
}
body { position: relative; }
.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
}
.header-inner .brand { justify-self: start; }
.header-inner .nav { justify-self: center; }
.header-inner .header-cta { justify-self: end; }
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-mark {
    height: 58px;
    display: inline-flex;
    align-items: center;
}
.brand-mark img { height: 100%; width: auto; display: block; }
.brand-name {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.01em;
}
.brand-sub {
    font-family: var(--sans);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--cafe-3);
    margin-top: 4px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    padding: 6px;
    border-radius: 999px;
    background: transparent;
}
.nav a {
    padding: 8px 18px;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--cream);
    background: var(--terracota);
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 8px 18px -10px rgba(62, 42, 31, 0.4);
}
.nav a:hover { background: var(--terracota-ink); transform: translateY(-1px); }
.nav a.active {
    background: var(--terracota-ink);
    color: var(--cream);
}

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { padding: 12px 20px; font-size: 0.9rem; }
.header-cta .btn-ghost { font-weight: 700; }

/* Transparent style for header buttons */
.header-cta .btn-ghost,
.header-cta .btn-wa {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: var(--cafe);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.header-cta .btn-ghost:hover,
.header-cta .btn-wa:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--cafe);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -10px rgba(62, 42, 31, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.header-cta .btn-wa svg { color: var(--cafe); }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid var(--cafe);
    align-items: center;
    justify-content: center;
    color: var(--cafe);
}

@media (max-width: 1180px) {
    .header-cta .btn.btn-ghost { display: none; }
}
@media (max-width: 1024px) {
    .nav { display: none; }
    .nav-toggle { display: inline-flex; }
    .header-inner { grid-template-columns: 1fr auto; }
    .nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: absolute;
        top: calc(100% + 6px);
        left: 16px; right: 16px;
        padding: 8px;
        background: var(--paper);
        border: 1px solid var(--ink-line);
        border-radius: 16px;
        box-shadow: 0 12px 32px -12px rgba(62, 42, 31, 0.28);
    }
    .nav.open a {
        padding: 12px 14px;
        border-radius: 10px;
        border-bottom: 1px solid var(--ink-line);
        font-size: 0.95rem;
    }
    .nav.open a:last-child { border-bottom: 0; }
    .nav.open a:hover, .nav.open a.active { background: var(--paper-warm); }
}

/* -----------------------------
   HERO
   ----------------------------- */
.hero {
    position: relative;
    padding: 90px 0 90px;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-title {
    font-size: clamp(2.6rem, 5.2vw, 4.8rem);
    line-height: 1.12;
    margin: 24px 0 10px;
    font-weight: 500;
}
.hero-title em {
    font-style: italic;
    color: var(--terracota);
    font-weight: 400;
}
.hero-hand {
    font-family: var(--hand);
    font-size: inherit;
    color: var(--terracota-ink);
    font-weight: 500;
    display: inline;
    line-height: inherit;
}
.hero-lead {
    font-size: 1.15rem;
    color: var(--cafe-2);
    max-width: 46ch;
    margin-bottom: 34px;
}
.hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    color: var(--cafe);
    font-weight: 500;
    max-width: 44ch;
    margin: 0 0 28px;
    line-height: 1.4;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.hero-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--cafe-3);
}
.hero-meta .dot {
    display: inline-block;
    width: 8px; height: 8px;
    background: var(--verde);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(74, 139, 59, 0.2);
    margin-right: 8px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(74, 139, 59, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(74, 139, 59, 0.08); }
}

.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1.05;
    display: grid;
    place-items: center;
}
.hero-card {
    position: absolute;
    inset: 0;
    background: var(--mostarda);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    transform: rotate(-3deg);
}
.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.4), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(196, 112, 74, 0.15), transparent 50%);
}
.hero-doodles {
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='500' height='500' viewBox='0 0 500 500' fill='none' stroke='%233E2A1F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><g><path d='M40 60 l30 0 l0 20 l-30 0 z M85 65 l25 0 M85 75 l18 0'/><circle cx='450' cy='80' r='22'/><path d='M440 80 l6 8 l14 -16'/><path d='M60 200 q10 -20 25 -5 q10 15 -5 25'/><text x='40' y='320' font-family='sans' font-size='40' font-weight='700' fill='%233E2A1F' stroke='none'>A+</text><path d='M420 200 l40 60 l-40 30 z' /><circle cx='430' cy='400' r='18'/><path d='M420 400 l20 0'/><path d='M100 430 l50 -20 l30 20 l40 -30'/><path d='M240 60 l14 -14 l14 14 l-14 14 z'/><path d='M280 380 q20 -30 40 0 q20 30 40 0'/></g></svg>");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.hero-owl {
    position: relative;
    width: 88%;
    filter: drop-shadow(0 20px 30px rgba(62, 42, 31, 0.3));
    z-index: 2;
}
.hero-owl img { display: block; width: 100%; height: auto; }

.hero-badge {
    position: absolute;
    right: -20px; top: 30px;
    background: var(--cream);
    color: var(--cafe);
    padding: 12px 20px;
    border-radius: 999px;
    font-family: var(--hand);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--verde-deep);
    box-shadow: 0 12px 24px -10px rgba(62, 42, 31, 0.28);
    z-index: 3;
    line-height: 1.3;
    text-align: center;
}
.hero-sticker {
    position: absolute;
    left: -30px; bottom: 30px;
    background: var(--terracota);
    color: var(--cream);
    padding: 18px 22px;
    border-radius: 22px;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.3;
    max-width: 200px;
    box-shadow: 0 12px 24px -10px rgba(62, 42, 31, 0.28);
    z-index: 3;
}
.hero-sticker strong { display: block; font-size: 1.15rem; margin-bottom: 4px; font-family: var(--serif); font-weight: 500;}

/* Desktop: full-bleed banner */
@media (min-width: 901px) {
    .hero {
        background-image: url('../logo/cc12.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        background-color: var(--paper);
        padding: 0;
        aspect-ratio: 1940 / 810;
        min-height: 480px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    .hero .hero-grid {
        display: block;
        width: 100%;
    }
    .hero .hero-visual { display: none; }
    .hero .hero-title {
        font-size: clamp(2.4rem, 4vw, 3.8rem);
        max-width: 20ch;
        margin-inline: auto;
        margin-block: 0 10px;
        text-shadow: 0 2px 18px rgba(251, 243, 228, 0.55);
    }
    .hero .hero-subtitle {
        margin-inline: auto;
        text-align: center;
    }
    .hero .hero-actions {
        justify-content: center;
        margin-bottom: 0;
    }
}

@media (max-width: 900px) {
    .hero {
        background-image: url('../logo/bannermobilem.png');
        background-repeat: no-repeat;
        background-position: center bottom;
        background-size: cover;
        background-color: var(--mostarda);
        padding: 38% 0 0;
        aspect-ratio: 1122 / 1402;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        text-align: center;
        position: relative;
        overflow: hidden;
    }
    .hero::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 42px;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'><path d='M0,55 C240,-5 480,115 720,55 C960,-5 1200,115 1440,55 L1440,110 L0,110 Z' fill='%23EFE4C8'/></svg>");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        pointer-events: none;
        z-index: 1;
    }
    .hero .hero-grid { display: block; width: 100%; }
    .hero .hero-visual { display: none; }
    .hero .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.4rem);
        max-width: 16ch;
        margin: 0 auto 8px;
        color: var(--cafe);
        text-align: center;
        text-shadow: 0 2px 12px rgba(254, 183, 27, 0.4);
    }
    .hero .hero-subtitle {
        font-size: 0.85rem;
        max-width: 26ch;
        margin: 0 auto;
        text-align: center;
        line-height: 1.35;
    }
    .hero .hero-actions { display: none; }
    .hero-wave { display: none; }
}

.hero-wave {
    display: block;
    line-height: 0;
    margin-top: -1px;
    background: #EFE4C8;
}
.hero-wave svg { width: 100%; height: 90px; display: block; }
@media (max-width: 900px) { .hero-wave { display: none; } }

/* -----------------------------
   SECTION UTIL
   ----------------------------- */
section { padding: 90px 0; position: relative; }
.section-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 30px;
    margin-bottom: 60px;
}
.section-head p { max-width: 42ch; color: var(--cafe-2); font-size: 1.08rem; margin: 0; }
.section-head .link {
    font-weight: 500; color: var(--terracota-ink);
    border-bottom: 2px solid var(--mostarda);
    padding-bottom: 4px;
}
@media (max-width: 700px) {
    .section-head { grid-template-columns: 1fr; }
    section { padding: 60px 0; }
}

/* -----------------------------
   DIFERENCIAIS BAR
   ----------------------------- */
.diferenciais-strip {
    display: flex;
    align-items: stretch;
    background: var(--paper);
    border: 1px solid var(--ink-line);
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.dif-item {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 26px;
    border-right: 1px solid var(--ink-line);
    transition: background 0.25s ease;
}
.dif-item:last-child { border-right: 0; }
.dif-item:hover { background: var(--paper-warm); }
.dif-icon {
    order: 2;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--cafe);
    color: var(--mostarda);
}
.dif-icon svg { width: 20px; height: 20px; }
.dif-copy { order: 1; min-width: 0; }
.dif-item h4 {
    font-family: var(--serif);
    color: var(--cafe);
    font-size: 0.98rem;
    margin: 0 0 2px;
    letter-spacing: 0;
    font-weight: 500;
    line-height: 1.2;
}
.dif-item p { color: var(--cafe-3); font-size: 0.82rem; margin: 0; line-height: 1.35; }
@media (max-width: 900px) {
    .diferenciais-strip { flex-wrap: wrap; border-radius: var(--radius-l); }
    .dif-item {
        flex: 1 1 50%;
        border-right: 1px solid var(--ink-line);
        border-bottom: 1px solid var(--ink-line);
    }
    .dif-item:nth-child(2n) { border-right: 0; }
    .dif-item:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 500px) {
    .diferenciais-strip { flex-direction: column; border-radius: var(--radius-l); }
    .dif-item {
        flex: 1 1 auto;
        border-right: 0 !important;
        border-bottom: 1px solid var(--ink-line);
    }
    .dif-item:last-child { border-bottom: 0; }
}

/* -----------------------------
   FRENTES CARDS (Home)
   ----------------------------- */
.frentes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.frente-card {
    background: var(--paper);
    border-radius: var(--radius-l);
    padding: 34px 32px;
    border: 1px solid var(--ink-line);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.frente-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.frente-card .num {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 3.4rem;
    color: var(--terracota-soft);
    line-height: 0.8;
}
.frente-card h3 { margin: 0; font-family: var(--serif); font-weight: 500; }
.frente-card p { color: var(--cafe-2); margin: 0; font-size: 0.98rem; }
.frente-card .tag {
    display: inline-block;
    background: var(--mostarda-soft);
    color: var(--cafe);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    width: fit-content;
}
.frente-card .arrow {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--terracota-ink);
    font-weight: 500;
    font-size: 0.95rem;
}
.frente-card.featured {
    background: linear-gradient(150deg, var(--mostarda), var(--mostarda-deep));
    border: none;
    color: var(--cafe);
}
.frente-card.featured h3, .frente-card.featured p, .frente-card.featured .num { color: var(--cafe); }
.frente-card.featured .tag { background: var(--cafe); color: var(--mostarda); }
.frente-card.featured .num { color: rgba(62, 42, 31, 0.35); }
@media (max-width: 900px) { .frentes { grid-template-columns: 1fr; } }

/* -----------------------------
   ENROLLMENT BANNER
   ----------------------------- */
.enrollment {
    background: var(--terracota);
    color: var(--cream);
    border-radius: var(--radius-xl);
    padding: 60px 50px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.enrollment::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'><g fill='none' stroke='%23FBF3E4' stroke-width='2' opacity='0.15'><circle cx='60' cy='60' r='40'/><circle cx='340' cy='340' r='60'/><path d='M200 50 l30 30 l-30 30 l-30 -30 z'/><path d='M320 100 l40 0 M340 80 l0 40'/></g></svg>");
    background-size: 400px 400px;
    background-repeat: no-repeat;
    background-position: right top;
    opacity: 0.6;
}
.enrollment > * { position: relative; }
.enrollment h2 { color: var(--cream); font-family: var(--serif); font-weight: 500; margin: 0 0 16px; }
.enrollment p { color: rgba(253, 248, 237, 0.85); margin: 0 0 24px; font-size: 1.1rem; }
.enrollment .courses-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.enrollment .course-pill {
    background: rgba(253, 248, 237, 0.12);
    border: 1.5px solid rgba(253, 248, 237, 0.35);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.92rem;
    backdrop-filter: blur(4px);
}
.enrollment .date-card {
    background: var(--cream);
    color: var(--cafe);
    border-radius: var(--radius-l);
    padding: 30px 34px;
    text-align: center;
    box-shadow: var(--shadow-lift);
}
.enrollment .date-card .kicker {
    font-family: var(--hand);
    color: var(--terracota-ink);
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 12px;
}
.enrollment .date-card .month {
    font-family: var(--serif);
    font-size: 3.4rem;
    line-height: 1;
    font-weight: 500;
    color: var(--cafe);
    letter-spacing: -0.02em;
    display: block;
    margin: 8px 0;
}
.enrollment .date-card .year { font-weight: 500; letter-spacing: 0.3em; font-size: 0.85rem; color: var(--cafe-2); }
@media (max-width: 900px) {
    .enrollment { grid-template-columns: 1fr; padding: 40px 30px; }
    .enrollment .date-card { max-width: 260px; margin-inline: auto; }
}

/* -----------------------------
   TESTIMONIALS
   ----------------------------- */
.testimonials { padding-top: 40px; }
.testimonial-card {
    background: var(--paper);
    border-radius: var(--radius-l);
    padding: 40px;
    border: 1px dashed var(--terracota-soft);
    text-align: center;
    max-width: 700px;
    margin-inline: auto;
    position: relative;
}
.testimonial-card::before {
    content: '"';
    font-family: var(--serif);
    font-size: 6rem;
    color: var(--mostarda);
    line-height: 1;
    display: block;
    margin-bottom: -30px;
}
.testimonial-card p { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--cafe-2); }
.testimonial-card .note {
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--cafe-3);
    font-style: normal;
    display: block;
    margin-top: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* -----------------------------
   VISIT CTA
   ----------------------------- */
.visit-cta {
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
}
.visit-cta h2 { max-width: 20ch; margin-inline: auto; }
.visit-cta .subtitle {
    max-width: 50ch;
    margin: 20px auto 36px;
    color: var(--cafe-2);
    font-size: 1.1rem;
}
.visit-cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.visit-cta .doodle-left,
.visit-cta .doodle-right {
    position: absolute;
    font-family: var(--hand);
    color: var(--terracota-soft);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.7;
}
.visit-cta .doodle-left { left: 6%; top: 32%; }
.visit-cta .doodle-right { right: 6%; top: 62%; }
@media (max-width: 800px) { .visit-cta .doodle-left, .visit-cta .doodle-right { display: none; } }
.visit-cta.mostarda { background: var(--mostarda); }
.visit-cta.amarelo { background: #FED026; }

/* -----------------------------
   FOOTER
   ----------------------------- */
.site-footer {
    background: var(--cafe);
    color: var(--cream);
    padding: 80px 0 30px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(to right, var(--mostarda), var(--terracota), var(--verde), var(--mostarda));
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(253, 248, 237, 0.18);
}
.footer-brand .brand-name { color: var(--paper); font-size: 1.6rem; }
.footer-brand .footer-logo { display: block; width: 180px; max-width: 100%; height: auto; margin-bottom: 4px; }
.footer-brand .brand-sub { color: var(--mostarda); }
.footer-brand p { color: rgba(253, 248, 237, 0.7); margin-top: 20px; max-width: 30ch; font-size: 0.95rem; }
.footer-brand .footer-slogan {
    font-family: var(--hand);
    color: var(--mostarda);
    font-size: 1.2rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.35;
    margin-top: 24px;
    max-width: 30ch;
    display: block;
}
.footer-col h4 {
    color: var(--mostarda);
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { color: rgba(253, 248, 237, 0.75); font-size: 0.98rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--mostarda); }
.footer-legal {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    color: rgba(253, 248, 237, 0.55);
    font-size: 0.83rem;
}
.footer-legal strong { color: var(--paper); font-weight: 500; }
@media (max-width: 800px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* -----------------------------
   PAGE HERO (interior pages)
   ----------------------------- */
.page-hero {
    padding: 80px 0 60px;
    position: relative;
}
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    max-width: 20ch;
    margin: 0 0 24px;
}
.page-hero .lead {
    font-size: 1.2rem;
    color: var(--cafe-2);
    max-width: 60ch;
    margin-bottom: 0;
}
.crumbs {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--cafe-3);
    font-size: 0.85rem;
    margin-bottom: 26px;
    font-weight: 400;
    letter-spacing: 0.05em;
}
.crumbs a { color: var(--terracota-ink); }
.crumbs .sep { opacity: 0.5; }

/* -----------------------------
   HISTORIA / MISSION VISION
   ----------------------------- */
.history {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}
.history-pull {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    line-height: 1.25;
    color: var(--cafe);
    position: sticky;
    top: 100px;
    border-left: 4px solid var(--mostarda);
    padding: 10px 0 10px 26px;
}
.history-body { font-size: 1.08rem; color: var(--cafe-2); }
.history-body p { margin-bottom: 1.4em; }
.history-body p:first-child::first-letter {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 4.6rem;
    float: left;
    line-height: 0.9;
    padding: 6px 12px 0 0;
    color: var(--terracota);
}
@media (max-width: 900px) {
    .history { grid-template-columns: 1fr; gap: 30px; }
    .history-pull { position: static; }
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.mv-card {
    background: var(--paper);
    padding: 40px;
    border-radius: var(--radius-l);
    border: 1px solid var(--ink-line);
    position: relative;
}
.mv-card.mission { background: linear-gradient(160deg, var(--terracota), var(--terracota-ink)); color: var(--cream); border: none; }
.mv-card.vision { background: linear-gradient(160deg, var(--mostarda), var(--mostarda-deep)); color: var(--cafe); border: none; }
.mv-card h3 {
    font-family: var(--serif);
    font-size: 0.78rem;
    line-height: 1;
    color: inherit;
    margin: 0 0 20px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    display: inline-block;
    opacity: 0.9;
}
.mv-card p { font-size: 1.05rem; margin: 0; }
.mv-card.mission p { color: rgba(253, 248, 237, 0.9); }
@media (max-width: 700px) { .mv-grid { grid-template-columns: 1fr; } }

/* -----------------------------
   VALUES
   ----------------------------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.value {
    background: var(--paper);
    padding: 30px 26px;
    border-radius: var(--radius);
    border: 1px solid var(--ink-line);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.25s, background 0.25s;
}
.value:hover { transform: translateY(-4px); background: var(--paper-warm); }
.value .icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--mostarda-soft);
    color: var(--terracota-ink);
    display: grid; place-items: center;
}
.value .icon svg { width: 26px; height: 26px; }
.value h4 { font-family: var(--serif); margin: 0; font-weight: 500; }
.value p { margin: 0; color: var(--cafe-2); font-size: 0.95rem; }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .values-grid { grid-template-columns: 1fr; } }

/* -----------------------------
   COURSE DETAIL (Cursos page)
   ----------------------------- */
.course-tabs {
    display: inline-flex;
    padding: 6px;
    background: var(--paper);
    border-radius: 999px;
    border: 1px solid var(--ink-line);
    margin-bottom: 40px;
    gap: 4px;
}
.course-tab {
    padding: 10px 22px;
    font-weight: 500;
    font-size: 0.92rem;
    border-radius: 999px;
    color: var(--cafe-2);
    transition: 0.25s;
}
.course-tab.active { background: var(--cafe); color: var(--paper); }

.course-block {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 50px;
    padding: 60px 0;
    border-top: 1px solid var(--ink-line);
    align-items: start;
    position: relative;
}
.course-block:first-of-type { border-top: none; padding-top: 20px; }
.course-index {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 4.5rem;
    color: var(--terracota-soft);
    line-height: 0.85;
    letter-spacing: -0.02em;
    display: block;
}
.course-index small {
    display: block;
    font-family: var(--sans);
    font-style: normal;
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--cafe-3);
    margin-top: 10px;
    font-weight: 400;
}
.course-body h2 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; }
.course-body .subtitle {
    font-family: var(--hand);
    color: var(--terracota-ink);
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 400;
    display: block;
    margin-bottom: 20px;
    line-height: 1.2;
}
.course-body > p { color: var(--cafe-2); font-size: 1.05rem; max-width: 60ch; }
.course-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding: 26px 28px;
    background: var(--paper);
    border-radius: var(--radius);
    border: 1px solid var(--ink-line);
}
.fact .label {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cafe-3);
    font-weight: 400;
    display: block;
    margin-bottom: 6px;
}
.fact .value {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--cafe);
}
.course-body .actions {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.course-block.mostarda .course-index { color: var(--mostarda); }
.course-block.mostarda .course-facts { background: var(--mostarda); border-color: var(--mostarda-deep); }
.course-block.mostarda .fact .label { color: var(--cafe); opacity: 0.7; }
.course-block.mostarda .fact .value { color: var(--cafe); }
@media (max-width: 800px) {
    .course-block { grid-template-columns: 1fr; gap: 20px; }
    .course-index { font-size: 3rem; }
}

/* -----------------------------
   GALLERY (Estrutura page)
   ----------------------------- */
.gallery-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 70px;
}
.feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--paper);
    border-radius: var(--radius);
    border: 1px solid var(--ink-line);
}
.feature .icon-square {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--verde-soft);
    color: var(--verde-deep);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.feature .icon-square svg { width: 22px; height: 22px; }
.feature span { font-weight: 500; color: var(--cafe); font-size: 0.98rem; }
@media (max-width: 800px) { .gallery-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .gallery-features { grid-template-columns: 1fr; } }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 130px;
    gap: 16px;
}
.gallery-item {
    background: var(--paper-warm);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--ink-line);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lift); }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-item .placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--terracota-ink);
}
.gallery-item .placeholder svg { width: 40px; height: 40px; opacity: 0.55; }
.gallery-item .placeholder span {
    font-family: var(--sans);
    font-size: 0.85rem;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--terracota-ink);
}
.gallery-item.wide { grid-column: span 3; grid-row: span 2; }
.gallery-item.tall { grid-column: span 2; grid-row: span 2; }
.gallery-item.square { grid-column: span 2; grid-row: span 2; }
.gallery-item.small { grid-column: span 2; grid-row: span 1; }
.gallery-item.small-3 { grid-column: span 3; grid-row: span 1; }

@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
    .gallery-item.wide { grid-column: span 4; }
    .gallery-item.tall { grid-column: span 2; }
    .gallery-item.square { grid-column: span 2; }
    .gallery-item.small { grid-column: span 2; }
    .gallery-item.small-3 { grid-column: span 4; }
}
@media (max-width: 500px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.wide, .gallery-item.tall, .gallery-item.square, .gallery-item.small, .gallery-item.small-3 { grid-column: span 2; grid-row: span 1; }
}

/* -----------------------------
   CONTATO PAGE
   ----------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 50px;
    align-items: start;
}
.contact-card {
    background: var(--paper);
    padding: 44px 40px;
    border-radius: var(--radius-l);
    border: 1px solid var(--ink-line);
    box-shadow: var(--shadow-soft);
}
.contact-card h3 { margin: 0 0 8px; font-family: var(--serif); }
.contact-card .card-lead { color: var(--cafe-2); margin-bottom: 30px; }
.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cafe);
    font-weight: 700;
}
.field input, .field textarea, .field select {
    font: inherit;
    font-family: var(--sans);
    padding: 14px 16px;
    background: var(--cream);
    border: 1.5px solid var(--ink-line);
    border-radius: 12px;
    color: var(--cafe);
    transition: border 0.2s, background 0.2s;
    width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; font-family: var(--sans); }
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--terracota);
    background: var(--paper);
}
.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.form-note { font-size: 0.85rem; color: var(--cafe-3); margin: 0; }
@media (max-width: 700px) { .field-grid { grid-template-columns: 1fr; } }

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.info-block {
    background: var(--paper);
    padding: 24px 26px;
    border-radius: var(--radius);
    border: 1px solid var(--ink-line);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: transform 0.25s, background 0.25s;
}
.info-block:hover { transform: translateX(4px); }
.info-block .icon-round {
    width: 46px; height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.info-block .icon-round svg { width: 22px; height: 22px; }
.info-block h4 { margin: 0 0 4px; font-size: 1rem; font-family: var(--serif); font-weight: 500; }
.info-block p { margin: 0; color: var(--cafe-2); font-size: 0.95rem; }
.info-block a { color: var(--cafe); font-weight: 500; }
.info-block.wa .icon-round { background: var(--terracota); color: var(--cream); }
.info-block.mail .icon-round { background: var(--terracota); color: var(--cream); }
.info-block.ig .icon-round { background: var(--mostarda); color: var(--cafe); }
.info-block.map .icon-round { background: var(--cafe); color: var(--mostarda); }

.map-embed {
    margin-top: 60px;
    border-radius: var(--radius-l);
    overflow: hidden;
    border: 1px solid var(--ink-line);
    box-shadow: var(--shadow-soft);
    aspect-ratio: 21 / 9;
    position: relative;
}
.map-embed.contact-map {
    margin-top: 0;
    aspect-ratio: auto;
    height: 100%;
    min-height: 480px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: sepia(0.08) saturate(1.05); }
.map-cta {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--cafe);
    color: var(--paper);
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    z-index: 2;
}
.map-cta svg { width: 18px; height: 18px; }
.map-cta:hover { transform: translateY(-2px); background: var(--terracota-ink); box-shadow: 0 10px 26px rgba(0,0,0,0.22); }

.tour-video { display: none; }
@media (max-width: 900px) {
    .tour-video {
        display: block;
        position: relative;
        margin: 0 auto 30px;
        border-radius: var(--radius-l);
        overflow: hidden;
        border: 2px solid var(--cafe);
        box-shadow: 0 20px 48px -18px rgba(62, 42, 31, 0.35), 0 0 0 6px rgba(62, 42, 31, 0.06);
        background: var(--cafe);
        aspect-ratio: 9 / 16;
        max-width: 420px;
    }
    .tour-video video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: saturate(1.08) contrast(1.03);
    }
}

.fab-wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--cafe);
    color: #F5EBD0;
    display: grid;
    place-items: center;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(62, 42, 31, 0.28), 0 0 0 4px rgba(62, 42, 31, 0.18);
    z-index: 100;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    animation: fab-pulse 2.4s ease-in-out infinite;
}
.fab-wa:hover { transform: scale(1.08); background: var(--terracota-ink); color: #F5EBD0; box-shadow: 0 14px 32px rgba(62, 42, 31, 0.4); }
.fab-wa svg { width: 32px; height: 32px; }
@keyframes fab-pulse {
    0%, 100% { box-shadow: 0 10px 26px rgba(62, 42, 31, 0.28), 0 0 0 0 rgba(62, 42, 31, 0.45); }
    50% { box-shadow: 0 10px 26px rgba(62, 42, 31, 0.28), 0 0 0 14px rgba(62, 42, 31, 0); }
}
@media (max-width: 900px) {
    .fab-wa { right: 16px; bottom: 16px; width: 56px; height: 56px; }
    .fab-wa svg { width: 28px; height: 28px; }
}
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 24px; }
    .contact-card { padding: 24px 20px; border-radius: 20px; }
    .contact-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
    .contact-card .card-lead { font-size: 0.92rem; margin-bottom: 18px; line-height: 1.4; }
    .field-grid { gap: 12px; }
    .field { gap: 4px; }
    .field label { font-size: 0.7rem; letter-spacing: 0.1em; }
    .field input, .field textarea, .field select { padding: 11px 13px; border-radius: 10px; font-size: 0.95rem; }
    .field textarea { min-height: 100px; }
    .form-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 16px; }
    .form-actions .btn { width: 100%; justify-content: center; }
    .form-note { font-size: 0.78rem; text-align: center; }
    .map-embed { aspect-ratio: 4 / 3; }
    .map-embed.contact-map { min-height: 0; aspect-ratio: 4 / 3; }
    .map-cta { right: 12px; bottom: 12px; padding: 10px 14px; font-size: 0.85rem; }
}

/* -----------------------------
   TAB SWITCHER (Cursos)
   ----------------------------- */
.hidden-tab { display: none; }

/* -----------------------------
   ANIMATIONS
   ----------------------------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--delay, 0s);
}
[data-reveal].shown { opacity: 1; transform: translateY(0); }

/* -----------------------------
   HOME | ABOUT SUMMARY
   ----------------------------- */
.about-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-lead {
    font-family: var(--serif);
    font-size: clamp(1.15rem, 1.7vw, 1.4rem);
    line-height: 1.5;
    color: var(--cafe);
    font-weight: 500;
    margin: 0;
    max-width: 44ch;
    padding: 26px 28px;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-l);
    background: var(--paper);
}
.about-mv { gap: 18px; }
.about-mv .mv-card { padding: 28px; }
.about-mv .mv-card p { font-size: 0.98rem; }
.about-image img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-soft);
}
@media (max-width: 900px) {
    .about-summary { grid-template-columns: 1fr; gap: 30px; }
    .about-image { order: -1; }
    .about-image img { min-height: 220px; }
}

/* -----------------------------
   HOME | GALLERY PREVIEW
   ----------------------------- */
.gallery-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.preview-item {
    aspect-ratio: 1 / 1;
    background: var(--paper-warm);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--ink-line);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.preview-item:hover { transform: scale(1.02); box-shadow: var(--shadow-soft); }
.preview-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preview-ph {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--terracota-ink);
    padding: 16px;
    text-align: center;
}
.preview-ph svg { width: 36px; height: 36px; opacity: 0.5; }
.preview-ph span {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.2;
}
@media (max-width: 800px) { .gallery-preview { grid-template-columns: repeat(2, 1fr); } }

/* Marquee (infinite left scroll) */
.gallery-preview.marquee {
    display: block;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: marquee-scroll 28s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}
.marquee-track:hover { animation-play-state: paused; }
.gallery-preview.marquee .preview-item {
    flex: 0 0 calc((100vw - 80px) / 4);
    max-width: 300px;
    min-width: 180px;
}
.gallery-preview.marquee .preview-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
}
@keyframes marquee-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(calc(-50% - 7px), 0, 0); }
}
@media (max-width: 800px) {
    .gallery-preview.marquee .preview-item { flex-basis: 44vw; }
}

/* -----------------------------
   MISC
   ----------------------------- */
.divider-owl {
    text-align: center;
    color: var(--terracota-soft);
    font-family: var(--hand);
    font-size: 1.8rem;
    margin: 40px 0;
    letter-spacing: 6px;
}
