/* ==========================================================================
   Design System & Estilos Globais - CEDIRP
   ========================================================================== */

/* 1. Fontes Locais (Myriad Pro) */
@font-face {
    font-family: 'Myriad Pro';
    font-style: normal;
    font-weight: 300;
    src: url('../assets/wp-content_uploads_2024_09_MyriadPro-Light.otf') format('opentype');
}
@font-face {
    font-family: 'Myriad Pro';
    font-style: normal;
    font-weight: 400;
    src: url('../assets/wp-content_uploads_2024_09_MYRIADPRO-REGULAR.otf') format('opentype');
}
@font-face {
    font-family: 'Myriad Pro';
    font-style: normal;
    font-weight: 600;
    src: url('../assets/wp-content_uploads_2024_09_MYRIADPRO-SEMIBOLD.otf') format('opentype');
}
@font-face {
    font-family: 'Myriad Pro';
    font-style: normal;
    font-weight: 700;
    src: url('../assets/wp-content_uploads_2024_09_MYRIADPRO-BOLD.otf') format('opentype');
}
@font-face {
    font-family: 'Myriad Pro';
    font-style: normal;
    font-weight: 200;
    src: url('../assets/wp-content_uploads_2024_09_MYRIADPRO-COND.otf') format('opentype');
}

/* 2. Variáveis de Design */
:root {
    /* Cores Principais */
    --color-primary: #356198;       /* Azul Escuro Cedirp */
    --color-secondary: #2b7bb9;     /* Azul Médio */
    --color-accent: #478fcb;        /* Azul Claro / Ações */
    --color-accent-hover: #1e5c8f;
    --color-dark: #3d3b3b;          /* Texto principal */
    --color-light-bg: #f5f8fc;      /* Fundo cinza-azul claro */
    --color-white: #ffffff;
    --color-gray: #777777;
    --color-border: #e2e8f0;
    
    /* Fontes e Tipografia */
    --font-main: 'Myriad Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Grid & Spacing */
    --max-width: 1200px;
    --header-height: 100px;
    --top-bar-height: 40px;
    
    /* Sombras & Bordas */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-premium: 0 20px 25px -5px rgba(53, 97, 152, 0.1), 0 10px 10px -5px rgba(53, 97, 152, 0.04);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3. Resets & Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-main);
    color: var(--color-dark);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* 4. Classes Utilitárias */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

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

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--color-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: none;
}

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

.btn-whatsapp {
    background-color: #25d366;
    color: var(--color-white);
}

.btn-whatsapp:hover {
    background-color: #128c7e;
}

.badge-whatsapp-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* 5. Layout do Header */
.site-header {
    width: 100%;
    position: relative;
    z-index: 1000;
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

/* Barra Superior Azul */
.top-bar {
    background-color: var(--color-primary);
    color: var(--color-white);
    height: var(--top-bar-height);
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.top-bar-contact img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    filter: brightness(0) invert(1);
}

.top-bar-nav {
    display: flex;
    gap: 20px;
}

.top-bar-nav a:hover {
    opacity: 0.8;
}

/* Barra de Navegação Principal */
.main-nav-bar {
    height: var(--header-height);
    background-color: var(--color-white);
    transition: var(--transition);
}

.main-nav-bar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: var(--shadow-md);
    height: 80px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

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

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.main-nav-bar.sticky .logo img {
    height: 48px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 600;
    color: var(--color-primary);
    padding: 10px 0;
    font-size: 18px;
    letter-spacing: 0.5px;
}

/* Menu 18px so em telas largas; em larguras intermediarias (ate o breakpoint
   do hamburger em 992px) volta a 15px para nao quebrar linha nem encostar no logo */
@media (max-width: 1279px) {
    .nav-link {
        font-size: 15px;
    }
}

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

/* Indicador de link ativo */
.nav-item.active .nav-link {
    color: var(--color-accent);
}

.nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
}

/* O botão CTA do menu (ex.: "Agende Seus Exames") não exibe o sublinhado de item ativo */
.nav-item.active .nav-link.btn::after {
    display: none;
}

