/* ==========================================================
   TROIA — PREMIUM LANDING PAGE
   ========================================================== */

:root {
    --bg: #050505;
    --bg-soft: #090909;
    --surface: #0d0d0d;
    --surface-light: #131313;
    --gold: #d1a640;
    --gold-light: #edc765;
    --white: #f7f4ed;
    --muted: #aaa7a0;
    --line: rgba(255, 255, 255, 0.08);
    --container: 1440px;
    --header-height: 112px;
    --radius: 24px;
    --transition: 300ms ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: clip;
}

body {
    min-width: 320px;
    width: 100%;
    overflow-x: clip;
    background:
        radial-gradient(circle at 80% 18%, rgba(209, 166, 64, 0.06), transparent 28%),
        var(--bg);
    color: var(--white);
    font-family: "Outfit", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

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

::selection {
    background: var(--gold);
    color: #050505;
}

/* Header */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid var(--line);
    background: rgba(5, 5, 5, 0.82);
    backdrop-filter: blur(18px);
    transition: background var(--transition), height var(--transition);
}

.site-header.scrolled {
    height: 88px;
    background: rgba(5, 5, 5, 0.96);
}

.header-inner {
    height: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 56px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-width: max-content;
}

.brand-icon-wrap {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(209, 166, 64, 0.35);
    border-radius: 50%;
    flex: 0 0 62px;
    background: radial-gradient(circle, rgba(209,166,64,.10), transparent 68%);
    box-shadow: 0 0 20px rgba(209, 166, 64, 0.14);
}

.brand-icon {
    width: 88%;
    height: 88%;
    object-fit: contain;
    filter: drop-shadow(0 0 7px rgba(209,166,64,.22));
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-copy strong {
    font-size: 29px;
    letter-spacing: 7px;
    font-weight: 400;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--gold);
    letter-spacing: 4px;
    font-size: 11px;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 42px;
}

.main-nav a {
    position: relative;
    color: #d2d0cb;
    font-size: 15px;
    transition: color var(--transition);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -9px;
    height: 1px;
    background: var(--gold);
    transition: right var(--transition);
}

.main-nav a:hover {
    color: var(--white);
}

.main-nav a:hover::after {
    right: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 58px;
    padding: 0 34px;
    border-radius: 999px;
    font-weight: 600;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.button-primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #090806;
    box-shadow: 0 16px 45px rgba(209, 166, 64, 0.16);
}

.button-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(209, 166, 64, 0.3);
}

.header-cta {
    min-height: 54px;
    padding-inline: 30px;
    font-size: 14px;
}

.menu-toggle {
    display: none;
}

/* Hero */

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-height);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(0,0,0,0.45), rgba(0,0,0,0.08)),
        radial-gradient(circle at 76% 44%, rgba(209, 166, 64, 0.1), transparent 34%),
        #050505;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 85%, transparent);
}

.hero-glow {
    position: absolute;
    width: 840px;
    height: 840px;
    right: -120px;
    top: 55%;
    border-radius: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(209,166,64,0.14), transparent 67%);
    filter: blur(25px);
}

.hero-layout {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - var(--header-height));
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    grid-template-rows: 1fr auto;
    column-gap: 60px;
    align-items: center;
    padding-top: 65px;
    padding-bottom: 28px;
}

.hero-copy {
    align-self: center;
    max-width: 840px;
    padding-bottom: 55px;
}

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 5px;
    margin-bottom: 28px;
}

.hero h1 {
    max-width: 900px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(64px, 5.3vw, 96px);
    line-height: 0.94;
    font-weight: 600;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--gold);
}

.hero-copy > p {
    max-width: 700px;
    margin-top: 34px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    margin-top: 38px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.method-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #dedbd5;
    font-size: 16px;
}

.method-link > span:last-child {
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(209, 166, 64, 0.6);
}

