:root {
    --primary-color: #2d2d2d;
    /* Dark gray for text */
    --secondary-color: #8FBC8F;
    /* Mint/Sage Green for accents and buttons */
    --accent-color: #9DC88D;
    /* Lighter mint green variant */
    --text-color: #333;
    --light-bg: #F5F1E8;
    /* Beige/Nude background */
    --white: #ffffff;
    --dark-bg: #E8E3D8;
    /* Light beige alternative to dark sections */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

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

ul {
    list-style: none;
}

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

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
}

p {
    margin-bottom: 1rem;
}

/* Header */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
}

.badage {
    font-size: 0.8rem;
    color: #666;
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    transition: var(--transition);
}

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

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
}

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

.btn-nav:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px 0;
}

/* Hero Section */
.hero {
    background-image: url('../assets/draannabannerprincipal.webp');
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero .container {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: flex-start;
}

.hero-content {
    max-width: 45%;
    width: 45%;
    text-align: left;
    padding: 2rem;
    padding-left: 5%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.hero h2 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.hero h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 400;
}

.hero p {
    color: var(--white);
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.btn-primary:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(143, 188, 143, 0.3);
}

/* Sections Common */
.section {
    padding: 5rem 0;
}

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

.bg-dark {
    background-color: var(--dark-bg);
    color: var(--text-color);
}

.bg-dark h2,
.bg-dark p {
    color: var(--text-color);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-header {
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.benefits-header h2 {
    white-space: nowrap;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.treatments-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.videos-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Cards */
.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Treatment Card Overlay */
.treatment-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.treatment-card-inner {
    transition: filter 0.4s ease;
}

.treatment-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(143, 188, 143, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.treatment-card:hover .treatment-overlay,
.treatment-card.active .treatment-overlay {
    opacity: 1;
}

.treatment-card:hover .treatment-card-inner,
.treatment-card.active .treatment-card-inner {
    filter: blur(3px);
}

.treatment-cta {
    font-size: 1rem;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* About Section */
.about-section {
    background-image: url('../assets/bgverde.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

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

.about-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.about-text h2 {
    color: var(--white);
}

.about-text p,
.about-text .subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.subtitle {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Benefits Section */
.benefit-item {
    text-align: center;
    padding: 1rem;
}

.number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.2);
    font-weight: bold;
    line-height: 1;
    margin-bottom: -20px;
    z-index: -1;
    position: relative;
}

/* Video Section */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    /* Placeholder color */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.video-wrapper:hover .video-thumbnail {
    background: #444;
}

.play-button {
    font-size: 3rem;
    margin-bottom: 1rem;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    padding-left: 5px;
    /* Visual center adjustment */
}

/* Contact Section */
.contact-section {
    background: var(--light-bg);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-map h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.address-text {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

.contact-mascot {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mascot-img {
    width: 200px;
    height: auto;
    margin-bottom: -20px;
    position: relative;
    z-index: 2;
}

.speech-bubble {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid var(--white);
}

.speech-bubble h3 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.speech-bubble h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.speech-bubble p {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    color: #666;
}

.contact-info {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #888;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #888;
    padding: 2rem 0;
    text-align: center;
}

footer .credits {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    text-decoration: underline;
    opacity: 0.7;
    filter: blur(0.3px);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-fade-up {
    animation: fadeUp 1s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .main-nav {
        display: none;
        /* Hide for now, can be toggled with JS */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .site-header .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Mobile Hero with Glassmorphism Card */
    .hero {
        background-position: center center;
        min-height: 70vh;
        padding: 2rem 1rem;
    }

    .hero-content {
        max-width: 100%;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 2rem 1.5rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
        text-align: center;
        margin: 0 auto;
    }

    .hero h2 {
        font-size: 2rem;
        text-shadow: none;
    }

    .hero h3 {
        font-size: 1.2rem;
        text-shadow: none;
    }

    .hero p {
        text-shadow: none;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image img {
        max-width: 280px;
        margin: 0 auto;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .mascot-img {
        width: 150px;
    }

    .hero h2,
    .hero h3,
    .hero p {
        color: var(--primary-color);
    }
}

/* Estilo Container Reels */
.reels-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    /* Permite rolar para o lado */
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    /* Faz travar no elemento certinho ao rolar */
    -webkit-overflow-scrolling: touch;
    /* Rolagem suave no iPhone */
}

/* Esconde a barra de rolagem feia */
.reels-container::-webkit-scrollbar {
    height: 8px;
}

.reels-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

/* O Card do Vídeo (Formato Vertical 9:16) */
.reel-item {
    flex: 0 0 280px;
    /* Largura fixa do card */
    height: 500px;
    /* Altura estilo celular */
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #000;
    scroll-snap-align: center;
    /* Centraliza ao soltar o dedo */
}

/* O Vídeo e a Capa */
.reel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Preenche tudo sem distorcer */
    cursor: pointer;
}

/* Legenda Bonitinha embaixo */
.reel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px 10px 10px 10px;
    font-weight: 600;
    text-align: center;
    pointer-events: none;
    /* Deixa clicar no play através da legenda */
}

/* Ajuste para Celular */
@media (max-width: 768px) {
    .reel-item {
        flex: 0 0 80%;
        /* No celular, ocupa 80% da tela para mostrar que tem mais ao lado */
        height: 450px;
    }

    /* CORREÇÃO: Permite que o título quebre linha no celular */
    .benefits-header h2 {
        white-space: normal;
        /* O padrão é nowrap, aqui forçamos a quebra */
        font-size: 1.8rem;
        /* Reduz um pouco a fonte para ficar mais harmônico */
        line-height: 1.3;
        /* Melhora o espaçamento entre as linhas */
    }

}