﻿/* ===== CSS VARIABLES ===== */
:root {
    --primary: hsl(172, 65%, 28%);
    --primary-light: hsl(172, 55%, 42%);
    --primary-glow: hsl(172, 70%, 60%);
    --primary-dark: hsl(172, 70%, 18%);
    --primary-fg: hsl(0, 0%, 100%);
    --primary-blue: hsl(209, 67%, 36%);
    --bg: hsl(160, 20%, 97%);
    --fg: hsl(200, 60%, 8%);
    --card: hsl(0, 0%, 100%);
    --secondary: hsl(160, 30%, 94%);
    --secondary-fg: hsl(172, 65%, 28%);
    --muted: hsl(160, 15%, 93%);
    --muted-fg: hsl(200, 20%, 45%);
    --border: hsl(160, 15%, 88%);
    --accent: hsl(42, 80%, 58%);
    --gradient-hero: linear-gradient(135deg, hsl(172, 65%, 8%) 0%, hsl(172, 55%, 18%) 50%, hsl(172, 45%, 28%) 100%);
    --gradient-section: linear-gradient(180deg, hsl(160, 20%, 97%) 0%, hsl(160, 25%, 94%) 100%);
    --gradient-dark: linear-gradient(160deg, hsl(200, 60%, 5%) 0%, hsl(172, 65%, 10%) 50%, hsl(200, 50%, 8%) 100%);
    --gradient-accent: linear-gradient(135deg, hsl(172, 65%, 28%) 0%, hsl(172, 55%, 42%) 100%);
    --shadow-sm: 0 2px 8px hsla(172, 65%, 28%, 0.08);
    --shadow-md: 0 8px 24px hsla(172, 65%, 28%, 0.12);
    --shadow-lg: 0 20px 60px hsla(172, 65%, 28%, 0.18);
    --radius: 0.75rem;
    --mission: hsla(0, 0%, 85%, 0.24);
    ;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
}

button {
    cursor: pointer;
    font-family: var(--font-body);
}

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

/* ===== UTILS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, hsl(172, 55%, 42%), hsl(172, 70%, 60%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-light {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.noise::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.4;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

.fade-up {
    animation: fadeUp 0.7s ease-out forwards;
}

.fade-up-1 {
    animation: fadeUp 0.7s 0.1s ease-out both;
}

.fade-up-2 {
    animation: fadeUp 0.7s 0.2s ease-out both;
}

.fade-up-3 {
    animation: fadeUp 0.7s 0.3s ease-out both;
}

.fade-up-4 {
    animation: fadeUp 0.7s 0.4s ease-out both;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-fg);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background 0.2s;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1.5px solid var(--primary);
    transition: background 0.2s;
}

.btn-outline-primary:hover {
    background: var(--secondary);
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-label-primary {
    color: var(--primary-dark);
}

.section-label-glow {
    color: var(--primary-glow);
}

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.5s;
    padding: 1.25rem 0;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-badge {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.5s;
}

.logo-badge.dark {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.logo-badge.light {
    background: var(--primary);
    color: white;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.5s;
}

.logo-text.dark {
    color: white;
}

.logo-text.light {
    color: var(--fg);
}

.logo-accent.dark {
    color: var(--primary-glow);
}

.logo-accent.light {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    transition: width 0.3s ease-in-out;
}

.nav-link.dark {
    color: rgba(255, 255, 255, 0.75);
}

.nav-link.dark:hover {
    color: white;
}

.nav-link.dark::after {
    background-color: white;
}

.nav-link.dark:hover::after {
    width: 100%;
}

.nav-link.light {
    color: var(--muted-fg);
}

.nav-link.light:hover {
    color: var(--primary-light);
}

.nav-link.light::after {
    background-color: var(--primary-light);
}

.nav-link.light:hover::after {
    width: 100%;
}

.nav-cta {
    display: none;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger span.dark {
    background: white;
}

.hamburger span.light {
    background: var(--fg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    gap: 0.5rem;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99;
}

.mobile-menu.open {
    display: flex;
}

.mobile-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fg);
    padding: 0.625rem 0;
    border-bottom: 1px solid hsl(160, 15%, 88%);
}

.mobile-link:hover {
    color: var(--primary);
}

.mobile-cta {
    background: var(--primary);
    color: white;
    padding: 0.875rem;
    border-radius: 9999px;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.titulo {
    line-height: 1.1;
    margin-bottom: 32px;
}

/* ===== HERO ===== */
#inicio {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/espaco/IMG-20240308-WA0031.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    opacity: 0.88;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 7rem 0 5rem;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-glow);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

