/* ==========================================================================
   VOLPECLIN – MODERNIZED PREMIUM DESIGN
   Sticky header, glassmorphism, uncropped hero image, modern form
   ========================================================================== */

/* === VARIABLES === */
:root {
    --bg-hero: #4A4535;
    --bg-hero-bottom: #2E2B24;
    --bg-form: #6B6347;
    --bg-stats: #1E1E1E;
    --accent: #9E7930;
    --cta: #AE7118;
    --cta-hover: #C68520;
    --white: #FFFFFF;
    --off-white: #E6E6E4;
    --txt-light: #E8E4DA;
    --txt-dark: #2C2C2C;

    --font: 'Manrope', sans-serif;
    --radius-pill: 50px;
    --radius-box: 20px;
    --radius-card: 28px;

    --transition: .3s cubic-bezier(.25, .8, .25, 1);
}

/* === RESET === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1A1914;
}

::-webkit-scrollbar-thumb {
    background: #4c3d17;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cta);
}

body {
    font-family: var(--font);
    color: var(--white);
    background: #1E1C18; /* Darker background to prevent white flash before hero loads */
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   HEADER – Floating Pill Menu
   ========================================================================== */
.header {
    position: fixed;
    top: 24px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: top var(--transition);
}

.header-inner {
    background: linear-gradient(145deg, rgba(107, 99, 71, 0.4), rgba(90, 82, 58, 0.4));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-pill);
    padding: 7px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background var(--transition),
        padding var(--transition),
        box-shadow var(--transition),
        backdrop-filter var(--transition);
}

/* When page has scrolled */
.header.scrolled {
    top: 10px;
}

