/**
 * FLEA - Formação Livre em Esquizoanálise
 * Estilos: Editorial Cartográfico & Acolhedor
 */

:root {
    --bg: #f8f6f0;
    --surface: #ffffff;
    --surface-soft: #f2eee6;
    --primary: #234234;       /* Verde floresta profundo */
    --primary-light: #325a47;
    --primary-subtle: #e9f0ec;
    --accent: #b55333;        /* Terracota acolhedor */
    --accent-hover: #9c4326;
    --accent-soft: #fbeee7;
    --text-main: #1f2723;
    --text-muted: #5e6b63;
    --border: #ded7cb;
    --border-soft: #ebe5dc;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;
    
    --shadow-sm: 0 2px 8px rgba(35, 66, 52, 0.04);
    --shadow-md: 0 8px 24px rgba(35, 66, 52, 0.08);
    --shadow-lg: 0 16px 40px rgba(35, 66, 52, 0.12);
    
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Básico */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Tipografia */
h1, h2, h3, h4, .serif-font {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.25;
    color: var(--primary);
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section {
    padding: 90px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.3rem;
    margin-top: 12px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 680px;
    margin: 12px auto 0;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 16px auto;
    border-radius: var(--radius-pill);
}

/* Tags e Pills */
.tag-pill {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-subtle);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pill-accent {
    background: var(--accent-soft);
    color: var(--accent);
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(35, 66, 52, 0.2);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(35, 66, 52, 0.28);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

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

.btn-nav {
    background: var(--accent);
    color: #fff;
    padding: 9px 20px;
    font-size: 0.85rem;
}

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

/* ==========================================
   BARRA DE NAVEGAÇÃO & MENU MOBILE
   ========================================== */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(248, 246, 240, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-soft);
    z-index: 1000;
    padding: 14px 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-sigla {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 0.72rem;
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
    border-left: 1px solid var(--border);
    padding-left: 10px;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary);
    margin: 5px 0;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    height: calc(100vh - 65px);
    background: rgba(248, 246, 240, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 30px 24px;
    z-index: 999;
    overflow-y: auto;
    border-top: 1px solid var(--border-soft);
    animation: fadeInMenu 0.25s ease-out;
}

.mobile-nav.active {
    display: flex;
}

@keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-link {
    padding: 16px 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    border-bottom: 1px solid var(--border-soft);
}

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

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    padding: 80px 0 90px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-soft);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #27ae60;
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(39, 174, 96, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); }
}

.hero-title {
    font-size: 3.4rem;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-title em {
    color: var(--accent);
    font-style: italic;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 580px;
}

/* Barra de Vagas */
.vagas-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.vagas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.vagas-num {
    font-weight: 700;
    color: var(--accent);
}

.vagas-track {
    width: 100%;
    height: 8px;
    background: var(--surface-soft);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.vagas-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-pill);
    transition: width 1s ease-in-out;
}

.vagas-foot {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid var(--border-soft);
    padding-top: 24px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Card Visual da Hero */
.hero-card-visual {
    position: relative;
}

.card-quote {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 35px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 16px;
}

.card-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary);
    line-height: 1.5;
    margin-bottom: 20px;
    font-style: italic;
}

.card-quote cite {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: normal;
    font-weight: 600;
}

.card-quote-footer {
    display: flex;
    gap: 8px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
}

.pill-mini {
    background: var(--surface-soft);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-light);
}

/* ==========================================
   SEÇÃO SOBRE A FLEA
   ========================================== */
.sobre {
    background: #ffffff;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.sobre-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sobre-card {
    background: var(--bg);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 35px 28px;
    transition: var(--transition);
}

.sobre-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.sobre-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.sobre-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================
   SEÇÃO CLÍNICA DOS FORMANDOS
   ========================================== */
.clinica {
    background: var(--bg);
}

.clinica-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 60px 50px;
    box-shadow: var(--shadow-md);
}

.clinica-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.clinica-title {
    font-size: 2.4rem;
    margin: 12px 0 16px;
}

.clinica-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.clinica-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.pillar-box {
    background: var(--surface-soft);
    border-radius: var(--radius-md);
    padding: 28px 22px;
    border: 1px solid var(--border-soft);
}

.pillar-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.pillar-box h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.pillar-box p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Fluxo de Etapas */
.etapas-fluxo {
    border-top: 1px solid var(--border-soft);
    padding-top: 50px;
}

.etapas-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 35px;
}

.etapas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.etapa-item {
    position: relative;
    padding: 0 10px;
}

.etapa-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto 16px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
}

.etapa-item h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.etapa-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================
   SEÇÃO CURSO DE FORMAÇÃO
   ========================================== */
.formacao {
    background: #ffffff;
    border-top: 1px solid var(--border-soft);
}

.formacao-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.formacao-info h2 {
    font-size: 2.3rem;
    margin: 12px 0 16px;
}

.formacao-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.formacao-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.formacao-list li {
    display: flex;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--primary-subtle);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.formacao-box-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.box-badge {
    position: absolute;
    top: -12px;
    right: 25px;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
}

.formacao-box-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.box-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-soft);
}

