:root {
    --marfim: #F7F4F0;
    --branco: #FFFFFF;
    --grafite: #1C1C1E;
    --cinza: #6E6E73;
    --dourado: #B89A6A;
    --bege: #E8D9CC;

    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'DM Sans', sans-serif;
}

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

body {
    background-color: var(--marfim);
    color: var(--grafite);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-display);
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Typography styles */
.label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dourado);
    margin-bottom: 1rem;
    font-weight: 500;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--cinza);
    max-width: 600px;
    font-weight: 300;
}

.subtitle-small {
    font-size: 0.875rem;
    color: var(--cinza);
    margin-top: 0.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Navbar (Glassmorphism) */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(247, 244, 240, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(184, 154, 106, 0.1);
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: var(--grafite);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
    cursor: pointer;
}

.btn-primary,
.cta-nav {
    background-color: var(--grafite);
    color: var(--branco);
    border: 1px solid var(--grafite);
}

.cta-nav {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
    cursor: pointer;
}

.btn-primary:hover,
.cta-nav:hover {
    background-color: transparent;
    color: var(--grafite);
}

.btn-secondary {
    background-color: transparent;
    color: var(--grafite);
    border: 1px solid rgba(28, 28, 30, 0.2);
}

.btn-secondary:hover {
    border-color: var(--grafite);
    background-color: rgba(232, 217, 204, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    /* For parallax */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: opacity 1s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(247, 244, 240, 0.95) 0%, rgba(247, 244, 240, 0.6) 100%);
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
    margin-top: -30vh;
    /* Nudge content up */
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--grafite);
    max-width: 800px;
}

.hero .hero-ctas {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* Topics Section */
.topics-section {
    padding: 8rem 0;
    background-color: var(--branco);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.topic-card {
    padding: 2rem;
    background: var(--branco);
    border: 1px solid rgba(232, 217, 204, 0.3);
    border-radius: 4px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.icon-gold {
    color: var(--dourado);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.topic-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.topic-card p {
    color: var(--cinza);
    font-size: 0.9375rem;
}

/* Featured Section */
.featured-section {
    padding: 8rem 0;
    overflow: hidden;
}

.featured-flex {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.featured-text {
    flex: 1;
}

.featured-text h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.content-body p {
    color: var(--cinza);
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0;
}

.badge {
    background: rgba(232, 217, 204, 0.4);
    color: var(--grafite);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border: 1px solid rgba(184, 154, 106, 0.2);
}

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

.featured-image {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.glass-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(28, 28, 30, 0.1);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.6s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-card:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.glass-card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
}

/* Results Section (Before/After) */
.results-section {
    padding: 8rem 0;
    background-color: var(--branco);
}

.results-section h2 {
    font-size: 2.5rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.result-card {
    background: var(--marfim);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: ew-resize;
}

.slider-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.before-img {
    z-index: 1;
}

.after-img {
    z-index: 2;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--dourado);
    z-index: 3;
    pointer-events: none;
    transform: translateX(-50%);
}

.slider-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--branco);
    border: 2px solid var(--dourado);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slider-handle i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--dourado);
    font-size: 1.2rem;
}

.result-info {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--branco);
    border-top: 1px solid rgba(232, 217, 204, 0.5);
}

.result-info h4 {
    font-size: 1.125rem;
}

.result-info span {
    font-size: 0.8125rem;
    color: var(--cinza);
    background: var(--marfim);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

/* Services Grid */
.services-section {
    padding: 8rem 0;
    background-color: var(--marfim);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--branco);
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-item:hover {
    border-color: rgba(184, 154, 106, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    transform: translateY(-2px);
}

.service-item i {
    font-size: 2rem;
    flex-shrink: 0;
}

.service-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-item p {
    color: var(--cinza);
    font-size: 0.9375rem;
}

/* Footer */
footer {
    background-color: var(--grafite);
    color: var(--branco);
    padding: 6rem 0;
}

footer h3 {
    font-size: 2rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    color: var(--marfim);
}

footer p {
    color: rgba(255, 255, 255, 0.7);
}

.copyright {
    margin-top: 4rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

.developer-info {
    margin-top: 2rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.developer-info strong {
    color: var(--branco);
    font-weight: 500;
}

.portfolio-note {
    font-size: 0.8125rem;
    opacity: 0.8;
}

.developer-info a {
    color: var(--dourado);
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-info a:hover {
    color: var(--branco);
}

/* About Us Section Styles */
.about-section {
    padding: 10rem 0;
    background-color: var(--branco);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.about-highlight {
    background-color: rgba(232, 217, 204, 0.3);
    padding: 2rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    border-left: 3px solid var(--dourado);
}

.about-highlight p {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--grafite);
}

.about-body p {
    color: var(--cinza);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-info-box {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(184, 154, 106, 0.2);
    border-bottom: 1px solid rgba(184, 154, 106, 0.2);
    margin-bottom: 3rem;
}

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

.info-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--grafite);
}

.info-value {
    font-size: 0.875rem;
    color: var(--cinza);
}

.btn-discover {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: #4a2c2a;
    color: var(--branco);
    padding: 1.25rem 2.5rem;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.btn-discover:hover {
    background-color: var(--grafite);
    transform: translateX(5px);
}

.about-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
}

.vertical-text-wrapper {
    position: absolute;
    left: -40px;
    bottom: 0;
    height: 90%;
    width: 120px;
    background-color: #FDF5EF;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.vertical-text {
    transform: rotate(-90deg);
    white-space: nowrap;
    font-family: var(--font-display);
    font-size: 4rem;
    color: #E8D9CC;
    opacity: 0.8;
}

.about-image-container {
    width: 100%;
    position: relative;
    z-index: 2;
    margin-left: 40px;
}

.about-image-container img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05);
}

.benefits-mirror-section {
    padding: 10rem 0;
    background-color: var(--branco);
}

.mirror-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: center;
}

.mirror-frame {
    width: 320px;
    height: 520px;
    border-radius: 500px;
    overflow: hidden;
    border: 1px solid rgba(184, 154, 106, 0.2);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
    background: var(--marfim);
}

.mirror-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mirror-frame:hover img {
    transform: scale(1.05);
}

.benefit-card,
.benefit-card-rev {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.benefit-card {
    justify-content: flex-end;
    text-align: right;
}

.benefit-card-rev {
    justify-content: flex-start;
    text-align: left;
}

.benefit-icon-ring {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--marfim);
    border: 1px solid rgba(184, 154, 106, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dourado);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon-ring,
.benefit-card-rev:hover .benefit-icon-ring {
    background: var(--branco);
    border-color: var(--dourado);
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(184, 154, 106, 0.1);
}

.benefit-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--cinza);
    font-size: 0.875rem;
    max-width: 250px;
}

.mb-5 {
    margin-bottom: 5rem;
}

/* ========================================================================= */
/* Responsividade Avançada (Monitores Menores, Notebooks, Tablets e Celulares) */
/* ========================================================================= */

/* Notebooks e Monitores Menores (até 1200px) */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }

    .hero h1 {
        font-size: clamp(3rem, 5vw, 4.5rem);
    }

    .featured-flex {
        gap: 4rem;
    }

    .topics-grid {
        gap: 3rem;
    }

    .results-grid {
        gap: 2rem;
    }
}