.hero-badge span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title em {
    display: block;
    font-style: italic;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-grid {
    display: grid;
    gap: 5rem;
    align-items: center;
    width: 100%;
}

.btn-experts {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    border: 1px solid rgba(15, 60, 104, 0.1);
    transition: all 0.3s ease;
    background-color: var(--card);
}

.btn-experts:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px -5px rgba(77, 182, 163, 0.15);
    transform: translateY(-0.125rem);
}

.ping-container {
    position: relative;
    display: flex;
    height: 0.5rem;
    width: 0.5rem;
}

.ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    background-color: var(--primary);
    opacity: 0.75;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.ping-dot {
    position: relative;
    display: inline-flex;
    border-radius: 9999px;
    height: 0.5rem;
    width: 0.5rem;
    background-color: var(--primary);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-card {
    border-radius: 1rem;
    padding: 1rem 1.5rem;
}

.stat-val {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-glow);
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    margin-top: 2px;
}

.hero-image-wrapper {
    position: relative;
    z-index: 20;
}

.hero-blur-1 {
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 31.25rem;
    height: 31.25rem;
    background-color: rgba(77, 182, 163, 0.1);
    border-radius: 50%;
    filter: blur(100px);
}

.hero-blur-2 {
    position: absolute;
    bottom: -5rem;
    left: -5rem;
    width: 31.25rem;
    height: 31.25rem;
    background-color: rgba(31, 95, 155, 0.1);
    border-radius: 50%;
    filter: blur(100px);
}

.hero-image-container {
    position: relative;
    border-radius: 3rem;
    overflow: hidden;
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.15);
    /* Remove rotation for a more professional, harmonized portrait look */
}

.hero-image {
    width: 100%;
    height: 37.5rem;
    object-fit: cover;
    object-position: top center;
    /* Ensure the face isn't cropped out */
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-stats {
    position: absolute;
    bottom: -2.5rem;
    right: -2.5rem;
    padding: 2rem;
    border-radius: 1.5rem;
    max-width: 20rem;
}

/* Custom Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.dark .glass-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 2.5rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
}

/* ===== BENEFITS ===== */
#beneficios {
    padding: 6rem 0;
    background: var(--gradient-section);
}

/* HEADER */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-blue);
}

.section-title-light {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
}

.section-desc {
    color: var(--muted-fg);
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-desc-light {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    line-height: 1.7;
}

.bg-fundo {
    background: var(--gradient-dark);
}

/* ESTUDOS CIENTÍFICOS */
#cientifico {
    padding: 6rem 0;
}

.estudo-cientfico {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    /* Espaço maior entre os itens na div */
    margin-top: 2rem;
    padding: 1.5rem;
    flex-wrap: wrap;
    /* Permitir quebrar se for tela muito pequena */
}

.estudo-item {
    display: flex;
    align-items: center;
    /* Centraliza vertialmente ícone com os textos */
    gap: 1rem;
    flex: 1;
    /* Para ocupar mais espaço da div, dividindo igualmente */
    min-width: fit-content;
}

.estudo-icon {
    font-size: 3rem !important;
    /* Aumentar um pouquinho o ícone de acordo com o pedido */
    color: var(--muted);
}

.estudo-textos {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.estudo-destaque {
    font-size: 1.35rem;
    /* Um pouco maior pra destaque em cima */
    font-weight: 800;
    /* Negrito e maior */
    color: var(--muted);
    line-height: 1.1;
    white-space: nowrap;
    /* Não quebrar a linha do número */
}

.estudo-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;

    /* Título abaixo na mesma linha sempre */
}

/* WRAPPER */
.benefits-3d-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: .5rem 0;
    overflow: hidden;
}

.benefits-3d-carousel {
    position: relative;
    width: 100%;
    height: 450px;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

/* CARD BASE */
.benefit-3d-card {
    position: absolute;
    width: 85%;
    max-width: 400px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: .8rem;
    border-radius: 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(15, 60, 104, 0.08);
    box-shadow: 0 10px 25px -5px rgba(15, 60, 104, 0.12);
    transition:
        transform .6s cubic-bezier(.25, .8, .25, 1),
        opacity .6s ease,
        background .35s ease,
        color .35s ease;
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
}

/* ICON */
.benefit-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(77, 182, 163, .12);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    color: var(--primary);
    margin-bottom: 2rem;
    transition: all .35s ease;
}