.detail-label { color: var(--text-muted); }
.detail-val { font-weight: 600; color: var(--primary); }

.box-cta-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: #ffffff;
    padding: 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid var(--border-soft);
}

/* ==========================================
   SEÇÃO FORMULÁRIO DE INSCRIÇÃO
   ========================================== */
.inscricao {
    background: var(--surface-soft);
}

.form-wrapper {
    max-width: 780px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 50px 45px;
    box-shadow: var(--shadow-lg);
}

.form-intro {
    margin-bottom: 35px;
}

.form-title {
    font-size: 2.2rem;
    margin: 12px 0 10px;
}

.form-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Abas */
.tabs-container {
    display: flex;
    gap: 8px;
    background: var(--surface-soft);
    padding: 6px;
    border-radius: var(--radius-pill);
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Formulário e Controles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    background: #fdfdfc;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(35, 66, 52, 0.12);
    background: #ffffff;
}

textarea.form-control {
    resize: vertical;
}

.honeypot {
    display: none !important;
}

.form-submit-row {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn-submit {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.05rem;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-termos {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hidden {
    display: none !important;
}

/* Feedback Box */
.form-feedback {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.form-feedback.success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #1b5e20;
}

.form-feedback.error {
    background: #ffebee;
    border: 1px solid #ef9a9a;
    color: #b71c1c;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   SEÇÃO FAQ
   ========================================== */
.faq {
    background: var(--bg);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item[open] {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-light);
}

.faq-question {
    padding: 20px 24px;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--accent);
    transition: var(--transition);
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 22px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ==========================================
   RODAPÉ
   ========================================== */
.footer {
    background: var(--primary);
    color: #e5ece8;
    padding-top: 70px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-bio {
    font-size: 0.9rem;
    color: #b7c7be;
    max-width: 380px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials .social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
}

.footer-socials .social-link:hover {
    background: var(--accent);
}

.footer h4 {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer ul a {
    font-size: 0.88rem;
    color: #b7c7be;
}

.footer ul a:hover {
    color: #ffffff;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: #8fa598;
    margin-top: 15px;
    line-height: 1.4;
}

.footer-bottom {
    padding: 24px 0;
    font-size: 0.82rem;
    color: #8fa598;
}

/* ==========================================
   RESPONSIVIDADE COMPLETA & MOBILE FIRST
   ========================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .clinica-pillars-grid {
        grid-template-columns: 1fr 1fr;
    }
    .etapas-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .formacao-wrapper {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Tablets e Smartphones */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.9rem;
    }
    .nav-links, .nav-actions {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero {
        padding: 50px 0 60px;
    }
    .hero-title {
        font-size: 2.3rem;
        word-break: break-word;
    }
    .hero-ctas {
        flex-direction: column;
        gap: 12px;
    }
    .hero-highlights {
        flex-direction: column;
        gap: 12px;
    }
    .vagas-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .clinica-box {
        padding: 36px 20px;
    }
    .clinica-title {
        font-size: 1.9rem;
    }
    .clinica-pillars-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .etapas-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .card-quote {
        padding: 28px 20px;
    }
    .card-quote blockquote {
        font-size: 1.2rem;
    }
    .form-wrapper {
        padding: 32px 20px;
    }
    .form-title {
        font-size: 1.9rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    /* Previne zoom automático indesejado no iOS Safari */
    .form-control, select.form-control, textarea.form-control {
        font-size: 16px !important;
    }
    .tabs-container {
        flex-direction: column;
        border-radius: var(--radius-md);
        gap: 6px;
    }
    .tab-btn {
        border-radius: var(--radius-sm);
        padding: 12px;
        text-align: center;
    }
    .faq-question {
        padding: 16px 18px;
        font-size: 1.05rem;
    }
    .faq-answer {
        padding: 0 18px 18px;
        font-size: 0.9rem;
    }
}

/* Smartphones (iPhone, Galaxy, etc.) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero {
        padding: 35px 0 50px;
    }
    .hero-badge {
        font-size: 0.76rem;
        padding: 6px 12px;
        width: 100%;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }
    .hero-title {
        font-size: 1.95rem;
        line-height: 1.2;
    }
    .hero-desc {
        font-size: 0.98rem;
    }
    .btn {
        width: 100%;
    }
    .clinica-box {
        padding: 24px 14px;
        border-radius: var(--radius-md);
    }
    .clinica-title {
        font-size: 1.65rem;
    }
    .form-wrapper {
        padding: 24px 14px;
        border-radius: var(--radius-md);
    }
    .form-title {
        font-size: 1.65rem;
    }
    .formacao-box-card {
        padding: 24px 16px;
    }
    .box-badge {
        position: static;
        display: inline-block;
        margin-bottom: 12px;
    }
    .detail-row {
        flex-direction: column;
        gap: 3px;
    }
    .footer {
        padding-top: 50px;
    }
    .footer-logo {
        font-size: 1.6rem;
    }
}

/* Telas Ultra-pequenas (<= 360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.7rem;
    }
    .logo-sub {
        display: none;
    }
    .tab-btn {
        font-size: 0.82rem;
    }
}
