/* VARIABLES */
:root {
    --bg-main: #fcfbf8;
    --bg-secondary: #f2efe7;
    --text-dark: #2a3630;
    --text-muted: #57655b;
    --accent: #b0765d;
    /* Terracotta */
    --accent-hover: #965b43;
    --light-accent: #e3d9cc;
    --white: #ffffff;

    --font-serif: "Playfair Display", serif;
    --font-sans: "Outfit", sans-serif;

    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 100px;
    /* Pill */

    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
}

em {
    font-style: italic;
    color: var(--accent);
}

.section-padding {
    padding: 6rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 8rem 0;
    }
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-muted);
}

.divider {
    width: 60px;
    height: 2px;
    background-color: var(--accent);
    margin: 2rem 0;
}

.divider.center {
    margin: 2rem auto;
}

.divider.light {
    background-color: var(--light-accent);
}

/* BUTTONS */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(176, 118, 93, 0.25);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(145, 93, 67, 0.35);
}

.btn-primary.large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

.btn-nav {
    display: inline-block;
    border: 1px solid var(--accent);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-nav:hover {
    background-color: var(--accent);
    color: var(--white);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(252, 251, 248, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo span:first-child {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1;
}

.logo .logo-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* HERO SECTION */
.hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.shape-1 {
    top: -10%;
    left: -5%;
    width: 50vw;
    height: 50vw;
    background: rgba(227, 217, 204, 0.6);
}

.shape-2 {
    bottom: -10%;
    right: -5%;
    width: 40vw;
    height: 40vw;
    background: rgba(176, 118, 93, 0.15);
}

/* GRADIENT LAYER (WAVES/BLOBS EFFECT) */
.gradient-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background-color: var(--bg-secondary);
}

.gradient-layer::before,
.gradient-layer::after {
    content: "";
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(40px);
    opacity: 0.6;
    animation: morph 12s linear infinite alternate;
}

.gradient-layer::before {
    top: -15%;
    left: -15%;
    width: 80vw;
    height: 80vw;
    max-width: 600px;
    max-height: 600px;
    background: var(--light-accent);
    transform-origin: 50% 50%;
}

.gradient-layer::after {
    bottom: -15%;
    right: -15%;
    width: 70vw;
    height: 70vw;
    max-width: 500px;
    max-height: 500px;
    background: rgba(176, 118, 93, 0.4);
    animation-delay: -6s;
    animation-duration: 15s;
    transform-origin: calc(50% + 100px) calc(50% + 50px);
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(0deg) scale(0.9);
    }
    34% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
        transform: rotate(120deg) scale(1.1);
    }
    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
        transform: rotate(240deg) scale(0.95);
    }
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(360deg) scale(1.05);
    }
}

/* PARTICLES LAYER */
.particles-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background-color: var(--accent);
    border-radius: 50%;
    opacity: 0;
    filter: blur(1px);
    animation: floatUp 15s infinite ease-in-out;
}

.particle.p1 { left: 10%; width: 4px; height: 4px; animation-duration: 18s; animation-delay: 0s; }
.particle.p2 { left: 25%; width: 6px; height: 6px; animation-duration: 22s; animation-delay: 4s; }
.particle.p3 { left: 45%; width: 3px; height: 3px; animation-duration: 15s; animation-delay: 2s; }
.particle.p4 { left: 60%; width: 5px; height: 5px; animation-duration: 25s; animation-delay: 8s; }
.particle.p5 { left: 75%; width: 4px; height: 4px; animation-duration: 19s; animation-delay: 5s; }
.particle.p6 { left: 85%; width: 7px; height: 7px; animation-duration: 23s; animation-delay: 1s; opacity: 0.3; }
.particle.p7 { left: 15%; width: 3px; height: 3px; animation-duration: 20s; animation-delay: 12s; }
.particle.p8 { left: 90%; width: 5px; height: 5px; animation-duration: 17s; animation-delay: 7s; }