/* TITLE */
.benefit-title {
    font-size: 1.25rem;
    margin-bottom: .3rem;
    text-align: center;
    color: var(--primary-blue);
    transition: all .35s ease;
}

/* DESCRIPTION */
.benefit-desc {
    color: var(--primary-blue);
    text-align: center;
    font-size: .95rem;
    transition: all .35s ease;
}

/* HIGHLIGHT */
.benefit-highlight {
    background: var(--primary-glow);
    color: #073b3a;
    font-weight: 700;
    padding: .15rem .45rem;
    border-radius: .35rem;
    transition: all .35s ease;
}

/* HOVER CARD */
.benefit-3d-card.active:hover {
    transform: translateZ(20px) scale(1.02);
    background: linear-gradient(135deg, hsl(172, 65%, 28%) 0%, hsl(172, 55%, 42%) 100%);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

/* HOVER COLORS */
.benefit-3d-card.active:hover .benefit-icon {
    background: rgba(255, 255, 255, .15);
    color: #ffffff;
}

.benefit-3d-card.active:hover .benefit-title {
    color: #ffffff;
}

.benefit-3d-card.active:hover .benefit-desc {
    color: rgba(255, 255, 255, .95);
}

.benefit-3d-card.active:hover .benefit-highlight {
    background: rgba(255, 255, 255, .15);
    color: #ffffff;
}

/* FADE CARDS */
.benefits-3d-carousel:hover .benefit-3d-card.prev,
.benefits-3d-carousel:hover .benefit-3d-card.next {
    filter: blur(4px);
    opacity: .3;
}

/* POSITIONS */
.benefit-3d-card.active {
    transform: translateX(0) scale(1) translateZ(0);
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
}

.benefit-3d-card.prev {
    transform: translateX(-40%) scale(.85) translateZ(-100px);
    opacity: .5;
    z-index: 5;
    cursor: pointer;
}

.benefit-3d-card.next {
    transform: translateX(40%) scale(.85) translateZ(-100px);
    opacity: .5;
    z-index: 5;
    cursor: pointer;
}

.benefit-3d-card.hidden {
    transform: translateX(0) scale(.5) translateZ(-300px);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

/* ARROWS */
.carousel-3d-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(15, 60, 104, 0.1);
    cursor: pointer;
    border: 1px solid rgba(15, 60, 104, 0.05);
    transition: all .2s ease;
}

.carousel-3d-prev {
    left: 0;
}

.carousel-3d-next {
    right: 0;
}

.carousel-3d-arrow:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

/* DOTS */
.benefits-3d-dots {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: 2rem;
}

.benefits-3d-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-blue);
    opacity: .35;
    cursor: pointer;
    transition: all .3s ease;
}

.benefits-3d-dots .dot.active {
    background: var(--primary-glow);
    transform: scale(1.6);
    opacity: 1;
}

/* ===== PROTOCOLS ===== */
#protocolos {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.protocols-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.protocol-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    border: none;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
    color: rgba(255, 255, 255, 0.7);
}

.protocol-btn .p-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.protocol-btn .p-arrow {
    margin-left: auto;
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.protocol-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.protocol-btn.active .p-arrow {
    transform: rotate(90deg);
}

.protocol-btn:not(.active):hover {
    background: rgba(255, 255, 255, 0.05);
}

.protocol-detail {
    border-radius: 1.5rem;
    padding: 2rem;
    min-height: 280px;
}

.protocol-detail-icon {
    font-size: 3rem;
}

.protocol-detail-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.protocol-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.protocol-items li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.protocol-check {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.65rem;
    color: white;
}

.protocol-cta {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.2s;
}

.protocol-cta:hover {
    background: var(--primary);
}

.protocol-detail-icon span {
    font-size: 48px;
    color: #fff;
}

/* ===== REVIEWS ===== */
#avaliacoes {
    padding: 6rem 0;
    background: var(--gradient-section);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stars {
    display: flex;
    gap: 4px;
}

.star {
    color: var(--accent);
    font-size: 1rem;
}

.review-text {
    color: var(--muted-fg);
    font-size: 0.875rem;
    line-height: 1.7;
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.review-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
}

.review-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--fg);
}

.review-tag {
    color: var(--muted-fg);
    font-size: 0.75rem;
}