.header.scrolled .header-inner {
    background: rgba(26, 25, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 3px 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.logo img {
    height: 61px;
    width: auto;
    mix-blend-mode: screen;
    transition: height var(--transition);
}

.header.scrolled .logo img {
    height: 49px;
}

.nav ul {
    display: flex;
    gap: 32px;
}

.nav a {
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    transition: color .2s;
    position: relative;
}

/* Modern underline hover effect */
.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width .3s ease;
}

.nav a:hover {
    color: var(--accent);
}

.nav a:hover::after {
    width: 100%;
}

.header-cta .btn-header {
    display: inline-block;
    background: linear-gradient(135deg, #2A2A2A 0%, #111 100%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 12px 28px;
    border-radius: 14px;
    transition: transform .2s, padding var(--transition), font-size var(--transition), box-shadow .2s;
}

.header-cta .btn-header:hover {
    background: linear-gradient(135deg, #3A3A3A 0%, #222 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.header.scrolled .header-cta .btn-header {
    background: linear-gradient(145deg, rgba(107, 99, 71, 0.95), rgba(90, 82, 58, 0.98));
    padding: 8px 22px;
    font-size: 0.78rem;
}

.header.scrolled .header-cta .btn-header:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    min-height: 640px;
    padding-top: 90px;
    display: flex;
    align-items: stretch;
    overflow: visible;
}

.hero-wrapper {
    position: relative;
    z-index: 1;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('imagens/background.jpg') center/cover no-repeat;
    opacity: 0.75;
    z-index: -1;
}

.hero-inner {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

/* --- Text column --- */
.hero-text {
    flex: 0 0 60%;
    padding: 0 0 40px;
    position: relative;
    z-index: 2;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: #555;
    padding: 1px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.pill strong {
    color: var(--accent);
    font-weight: 800;
}

.pill-icon {
    width: 28px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 26px;
    max-width: 600px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

/* Check list */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.check-list svg {
    flex-shrink: 0;
}

/* --- Photo column – extends BEHIND the form, never cropped --- */
.hero-photo {
    position: absolute;
    right: -120px;
    bottom: -98px;
    width: 68%;
    z-index: 3;
    pointer-events: auto; /* Permite interação com os balões se necessário */
    display: block;
    will-change: transform;
}

.hero-bg-ring {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 95%;
    object-fit: contain;
    z-index: 1;
    opacity: 0.9;
    animation: rotate-ring 40s linear infinite;
    transform-origin: center center;
}

.hero-doctors {
    position: relative;
    width: 100%;
    max-height: 750px;
    object-fit: contain;
    object-position: bottom center;
    z-index: 2;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    display: block;
    -webkit-mask-image: linear-gradient(to bottom, black 95%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 95%, transparent 100%);
}

@keyframes rotate-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Balão Dinâmico (Dual Typing Effect) */
.dr-typing-container {
    position: absolute;
    z-index: 10;
}

.leonardo-pos {
    top: 28%;
    left: 2%;
}

.adriana-pos {
    top: 42%;
    right: 3%;
}

.balloon-typing {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 12px;
    color: var(--white);
    font-size: 0.7rem;
    line-height: 1.2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    min-height: auto;
    width: fit-content;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float-balloon 5s ease-in-out infinite;
    cursor: pointer;
    overflow: hidden;
}

.balloon-typing:hover {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.balloon-content {
    display: flex;
    flex-direction: column;
}

.balloon-extra {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    font-weight: 500;
}

.balloon-typing:hover .balloon-extra {
    max-height: 100px;
    opacity: 1;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.balloon-plus {
    width: 18px;
    height: 18px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(158, 121, 48, 0.7);
    animation: pulse-plus 2s infinite;
    transition: transform 0.3s ease;
}

.balloon-typing:hover .balloon-plus {
    transform: rotate(45deg);
    background: #e55; /* Cor de fechar ou destaque */
}

@keyframes pulse-plus {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(158, 121, 48, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(158, 121, 48, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(158, 121, 48, 0);
    }
}

.balloon-typing strong {
    font-size: 0.78rem;
    color: var(--accent);
    margin-bottom: 1px;
}

/* Seta Direcional */
.balloon-typing::before {
    content: '';
    position: absolute;
    bottom: -6px;
    width: 12px;
    height: 12px;
    background: inherit;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transform: rotate(45deg);
    backdrop-filter: inherit;
    -webkit-backdrop-filter: inherit;
}

.leonardo-pos .balloon-typing::before {
    right: 20px;
}

.adriana-pos .balloon-typing::before {
    left: 20px;
}

.adriana-pos .balloon-typing {
    background: rgba(255, 248, 230, 0.15); /* Tom creme/bege para combinar com a camisa */
    border-color: rgba(255, 248, 230, 0.25);
}

@keyframes float-balloon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 992px) {
    .leonardo-pos { top: 20%; left: 3%; }
    .adriana-pos { top: 38%; right: 2%; }
    .balloon-typing {
        font-size: 0.65rem;
        padding: 5px 10px;
    }
}

@media (max-width: 680px) {
    .leonardo-pos { top: 15%; left: 1%; }
    .adriana-pos { top: 32%; right: 0%; }
    .balloon-typing {
        font-size: 0.6rem;
        padding: 4px 8px;
        min-height: auto;
    }
}

/* ==========================================================================
   FORM – Modern Glass Card
   ========================================================================== */
.form-section {
    position: relative;
    z-index: 50;
    margin-top: -66px;
}

.form-card {
    background: linear-gradient(145deg, rgba(107, 99, 71, 0.95), rgba(90, 82, 58, 0.98));
    backdrop-filter: blur(10px);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    padding: 24px 40px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
}

.form-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.form-heading-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.carousel-convenios {
    flex: 1;
    min-width: 250px;
    max-width: 580px;
    margin-left: auto;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}



.carousel-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll-convenios 25s linear infinite;
}

.carousel-track img {
    height: 95px;
    width: 200px;
    object-fit: contain;
    margin-right: -65px;
    opacity: 0.85;
    filter: brightness(0) invert(1);
    transition: opacity .3s, transform .3s;
}

.carousel-track img.logo-odontoprev {
    transform: scale(1.25);
}

.carousel-track img.logo-sulamerica {
    transform: scale(1.20);
}

.carousel-track img.logo-geap,
.carousel-track img.logo-evida {
    transform: scale(1.20);
}

.carousel-track img:hover {
    opacity: 1;
}

/* Pause carousel on hover */
.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-convenios {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50%));
    }
}

.form-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
}

.form-icon img {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.form-heading h2 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0;
}

.form-heading p {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.7;
}

/* === TIPO ATENDIMENTO (substituição de estilos inline) === */
.form-tipo-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.6;
}

.radio-label {
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-input {
    width: 18px;
    height: 18px;
    accent-color: #9E7930;
    margin: 0;
    cursor: pointer;
}

.convenios-highlight {
    color: #111;
    font-weight: 800;
    opacity: 1;
    font-size: 0.95rem;
}

.radio-wrap {
    margin-bottom: 16px;
    display: flex;
    gap: 24px;
    align-items: center;
}

.lead-form {
    display: flex;
    gap: 14px;
    align-items: flex-end;
}

.input-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-wrap label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.6;
}

.lead-form input,
.lead-form select {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    transition: border-color var(--transition), background var(--transition);
}

.lead-form input::placeholder {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.lead-form input:hover,
.lead-form select:hover {
    border-color: var(--cta);
    background: rgba(174, 113, 24, 0.05);
}

.lead-form input:focus,
.lead-form select:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.12);
}

