/**
 * Custom Styles for Athos Med V1
 * Complementary to style.css
 */

/* === GLOBAL SVG ICONS === */
.icon-svg,
svg.icon-svg {
    display: inline-block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0; /* Previne compressão */
    vertical-align: middle; /* Alinhamento */
}

/* Garante que SVG inline funcione corretamente */
svg.icon-svg:not([width]) {
    width: 20px;
    height: 20px;
}

svg.icon-svg:not([viewBox]) {
    viewBox: 0 0 24 24;
}

/* === TOP BAR === */
.top-bar {
    background-color: var(--color-navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    font-size: 0.75rem;
}

.top-bar a:hover {
    color: white;
}

/* === HEADER === */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    z-index: 1000;
    padding: 16px 0;
}

/* Logo Customizada */
.custom-logo-link {
    display: block;
    max-width: 200px;
    height: auto;
}

.custom-logo-link img {
    width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    display: block;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-navy);
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
    font-style: italic;
    position: relative;
}

.logo-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-red);
    position: absolute;
    top: 6px;
    right: 6px;
    border-radius: 50%;
}

.logo-text {
    line-height: 1;
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-athos {
    color: var(--color-navy);
}

.logo-med {
    color: var(--color-red);
}

.logo-tagline {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: #000;
}

/* === NAVIGATION === */
.main-navigation ul {
    display: none;
}

@media (min-width: 992px) {
    .main-navigation ul {
        display: flex;
        align-items: center;
        gap: 32px;
        font-weight: 600;
        font-size: 0.9rem;
        color: var(--color-navy);
    }
    
    .main-navigation a:hover {
        color: var(--color-red);
    }
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
    background: none;
    padding: 8px;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1998;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: white;
    z-index: 1999;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-menu-close {
    background: none;
    padding: 8px;
}

.mobile-menu nav ul {
    padding: 20px;
}

.mobile-menu nav ul li {
    margin-bottom: 16px;
}

.mobile-menu nav ul li a {
    display: block;
    padding: 8px 0;
    color: var(--color-navy);
    font-weight: 600;
}

.mobile-menu nav ul li a:hover {
    color: var(--color-red);
}

.mobile-menu-cta {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
}

/* === HERO SLIDER === */
.hero-slider {
    position: relative;
    overflow: hidden;
    margin-top: -48px; /* Remove espaço do header - AUMENTADO */
    margin-bottom: -40px; /* Reduz espaço inferior */
}

.hero-slider + section,
.hero-slider + .section {
    margin-top: 0;
    padding-top: 60px; /* Reduzido de 80px para 60px */
}

.slider-container {
    position: relative;
    width: 100%;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

@media (max-width: 768px) {
    .slide {
        height: 500px;
    }
}

.slide-content {
    max-width: 700px;
    color: white;
}

.slide-content h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .slide-content h1 {
        font-size: 3.5rem;
    }
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* === FALLBACK HERO === */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff 50%, var(--color-bg-light) 100%);
    position: relative;
    overflow: hidden;
}

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

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--color-bg-light);
    border: 1px solid #e2e8f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-navy);
    margin-bottom: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-red);
    border-radius: 50%;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    color: var(--color-navy);
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--color-red);
}

.hero p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
    border-left: 4px solid var(--color-red);
    padding-left: 20px;
}

.hero-img-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
}

.float-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--color-navy);
    box-shadow: var(--shadow);
    max-width: 250px;
}