@keyframes floatUp {
    0% {
        bottom: -5%;
        opacity: 0;
        transform: translateX(0) scale(0.8);
    }
    20% {
        opacity: 0.4;
    }
    50% {
        transform: translateX(20px) scale(1.2);
    }
    80% {
        opacity: 0.4;
    }
    100% {
        bottom: 105%;
        opacity: 0;
        transform: translateX(-20px) scale(0.8);
    }
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
}

.tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-lg);
    background-color: var(--bg-secondary);
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.tag.light {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0 auto 2.5rem;
    max-width: 90%;
}

.hero-visual {
    position: relative;
}

.img-wrapper {
    border-radius: 120px 120px 20px 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.img-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: rgba(252, 251, 248, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.floating-badge span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.floating-badge strong {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-dark);
}

/* ABOUT SECTION */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img-box {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-img-box img {
    aspect-ratio: 4/5;
    object-fit: cover;
}

.bg-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: var(--radius-md);
    z-index: 1;
}

.about-content .section-title {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.about-content p {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}

/* PROBLEM SECTION */
.problem {
    background-color: var(--bg-secondary);
    text-align: center;
}

.problem-container {
    max-width: 800px;
}

.pre-title {
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.95rem;
    color: #4a5a51; /* Deeper, rich muted green/gray */
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.problem-title {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.problem-text-box {
    background: var(--white);
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    max-width: 650px;
    margin: 0 auto;
}

.problem-text-box p {
    font-size: 1.25rem;
    color: #4a5550;
    margin-bottom: 1.8rem;
    line-height: 1.8;
}

.problem-text-box p:last-child {
    margin-bottom: 0;
}

/* SOLUTION TRANSITION */
.transition {
    background-color: var(--white);
}

.transition-container {
    max-width: 800px;
}

.transition-text {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    line-height: 1.5;
    color: var(--text-dark);
    text-align: center;
}

/* RECONEXÃO - THE SOLUTION */
.solution {
    background-color: var(--text-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.solution::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at top right,
            rgba(176, 118, 93, 0.15),
            transparent 60%);
}

.solution-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.solution-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-top: 1.5rem;
}

.solution-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.solution-desc {
    font-size: 1.25rem;
    color: #a0aa9b;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: flex-start;
    padding-left: 2rem;
}

.features-list li {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: #e2e4df;
}

.features-list .spark-icon {
    margin-right: 15px;
    flex-shrink: 0;
}

.solution-visual {
    display: flex;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 3rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.glass-card h3 {
    color: var(--white);
    font-size: 2rem;
    font-style: italic;
    line-height: 1.4;
}

/* CTA FINAL */
.cta {
    background-color: var(--bg-main);
    background-image: radial-gradient(circle at bottom,
            rgba(176, 118, 93, 0.1),
            transparent 50%);
}

.cta-title {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cta-subtitle {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--accent);
    font-style: italic;
}

.cta-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.mt-4 {
    margin-top: 2.5rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(176, 118, 93, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(176, 118, 93, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(176, 118, 93, 0);
    }
}

/* FOOTER */
.footer {
    background-color: var(--text-dark);
    padding: 3rem 0;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo span:first-child {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}

.footer-logo .logo-sub {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ANIMATIONS */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes fadeUpAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* RESPONSIVE */
@media (max-width: 992px) {

    .hero-container,
    .about-grid,
    .solution-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero {
        padding-top: 6rem;
        text-align: center;
    }

    .hero-visual {
        order: -1;
        margin-top: 2rem;
        display: flex;
        justify-content: center;
    }

    .img-wrapper {
        border-radius: 40px;
        width: 100%;
        max-width: 500px;
    }

    .img-wrapper img {
        height: 400px;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .floating-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        width: max-content;
    }

    .hero-content h1,
    .problem-title,
    .solution-title,
    .cta-title {
        font-size: 2.5rem;
    }

    .about-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {

    .hero-content h1,
    .problem-title,
    .solution-title,
    .cta-title {
        font-size: 2rem;
    }

    .about-content .section-title {
        font-size: 2.2rem;
    }

    .glass-card {
        padding: 3rem 2rem;
    }

    .glass-card h3 {
        font-size: 1.5rem;
    }
}