.science-stats {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.science-stat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.science-stat-icon {
    font-size: 2.5rem;
}

.science-stat-val {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.science-stat-label {
    color: var(--muted-fg);
    font-size: 0.875rem;
}

/* ===== CLINICA ===== */
#clinica {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.clinic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 20px;
}

/* containers das imagens */
.clinic-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

/* imagem */
.clinic-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

/* efeito hover */
.clinic-img-wrap:hover img {
    transform: scale(1.06);
}

/* imagens largas */
.span2 {
    grid-column: span 2;
}

/* imagem vertical (foto da médica) */
.clinic-img-wrap:nth-child(2) {
    grid-row: span 2;
}

/* overlay */
.clinic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .65), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: white;
    opacity: 0;
    transition: .35s;
}

.clinic-img-wrap:hover .clinic-overlay {
    opacity: 1;
}

/* textos overlay */
.ov-title {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-display);
}

.ov-desc {
    font-size: 14px;
    opacity: .9;
}

/* legenda inferior */
.clinic-caption {
    position: absolute;
    bottom: 12px;
    left: 18px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, .4);
}

/* responsivo */

.span-vertical {
    grid-row: span 2;
}

/* ===== DOCTOR ===== */
#doutora {
    padding: 6rem 0;
    background: var(--gradient-section);
}

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

.doctor-img-wrap {
    position: relative;
}

.doctor-img-accent {
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    background: var(--gradient-accent);
    transform: translate(16px, 16px);
    opacity: 0.3;
}

.doctor-img-frame {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.doctor-img-frame img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: top;
}

.doctor-img-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 40, 30, 0.4), transparent);
}

.doctor-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
}

.doctor-badge-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.doctor-badge-text p:first-child {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--fg);
}

.doctor-badge-text p:last-child {
    font-size: 0.7rem;
    color: var(--muted-fg);
}

.doctor-specialty {
    color: var(--primary);
    font-weight: 500;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.doctor-name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.doctor-desc {
    color: var(--muted-fg);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.doctor-credentials {
    list-style: none;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.doctor-credentials li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--fg);
}

.cred-icon {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.mvv-card {
    background: var(--secondary);
    border-radius: 1rem;
    padding: 1rem;
}

.mvv-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.mvv-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--fg);
    margin-bottom: 0.25rem;
}

.mvv-desc {
    font-size: 0.75rem;
    color: var(--muted-fg);
    line-height: 1.5;
}

.doctor-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}



/* ===== CONTATO ===== */
#contato {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.contact-wa-box {
    border-radius: 1rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-wa-box span {
    font-size: 2rem;
}

.contact-wa-title {
    font-weight: 600;
    color: white;
}

.contact-wa-sub {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.contact-form {
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.375rem;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.875rem;
    padding: 0.875rem 1rem;
    color: white;
    font-family: var(--font-body);
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
    border-color: var(--primary-glow);
}

.form-group {
    margin-bottom: 1rem;
}

.obj-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.375rem;
}

.obj-btn {
    padding: 0.625rem 0.75rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 500;
    font-family: var(--font-body);
    transition: all 0.2s;
    cursor: pointer;
}

.obj-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.obj-btn.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.form-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: 0.875rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
    box-shadow: var(--shadow-md);
}

.form-submit:hover {
    background: var(--primary-light);
}

/* ===== FAQ ===== */
#duvidas {
    padding: 6rem 0;
    background: var(--gradient-section);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body);
}

.faq-q-text {
    font-weight: 600;
    color: var(--fg);
    font-size: 0.875rem;
}

.faq-chevron {
    color: var(--muted-fg);
    transition: transform 0.3s;
    font-size: 1rem;
    flex-shrink: 0;
}

.faq-chevron.open {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--muted-fg);
    font-size: 0.875rem;
    line-height: 1.7;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    display: none;
}

.faq-answer.open {
    display: block;
}

/* ===== FOOTER PREMIUM ===== */
.footer {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 2.5rem;
    color: var(--primary-fg);
    background: var(--gradient-dark);
    overflow: hidden;
}

/* Linha luminosa superior */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
            transparent,
            var(--primary-light),
            var(--primary-glow),
            var(--primary-light),
            transparent);
    opacity: .6;
}

/* GRID */
.footer-grid {
    display: grid;
    gap: 4rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.3fr;
    }
}