/* === SAFETY BANNER === */
.safety-banner {
    background-color: var(--color-navy);
    background-image: linear-gradient(to right, var(--color-navy), #0a366b);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.safety-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

.safety-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.safety-banner h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
}

.safety-banner p {
    color: #bfdbfe;
    max-width: 600px;
    margin-bottom: 30px;
}

/* === MODAL === */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 20px;
    overflow-y: auto; /* Permite scroll */
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal {
    background: white;
    width: 90%;
    max-width: 900px; /* Aumentado de 500px para 900px */
    border-radius: 12px;
    overflow: visible; /* Alterado de hidden para visible */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
    margin: auto; /* Centraliza verticalmente */
    max-height: 90vh; /* Limita altura máxima */
}

@media (max-width: 768px) {
    .modal {
        width: 95%;
        max-width: 100%;
        max-height: 95vh;
    }
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    background: var(--color-navy);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
    color: white;
}

.close-modal {
    background: none;
    color: white;
    font-size: 24px;
    padding: 0;
}

.modal-body {
    padding: 32px;
    max-height: calc(90vh - 80px); /* Altura máxima menos o header */
    overflow-y: auto; /* Scroll interno */
}

@media (max-width: 768px) {
    .modal-body {
        padding: 20px;
        max-height: calc(95vh - 70px);
    }
}

.form-group {
    margin-bottom: 16px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-note {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: -8px;
    margin-bottom: 12px;
}

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

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: 0.2s;
}

.form-input:focus {
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px rgba(0, 43, 92, 0.1);
}

.error-msg {
    color: var(--color-red);
    font-size: 0.75rem;
    margin-top: 4px;
    display: none;
}

.result-box {
    display: none;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
    text-align: left;
}

.result-box.danger {
    background: #fef2f2;
    border-color: #fecaca;
}

/* === SERVICES === */
.services {
    padding: 80px 0;
    background: white;
}

.section-subtitle {
    color: var(--color-text-light);
    margin-top: 10px;
    font-size: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--color-red);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: #eef2ff;
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--color-navy);
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.service-card p,
.service-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--color-red);
    font-weight: 600;
    transition: all 0.3s;
}

.service-link:hover {
    transform: translateX(5px);
}

/* === IN COMPANY HIGHLIGHT === */
.in-company-highlight {
    padding: 80px 0;
    background: white; /* Fundo branco */
}

.in-company-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .in-company-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.in-company-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.in-company-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    margin: 30px 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
}