/* === CUSTOM SELECT === */
.custom-select {
    position: relative;
    width: 100%;
}

.select-selected {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: border-color var(--transition), background var(--transition);
}

.select-selected::after {
    content: "";
    position: absolute;
    right: 16px;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform .3s;
}

.custom-select.select-arrow-active .select-selected::after {
    transform: rotate(180deg);
}

.custom-select.select-arrow-active .select-selected {
    border-color: var(--accent);
    border-radius: 14px 14px 0 0;
}

.select-items {
    position: absolute;
    background: #3A3527;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    border: 2px solid var(--accent);
    border-top: none;
    border-radius: 0 0 14px 14px;
    overflow: hidden;
    max-height: 250px;
    overflow-y: auto;
}

.select-items div {
    color: var(--white);
    padding: 12px 20px;
    cursor: pointer;
    user-select: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.25s, color 0.25s;
}

/* HOVER COLOR AS REQUESTED (MATCHING BUTTON) */
.select-items div:hover,
.same-as-selected {
    background: linear-gradient(135deg, var(--cta), var(--cta-hover));
    color: var(--white);
    font-weight: 700;
}

.select-hide {
    display: none;
}

.lead-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.lead-form select option {
    background: #3A3527;
    color: var(--white);
}

.header-cta {
    display: flex;
    align-items: center;
}

.header-scroll-icons {
    display: none;
    /* Escondido por padrão */
    gap: 12px;
}

.icon-circle {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--cta), var(--cta-hover));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(174, 113, 24, 0.3);
    transition: all 0.3s ease;
}

.icon-circle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(174, 113, 24, 0.4);
}

/* Quando rolar a página */
.header.scrolled .btn-header {
    display: none;
}

.header.scrolled .header-scroll-icons {
    display: flex;
    animation: fadeInScale 0.3s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsividade: No mobile, se o menu estiver aberto, escondemos os ícones para não poluir */
.nav.open~.header-cta .header-scroll-icons {
    display: none;
}

.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    min-width: 220px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cta), var(--cta-hover));
    color: var(--white);
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 6px 24px rgba(174, 113, 24, 0.35);
    white-space: nowrap;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(174, 113, 24, 0.5);
}

.btn-cta svg {
    transition: transform .2s;
}

.btn-cta:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-section {
    position: relative;
    z-index: 10;
    margin-top: -1px;
}

.stats-bar {
    background: linear-gradient(135deg, #2A2A2A 0%, #111 100%);
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    padding: 32px 40px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.contato-map-box {
    flex: 1;
    min-height: 480px;
}

.contato-map-box iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.stat {
    flex: 1;
    text-align: center;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.stat-num {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
}

.stat-num em {
    font-style: normal;
    color: var(--accent);
    opacity: .75;
}

.stat-num em.highlight {
    font-size: 2.8rem;
    margin-left: 2px;
}

.stat-txt {
    display: block;
    font-size: 1.02rem;
    font-weight: 700;
    margin-top: 8px;
    opacity: .85;
}

/* ==========================================================================
   QUEM SOMOS (NOVO)
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    z-index: 10;
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content {
    flex: 0 0 50%;
}

.about-content h2 {
    font-size: 2.4rem;
    color: var(--txt-dark);
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-lead {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* === ABOUT PLACEHOLDER === */
.about-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: var(--txt-dark);
    opacity: 0.4;
    font-weight: 700;
    font-size: 1.1rem;
}

.about-image {
    flex: 0 0 calc(50% - 60px);
    position: relative;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    background: #E8E4DA;
    /* Fundo enquanto não tem imagem */
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-glass-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: linear-gradient(145deg, rgba(107, 99, 71, 0.95), rgba(90, 82, 58, 0.98));
    backdrop-filter: blur(10px);
    padding: 24px 32px;
    border-radius: var(--radius-box);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.glass-stat-num {
    font-size: 2rem;
}

.glass-stat-txt {
    font-size: 0.8rem;
    margin-top: 2px;
}

/* ==========================================================================
   ESPECIALIDADES
   ========================================================================== */
.especialidades-section {
    padding: 100px 0;
    background: var(--off-white);
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(158, 121, 48, 0.1);
    color: var(--cta-hover);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.6rem;
    color: var(--txt-dark);
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    color: #555;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.especialidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.esp-card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 24px 32px 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.esp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent);
    transition: height var(--transition);
}

.esp-card:hover {
    background: linear-gradient(135deg, var(--cta), var(--cta-hover));
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(174, 113, 24, 0.4);
}

.esp-card:hover h3,
.esp-card:hover p,
.esp-card:hover .esp-btn {
    color: var(--white);
}

.esp-card:hover::before {
    height: 100%;
    background: var(--white);
}

.esp-card:hover .esp-btn svg {
    color: var(--white);
    transform: translateX(6px);
}



.esp-content {
    flex-grow: 1;
}

.esp-card h3 {
    font-size: 1.35rem;
    color: var(--txt-dark);
    font-weight: 800;
    margin-bottom: 12px;
}

.esp-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.esp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color var(--transition), transform var(--transition);
}

.esp-btn svg {
    transition: transform var(--transition);
}

.esp-btn:hover {
    color: var(--cta-hover);
}

.esp-card:hover .esp-btn svg {
    transform: translateX(6px);
}



/* ==========================================================================
   MODAL DE CONVÊNIOS
   ========================================================================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn .25s ease;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 40px 44px;
    max-width: 680px;
    width: 100%;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    animation: slideUp .3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #777;
    line-height: 1;
    transition: color .2s;
}

.modal-close:hover {
    color: var(--txt-dark);
}

.modal-box h3 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--txt-dark);
    margin-bottom: 8px;
}

.modal-box .modal-sub {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Modal Convênios especifico */
.modal-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    align-items: center;
    justify-items: center;
}

.modal-logos img {
    height: 60px;
    width: 130px;
    object-fit: contain;
    filter: none;
    opacity: 0.85;
    transition: opacity .2s, transform .2s;
}

.modal-logos img:hover {
    opacity: 1;
    transform: scale(1.06);
}

/* Modal Confirmação específico */
#confirmModal .modal-box {
    max-width: 480px;
    text-align: center;
}