/* Tablets Landscape e Notebooks Pequenos (até 992px) */
@media (max-width: 992px) {
    .featured-flex {
        flex-direction: column;
        gap: 4rem;
        text-align: center;
    }

    .featured-text {
        order: 1;
    }

    .featured-image {
        order: 2;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .badges {
        justify-content: center;
    }

    .hero-content {
        padding-top: 3rem;
        margin-top: -20vh;
        /* Reduced from 6rem to keep it higher */
    }

    .topics-section,
    .about-section,
    .benefits-mirror-section,
    .featured-section,
    .results-section,
    .services-section {
        padding: 6rem 0;
    }

    .mirror-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .benefits-cards-left,
    .benefits-cards-right {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .benefit-card {
        flex-direction: column-reverse; /* Inverte para Icone ficar em cima no mobile */
        justify-content: center;
        text-align: center;
        margin-bottom: 0;
    }

    .benefit-card-rev {
        flex-direction: column; /* Mantem Icone em cima */
        justify-content: center;
        text-align: center;
        margin-bottom: 0;
    }

    .benefit-content p {
        margin: 0 auto;
    }

    .mirror-center {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .mirror-frame {
        width: 280px;
        height: 450px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .about-visual {
        justify-content: center;
        margin-top: 2rem;
    }

    .vertical-text-wrapper {
        left: 5%;
    }

    .about-image-container {
        margin-left: 20px;
    }

    .about-highlight {
        border-left: none;
        border-top: 3px solid var(--dourado);
    }

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

/* Tablets Portrait e Celulares Grandes (até 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .navbar {
        padding: 1rem 24px;
    }

    .logo {
        font-size: 1.25rem;
    }

    .cta-nav {
        padding: 0.6rem 1.2rem;
        font-size: 0.75rem;
    }

    .hero h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .hero .hero-ctas {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .topics-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .topic-card {
        padding: 1.5rem;
    }

    .results-section h2,
    .about-text h2,
    .featured-text h2,
    .services-section h2 {
        font-size: 2rem;
    }

    .info-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .vertical-text {
        font-size: 3rem;
    }

    .vertical-text-wrapper {
        width: 80px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1rem;
    }

    footer {
        padding: 4rem 0;
    }
}

/* Celulares Pequenos (até 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        padding-top: 4rem;
        /* Reduced from 8rem to keep it higher */
    }

    .topics-section,
    .about-section,
    .benefits-mirror-section,
    .featured-section,
    .results-section,
    .services-section {
        padding: 4rem 0;
    }

    .result-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}