/* === BRANCHES === */
.branches {
    background: #f8fafc;
    padding: 80px 0;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.branch-card {
    border: 1px solid #e2e8f0;
    padding: 24px;
    border-radius: var(--radius);
    display: flex;
    gap: 20px;
    transition: all 0.3s;
}

.branch-card:hover {
    border-color: var(--color-navy);
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.branch-icon {
    background: var(--color-bg-light);
    padding: 10px;
    border-radius: 50%;
    height: fit-content;
}

.branch-info h3 {
    color: var(--color-navy);
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.branch-address {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 10px;
}

.branch-contact {
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    color: var(--color-navy);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* === FOOTER === */
.site-footer {
    background-color: var(--color-navy);
    color: white;
    padding: 60px 0 20px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-custom-logo,
.footer-logo-wrapper img {
    max-width: 200px;
    max-height: 60px;
    height: auto;
    width: auto;
    display: block;
}

.footer-logo .logo-text {
    filter: none !important;
}

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

.footer-description {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-top: 15px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    display: inline-block;
    color: white;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.footer-col ul li a:hover {
    color: white;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

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

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 12px;
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* === WHATSAPP FLUTUANTE === */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

/* === BLOG === */
.blog-archive {
    padding: 80px 0;
}

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

.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.blog-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 20px;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.blog-title a {
    color: var(--color-navy);
}

.blog-title a:hover {
    color: var(--color-red);
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* === PAGE HEADER === */
.entry-header {
    padding: 60px 0 40px;
    background: var(--color-bg-light);
    text-align: center;
}

.entry-header .container {
    max-width: 1200px;
}

.featured-image {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.entry-title {
    font-size: 2.5rem;
    color: var(--color-navy);
    margin-bottom: 0;
}

.entry-content {
    padding: 60px 0;
}

.entry-content .container {
    max-width: 800px;
}

.entry-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

/* === PAGE HEADER SECTION === */
.page-header-section {
    background: linear-gradient(135deg, var(--color-navy) 0%, #0a366b 100%);
    padding: 80px 0 60px;
    color: white;
}

.page-header-content h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* === SERVICES LIST === */
.services-list-section {
    padding: 80px 0;
}

.service-card-detailed {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

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

.service-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-icon-large {
    background: var(--color-bg-light);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-icon-large .icon-svg {
    width: 80px;
    height: 80px;
    stroke: var(--color-navy);
}

.service-card-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.icon-box-sm {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.service-description {
    flex: 1;
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--color-text-light);
}

/* === CTA SECTION === */
.cta-section {
    padding: 60px 0;
    background: var(--color-bg-light);
}

.cta-box {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 1rem;
    color: var(--color-text-light);
}

.cta-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* === UNIDADES SECTION === */
.unidades-section {
    padding: 80px 0;
}

.unidades-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.unidade-card-full {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
}

.unidade-card-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15);
}

.unidade-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 992px) {
    .unidade-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.unidade-visual {
    background: var(--color-bg-light);
    min-height: 350px;
}

.unidade-map,
.unidade-image,
.unidade-placeholder {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

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

.unidade-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.unidade-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.unidade-info {
    padding: 40px;
}

.unidade-header {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--color-bg-light);
}

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

.unidade-header h2 {
    font-size: 1.75rem;
    margin-bottom: 5px;
}

.unidade-address {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.unidade-description {
    margin-bottom: 30px;
    line-height: 1.7;
    color: var(--color-text);
}

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

.contact-item-lg {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: var(--color-bg-light);
    border-radius: 8px;
}

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

.contact-icon.whatsapp {
    background: #25d366;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
}

.contact-value:hover {
    color: var(--color-red);
}

.unidade-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* === IN COMPANY CTA SECTION === */
.in-company-cta-section {
    padding: 60px 0;
    background: var(--color-navy);
}

.in-company-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-icon {
    flex-shrink: 0;
}

.in-company-cta-box .cta-content {
    flex: 1;
}

.in-company-cta-box .cta-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 10px;
}

.in-company-cta-box .cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* === IN COMPANY HERO === */
.in-company-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff 0%, var(--color-bg-light) 100%);
}

.in-company-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .in-company-hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.benefits-list-hero {
    list-style: none;
    margin: 30px 0;
}

.benefits-list-hero li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* === HOW IT WORKS === */
.how-it-works {
    padding: 80px 0;
    background: var(--color-bg-light);
}

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

.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

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

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--color-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

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

.step-icon .icon-svg {
    width: 35px;
    height: 35px;
    stroke: var(--color-navy);
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.step-card p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* === CALCULATOR SECTION === */
.calculator-section {
    padding: 80px 0;
}

.calculator-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.calculator-header {
    background: linear-gradient(135deg, var(--color-navy) 0%, #0a366b 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.calculator-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.calculator-icon .icon-svg {
    stroke: white;
}

.calculator-header h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 10px;
}

.calculator-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.calculator-form {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group small {
    color: var(--color-text-light);
    font-size: 0.8rem;
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1.1rem;
}

.calculator-results-container {
    padding: 0 40px 40px;
}

.calculator-results {
    animation: fadeIn 0.6s ease;
}

.result-header {
    text-align: center;
    margin-bottom: 30px;
}

.result-header h3 {
    font-size: 1.75rem;
    color: var(--color-navy);
    margin-bottom: 5px;
}

.result-header p {
    color: var(--color-text-light);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background: var(--color-bg-light);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
}

.result-card.highlight {
    background: linear-gradient(135deg, var(--color-navy) 0%, #0a366b 100%);
    color: white;
}

.result-card.highlight .result-label,
.result-card.highlight .result-value,
.result-card.highlight .result-detail {
    color: white;
}

.result-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.result-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 10px;
}

.result-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 5px;
}

.result-detail {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.result-cta {
    background: var(--color-bg-light);
    padding: 30px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.result-cta h4 {
    font-size: 1.5rem;
    color: var(--color-navy);
    margin-bottom: 5px;
}

.result-cta p {
    color: var(--color-text-light);
}

.result-disclaimer {
    margin-top: 20px;
    text-align: center;
    padding: 15px;
    background: #fffbeb;
    border-radius: var(--radius);
    border: 1px solid #fcd34d;
}

.result-disclaimer small {
    color: #92400e;
}

/* === DIFFERENTIALS === */
.differentials-section {
    padding: 80px 0;
    background: var(--color-bg-light);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.differential-card {
    background: white;
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
}

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

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

.differential-icon .icon-svg {
    width: 35px;
    height: 35px;
    stroke: var(--color-navy);
}

.differential-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.differential-card p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* === FINAL CTA === */
.final-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-navy) 0%, #0a366b 100%);
}

.final-cta-box {
    text-align: center;
    color: white;
}

.final-cta-box h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.final-cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero h1,
    .in-company-content h2,
    .in-company-hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .branches-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box,
    .result-cta {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions,
    .cta-actions-group {
        justify-content: center;
    }
    
    .unidade-info {
        padding: 30px 20px;
    }
    
    .calculator-form,
    .calculator-results-container {
        padding: 30px 20px;
    }
}

/* === BLOG === */
.blog-archive,
.single-post {
    padding: 80px 0;
    background: #F4F6F8;
    min-height: 100vh;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 2.5rem;
    color: var(--color-navy);
    margin-bottom: 16px;
}

.archive-description {
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.blog-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #64748b;
}

.blog-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-categories a {
    color: var(--color-red);
    font-weight: 600;
}

.blog-card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card-title a {
    color: var(--color-navy);
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--color-red);
}

.blog-card-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card-link {
    color: var(--color-red);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
}

.blog-card-link:hover {
    gap: 12px;
}

/* Pagination */
.blog-pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.navigation.pagination {
    display: flex;
    gap: 8px;
}

.page-numbers {
    padding: 10px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: var(--color-navy);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--color-navy);
    color: white;
    border-color: var(--color-navy);
}

/* No Posts */
.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
}

.no-posts h2 {
    color: var(--color-navy);
    margin-bottom: 16px;
}

.no-posts p {
    color: #64748b;
    margin-bottom: 24px;
}

/* === SINGLE POST === */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.post-header {
    background: white;
    padding: 60px 0;
    text-align: center;
}

.post-meta {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: #64748b;
}

.post-date,
.post-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-categories a {
    color: var(--color-red);
    font-weight: 600;
    text-decoration: none;
}

.post-title {
    font-size: 2.8rem;
    color: var(--color-navy);
    line-height: 1.2;
    margin: 0;
}

@media (max-width: 768px) {
    .post-title {
        font-size: 2rem;
    }
}

.post-featured-image {
    max-width: 1200px;
    margin: 0 auto 60px;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    background: white;
    padding: 60px 0;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.post-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #334155;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: var(--color-navy);
    margin-top: 40px;
    margin-bottom: 16px;
}

.post-content h2 {
    font-size: 2rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 20px;
    padding-left: 40px;
}

.post-content li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.post-footer {
    background: white;
    padding: 40px 0 60px;
    border-top: 1px solid #e2e8f0;
}

.post-tags {
    margin-bottom: 24px;
}

.post-tags a {
    display: inline-block;
    padding: 6px 12px;
    background: #F4F6F8;
    border-radius: 4px;
    color: var(--color-navy);
    text-decoration: none;
    font-size: 0.85rem;
    margin-right: 8px;
    margin-top: 8px;
    transition: background 0.3s;
}

.post-tags a:hover {
    background: var(--color-navy);
    color: white;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F4F6F8;
    color: var(--color-navy);
    transition: all 0.3s;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-facebook:hover {
    background: #1877f2;
    color: white;
}

.share-twitter:hover {
    background: #1da1f2;
    color: white;
}

.share-linkedin:hover {
    background: #0077b5;
    color: white;
}

.share-whatsapp:hover {
    background: #25d366;
    color: white;
}

/* Post Navigation */
.post-navigation {
    background: white;
    padding: 40px 0;
    margin-top: 60px;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .nav-links {
        grid-template-columns: 1fr;
    }
}

.nav-previous,
.nav-next {
    padding: 24px;
    background: #F4F6F8;
    border-radius: 8px;
    transition: background 0.3s;
}

.nav-previous:hover,
.nav-next:hover {
    background: #e2e8f0;
}

.nav-next {
    text-align: right;
}

.nav-subtitle {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 8px;
}

.nav-previous a,
.nav-next a {
    color: var(--color-navy);
    font-weight: 600;
    text-decoration: none;
}

/* Related Posts */
.related-posts {
    padding: 80px 0;
    background: white;
}

.related-posts .section-title {
    text-align: center;
    margin-bottom: 40px;
}

/* ========================================
   PÁGINA SOBRE
   ======================================== */
.page-sobre .featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.page-sobre .featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.page-sobre .page-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
}

.page-sobre .page-content p {
    margin-bottom: 20px;
}

.page-sobre .page-content h2,
.page-sobre .page-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--color-navy);
}

.diferenciais-section {
    padding: 80px 0;
    background: #f8fafc;
}

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

.diferencial-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.diferencial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--color-red);
}

.diferencial-icon {
    margin-bottom: 20px;
}

.diferencial-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--color-navy);
}

.diferencial-card p {
    color: var(--color-text);
    line-height: 1.6;
    font-size: 0.95rem;
}

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

.valores-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .valores-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.valores-list {
    margin-top: 30px;
}

.valor-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.valor-icon {
    width: 32px;
    height: 32px;
    background: var(--color-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 1.2rem;
}

.valor-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--color-navy);
}