/* TEXTO */
.footer-desc {
    color: rgba(255, 255, 255, .65);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* TITULOS */
.footer-title {
    font-size: .75rem;
    color: var(--primary-glow);
    text-transform: uppercase;
    letter-spacing: .25em;
    margin-bottom: 1.2rem;
}

/* LINKS */
.footer-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    list-style-type: none;
    text-align: start;
}

.footer-link {
    color: rgba(255, 255, 255, .7);
    transition: all .3s ease;
}

.footer-link:hover {
    color: var(--primary-glow);
    transform: translateX(4px);
}

/* SOCIAL */
.social-links-inline {
    display: flex;
    gap: 1rem;
}

.social-circle {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .7);
    transition: all .35s ease;
}

.social-circle:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(77, 182, 163, .35);
    color: #fff;
}

/* MAPA */
.map-container {
    width: 100%;
    height: 180px;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .25);
    backdrop-filter: blur(6px);
}

/* ENDEREÇO */
.location-address {
    display: flex;
    gap: .8rem;
    color: rgba(255, 255, 255, .7);
    font-size: .9rem;
    line-height: 1.6;
    padding-top: 1rem;
}

/* FOOTER BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, .55);
    font-size: .85rem;
}

/* CERTIFICAÇÕES */
.footer-certs {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-certs span {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: rgba(255, 255, 255, .6);
    font-size: .8rem;
    transition: .3s;
}

.footer-certs span:hover {
    color: var(--primary-glow);
}

/* ===== OZONIO BUBBLES ===== */
.footer-bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.footer-bubbles span {
    position: absolute;
    bottom: -60px;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle,
            rgba(255, 255, 255, .7),
            rgba(77, 182, 163, .25));
    border-radius: 50%;
    opacity: .35;
    animation: ozoneBubble 14s linear infinite;
}

/* tamanhos variados */
.footer-bubbles span:nth-child(1) {
    left: 5%;
    width: 10px;
    height: 10px;
    animation-duration: 11s;
}

.footer-bubbles span:nth-child(2) {
    left: 15%;
    width: 14px;
    height: 14px;
    animation-duration: 15s;
    animation-delay: 2s;
}

.footer-bubbles span:nth-child(3) {
    left: 30%;
    width: 8px;
    height: 8px;
    animation-duration: 13s;
}

.footer-bubbles span:nth-child(4) {
    left: 45%;
    width: 16px;
    height: 16px;
    animation-duration: 17s;
    animation-delay: 4s;
}

.footer-bubbles span:nth-child(5) {
    left: 60%;
    width: 10px;
    height: 10px;
    animation-duration: 12s;
}

.footer-bubbles span:nth-child(6) {
    left: 75%;
    width: 14px;
    height: 14px;
    animation-duration: 16s;
    animation-delay: 3s;
}

.footer-bubbles span:nth-child(7) {
    left: 85%;
    width: 9px;
    height: 9px;
    animation-duration: 13s;
}

.footer-bubbles span:nth-child(8) {
    left: 95%;
    width: 15px;
    height: 15px;
    animation-duration: 18s;
    animation-delay: 5s;
}

/* animação */
@keyframes ozoneBubble {
    0% {
        transform: translateY(0) scale(.6);
        opacity: 0;
    }

    20% {
        opacity: .4;
    }

    100% {
        transform: translateY(-900px) scale(1.2);
        opacity: 0;
    }
}

/* Responsivo Footer */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

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

    .footer-title {
        text-align: start
    }
}

/* ===== WHATSAPP FLOAT ===== */
.floating-wa {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s, transform 0.3s;
    animation: pulse-wa 5s infinite;
}

.floating-wa:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        transform: scale(1);
    }

    10% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
        transform: scale(1.1);
    }

    20%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}