.play-icon {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(209, 166, 64, 0.55);
    border-radius: 50%;
    color: var(--gold);
    font-size: 11px;
    transition: background var(--transition), color var(--transition);
}

.method-link:hover .play-icon {
    background: var(--gold);
    color: #050505;
}

.hero-visual {
    position: relative;
    align-self: stretch;
    min-height: 600px;
    display: grid;
    place-items: center;
}

.horse-ring {
    position: absolute;
    width: min(500px, 88%);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(237, 199, 101, 0.72);
    box-shadow:
        0 0 35px rgba(209,166,64,0.14),
        inset 0 0 35px rgba(209,166,64,0.05);
}

.horse-ring::before,
.horse-ring::after {
    content: "";
    position: absolute;
    inset: 5%;
    border-radius: inherit;
    border: 1px solid rgba(209,166,64,0.12);
}

.horse-ring::after {
    inset: -7%;
    border-color: rgba(209,166,64,0.07);
}

.horse-particles {
    position: absolute;
    width: 80%;
    height: 72%;
    background:
        radial-gradient(circle at 20% 70%, rgba(209,166,64,0.65) 0 1px, transparent 2px),
        radial-gradient(circle at 86% 32%, rgba(209,166,64,0.48) 0 1px, transparent 2px),
        radial-gradient(circle at 70% 82%, rgba(209,166,64,0.4) 0 1px, transparent 2px);
    background-size: 64px 64px, 87px 87px, 73px 73px;
    opacity: 0.45;
    filter: blur(0.2px);
}

.horse-image {
    position: relative;
    z-index: 2;
    width: min(480px, 88%);
    max-height: 610px;
    object-fit: contain;
    animation: horseFloat 6s ease-in-out infinite;
    filter:
        drop-shadow(0 34px 34px rgba(0,0,0,0.78))
        drop-shadow(0 0 22px rgba(209,166,64,0.18));
    transform-origin: center bottom;
}

@keyframes horseFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Process inside hero */

.hero-process {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 70px 1fr 70px 1fr 70px 1fr;
    align-items: center;
    gap: 18px;
    padding: 24px 0 8px;
}

.process-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    gap: 22px;
}

.process-number {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    flex: 0 0 72px;
    border: 1px solid rgba(209,166,64,0.55);
    border-radius: 50%;
    color: var(--gold);
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    font-weight: 600;
}

.process-item h2 {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 500;
}

.process-item p {
    color: #96938d;
    font-size: 13px;
    line-height: 1.55;
}

.process-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(209,166,64,0.7), rgba(209,166,64,0.08));
}

/* Remaining sections */

.content-section {
    padding: 120px 0;
}

.surface-section {
    border-block: 1px solid var(--line);
    background: var(--bg-soft);
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 100px;
    align-items: start;
}

.section-title {
    max-width: 950px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(52px, 5vw, 80px);
    line-height: 1;
    font-weight: 600;
}

.section-title.narrow {
    max-width: 820px;
}

.section-text {
    color: var(--muted);
    font-size: 19px;
    line-height: 1.9;
}