/* Submenu / Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--color-dark);
    font-weight: 600;
}

.dropdown-item a:hover {
    background-color: var(--color-light-bg);
    color: var(--color-accent);
}

/* Menu Mobile Hamburguer */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* 6. Layout de Hero / Banner de Página */
.page-hero {
    background: linear-gradient(135deg, rgba(53, 97, 152, 0.9), rgba(43, 123, 185, 0.8)), url('../assets/wp-content_uploads_2025_01_cedirp-estrutura-001.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    height: 164px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.page-hero h1 {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.page-hero p {
    font-size: 16px;
    margin: 5px 0 0 0;
    opacity: 0.9;
}

/* Hero das páginas de exame: breadcrumb + título em caixa normal (padrão do site publicado) */
.page-hero .hero-breadcrumb {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0 0 6px 0;
    opacity: 0.85;
}

.page-hero.hero-exame h1 {
    text-transform: none;
}

/* Pesquisa de Satisfação (formulário Google incorporado) */
.pesquisa-embed {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.pesquisa-embed iframe {
    display: block;
    width: 100%;
    height: 2150px;
    border: 0;
}

.pesquisa-fallback {
    text-align: center;
    margin: 24px 0 0 0;
    font-size: 15px;
    color: var(--color-gray);
}

.pesquisa-fallback a {
    font-weight: 600;
}

@media (max-width: 768px) {
    .pesquisa-embed iframe {
        height: 2450px;
    }
}

/* Agendar Exame (Telefone / WhatsApp) */
.agendar-hero {
    display: block;
    height: auto;
    padding: 56px 0;
}

.agendar-hero h1 {
    text-transform: none;
    font-size: 32px;
    line-height: 1.2;
    max-width: 760px;
    margin: 0 auto;
}

.agendar-hero p {
    max-width: 620px;
    margin: 14px auto 0;
    font-size: 17px;
}

/* Bloco CTA: mockup + botões */
.agendar-cta {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 56px;
    align-items: center;
}

.agendar-cta-media {
    display: flex;
    justify-content: center;
}

.agendar-cta-media img {
    width: 100%;
    max-width: 300px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
}

.agendar-eyebrow {
    display: inline-block;
    background-color: var(--color-light-bg);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.agendar-cta-content h2 {
    color: var(--color-primary);
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 14px;
}

.agendar-cta-content > p {
    color: var(--color-gray);
    font-size: 17px;
    margin-bottom: 28px;
    max-width: 460px;
}

.agendar-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 380px;
}

.agendar-btn {
    width: 100%;
    padding: 16px 24px;
    gap: 14px;
    font-size: 17px;
    box-shadow: var(--shadow-md);
}

.agendar-btn-phone {
    background-color: var(--color-primary);
}

.agendar-btn-phone:hover {
    background-color: var(--color-accent-hover);
}

.agendar-btn-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.agendar-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    font-weight: 700;
}

.agendar-btn-text small {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.92;
}

.agendar-note {
    margin-top: 18px;
    font-size: 14px;
    color: var(--color-gray);
}

/* Cards de Atendimento e Localização */
.agendar-info-section {
    background-color: var(--color-light-bg);
}

.agendar-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.agendar-info-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 36px;
}