@media (min-width: 1024px) {
    .nav-cta {
        display: inline-flex;
    }

    .hamburger {
        display: none !important;
    }

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

@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .navbar-inner {
        width: 100%;
        padding-right: 5vw;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        /* Centralizar textos no mobile */
        padding-bottom: 2rem;
    }

    .hero-content {
        padding: 5rem 0 0;
        /* Menos padding superior pra mobile */
    }

    .hero-title {
        font-size: 10.5vw;
    }

    .hero-badge {
        margin: 0 auto 1.5rem;
        /* Centralizar badge no mobile */
    }

    .hero-ctas {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        margin-bottom: 0;
        /* Colocar um botao sobre o outro se ficar apertado */
    }

    .hero-ctas .btn-primary,
    .hero-ctas .btn-outline-light {
        justify-content: center;
    }

    .hero-stats {
        position: relative;
        /* Tirar absolute no mobile */
        bottom: 0;
        right: 0;
        margin-top: 2rem;
        /* Espaço para a imagem */
        max-width: 100%;
        /* Ocupar toda a largura disponível */
        justify-content: center;
        /* Centralizar o conteudo dentro do stats */
    }

    .hero-image-container {
        border-radius: 2rem;
    }

    .benefits-3d-carousel {
        height: 480px;
    }

    .benefit-3d-card.prev {
        transform: translateX(-65%) scale(.8) translateZ(-150px);
        opacity: .7;
    }

    .benefit-3d-card.next {
        transform: translateX(65%) scale(.8) translateZ(-150px);
        opacity: .7;
    }

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

    .titulo {
        display: flex;
        flex-direction: column;
        line-height: 1.1;
        font-size: 2.4rem;
        margin-bottom: 24px;
    }

    .section-label {
        font-size: 0.7rem;
    }

    .clinic-grid {
        grid-template-columns: 1fr !important;
    }

    .clinic-img-wrap.span2,
    .span2 {
        grid-column: span 1 !important;
    }

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

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

    #contato .container {
        padding: 0 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    .contact-form {
        padding: 1rem;
    }

    .contact-grid .section-title-light,
    .contact-grid p,
    .contact-grid .section-label {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-wa-box {
        flex-direction: column;
        text-align: center;
    }

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

    .logo {
        justify-content: center;
    }

    .footer-desc {
        text-align: start;
    }


    .location-box {
        flex-direction: column;
        /* Garantir que fique empilhado se for flex */
    }

    .material-icons-outlined {
        align-content: center;
    }

    .location-address {
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin-top: 1rem;

        p {
            width: 100%;
            text-align: start;
        }
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
}

#docPrevBtn:hover,
#docNextBtn:hover {
    transform: scale(1.1) !important;
    background: hsl(172, 65%, 28%) !important;
    color: #ffffff !important;
}

.fade-slide {
    animation: fadeInDoc 0.5s ease-in-out;
}

@keyframes fadeInDoc {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* GRID */
.mission-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
}

/* CARD */
.mission-card {
    position: relative;
    height: 120px;
    padding: 2rem;
    border-radius: var(--radius);
    border: 2px solid var(--primary);
    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    overflow: hidden;

    transition: all .45s ease;
}

/* HOVER EXPAND */
.mission-card:hover {
    height: 220px;
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-lg);
}

/* WORD */
.mission-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--mission);
    opacity: .25;

    transition: .45s;
}

/* MOVE WORD UP */
.mission-card:hover .mission-bg-text {
    top: 30%;
    transform: translate(-50%, -50%);
    color: white;
    opacity: .9;
}

/* TEXT */
.mission-text {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translate(-50%, 10px);

    width: 80%;
    font-size: .95rem;
    line-height: 1.6;

    opacity: 0;
    transition: .4s;
}

/* SHOW TEXT */
.mission-card:hover .mission-text {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ===== ESTILOS ESPECIFICOS DA DRA KATIA ===== */
/* ===== ESPECIFICO DRA KATIA ===== */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: hsl(172, 65%, 28%);
    --primary-light: hsl(172, 55%, 42%);
    --primary-glow: hsl(172, 70%, 60%);
    --primary-dark: hsl(172, 70%, 18%);
    --primary-fg: hsla(0, 0%, 100%, 0.85);
    --primary-blue: hsl(209, 67%, 36%);
    --bg: hsl(160, 20%, 97%);
    --fg: hsl(200, 60%, 8%);
    --card: hsl(0, 0%, 100%);
    --secondary: hsl(160, 30%, 94%);
    --secondary-fg: hsl(172, 65%, 28%);
    --muted: hsl(160, 15%, 93%);
    --muted-fg: hsl(200, 20%, 45%);
    --border: hsl(160, 15%, 88%);
    --accent: hsl(42, 80%, 58%);
    --gradient-hero: linear-gradient(135deg, hsl(172, 65%, 8%) 0%, hsl(172, 55%, 18%) 50%, hsl(172, 45%, 28%) 100%);
    --gradient-section: linear-gradient(180deg, hsl(160, 20%, 97%) 0%, hsl(160, 25%, 94%) 100%);
    --gradient-dark: linear-gradient(160deg, hsl(200, 60%, 5%) 0%, hsl(172, 65%, 10%) 50%, hsl(200, 50%, 8%) 100%);
    --gradient-accent: linear-gradient(135deg, hsl(172, 65%, 28%) 0%, hsl(172, 55%, 42%) 100%);
    --shadow-sm: 0 2px 8px hsla(172, 65%, 28%, 0.08);
    --shadow-md: 0 8px 24px hsla(172, 65%, 28%, 0.12);
    --shadow-lg: 0 20px 60px hsla(172, 65%, 28%, 0.18);
    --radius: 0.75rem;
    --mission: hsla(0, 0%, 85%, 0.24);
    ;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

.padding {
    padding: 6rem;
}



/* HERO */
.hero {
    padding: 10rem 0 6rem;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

.hero img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--primary-fg);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    margin-bottom: 2rem;
    color: var(--primary-fg);
    font-size: 1.1rem;
}

