/* Reset and Base Styles */
:root {
    --primary: #78564e;
    --secondary: #845051;
    --background: #fff8f5;
    --surface-container-lowest: #ffffff;
    --deep-charcoal: #2D2928;
    --on-surface-variant: #504441;
    --on-primary: #ffffff;
    --soft-clay: #F7E8E4;
    --primary-container: #b38b82;
    --surface: #fff8f5;
    --surface-variant: #e8e1de;

    --font-inter: 'Inter', sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;

    --margin-mobile: 20px;
    --gutter: 24px;
    --container-max: 1280px;
    --base: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--background);
    color: var(--deep-charcoal);
    font-family: var(--font-inter);
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Material Symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Layout */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* Hero Section */
.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    z-index: 0;
    overflow: hidden;
}

.hero-overlay.mix-blend {
    position: absolute;
    inset: 0;
    background-color: rgba(120, 86, 78, 0.1);
    mix-blend-mode: multiply;
    z-index: 10;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url("cutilagem.png");
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transform-origin: center;
    transition: transform 20s ease-out;
}

.hero-overlay.backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    z-index: 20;
}

.spacer {
    height: 40vh;
    width: 100%;
    flex-shrink: 0;
    z-index: 10;
    pointer-events: none;
}

/* Content Card Wrapper */
.content-card-wrapper {
    position: relative;
    z-index: 30;
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 var(--margin-mobile);
}

@media (min-width: 768px) {
    .content-card-wrapper {
        padding: 0 var(--gutter);
    }
}

/* Content Card */
.content-card {
    width: 100%;
    max-width: 56rem; /* 896px */
    margin: 0 auto;
    background-color: var(--surface-container-lowest);
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -8px 30px rgba(179, 139, 130, 0.08);
    padding: 3rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .content-card {
        border-radius: 48px 48px 0 0;
        padding-top: 4rem;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* Accent Bar */
.accent-bar {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 0.25rem;
    background-color: rgba(179, 139, 130, 0.3);
    border-radius: 0 0 9999px 9999px;
}

/* Domain Display */
.domain-title {
    margin-bottom: 2rem;
}

.domain-title h1 {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -0.01em;
    color: var(--deep-charcoal);
}

@media (min-width: 768px) {
    .domain-title h1 {
        font-size: 64px;
        line-height: 72px;
        letter-spacing: -0.02em;
    }
}

/* Messaging */
.messaging-text {
    font-size: 18px;
    line-height: 28px;
    color: var(--on-surface-variant);
    max-width: 42rem; /* 672px */
    margin: 0 auto 3rem;
}

/* Actions */
.actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .actions {
        flex-direction: row;
    }
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: var(--on-primary);
    border-radius: 9999px;
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(120, 86, 78, 0.2);
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .btn-primary {
        width: auto;
    }
}

.btn-primary:hover {
    background-color: var(--secondary);
    box-shadow: 0 6px 20px rgba(132, 80, 81, 0.25);
    transform: translateY(-2px);
}

.btn-primary .icon {
    font-size: 16px;
}

/* Trust Badges */
.trust-badges {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid rgba(232, 225, 222, 1);
    padding-top: 3rem;
}

@media (min-width: 768px) {
    .trust-badges {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.badge-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: var(--soft-clay);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.badge-text h3 {
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--deep-charcoal);
    margin-bottom: 0.5rem;
}

.badge-text p {
    font-size: 14px;
    line-height: 20px;
    color: var(--on-surface-variant);
}

/* Footer */
.footer {
    position: relative;
    z-index: 30;
    width: 100%;
    padding-top: var(--base);
    padding-bottom: var(--base);
    background-color: var(--surface);
    border-top: 1px solid rgba(232, 225, 222, 0.5);
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem var(--gutter);
    max-width: var(--container-max);
    margin: 0 auto;
    height: 100%;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        gap: 0;
    }
}

.footer-title {
    font-family: var(--font-montserrat);
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    color: var(--primary);
}

@media (min-width: 768px) {
    .footer-title {
        font-size: 32px;
        line-height: 40px;
    }
}

/* Layout adaptável para telas grandes (>1280px) sem scroll */
@media (min-width: 1281px) {
    body {
        height: 100vh;
        overflow: hidden;
    }

    .main-content {
        flex-direction: row;
    }

    .hero-background {
        position: relative;
        width: 50%;
        height: 100vh;
    }

    .spacer {
        display: none;
    }

    .content-card-wrapper {
        width: 50%;
        height: 100vh;
        padding: 0;
        background-color: var(--surface-container-lowest);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .content-card {
        border-radius: 0;
        box-shadow: none;
        padding: 0 4rem;
        margin: 0;
        height: auto;
        justify-content: center;
    }

    .accent-bar {
        display: none;
    }

    .footer {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 50%;
        background: transparent;
        border: none;
        pointer-events: none;
    }

    .footer-content {
        justify-content: center;
        padding-bottom: 2rem;
    }
}