.agendar-info-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.agendar-info-head svg {
    width: 26px;
    height: 26px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.agendar-info-head h3 {
    color: var(--color-primary);
    font-size: 20px;
    margin: 0;
}

.agendar-hours {
    margin: 0;
}

.agendar-hours li {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.agendar-hours li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.agendar-hours strong {
    color: var(--color-primary);
    margin-bottom: 3px;
}

.agendar-hours span {
    color: var(--color-gray);
    font-size: 15px;
}

.agendar-address {
    font-size: 17px;
    margin-bottom: 8px;
}

.agendar-parking {
    color: var(--color-gray);
    font-style: italic;
    margin-bottom: 22px;
}

.agendar-maps-btn {
    padding: 10px 22px;
}

@media (max-width: 860px) {
    .agendar-cta {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .agendar-cta-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .agendar-actions {
        margin: 0 auto;
    }

    .agendar-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .agendar-hero {
        padding: 40px 0;
    }

    .agendar-hero h1 {
        font-size: 25px;
    }

    .agendar-hero p {
        font-size: 15px;
    }

    .agendar-cta-content h2 {
        font-size: 23px;
    }

    .agendar-actions {
        max-width: 100%;
    }

    .agendar-info-card {
        padding: 28px 22px;
    }
}

/* 7. Rodapé (Footer) */
.site-footer {
    background-color: #fafbfc;
    border-top: 1px solid var(--color-border);
    color: var(--color-dark);
}

.footer-top {
    padding: 60px 0;
}

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

.footer-col h3 {
    color: var(--color-primary);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

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

.footer-col p {
    margin-bottom: 12px;
    font-size: 15px;
}

.footer-col strong {
    color: var(--color-primary);
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-col ul li a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-bottom {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.footer-bottom a {
    color: var(--color-white);
    text-decoration: underline;
}

.footer-bottom a:hover {
    opacity: 0.8;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.developed-by {
    display: flex;
    align-items: center;
    gap: 8px;
}

.developed-by img {
    height: 24px;
    object-fit: contain;
}

/* 8. Componente de WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--color-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* 9. Layouts Específicos das Páginas */

/* Home Page */
.home-hero {
    min-height: 500px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 30%, rgba(255,255,255,0.5) 100%), url('../assets/wp-content_uploads_2025_01_cedirp-estrutura-001.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.home-hero-content {
    max-width: 600px;
}

.home-hero h2 {
    font-size: 46px;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.home-hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--color-dark);
}

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

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(53, 97, 152, 0.05);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(53, 97, 152, 0.15);
}

.step-icon {
    width: 70px;
    height: 70px;
    background-color: var(--color-light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.step-icon img {
    width: 36px;
    height: 36px;
}

.step-card h3 {
    color: var(--color-primary);
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.step-card p {
    font-size: 15px;
    color: var(--color-gray);
    margin-bottom: 20px;
}

.padi-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.padi-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.padi-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.padi-image img {
    max-height: 250px;
    object-fit: contain;
}

.padi-content {
    flex: 1.5;
}

.padi-content h2 {
    color: var(--color-primary);
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.padi-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Corpo Clínico */
.doctor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

.doctor-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

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

.doctor-photo {
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    background-color: #eee;
}

.doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.doctor-card:hover .doctor-photo img {
    transform: scale(1.05);
}

.doctor-info {
    padding: 20px;
    text-align: center;
}

.doctor-info h2 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 5px;
    font-weight: 700;
}

.doctor-info p {
    font-size: 14px;
    color: var(--color-gray);
}

/* Estrutura */
.structure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.structure-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    position: relative;
}

.structure-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.structure-item::after {
    content: '+';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(53, 97, 152, 0.6);
    color: var(--color-white);
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.structure-item:hover img {
    transform: scale(1.05);
}

.structure-item:hover::after {
    opacity: 1;
}

/* Lightbox Simples */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border: 4px solid var(--color-white);
    border-radius: var(--radius-sm);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--color-white);
    font-size: 40px;
    cursor: pointer;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-white);
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    padding: 20px;
    z-index: 2010;
    transition: var(--transition);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    color: var(--color-accent);
    transform: translateY(-50%) scale(1.1);
}


/* Convênios */
.convenio-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.convenio-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 15px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.convenio-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.convenio-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 900px) {
    .convenio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 560px) {
    .convenio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Resultados */
.resultados-tabs-container {
    max-width: 800px;
    margin: 0 auto;
}

.resultados-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 15px;
}

.tab-btn {
    padding: 12px 30px;
    font-weight: 700;
    font-size: 16px;
    color: var(--color-gray);
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--color-primary);
}

.tab-btn.active {
    color: var(--color-white);
    background-color: var(--color-primary);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.tab-pane.active {
    display: block;
}

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

.login-form-box {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-premium);
}

/* Mensagem de status do formulário (Fale Conosco) */
.form-status {
    display: none;
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
}

.form-status.success {
    background-color: #e6f7ed;
    color: #1b7a43;
    border: 1px solid #b6e2c6;
}

.form-status.error {
    background-color: #fdecea;
    color: #b3261e;
    border: 1px solid #f5c6c2;
}

.login-form-box h3 {
    color: var(--color-primary);
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.forgot-password-link {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
}

.forgot-password-link a {
    color: var(--color-accent);
    font-weight: 600;
}

.forgot-password-link a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

/* Variação compacta do box de resultados (usado na home) */
.resultados-tabs-compact {
    max-width: 100%;
}

.resultados-tabs-compact .resultados-nav {
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.resultados-tabs-compact .tab-btn {
    padding: 8px 16px;
    font-size: 14px;
}

.resultados-tabs-compact .login-form-box {
    padding: 24px;
}

.resultados-tabs-compact .login-form-box h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.resultados-tabs-compact .form-group {
    margin-bottom: 14px;
}

.resultados-tabs-compact .btn {
    height: 46px;
    font-size: 15px;
    margin-top: 4px;
}

.resultados-tabs-compact .forgot-password-link {
    margin-top: 12px;
    font-size: 13px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(71, 143, 203, 0.2);
}

.form-info-box {
    margin-top: 40px;
    padding: 25px;
    background-color: var(--color-light-bg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
}

.form-info-box h4 {
    color: var(--color-primary);
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-info-box p {
    font-size: 14px;
    margin-bottom: 8px;
}

/* Localização & Fale Conosco */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 450px;
    border: 1px solid var(--color-border);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.info-card {
    background-color: var(--color-light-bg);
    padding: 25px;
    border-radius: var(--radius-md);
    border-top: 4px solid var(--color-primary);
}

.info-card h4 {
    color: var(--color-primary);
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 700;
}

.info-card p {
    font-size: 14px;
}

.btn-contact-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    filter: brightness(0.97);
}


/* Exames e Preparos */
.exam-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.exam-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
    background-color: var(--color-white);
}

.exam-header {
    background-color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--color-primary);
    transition: var(--transition);
}

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

.exam-header::after {
    content: '▼';
    font-size: 12px;
    color: var(--color-accent);
    transition: var(--transition);
}

.exam-item.active .exam-header::after {
    transform: rotate(180deg);
}

.exam-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.exam-item.active .exam-content {
    padding: 20px;
    max-height: 1000px;
    border-top: 1px solid var(--color-border);
}

/* 10. Responsividade (Media Queries) */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: calc(var(--top-bar-height) + var(--header-height));
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--top-bar-height) - var(--header-height));
        background-color: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }

    /* Submenu inline no mobile (evita a caixa flutuante sobrepondo os itens) */
    .nav-menu .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        background-color: transparent;
        min-width: 0;
        padding: 6px 0 0 16px;
    }

    .nav-menu .dropdown-item a {
        padding: 8px 0;
    }

    .menu-toggle {
        display: flex;
    }
    
    .top-bar-nav {
        display: none;
    }
    
    .padi-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float img {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 576px) {
    .top-bar {
        font-size: 12px;
    }
    
    .home-hero h2 {
        font-size: 32px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   11. Página Inicial — Novo Design
   ========================================================================== */

/* Título padrão das seções */
.nd-section-title {
    color: var(--color-primary);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* 1. Hero */
.nd-hero {
    background: linear-gradient(90deg, rgba(53, 97, 151, 0.93) 0%, rgba(70, 110, 160, 0.73) 100%), url('../assets/wp-content_uploads_2025_08_Fachada.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    min-height: 780px;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 70px 0;
}

.nd-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nd-hero-logo {
    width: 100%;
    max-width: 420px;
    height: auto;
    margin-bottom: 30px;
}

.nd-hero-text {
    max-width: 760px;
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

/* 2. Resultados Online */
.nd-results-grid {
    display: block;
    max-width: 820px;
    margin: 0 auto;
}

.nd-results-text {
    text-align: center;
    margin-bottom: 36px;
}

.nd-results-text p {
    margin-bottom: 16px;
    font-size: 16px;
}

.nd-results-text a {
    color: var(--color-accent);
}

.nd-results-text a:hover {
    color: var(--color-accent-hover);
}

/* 3. Exames Oferecidos (Opção 1) — lista + slideshow */
.nd-exams-opt1 {
    background-color: var(--color-light-bg);
}

.exams-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.exam-list {
    margin-top: 10px;
}

.exam-list li {
    margin-bottom: 4px;
}

.exam-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: var(--color-primary);
    padding: 6px 0;
}

.exam-list li a::before {
    content: '\276F';
    color: var(--color-accent);
    opacity: 0.5;
    font-weight: 700;
}

.exam-list li a:hover {
    color: var(--color-accent);
    padding-left: 6px;
}

.exam-slideshow {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--color-border);
}

.exam-slideshow img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: ndSlideshow 16s infinite;
}

.exam-slideshow img:nth-child(1) { animation-delay: 0s; }
.exam-slideshow img:nth-child(2) { animation-delay: 4s; }
.exam-slideshow img:nth-child(3) { animation-delay: 8s; }
.exam-slideshow img:nth-child(4) { animation-delay: 12s; }

@keyframes ndSlideshow {
    0%   { opacity: 0; }
    3%   { opacity: 1; }
    25%  { opacity: 1; }
    28%  { opacity: 0; }
    100% { opacity: 0; }
}

/* 4. Exames Oferecidos (Opção 2) — grade de cards */
.exams-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.exam-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(160deg, #ffffff 0%, var(--color-light-bg) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.exam-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
    border-color: var(--color-accent);
}

.exam-card-icon {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.exam-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.exam-card h3 {
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    flex-grow: 1;
}

.exam-card-cta {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 15px;
}

.exam-card:hover .exam-card-cta {
    color: var(--color-accent-hover);
}

/* 5. Por que escolher a CEDIRP */
.nd-why {
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../assets/wp-content_uploads_2025_08_Background-Branco-scaled.jpg');
    background-size: cover;
    background-position: center;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-main p {
    margin-bottom: 16px;
    font-size: 16px;
}

.why-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--color-accent);
}

.why-card h3 {
    color: var(--color-primary);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--color-gray);
    font-size: 15px;
    margin-bottom: 16px;
}

.nd-link-cta {
    color: var(--color-accent);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nd-link-cta::after {
    content: '\2192';
    transition: var(--transition);
}

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

.nd-link-cta:hover::after {
    transform: translateX(4px);
}

/* 6. Sobre a Clínica + galeria */
.nd-about-text {
    max-width: 760px;
    margin-bottom: 40px;
    color: var(--color-gray);
    font-size: 16px;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.about-gallery img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.about-gallery img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* 7. Como funciona (3 passos) */
.nd-process {
    background-color: var(--color-light-bg);
}

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

.process-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--color-white);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.process-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon svg {
    width: 28px;
    height: 28px;
}

.process-text h3 {
    color: var(--color-primary);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-text p {
    font-size: 15px;
    color: var(--color-gray);
}

/* 8. CTA — Agende seu exame */
.nd-cta {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgb(255, 255, 255) 100%), url('../assets/wp-content_uploads_2025_08_Background-Branco-scaled.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
}

.nd-cta-inner {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.nd-cta-inner h2 {
    color: var(--color-primary);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.nd-cta-inner p {
    font-size: 17px;
    color: var(--color-dark);
    margin-bottom: 28px;
}

/* 9. PADI */
.nd-padi {
    background: linear-gradient(rgba(53, 97, 151, 0.94), rgba(53, 97, 151, 0.94)), url('../assets/wp-content_uploads_2025_08_Background-Branco-scaled.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    padding: 70px 0;
}

.nd-padi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.nd-padi-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--color-white);
}

.nd-padi-text p {
    font-size: 17px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.92);
}

.nd-padi-logo {
    display: flex;
    justify-content: center;
}

.nd-padi-logo img {
    max-height: 150px;
    object-fit: contain;
}

/* 10. Mapa */
.nd-map {
    line-height: 0;
}

.nd-map iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

/* Ícones sociais do rodapé */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--color-white);
}

/* Responsividade do novo design */
@media (max-width: 992px) {
    .nd-results-grid,
    .exams-split,
    .why-grid,
    .nd-padi-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .exams-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .nd-padi-logo {
        order: -1;
    }
}

@media (max-width: 768px) {
    .exams-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .nd-hero {
        min-height: 560px;
    }

    .nd-hero-text {
        font-size: 17px;
    }

    .nd-section-title,
    .nd-cta-inner h2,
    .nd-padi-text h2 {
        font-size: 26px;
    }

    .exam-list li a {
        font-size: 17px;
    }

    .about-gallery img {
        height: 180px;
    }
}

/* ==========================================================================
   Pesquisa de Satisfação (página pública)
   ========================================================================== */
.survey-intro {
    text-align: center;
    color: var(--color-gray);
    max-width: 620px;
    margin: 0 auto 30px;
}

.survey-form {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    padding: 35px;
}

.survey-question {
    margin-bottom: 28px;
}

.survey-label {
    display: block;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.survey-label .req {
    color: #e23b3b;
}

.field-error {
    color: #e23b3b;
    font-size: 14px;
    margin-top: 6px;
}

.survey-alert {
    background-color: #fdecea;
    border-left: 4px solid #e23b3b;
    color: #b5302a;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.survey-privacy {
    font-size: 13px;
    color: var(--color-gray);
    margin: 20px 0;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Escala NPS 1 a 10 */
.nps-scale {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nps-scale input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.nps-scale label {
    flex: 1 1 auto;
    min-width: 42px;
    text-align: center;
    padding: 12px 0;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-weight: 700;
    color: var(--color-primary);
    cursor: pointer;
    transition: var(--transition);
}

.nps-scale label:hover {
    border-color: var(--color-accent);
}

.nps-scale input:checked + label {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.nps-scale input:focus-visible + label {
    box-shadow: 0 0 0 3px rgba(71, 143, 203, 0.35);
}

.nps-legend {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--color-gray);
    margin-top: 8px;
}

/* Critérios Ótimo / Bom / Regular / Ruim */
.rating-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rating-options input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rating-options label {
    flex: 1 1 120px;
    text-align: center;
    padding: 12px 14px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    transition: var(--transition);
}

.rating-options label:hover {
    border-color: var(--color-accent);
}

.rating-options input:checked + label {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.rating-options input:focus-visible + label {
    box-shadow: 0 0 0 3px rgba(71, 143, 203, 0.35);
}

/* Tela de agradecimento */
.survey-thanks {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    padding: 50px 35px;
    text-align: center;
}

.survey-thanks .check {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #eafaf1;
    color: #2bbd6e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 38px;
    line-height: 1;
}

.survey-thanks h2 {
    color: var(--color-primary);
    margin-bottom: 12px;
}

.survey-thanks p {
    color: var(--color-gray);
    max-width: 480px;
    margin: 0 auto 18px;
}

/* ==========================================================================
   Tutorial de Acesso aos Resultados
   ========================================================================== */
.tutorial-card {
    max-width: 820px;
    margin: 0 auto;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    padding: 40px;
}

.tutorial-content h2 {
    color: var(--color-primary);
    font-size: 22px;
    font-weight: 700;
    margin: 38px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-light-bg);
}

.tutorial-content h2:first-child {
    margin-top: 0;
}

.tutorial-content h3 {
    color: var(--color-primary);
    font-size: 17px;
    font-weight: 700;
    margin: 26px 0 10px;
}

.tutorial-content p {
    margin-bottom: 14px;
    line-height: 1.7;
}

.tutorial-content ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 16px;
}

.tutorial-content ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.tutorial-content a {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: underline;
}

.tutorial-content a:hover {
    color: var(--color-accent-hover);
}

.tutorial-img {
    display: block;
    width: 100%;
    max-width: 640px;
    margin: 18px auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.tutorial-note {
    background-color: var(--color-light-bg);
    border-left: 4px solid var(--color-accent);
    padding: 12px 16px;
    border-radius: var(--radius-md);
}

.tutorial-icon-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tutorial-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 3px;
}

.tutorial-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 40px 0;
}

/* Banner de página no padrão do site publicado (gradiente azul horizontal) */
.page-hero.hero-banner {
    background: linear-gradient(90deg, #356198 0%, #54a7db 100%);
}

/* agendarexame: card único (só Localização) centralizado */
.agendar-info-grid--single {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================================
   FOOTER (ftx) — clone do rodapé do site anterior (ago/2026)
   Gradiente e conteúdo idênticos ao WordPress antigo (/siteex)
   ============================================================ */
.ftx {
    background: linear-gradient(90deg, #474747 0%, #6b6c6d 100%);
    color: #fff;
    font-size: 17px;
}
.ftx a { color: #fff; text-decoration: none; }
.ftx a:hover { text-decoration: underline; }

.ftx-top {
    display: grid;
    grid-template-columns: 250px 1.15fr 1fr;
    gap: 46px;
    align-items: start;
    padding-top: 55px;
    padding-bottom: 8px;
}
.ftx-logo { padding-top: 26px; }
.ftx-logo img { width: 207px; height: auto; }

.ftx h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: .4px;
    margin: 0 0 16px;
}
.ftx-col p {
    color: #fff;
    font-size: 17px;
    line-height: 1.45;
    margin: 0 0 16px;
}
.ftx-icone-linha {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}
.ftx-icone-linha svg { flex-shrink: 0; }

.ftx-meio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 30px;
    padding-bottom: 42px;
}
.ftx-cbr img { width: 168px; height: auto; display: block; }
.ftx-contato {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 17px;
    line-height: 1.4;
}
.ftx-contato svg { flex-shrink: 0; }
.ftx-social { display: flex; align-items: center; gap: 28px; }
.ftx-social a { display: inline-flex; }
.ftx-social svg { width: 32px; height: 32px; }

.ftx-bottom { padding: 14px 0 24px; }
.ftx-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.ftx-bottom p { margin: 0; font-size: 15px; color: #fff; }
.ftx-bottom img { height: 20px; width: auto; display: block; }

@media (max-width: 992px) {
    .ftx-top { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
    .ftx-logo { padding-top: 0; }
    .ftx-meio { flex-direction: column; align-items: flex-start; gap: 24px; }
}
@media (max-width: 576px) {
    .ftx { font-size: 16px; }
    .ftx-col p, .ftx-contato { font-size: 16px; }
    .ftx-bottom-inner { flex-direction: column; align-items: flex-start; }
}
