:root {
    /* Cores */
    --primary: #0a5c7f;
    --primary-dark: #08415c;
    --secondary: #2e856e;
    --accent: #ff6b35;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;

    /* Tipografia */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);

    /* Bordas */
    --border-radius: 10px;
    --border-radius-lg: 16px;

    /* Transições */
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h2 {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Ajuste de Botões (Sem sobrescrever botões nativos do Bootstrap como o btn-close) */
.btn-primary, .btn-success, .btn-whatsapp, .btn-outline-primary {
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: #25735c;
    border-color: #25735c;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    border: none;
}

.btn-whatsapp:hover {
    background: #20bd5b;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

/* Header */
header {
    position: sticky; /* Fixa o cabeçalho no topo */
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1030;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    transition: var(--transition);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

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

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(120deg, rgba(10, 92, 127, 0.9) 0%, rgba(46, 133, 110, 0.9) 100%), url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?ixlib=rb-4.0.3&auto=format&fit=crop&w=1740&q=80') center/cover;
    position: relative;
}

.hero h1 {
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero .btn {
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Seção Sintomas */
.symptom-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-top: 5px solid transparent !important;
}

.symptom-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--primary) !important;
}

.symptom-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.symptom-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Seção Sobre */
.about {
    padding: 100px 0;
}

.about img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about img:hover {
    transform: scale(1.02);
}

.about-content h2 {
    text-align: left;
}

.about-content h2:after {
    left: 0;
    transform: translateX(0);
}

/* Seção Tratamentos */
.treatments {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--light) 50%, white 50%);
}

.treatment-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.treatment-card:before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.treatment-card:hover:before {
    opacity: 1;
}

.treatment-card:hover .treatment-icon,
.treatment-card:hover h3,
.treatment-card:hover p {
    color: white !important;
}

.treatment-icon {
    font-size: 2.5rem;
    color: var(--primary);
    transition: var(--transition);
}

/* Seção Diferenciais (Features) */
.features {
    padding: 80px 0;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
    box-shadow: var(--shadow-sm);
}

/* Seção FAQ (Estilizando o Accordion do Bootstrap) */
.faq {
    padding: 100px 0;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary);
    color: white !important;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 1.5rem;
    background-color: #fff;
    line-height: 1.7;
}

/* CTA Final */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    color: white;
}

.final-cta h2:after {
    display: none;
}

/* Logo no Footer */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: white;
    line-height: 1.3;
}

.logo-text span {
    font-weight: 400;
    font-size: .8rem;
    opacity: .75;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 50px; height: 3px;
    background: var(--accent);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Modal e Formulário Contact Form 7 */
.contact-form {
    background: #ffffff;
    font-family: var(--font-body);
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #fafbfc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 92, 127, 0.15);
}

/* CTA Flutuante WhatsApp */
.whatsapp-cta {
    z-index: 1050;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ============================================================
   MELHORIAS PREMIUM — Adicionadas na atualização
   ============================================================ */

/* Utilitário */
.letter-spacing-1 { letter-spacing: 1px; }
.shadow-xl { box-shadow: 0 20px 60px rgba(0,0,0,.18) !important; }

/* ── Hero aprimorado ── */
.hero {
    padding: 90px 0 110px;
    background: linear-gradient(120deg, rgba(10,92,127,.93) 0%, rgba(46,133,110,.93) 100%),
                url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?ixlib=rb-4.0.3&auto=format&fit=crop&w=1740&q=80') center/cover no-repeat;
    position: relative;
}

.hero h1 {
    animation: fadeInUp .9s ease both;
    text-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.hero p.lead {
    opacity: 0;
    animation: fadeInUp .9s ease .2s forwards;
}

.hero .btn {
    opacity: 0;
    animation: fadeInUp .9s ease .4s forwards;
}

.video-caption {
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(4px);
}

/* Badge de urgência no hero */
.urgency-badge {
    background: rgba(255,165,0,.25);
    border: 1px solid rgba(255,165,0,.5);
    color: #FFD700;
}

/* Ponto pulsante de disponibilidade */
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-ring 1.5s ease infinite;
    vertical-align: middle;
}

@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.6); }
    70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
    100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* ── Barra de estatísticas ── */
.stats-strip {
    border-bottom: 1px solid #e9ecef;
}

.stat-item {
    padding: 8px 0;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: .25rem;
}

/* ── Credencial flutuante (seção sobre) ── */
.credential-badge {
    border: 1px solid #e9ecef;
    min-width: 180px;
}

.about-img-wrap img {
    transition: transform .4s ease;
}

.about-img-wrap:hover img {
    transform: scale(1.02);
}

/* ── Depoimentos ── */
.testimonial-card {
    border: 1px solid #e9ecef;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

/* ── Modal de Lead premium ── */
.modal-header-custom {
    border-bottom: none;
}

#leadModal .modal-content {
    border-radius: 1rem !important;
}

#leadModal .form-control,
#leadModal .form-select {
    border-radius: 8px;
    border: 1.5px solid #dee2e6;
    background: #fafbfc;
    font-size: .95rem;
    transition: border-color .2s, box-shadow .2s;
}

#leadModal .form-control:focus,
#leadModal .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10,92,127,.12);
    background: #fff;
}

/* ── CTA final aprimorado ── */
.final-cta {
    padding: 90px 0;
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.final-cta h2 { color: white; }
.final-cta h2:after { display: none; }

/* ── Botão WhatsApp com pulso no hero ── */
.hero .btn-whatsapp {
    animation: fadeInUp .9s ease .4s forwards, whatsapp-pulse 2s ease 2s infinite;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(37,211,102,.4); }
    50%       { box-shadow: 0 8px 28px rgba(37,211,102,.65); }
}

/* ── Responsividade ── */
@media (max-width: 768px) {
    .hero { padding: 60px 0 70px; }
    .stat-number { font-size: 1.4rem; }
    .final-cta { padding: 60px 0; }
    .credential-badge { font-size: .75rem; }
    #leadModal .modal-dialog { margin: 0.5rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; }
    .stats-strip .col-6 { padding: 8px 4px; }
}