#confirmModal h3 {
    margin-bottom: 12px;
}

#confirmModal .modal-sub {
    margin-bottom: 24px;
}

.btn-confirm-wpp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 12px;
    background: #22C55E;
    color: var(--white);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

.btn-confirm-wpp:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.4);
}

.btn-confirm-wait {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #f1f5f9;
    color: #475569;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.btn-confirm-wait:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.modal-cta {
    margin-top: 32px;
    text-align: center;
}

.modal-cta a {
    display: inline-block;
    background: linear-gradient(135deg, var(--cta), var(--cta-hover));
    color: var(--white);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 14px 36px;
    border-radius: var(--radius-pill);
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 6px 24px rgba(174, 113, 24, 0.3);
}

.modal-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(174, 113, 24, 0.45);
}

@media (max-width: 680px) {
    .modal-box {
        padding: 32px 24px;
    }

    .modal-box h3 {
        font-size: 1.3rem;
    }

    .modal-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* ---- Tablet ---- */
@media (max-width: 992px) {

    .header-inner {
        padding: 8px 24px;
    }

    .header.scrolled .header-inner {
        padding: 4px 24px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text {
        flex: 0 0 55%;
    }

    .hero-photo {
        width: 48%;
        right: 0;
    }

    .hero-photo img {
        max-height: 500px;
    }

    .lead-form {
        flex-wrap: wrap;
    }

    .input-wrap {
        flex: 0 0 calc(50% - 7px);
    }

    .btn-cta {
        flex: 0 0 100%;
    }

    .form-card {
        padding: 28px 24px 32px;
    }

    /* Quems Somos */
    .about-grid {
        flex-direction: column;
        gap: 40px;
    }

    .about-content,
    .about-image {
        flex: 0 0 100%;
        width: 100%;
    }

    .about-content {
        order: 2;
        /* Texto embaixo no mobile tablet */
    }

    .about-image {
        order: 1;
        /* Imagem em cima no mobile tablet */
    }

    .about-glass-card {
        bottom: -20px;
        left: 20px;
    }
}

/* ---- Mobile ---- */
@media (max-width: 680px) {
    .header {
        top: 0;
    }

    .header-inner {
        padding: 8px 16px;
        border-radius: 0;
    }

    .header.scrolled .header-inner {
        padding: 4px 16px;
    }

    .nav,
    .header-social {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav.open {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(30, 28, 24, 0.97);
        backdrop-filter: blur(20px);
        padding: 100px 24px 40px;
        z-index: 999;
        animation: fadeIn .3s;
    }

    .nav.open ul {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .nav.open a {
        font-size: 1.3rem;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
    }

    .hero-inner {
        flex-direction: column;
        align-items: center;
    }

    .hero-text {
        flex: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 0 20px;
    }

    .hero-text h1 {
        font-size: 1.7rem;
        max-width: 100%;
    }

    .check-list li {
        font-size: .85rem;
    }

    .check-list {
        align-items: flex-start;
        text-align: left;
    }

    .hero-photo {
        position: relative;
        right: auto;
        width: 85%;
        margin: 0 auto;
    }

    .hero-photo img {
        max-height: 380px;
    }

    .form-section {
        margin-top: -15px;
    }

    .form-card {
        padding: 24px 18px 28px;
        border-radius: 20px 20px 0 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .form-heading {
        margin-bottom: 20px;
    }

    .input-wrap {
        flex: 0 0 100%;
    }

    .btn-cta {
        width: 100%;
    }

    .stats-bar {
        flex-direction: column;
        gap: 24px;
        padding: 36px 24px 42px;
        border-radius: 0 0 20px 20px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .stat-num {
        font-size: 2.8rem;
    }

    /* Quem Somos */
    .about-section {
        padding: 60px 0;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-img-wrapper {
        aspect-ratio: 1 / 1;
    }

    .about-glass-card {
        padding: 16px 20px;
        left: 10px;
        bottom: -15px;
    }

    .about-btn {
        max-width: 100%;
    }
}

/* ==========================================================================
   CHAMADA PARA AÇÃO (CTA) FINAL
   ========================================================================== */
.cta-section {
    background: #0f0f0f;
    padding: 20px 0;
    /* Faixa ultra fina */
    position: relative;
    z-index: 10;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    text-align: left;
}

.cta-text {
    flex: 1;
}

.cta-container h2 {
    color: var(--white);
    font-size: 1.35rem;
    /* Proporcional à nova altura fina */
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 4px;
}

.cta-container p {
    color: #B0B0B0;
    font-size: 0.88rem;
    /* Proporcional */
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.4;
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cta-primary {
    background: #9b6508;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    transition: transform var(--transition), background var(--transition);
    text-align: center;
}

.btn-cta-primary:hover {
    background: #ae7118;
    transform: translateY(-2px);
}

/* ==========================================================================
   CTA SECTION BUTTONS
   ========================================================================== */
.btn-cta-primary,
.btn-cta-secondary {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    transition: transform var(--transition), background var(--transition);
    text-align: center;
}

.btn-cta-primary {
    background: linear-gradient(135deg, var(--cta), var(--cta-hover));
    color: var(--white);
    box-shadow: 0 10px 30px rgba(174, 113, 24, 0.4);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(174, 113, 24, 0.6);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Tablet e Mobile */
@media (max-width: 992px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .cta-container h2 {
        font-size: 1.3rem;
    }

    .cta-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 680px) {
    .cta-section {
        padding: 24px 0;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        padding: 12px 18px;
    }
}







/* ==========================================================================
   CONTATO E MAPA UNIFICADO
   ========================================================================== */
.contatos-area {
    background: #000000;
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.contato-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contato-info {
    flex: 0 0 50%;
    padding: 50px 48px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.contato-header h2 {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.contato-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contato-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.c-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.c-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(158, 121, 48, 0.08);
    /* Dourado translúcido light */
    color: var(--accent);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* Hover para os ícones sociais clicáveis */
a.c-icon:hover {
    background: rgba(158, 121, 48, 0.2);
    transform: translateY(-3px);
    color: var(--cta-hover);
}

.social-icons-wrapper {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-row-item {
    margin-top: 10px;
}


.c-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 2px;
}

.c-text strong {
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.c-text span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.4;
}

.contato-form-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.contato-map-box {
    flex: 1;
    position: relative;
    /* REMOVIDO o filtro escuro: O mapa será branco/claro do padrão Google */
    min-height: 500px;
    background: #ffffff;
}

.contato-map-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 992px) {
    .contato-wrapper {
        flex-direction: column;
    }

    .contato-map-box {
        min-height: 400px;
    }

    .contato-info {
        padding: 40px 30px;
    }
}

@media (max-width: 680px) {
    .contato-info {
        padding: 30px 20px;
    }

    .contato-header h2 {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   FOOTER SIMPLIFICADO
   ========================================================================== */
.main-footer {
    background: #000000;
    padding: 54px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.footer-simple-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.footer-logo-simple {
    width: 160px;
    height: auto;
}

.footer-info-simple {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-info-simple p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.dev-info {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.3) !important;
}

.dev-info strong {
    color: var(--accent);
}

@media (max-width: 600px) {
    .main-footer {
        padding: 36px 0;
    }
}







/* Optimization for Hero Images */
.hero-photo img {
    object-fit: contain;
}