.solution-grid {
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.solution-card {
    min-height: 280px;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(150deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
    transition: transform var(--transition), border-color var(--transition);
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: rgba(209,166,64,0.6);
}

.solution-card > span {
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 3px;
}

.solution-card h3 {
    margin-top: 56px;
    font-family: "Cormorant Garamond", serif;
    font-size: 32px;
    line-height: 1.05;
}

.solution-card p {
    margin-top: 18px;
    color: var(--muted);
    line-height: 1.7;
}

.metric-grid {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-block: 1px solid var(--line);
}

.metric-grid article {
    padding: 60px 40px;
    text-align: center;
}

.metric-grid article + article {
    border-left: 1px solid var(--line);
}

.metric-grid strong {
    display: block;
    color: var(--gold);
    font-family: "Cormorant Garamond", serif;
    font-size: 82px;
    font-weight: 600;
}

.metric-grid span {
    color: var(--muted);
    font-size: 15px;
}

.data-note {
    margin-top: 20px;
    color: #77736b;
    font-size: 12px;
    text-align: center;
}

.contact-section {
    padding: 60px 0 140px;
}

.contact-box {
    padding: 110px 70px;
    text-align: center;
    border: 1px solid rgba(209,166,64,0.3);
    border-radius: 32px;
    background:
        radial-gradient(circle at 50% 110%, rgba(209,166,64,0.14), transparent 50%),
        #090909;
}

.contact-box h2 {
    max-width: 900px;
    margin-inline: auto;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(52px, 5vw, 80px);
    line-height: 1;
}

.contact-box p {
    max-width: 700px;
    margin: 28px auto 36px;
    color: var(--muted);
    line-height: 1.8;
}

.site-footer {
    padding: 50px 0;
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-inner p {
    color: #77736d;
    font-size: 13px;
}

/* Reveal animation */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */

@media (max-width: 1180px) {
    .container {
        width: min(var(--container), calc(100% - 48px));
    }

    .header-inner {
        grid-template-columns: auto 1fr auto;
        gap: 30px;
    }

    .main-nav {
        gap: 24px;
    }

    .hero-layout {
        grid-template-columns: 1fr 0.78fr;
        column-gap: 28px;
    }

    .hero-process {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }

    .process-line {
        display: none;
    }

    .process-item {
        grid-template-columns: 58px 1fr;
        gap: 14px;
    }

    .process-number {
        width: 58px;
        height: 58px;
    }

    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    :root {
        --header-height: 86px;
    }

    .container {
        width: min(var(--container), calc(100% - 36px));
    }

    .site-header {
        height: var(--header-height);
    }

    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .brand-icon-wrap {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .brand-copy strong {
        font-size: 23px;
    }

    .main-nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
        display: grid;
        place-content: center;
        gap: 7px;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 18px;
        height: 1px;
        background: var(--white);
    }

    .main-nav.open {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 18px;
        border-bottom: 1px solid var(--line);
        background: rgba(5,5,5,0.98);
    }

    .main-nav.open a {
        padding: 18px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        padding-top: 70px;
    }

    .hero-copy {
        max-width: 760px;
        padding-bottom: 10px;
    }

    .hero h1 {
        font-size: clamp(56px, 11vw, 78px);
    }

    .hero-visual {
        min-height: 560px;
    }

    .horse-image {
        max-height: 580px;
    }

    .hero-process {
        grid-template-columns: repeat(2, 1fr);
        padding-bottom: 35px;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .metric-grid article + article {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 620px) {
    .container {
        width: calc(100% - 28px);
    }

    .brand-copy small {
        display: none;
    }

    .hero-layout {
        padding-top: 48px;
    }

    .hero h1 {
        font-size: clamp(46px, 14vw, 64px);
        letter-spacing: -1px;
    }

    .hero-copy > p {
        font-size: 16px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
    }

    .method-link {
        justify-content: center;
    }

    .hero-visual {
        min-height: 440px;
    }

    .horse-ring {
        width: 94%;
    }

    .horse-image {
        width: 100%;
        max-height: 460px;
    }

    .hero-process {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-item {
        grid-template-columns: 64px 1fr;
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 100px 0;
    }

    .contact-box {
        padding: 80px 24px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* Conteúdo atualizado */
.about-copy {
    display: grid;
    gap: 20px;
}

.about-copy .section-text {
    margin: 0;
}



/* Ajustes finais de layout */
#sobre {
    overflow: hidden;
}

#sobre .two-column {
    align-items: start;
}

#sobre .section-title {
    max-width: 680px;
}

#sobre .about-copy {
    max-width: 620px;
    justify-self: end;
}

@media (max-width: 900px) {
    #sobre .about-copy {
        max-width: none;
        justify-self: stretch;
    }
}