/* AUTORIDADE */
/* WRAPPER */

.section-header {
    margin-bottom: 1rem;
}

.benefits-3d-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: .5rem 0;
    overflow: hidden;
}

.benefits-3d-carousel {
    position: relative;
    width: 100%;
    height: 450px;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

/* CARD BASE */
.benefit-3d-card {
    position: absolute;
    width: 85%;
    max-width: 400px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: .8rem;
    border-radius: 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(15, 60, 104, 0.08);
    box-shadow: 0 10px 25px -5px rgba(15, 60, 104, 0.12);
    transition:
        transform .6s cubic-bezier(.25, .8, .25, 1),
        opacity .6s ease,
        background .35s ease,
        color .35s ease;
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
}

/* ICON */
.benefit-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(77, 182, 163, .12);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    color: var(--primary);
    margin-bottom: 2rem;
    transition: all .35s ease;
}

/* TITLE */
.benefit-title {
    font-size: 1.25rem;
    margin-bottom: .3rem;
    text-align: center;
    color: var(--primary-blue);
    transition: all .35s ease;
}

/* DESCRIPTION */
.benefit-desc {
    color: var(--primary-blue);
    text-align: center;
    font-size: .95rem;
    transition: all .35s ease;
}

/* HIGHLIGHT */
.benefit-highlight {
    background: var(--primary-glow);
    color: #073b3a;
    font-weight: 700;
    padding: .15rem .45rem;
    border-radius: .35rem;
    transition: all .35s ease;
}

/* HOVER CARD */
.benefit-3d-card.active:hover {
    transform: translateZ(20px) scale(1.02);
    background: linear-gradient(135deg, hsl(172, 65%, 28%) 0%, hsl(172, 55%, 42%) 100%);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

/* HOVER COLORS */
.benefit-3d-card.active:hover .benefit-icon {
    background: rgba(255, 255, 255, .15);
    color: #ffffff;
}

.benefit-3d-card.active:hover .benefit-title {
    color: #ffffff;
}

.benefit-3d-card.active:hover .benefit-desc {
    color: rgba(255, 255, 255, .95);
}

.benefit-3d-card.active:hover .benefit-highlight {
    background: rgba(255, 255, 255, .15);
    color: #ffffff;
}

/* FADE CARDS */
.benefits-3d-carousel:hover .benefit-3d-card.prev,
.benefits-3d-carousel:hover .benefit-3d-card.next {
    filter: blur(4px);
    opacity: .3;
}

/* POSITIONS */
.benefit-3d-card.active {
    transform: translateX(0) scale(1) translateZ(0);
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
}

.benefit-3d-card.prev {
    transform: translateX(-40%) scale(.85) translateZ(-100px);
    opacity: .5;
    z-index: 5;
    cursor: pointer;
}

.benefit-3d-card.next {
    transform: translateX(40%) scale(.85) translateZ(-100px);
    opacity: .5;
    z-index: 5;
    cursor: pointer;
}

.benefit-3d-card.hidden {
    transform: translateX(0) scale(.5) translateZ(-300px);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

/* ARROWS */
.carousel-3d-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(15, 60, 104, 0.1);
    cursor: pointer;
    border: 1px solid rgba(15, 60, 104, 0.05);
    transition: all .2s ease;
}

.carousel-3d-prev {
    left: 0;
}

.carousel-3d-next {
    right: 0;
}

.carousel-3d-arrow:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

/* DOTS */
.benefits-3d-dots {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: 2rem;
}

.benefits-3d-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-blue);
    opacity: .35;
    cursor: pointer;
    transition: all .3s ease;
}