.valor-item p {
    color: var(--color-text);
    line-height: 1.6;
}

.valores-box {
    background: var(--color-navy);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 43, 92, 0.15);
}

.stat-box {
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.stat-box:last-child {
    margin-bottom: 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* ========================================
   SEÇÃO DE BLOG NA HOME
   ======================================== */
.blog-section {
    padding: 80px 0;
    background: #f8fafc;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--color-navy);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: #e2e8f0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
}

.blog-card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 15px;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-navy);
}

.blog-card-title a {
    color: var(--color-navy);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: var(--color-red);
}

.blog-card-excerpt {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.blog-card-link {
    color: var(--color-red);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    transition: gap 0.2s;
}

.blog-card-link:hover {
    gap: 10px;
}

.blog-section .btn-red {
    margin-top: 40px;
}

/* ========================================
   MELHORIAS PÁGINA SOBRE
   ======================================== */
.page-sobre .content-section {
    padding: 60px 0;
}

.page-sobre .sobre-intro {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .page-sobre .sobre-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.page-sobre .featured-image {
    position: sticky;
    top: 100px;
    margin-bottom: 0;
}

.page-sobre .page-content h2 {
    font-size: 2rem;
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-sobre .page-content h3 {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-sobre .page-content ul,
.page-sobre .page-content ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-sobre .page-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* ========================================
   PAGE HEADER PADRÃO (TODAS AS PÁGINAS)
   ======================================== */
.page-header {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
    margin-bottom: 0;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-header .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-header .tag .dot {
    width: 8px;
    height: 8px;
    background: var(--color-red);
    border-radius: 50%;
    display: block;
}

.page-header .page-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-header .page-description {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header .page-title {
        font-size: 2rem;
    }
    
    .page-header .page-description {
        font-size: 1rem;
    }
}

/* Seção de conteúdo padrão */
.content-section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .content-section {
        padding: 60px 0;
    }
}

/* Página Sobre sem imagem - full width */
.page-sobre .sobre-intro:not(:has(.featured-image)) {
    grid-template-columns: 1fr;
}

.page-sobre .page-content ol,
.page-sobre .page-content ul {
    padding-left: 25px;
}

.page-sobre .page-content ol li,
.page-sobre .page-content ul li {
    margin-bottom: 10px;
}

/* ========================================
   PÁGINA FILIAIS - GARANTIR LAYOUT
   ======================================== */
.page-filiais {
    background: white;
}

.page-filiais .unidades-section {
    background: #f8fafc;
}

.page-filiais .no-unidades {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-filiais .no-unidades h3 {
    color: var(--color-navy);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.page-filiais .no-unidades p {
    color: #64748b;
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.page-filiais .no-unidades .btn {
    display: inline-block;
}

/* ========================================
   FIX PÁGINA FILIAIS - GARANTIR TODAS VISÍVEIS
   ======================================== */
.page-filiais .unidades-section {
    background: white;
    overflow: visible;
}

.page-filiais .unidades-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    overflow: visible;
    width: 100%;
}

.page-filiais .unidade-card-full {
    display: block;
    visibility: visible;
    opacity: 1;
    position: relative;
}

/* Garantir que page-title esteja visível */
.page-filiais .section-title,
.page-filiais h1 {
    color: var(--color-navy);
}

/* ========================================
   OCULTAR BOTÃO CTA EM MOBILE
   ======================================== */
@media (max-width: 991px) {
    .header-cta {
        display: none !important;
    }
}

/* ========================================
   PÁGINA SOBRE SEM HEADER
   ======================================== */
.page-sobre .content-section {
    padding-top: 40px;
}

.page-sobre .page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 25px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .page-sobre .page-title {
        font-size: 2rem;
    }
}

/* ============================================
   PÁGINA FILIAIS COM HERO
   ============================================ */

/* Hero Section das Filiais */
.filiais-hero {
    background: linear-gradient(135deg, var(--color-navy) 0%, #0a366b 100%);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.filiais-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.filiais-hero .hero-content .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.filiais-hero .hero-content .tag .dot {
    width: 8px;
    height: 8px;
    background: var(--color-red);
    border-radius: 50%;
}

.filiais-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.filiais-hero .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.filiais-hero .benefits-list-hero {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.filiais-hero .benefits-list-hero li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.filiais-hero .hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.filiais-hero .hero-image {
    position: relative;
}

.filiais-hero .hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Unidades Section */
.page-filiais-hero .unidades-section {
    padding: 80px 0;
    background: white;
}

.page-filiais-hero .unidades-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Unidade Card Full */
.page-filiais-hero .unidade-card-full {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.page-filiais-hero .unidade-card-full:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.page-filiais-hero .unidade-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
}

/* Visual */
.page-filiais-hero .unidade-visual {
    position: relative;
    background: #f1f5f9;
    min-height: 400px;
}

.page-filiais-hero .unidade-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

.page-filiais-hero .unidade-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.page-filiais-hero .unidade-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

/* Info */
.page-filiais-hero .unidade-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-filiais-hero .unidade-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.page-filiais-hero .unidade-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
}

.page-filiais-hero .unidade-icon {
    flex-shrink: 0;
}

.page-filiais-hero .unidade-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

.page-filiais-hero .unidade-address svg {
    flex-shrink: 0;
    margin-top: 3px;
}

.page-filiais-hero .unidade-description {
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Contacts */
.page-filiais-hero .unidade-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.page-filiais-hero .contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f1f5f9;
    border-radius: 8px;
    color: var(--color-navy);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-filiais-hero .contact-link:hover {
    background: var(--color-navy);
    color: white;
}

.page-filiais-hero .contact-link.whatsapp:hover {
    background: #25D366;
    color: white;
}

/* Actions */
.page-filiais-hero .unidade-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* No Unidades */
.page-filiais-hero .no-unidades {
    text-align: center;
    padding: 80px 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.page-filiais-hero .no-unidades h3 {
    font-size: 1.5rem;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.page-filiais-hero .no-unidades p {
    color: #64748b;
    font-size: 1rem;
}

/* CTA In Company */
.in-company-cta {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 60px 0;
}

.cta-box-simple {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content-simple h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 15px;
}

.cta-content-simple p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 30px;
}

.cta-actions-simple {
    display: flex;
    justify-content: center;
}

/* Responsivo */
@media (max-width: 992px) {
    .filiais-hero {
        padding: 80px 0 60px;
    }
    
    .filiais-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .filiais-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-filiais-hero .unidade-grid {
        grid-template-columns: 1fr;
    }
    
    .page-filiais-hero .unidade-visual {
        min-height: 300px;
    }
    
    .page-filiais-hero .unidade-map iframe {
        min-height: 300px;
    }
    
    .page-filiais-hero .unidade-info {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .filiais-hero h1 {
        font-size: 2rem;
    }
    
    .filiais-hero .lead {
        font-size: 1rem;
    }
    
    .filiais-hero .hero-actions {
        flex-direction: column;
    }
    
    .filiais-hero .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .page-filiais-hero .unidade-header h2 {
        font-size: 1.5rem;
    }
    
    .page-filiais-hero .unidade-contacts {
        flex-direction: column;
        gap: 10px;
    }
    
    .page-filiais-hero .contact-link {
        width: 100%;
        justify-content: center;
    }
    
    .page-filiais-hero .unidade-actions {
        flex-direction: column;
    }
    
    .page-filiais-hero .unidade-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-content-simple h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   FIX: ÍCONES SVG CORTADOS
   ============================================ */

/* Garantir que todos os ícones tenham espaço adequado */
.icon-svg {
    min-width: 16px;
    min-height: 16px;
}

/* Links e botões com ícones */
a .icon-svg,
button .icon-svg,
.btn .icon-svg {
    flex-shrink: 0;
    margin-right: 8px;
}

/* Último ícone sem margem */
a .icon-svg:last-child,
button .icon-svg:last-child,
.btn .icon-svg:last-child {
    margin-right: 0;
    margin-left: 8px;
}

/* Ícones em listas */
li .icon-svg {
    flex-shrink: 0;
    margin-right: 12px;
}

/* Top Bar ícones */
.top-bar .icon-svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Header ícones */
.site-header .icon-svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Footer ícones */
.site-footer .icon-svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Ícones grandes (Hero sections) */
.hero-section .icon-svg,
.filiais-hero .icon-svg,
.in-company-hero .icon-svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Ícones de contato */
.contact-link .icon-svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* WhatsApp flutuante */
.whatsapp-float .icon-svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* ============================================
   FIX: CONTRASTE DE CORES EM HERO SECTIONS
   ============================================ */

/* Hero Filiais (fundo escuro) */
.filiais-hero {
    color: white;
}

.filiais-hero h1,
.filiais-hero h2,
.filiais-hero h3,
.filiais-hero p,
.filiais-hero li {
    color: white;
}

.filiais-hero .tag {
    color: white;
}

/* In Company Hero (fundo CLARO) */
.in-company-hero {
    color: var(--color-text-main);
}

.in-company-hero h1 {
    color: var(--color-navy);
}

.in-company-hero h2,
.in-company-hero h3 {
    color: var(--color-navy);
}

.in-company-hero p,
.in-company-hero li {
    color: var(--color-text-main);
}

.in-company-hero .tag {
    color: var(--color-navy);
    background: rgba(0, 43, 92, 0.1);
}

.in-company-hero .tag .dot {
    background: var(--color-red);
}

/* Permitir spans com cores específicas */
.filiais-hero h1 span,
.in-company-hero h1 span {
    /* Cor definida inline ou herdada */
}

/* ============================================
   PAGINAÇÃO DO BLOG
   ============================================ */

.blog-pagination {
    margin-top: 60px;
    padding: 40px 0;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: var(--color-navy);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-pagination .page-numbers:hover {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: white;
    transform: translateY(-2px);
}

.blog-pagination .page-numbers.current {
    background: var(--color-red);
    border-color: var(--color-red);
    color: white;
}

.blog-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
}

.blog-pagination .page-numbers.dots:hover {
    transform: none;
}

.blog-pagination .prev,
.blog-pagination .next {
    padding: 0 20px;
}

/* Responsivo */
@media (max-width: 768px) {
    .blog-pagination {
        margin-top: 40px;
        padding: 30px 0;
    }
    
    .blog-pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 0.9rem;
    }
    
    .blog-pagination .prev,
    .blog-pagination .next {
        padding: 0 15px;
    }
}

/* ============================================
   ALTERNÂNCIA DE CORES DE FUNDO - HOME
   ============================================ */

/* Seção 1: Hero Slider - Azul (já tem) */
/* .hero-slider já definido */

/* Seção 2: Safety Banner - Azul (já tem) */
/* .safety-banner já definido */

/* Seção 3: Services/Soluções Corporativas - Branco */
.services {
    background: white !important; /* Sobrescreve */
}

/* Seção 4: Blog Section - Cinza Claro */
.blog-section {
    background: #f8fafc;
}

/* Seção 5: In Company Highlight - Branco */
.in-company-highlight {
    background: white;
}

/* Seção 6: Branches/Filiais - Cinza Claro */
.branches {
    background: #f8fafc;
}

/* Padrão de alternância:
   1. Hero Slider: Azul Escuro (--color-navy)
   2. Safety Banner: Azul Escuro (--color-navy)
   3. Services: Branco (#ffffff)
   4. Blog: Cinza Claro (#f8fafc)
   5. In Company: Branco (#ffffff)
   6. Branches: Cinza Claro (#f8fafc)
*/

/* ============================================
   BLOG LIST SECTION (Layout de Serviços)
   ============================================ */

.blog-list-section {
    padding: 80px 0;
    background: white;
}

.blog-list-section .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.blog-list-section .blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-list-section .blog-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.blog-list-section .blog-card-image {
    display: block;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.blog-list-section .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-list-section .blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-list-section .blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.blog-list-section .blog-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #64748b;
}

.blog-list-section .post-date,
.blog-list-section .post-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-list-section .blog-card-meta svg {
    flex-shrink: 0;
}

.blog-list-section .blog-card-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.blog-list-section .blog-card-title a {
    color: var(--color-navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-list-section .blog-card-title a:hover {
    color: var(--color-red);
}

.blog-list-section .blog-card-excerpt {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.blog-list-section .blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-red);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-list-section .blog-card-link:hover {
    gap: 12px;
}

.blog-list-section .blog-card-link svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.blog-list-section .blog-card-link:hover svg {
    transform: translateX(4px);
}

/* No Posts Message */
.blog-list-section .no-posts {
    text-align: center;
    padding: 80px 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.blog-list-section .no-posts svg {
    display: block;
    margin: 0 auto 20px;
}

.blog-list-section .no-posts h2 {
    font-size: 1.75rem;
    color: var(--color-navy);
    margin-bottom: 15px;
}

.blog-list-section .no-posts p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Pagination dentro de blog-list-section */
.blog-list-section .blog-pagination {
    margin-top: 60px;
}

/* Responsivo */
@media (max-width: 768px) {
    .blog-list-section {
        padding: 60px 0;
    }
    
    .blog-list-section .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .blog-list-section .blog-card-image {
        height: 200px;
    }
    
    .blog-list-section .blog-card-content {
        padding: 20px;
        gap: 12px;
    }
    
    .blog-list-section .blog-card-title {
        font-size: 1.1rem;
    }
    
    .blog-list-section .blog-pagination {
        margin-top: 40px;
    }
}