.benefits-3d-dots .dot.active {
    background: var(--primary-glow);
    transform: scale(1.6);
    opacity: 1;
}

.autoridade-link {

    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;

    padding: .6rem 1rem;

    font-size: .85rem;
    font-weight: 600;

    border-radius: .6rem;

    color: #ffffff;
    background: var(--primary);

    text-decoration: none;

    transition: all .25s ease;
}

.autoridade-link span {
    font-size: 1rem;
}

/* hover */

.autoridade-link:hover {
    background: var(--primary-glow);
    transform: translateY(-2px);
}

/* HISTORIA */
.sobre {
    padding: 6rem 0;
    position: relative;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.sobre img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.sobre p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--fg);
}

/* TIMELINE */
.timeline {
    padding: 6rem 0;
    background: var(--gradient-section);
    position: relative;
}

.timeline-item {
    background: var(--card);
    padding: 2rem;
    border-left: 4px solid var(--primary);
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.timeline-item:hover {
    transform: translateX(10px);
}

.timeline-item strong {
    color: var(--primary);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* AREAS */
.areas {
    padding: 6rem 0;
    position: relative;
    background: var(--gradient-section);
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.area-card {
    background: var(--card);
    padding: 2.5rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.area-card:hover {
    background: var(--gradient-accent);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

/* DEPOIMENTOS */
.depoimentos {
    padding: 6rem 0;
    background: var(--gradient-section);
    position: relative;
}

.depoimento {
    background: var(--card);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.depoimento::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-light);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-family: var(--font-display);
}

.depoimento p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--fg);
    line-height: 1.8;
}

/* CTA */
.cta {
    padding: 8rem 0;
    background: var(--gradient-dark);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    z-index: 10;
}

.cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

/* RESPONSIVO */
@media(max-width:900px) {

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

@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .navbar-inner {
        width: 100%;
        padding-right: 5vw;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        /* Centralizar textos no mobile */
        padding-bottom: 2rem;
    }

    .hero-content {
        padding: 5rem 0 0;
        /* Menos padding superior pra mobile */
    }

    .hero-title {
        font-size: 10.5vw;
    }

    .hero-badge {
        margin: 0 auto 1.5rem;
        /* Centralizar badge no mobile */
    }

    .hero-ctas {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        margin-bottom: 0;
        /* Colocar um botao sobre o outro se ficar apertado */
    }

    .hero-ctas .btn-primary,
    .hero-ctas .btn-outline-light {
        justify-content: center;
    }

    .hero-stats {
        position: relative;
        /* Tirar absolute no mobile */
        bottom: 0;
        right: 0;
        margin-top: 2rem;
        /* Espaço para a imagem */
        max-width: 100%;
        /* Ocupar toda a largura disponível */
        justify-content: center;
        /* Centralizar o conteudo dentro do stats */
    }

    .hero-image-container {
        border-radius: 2rem;
    }

    .benefits-3d-carousel {
        height: 480px;
    }

    .benefit-3d-card.prev {
        transform: translateX(-65%) scale(.8) translateZ(-150px);
        opacity: .7;
    }

    .benefit-3d-card.next {
        transform: translateX(65%) scale(.8) translateZ(-150px);
        opacity: .7;
    }

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

    .padding {
        padding: 2rem;
    }

    .titulo {
        display: flex;
        flex-direction: column;
        line-height: 1.1;
        font-size: 2.4rem;
        margin-bottom: 24px;
    }

    .section-label {
        font-size: 0.7rem;
    }

    .clinic-grid {
        grid-template-columns: 1fr !important;
    }

    .clinic-img-wrap.span2,
    .span2 {
        grid-column: span 1 !important;
    }

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

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

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

    #contato .container {
        padding: 0 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    .contact-form {
        padding: 1rem;
    }

    .contact-grid .section-title-light,
    .contact-grid p,
    .contact-grid .section-label {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-wa-box {
        flex-direction: column;
        text-align: center;
    }

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

    .logo {
        justify-content: center;
    }

    .footer-desc {
        text-align: start;
    }

    .location-box {
        flex-direction: column;
        /* Garantir que fique empilhado se for flex */
    }

    .material-icons-outlined {
        align-content: center;
    }

    .location-address {
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin-top: 1rem;

        p {
            width: 100%;
            text-align: start;
        }
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        text-align: left;
    }
}