/*
Theme Name: IBH 2026
Theme URI: https://institutoibh.com
Author: IBH
Author URI: https://institutoibh.com
Description: Tema moderno e personalizado para o Instituto de Orientação Profissional de Belo Horizonte (IBH). Design clean e profissional com foco em conversão.
Version: 1.18.1
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ibh-2026
Tags: one-column, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, theme-options, translation-ready

IBH 2026 WordPress Theme, Copyright 2026 IBH
IBH 2026 is distributed under the terms of the GNU GPL
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
/* 
 * NOTE: These are DEFAULT values. They will be overridden by the 
 * WordPress Customizer settings (Appearance > Customize > Tipografia / Cores do Tema)
 */
:root {
    /* Primary Colors - Customizable via Customizer */
    --primary-orange: #F5A623;
    --primary-orange-dark: #E09100;
    --primary-navy: #233548;
    --primary-navy-dark: #1a2838;
    --navy-light: #2d4560;
    
    /* Neutral colors */
    --white: #ffffff;
    --off-white: #FAFAF8;
    --gray-50: #f8f9fa;
    --gray-100: #F5F5F3;
    --gray-150: #e9ecef;
    --gray-200: #E8E8E4;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-800: #1F2937;
    
    /* Semantic colors */
    --success: #4CAF50;
    --success-dark: #2E7D32;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    
    /* Third-party brand colors (static) */
    --google-yellow: #FBBC05;
    --google-blue: #4285F4;
    --google-green: #34A853;
    --google-red: #EA4335;
    
    /* White with opacity */
    --white-95: rgba(255, 255, 255, 0.95);
    --white-90: rgba(255, 255, 255, 0.9);
    --white-80: rgba(255, 255, 255, 0.8);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-60: rgba(255, 255, 255, 0.6);
    --white-50: rgba(255, 255, 255, 0.5);
    --white-30: rgba(255, 255, 255, 0.3);
    --white-20: rgba(255, 255, 255, 0.2);
    --white-15: rgba(255, 255, 255, 0.15);
    --white-10: rgba(255, 255, 255, 0.1);
    
    /* Black with opacity */
    --black-50: rgba(0, 0, 0, 0.5);
    --black-30: rgba(0, 0, 0, 0.3);
    --black-12: rgba(0, 0, 0, 0.12);
    --black-10: rgba(0, 0, 0, 0.1);
    --black-08: rgba(0, 0, 0, 0.08);
    --black-05: rgba(0, 0, 0, 0.05);
    --black-04: rgba(0, 0, 0, 0.04);
    
    /* Navy with opacity */
    --navy-15: rgba(35, 53, 72, 0.15);
    --navy-10: rgba(35, 53, 72, 0.1);
    --navy-08: rgba(35, 53, 72, 0.08);
    
    /* Orange with opacity */
    --orange-50: rgba(245, 166, 35, 0.5);
    --orange-40: rgba(245, 166, 35, 0.4);
    --orange-30: rgba(245, 166, 35, 0.3);
    --orange-20: rgba(245, 166, 35, 0.2);
    --orange-10: rgba(245, 166, 35, 0.1);
    --orange-08: rgba(245, 166, 35, 0.08);
    --orange-05: rgba(245, 166, 35, 0.05);
    
    /* Typography - Customizable via Customizer */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --container-padding: 24px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-orange);
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--primary-orange);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--primary-navy);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 4px 20px var(--orange-30);
}

.btn-primary:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--orange-40);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--gray-200);
}

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

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

.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-2px);
}

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
    background: var(--primary-navy);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.top-bar-contact {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.top-bar-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white-90);
    font-size: 0.875rem;
}

.top-bar-contact a:hover {
    color: var(--primary-orange);
}

.top-bar-contact svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.top-bar-social {
    display: flex;
    gap: 16px;
}

.top-bar-social a {
    color: var(--white-70);
    font-size: 1.125rem;
    display: flex;
    align-items: center;
}

.top-bar-social a:hover {
    color: var(--primary-orange);
}

/* Top Bar Search */
.top-bar-search {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.top-bar-search form {
    display: flex;
    align-items: center;
    position: relative;
}

.top-bar-search input {
    background: var(--white-10);
    border: 1px solid var(--white-20);
    border-radius: 20px;
    padding: 6px 36px 6px 14px;
    font-size: 0.875rem;
    color: var(--white);
    width: 180px;
    transition: all 0.3s ease;
}

.top-bar-search input::placeholder {
    color: var(--white-50);
}

.top-bar-search input:focus {
    outline: none;
    background: var(--white-15);
    border-color: var(--white-30);
    width: 220px;
}

.top-bar-search button {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar-search button svg {
    width: 16px;
    height: 16px;
    fill: var(--white-70);
    transition: fill 0.3s ease;
}

.top-bar-search button:hover svg {
    fill: var(--primary-orange);
}

.top-bar-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    background: var(--white);
    position: sticky;
    top: 44px;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--black-05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

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

.site-logo img,
.custom-logo-link img {
    height: 50px;
    width: auto;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.main-navigation {
    display: flex;
    gap: 8px;
}

.main-navigation ul {
    display: flex;
    gap: 8px;
}

.main-navigation a {
    padding: 10px 18px;
    color: var(--gray-600);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 8px;
}

.main-navigation a:hover {
    color: var(--primary-navy);
    background: var(--gray-100);
}

.main-navigation .menu-item-cta a {
    background: var(--primary-orange);
    color: var(--white);
}

.main-navigation .menu-item-cta a:hover {
    background: var(--primary-orange-dark);
}

/* Dropdown Sub-menu */
.main-navigation .menu-item-has-children {
    position: relative;
}

.main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--navy-10);
    padding: 8px 0;
    z-index: 100;
    flex-direction: column;
    gap: 0;
}

.main-navigation .menu-item-has-children:hover > .sub-menu,
.main-navigation .menu-item-has-children:focus-within > .sub-menu {
    display: flex;
}

.main-navigation .sub-menu li {
    width: 100%;
}

.main-navigation .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.875rem;
    color: var(--gray-600);
    border-radius: 0;
    white-space: nowrap;
}

.main-navigation .sub-menu a:hover {
    background: var(--off-white);
    color: var(--primary-navy);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-navy);
    padding: 8px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 60px 0;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 50%, var(--gray-100) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse at center, var(--orange-08) 0%, transparent 60%);
    pointer-events: none;
}

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

.hero-text {
    max-width: 1000px;
    width: 100%;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 500;
    color: var(--primary-navy);
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-text h1 .highlight {
    color: var(--primary-orange);
    position: relative;
}

.hero-text h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--orange-30);
    z-index: -1;
}

.hero-text .hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--gray-600);
    margin-bottom: 12px;
    line-height: 1.5;
}

.hero-text .hero-subtitle p:last-child {
    margin-bottom: 0;
}

.hero-text .hero-description {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-text .hero-description p {
    margin-bottom: 10px;
}

.hero-text .hero-description p:last-child {
    margin-bottom: 0;
}

.hero-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    position: relative;
}

.hero-image-main {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px var(--navy-15);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 60px 0;
    background: var(--primary-navy);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at left, var(--orange-10) 0%, transparent 60%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px var(--black-30);
}

.about-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 40%;
    height: 40%;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    border-radius: 20px;
    z-index: -1;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--white-80);
    margin-bottom: 24px;
}

.about-text p strong {
    color: var(--white);
}

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

.about-stat {
    text-align: center;
    padding: 24px;
    background: var(--white-10);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.about-stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.875rem;
    color: var(--white-70);
    margin-top: 8px;
}

/* Logos Marquee Section */
.logos-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--white-10);
}

.logos-header {
    text-align: center;
    margin-bottom: 40px;
}

.logos-header span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white-60);
    font-weight: 500;
}

.logos-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logos-marquee::before,
.logos-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logos-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--primary-navy), transparent);
}

.logos-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--primary-navy), transparent);
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.logos-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.logo-item img {
    max-height: 50px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-item img:hover {
    opacity: 1;
}

/* Stronger shadow on dark background for better visibility */
.about-section .btn-primary {
    box-shadow: 0 4px 20px var(--orange-40);
}

.about-section .btn-primary:hover {
    box-shadow: 0 6px 30px var(--orange-50);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    padding: 120px 0;
    background: var(--off-white);
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    padding: 24px 20px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-orange-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--navy-10);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--orange-10), var(--orange-20));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--primary-orange);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    color: var(--white);
    transform: scale(1.1);
}

.service-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 8px;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-desc {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
    min-height: 4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Arrow links — shared base for service, blog links */
.service-link,
.blog-card-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-link svg,
.blog-card-link svg {
    flex-shrink: 0;
}

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

/* Service link specifics */
.service-link {
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    font-size: 0.8rem;
}

.service-link svg {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   Methodology Section
   ========================================================================== */
.methodology-section {
    padding: 60px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.methodology-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at right, var(--orange-05) 0%, transparent 60%);
    pointer-events: none;
}

.methodology-header {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 48px;
}

.methodology-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--primary-navy);
    line-height: 1.2;
    margin-bottom: 24px;
}

.methodology-header p,
.methodology-description p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

.methodology-description p + p {
    margin-top: 12px;
}

/* Shared IBH Feature Cards (used in methodology + porque-ibh sections) */
.ibh-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 60px;
    text-align: left;
}

.ibh-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ibh-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.ibh-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.ibh-feature-text h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin: 0 0 6px 0;
}

.ibh-feature-text p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
}

.methodology-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px var(--navy-15);
}

/* ==========================================================================
   Testimonials Section - Carousel
   ========================================================================== */
.testimonials-section {
    padding: 60px 0;
    background: var(--white);
}

.testimonials-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

/* Google Reviews Badge */
.google-reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 2px 12px var(--black-08);
    transition: all 0.3s ease;
    margin-top: 16px;
}

.google-reviews-badge:hover {
    box-shadow: 0 4px 20px var(--black-12);
    transform: translateY(-2px);
}

.google-badge-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.google-stars {
    color: var(--google-yellow);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.google-rating {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--gray-800);
}

.google-badge-text {
    color: var(--gray-600);
    font-size: 0.75rem;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-wrapper {
    overflow: hidden;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Testimonial Cards - Base */
.testimonial-card {
    flex: 0 0 calc((100% - 48px) / 3);
    background: var(--white);
    padding: 28px;
    border-radius: 16px;
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px var(--black-04);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 12px 40px var(--black-10);
    border-color: var(--orange-30);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

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

.review-avatar,
.review-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}

.review-avatar {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 0.875rem;
}

.review-avatar-img {
    object-fit: cover;
}

.review-author-info h4 {
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.review-date {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.google-icon-small {
    flex-shrink: 0;
    opacity: 0.8;
}

.review-rating {
    margin-bottom: 12px;
}

.review-stars {
    color: var(--google-yellow);
    font-size: 1rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Manual Review Card */
.manual-review-card {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    position: relative;
    padding-top: 48px;
    display: flex;
    flex-direction: column;
}

.manual-review-card .review-text {
    color: var(--white-95);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.manual-quote-icon {
    position: absolute;
    top: 16px;
    left: 28px;
    font-size: 2.5rem;
    color: var(--primary-orange);
    opacity: 0.5;
    line-height: 1;
    font-family: var(--font-heading);
}

.review-author-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--white-15);
}

.review-avatar-manual {
    background: var(--primary-orange);
    color: var(--primary-navy);
}

.manual-review-card .review-author-info h4 {
    color: var(--white);
}

.review-role {
    font-size: 0.75rem;
    color: var(--white-70);
}

/* Google CTA Card */
.testimonial-card-google {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-150) 100%);
    text-align: center;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.google-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.google-logo {
    margin-bottom: 8px;
}

.google-card-stars {
    color: var(--google-yellow);
    font-size: 1.5rem;
    letter-spacing: 4px;
}

.google-card-content h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-navy);
    margin: 0;
}

.google-card-content p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
}

.google-card-link {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 24px;
    background: var(--gray-600);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.testimonial-card-google:hover .google-card-link {
    background: var(--primary-navy);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--gray-600);
}

.carousel-btn:hover {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
    color: var(--white);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-200);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    width: 32px;
    border-radius: 5px;
    background: var(--primary-orange);
}

/* Responsive - Testimonials */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 640px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonial-card {
        flex: 0 0 100%;
        min-height: auto;
    }
    
    .google-reviews-badge {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 16px;
    }
    
    .carousel-controls {
        gap: 16px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   Blog Section
   ========================================================================== */
.blog-section {
    padding: 60px 0;
    background: var(--off-white);
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

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

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--navy-10);
}

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

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

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

.blog-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-date {
    font-size: 0.8125rem;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-navy);
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: inherit;
}

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

.blog-card-excerpt {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Blog card link specifics */
.blog-card-link {
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
    font-size: 0.875rem;
}

.blog-card-link svg {
    width: 16px;
    height: 16px;
}

/* Blog Toolbar (top bar with count + pagination) */
.blog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.blog-total-count {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--gray-400);
    font-weight: 400;
}

.blog-total-count strong {
    color: var(--primary-navy);
    font-weight: 600;
}

/* Blog Pagination */
.blog-pagination .nav-links,
.page-content .navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-content .navigation.pagination {
    margin-top: 48px;
}

.blog-pagination .page-numbers,
.page-content .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    text-decoration: none;
}

.blog-pagination .page-numbers:hover,
.page-content .page-numbers:hover {
    color: var(--primary-orange);
    border-color: var(--primary-orange);
    background: var(--orange-05);
}

.blog-pagination .page-numbers.current,
.page-content .page-numbers.current {
    background: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
    font-weight: 600;
}

.blog-pagination .page-numbers.dots,
.page-content .page-numbers.dots {
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0 4px;
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */
.newsletter-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.newsletter-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 8px;
}

.newsletter-text p {
    color: var(--white-90);
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-grow: 1;
    max-width: 500px;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
}

.newsletter-form button,
.newsletter-form input[type="submit"] {
    background: var(--primary-navy);
    color: var(--white);
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover,
.newsletter-form input[type="submit"]:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

/* Honeypot — hidden from humans */
.newsletter-hp,
.contact-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

/* Success state — replaces the form inputs */
.newsletter-success {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--primary-navy);
    padding: 16px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    max-width: 500px;
    flex-grow: 1;
}

.newsletter-success-icon {
    display: inline-flex;
    flex-shrink: 0;
}

.newsletter-success-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-orange);
}

/* Error feedback */
.newsletter-feedback {
    flex-basis: 100%;
    font-size: 0.875rem;
    font-family: var(--font-body);
    margin-top: 4px;
}

.newsletter-feedback--error {
    color: var(--white);
    opacity: 0.9;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--primary-navy);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
    align-items: start;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo img {
    height: 45px;
    filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-description p {
    color: var(--white-70);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-description p:last-child {
    margin-bottom: 24px;
}

/* Shared Social Links Base (footer + contact) */
.footer-social,
.contact-social {
    display: flex;
    gap: 12px;
}

.footer-social a,
.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social svg,
.contact-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Footer Social — dark background variant */
.footer-social a {
    background: var(--white-10);
    color: var(--white);
}

.footer-social a:hover {
    background: var(--primary-orange);
    transform: translateY(-4px);
}

/* Contact Page Info List */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-list li > svg {
    width: 48px;
    height: 48px;
    min-width: 48px;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    border-radius: 12px;
    fill: var(--white);
}

.contact-info-list li.whatsapp-item > svg {
    background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
}

.contact-info-list .contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-info-list .contact-info-label {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1rem;
}

.contact-info-list .contact-info-content a,
.contact-info-list .contact-info-content span:not(.contact-info-label) {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.contact-info-list .contact-info-content a:hover {
    color: var(--primary-orange);
}

/* Contact Social — light background variant */
.contact-social a {
    background: var(--gray-100);
    color: var(--gray-600);
}

.contact-social a:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-2px);
}

.contact-social a:focus-visible {
    background: var(--primary-orange);
    color: var(--white);
    outline: 3px solid var(--primary-orange);
    outline-offset: 2px;
}

.footer-column h3 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--white-70);
    font-size: 0.9375rem;
}

.footer-column ul li a:hover {
    color: var(--primary-orange);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--white-70);
}

.footer-contact li a {
    color: var(--white-70);
}

.footer-contact li a:hover {
    color: var(--primary-orange);
}

.footer-contact li svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid var(--white-10);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--white-50);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--white-50);
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ==========================================================================
   WhatsApp Button
   ========================================================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 8px 24px var(--orange-40);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 32px var(--orange-50);
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* ==========================================================================
   WordPress Specific Styles
   ========================================================================== */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 8px;
}

/* Page Content */
.page-content {
    padding: 60px 0;
}

.page-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-navy);
    margin-bottom: 24px;
}

.page-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--primary-navy);
    margin: 40px 0 16px;
}

.page-content p {
    margin-bottom: 16px;
    color: var(--gray-600);
}

/* ==========================================================================
   Services Router Page
   ========================================================================== */
.servicos-router {
    padding: 60px 0;
}

.servicos-router-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.servicos-router-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--primary-navy);
    line-height: 1.3;
    margin-bottom: 16px;
}

.servicos-router-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin: 0;
}

/* Servicos router cards reuse .hero-services-grid, .service-card, .service-icon, .service-link */

/* ==========================================================================
   Servicos Page — Introduction / Hero
   ========================================================================== */
.servicos-intro {
    padding: 60px 0;
    background: var(--white);
}

.servicos-intro-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.servicos-intro-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 500;
    color: var(--primary-navy);
    line-height: 1.2;
}

.servicos-intro-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    align-items: start;
}

.servicos-intro-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 48px;
}

.servicos-intro-question {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--primary-navy);
    line-height: 1.3;
    margin-bottom: 16px;
}

.servicos-intro-text p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.servicos-pillar-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.servicos-pillar-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: var(--gray-100);
    border-radius: 16px;
    border-left: 4px solid var(--primary-orange);
}

.servicos-pillar-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--orange-10), var(--orange-20));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
}

.servicos-pillar-icon svg {
    width: 22px;
    height: 22px;
}

.servicos-pillar-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

.servicos-pillar-desc {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.servicos-router-fallback {
    text-align: center;
}

.servicos-router-fallback p {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}

/* ==========================================================================
   Porque o IBH - Shared Brand Component
   ========================================================================== */
.porque-ibh-section {
    padding: 60px 0;
    background: var(--off-white);
    position: relative;
}

.porque-ibh-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.porque-ibh-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 500;
    color: var(--primary-navy);
    line-height: 1.2;
    margin-bottom: 16px;
}

.porque-ibh-header p {
    font-size: 1.0625rem;
    color: var(--gray-600);
    margin-bottom: 0;
    line-height: 1.6;
}

.porque-ibh-footer {
    margin-top: 40px;
}

/* Porque IBH footer button */
.porque-ibh-footer .btn {
    margin-top: 8px;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

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

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

    .hero-image {
        order: -1;
    }

    /* Router page tablet — uses .hero-services-grid responsive rules */

    .servicos-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* (ibh-features tablet rule already above) */
}

@media (max-width: 768px) {
    /* Top Bar Mobile */
    .top-bar-content {
        justify-content: flex-end;
        flex-wrap: nowrap;
    }

    .top-bar-contact {
        display: none !important;
    }

    .hero-description {
        display: none !important;
    }

    /* Hide about image on mobile */
    .about-image {
        display: none;
    }

    /* Blog grid mobile */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-toolbar .blog-pagination {
        display: none;
    }

    /* Feature Cards Mobile */
    .ibh-features {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .porque-ibh-section {
        padding: 40px 0;
    }

    /* Router page mobile */
    .servicos-router {
        padding: 40px 0;
    }

    .servicos-router-header {
        margin-bottom: 32px;
    }

    .servicos-intro {
        padding: 40px 0;
    }

    .servicos-pillar-card {
        padding: 20px;
    }

    /* Compact service cards for mobile */
    .hero-services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 32px;
    }

    .service-card {
        padding: 16px 12px;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }

    .service-icon svg {
        width: 20px;
        height: 20px;
    }

    .service-title {
        font-size: 0.9rem;
        margin-bottom: 4px;
        min-height: 2.5em;
    }

    .service-desc {
        display: none;
    }

    .service-link {
        font-size: 0.75rem;
        margin-top: auto;
        padding-top: 8px;
    }

    /* Reduce hero section spacing for mobile */
    .hero-section {
        padding: 40px 0;
    }

    .hero-text h1 {
        font-size: 1.75rem;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 16px !important;
    }

    .hero-buttons {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }


    .top-bar-search {
        margin-right: 8px;
        margin-left: 0;
        flex: 1;
        max-width: none;
    }

    .top-bar-search input {
        width: 100%;
    }

    .top-bar-search input:focus {
        width: 100%;
    }

    .top-bar-social {
        gap: 10px;
        flex-shrink: 0;
    }

    /* Header Mobile */
    .header-content {
        padding: 15px 0;
    }

    .site-branding img {
        height: 40px;
    }

    .mobile-menu-toggle {
        margin-left: 20px;
    }

    /* Mobile Navigation */
    .main-navigation {
        display: none !important;
        position: fixed;
        top: 127px; /* Below top bar and header */
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        z-index: 999;
        padding: 20px 20px 40px;
        overflow-y: auto;
        border-top: 1px solid var(--gray-200);
    }

    .main-navigation.is-active {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
    }

    .main-navigation li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--gray-200);
    }

    .main-navigation a {
        display: block;
        padding: 16px 24px;
        font-size: 1.25rem;
        color: var(--primary-navy);
    }

    .main-navigation a:hover {
        background: var(--off-white);
    }

    .main-navigation > ul > li:last-child > a {
        background: var(--primary-orange);
        color: var(--white);
        margin-top: 24px;
        border-radius: 8px;
        display: inline-block;
        padding: 16px 40px;
        border-bottom: none;
    }

    /* Mobile sub-menu: show inline, not as dropdown */
    .main-navigation .sub-menu {
        display: flex;
        position: static;
        box-shadow: none;
        min-width: 0;
        padding: 0;
        background: var(--off-white);
        border-radius: 0;
    }

    .main-navigation .sub-menu a {
        font-size: 1rem;
        padding: 12px 24px 12px 40px;
        color: var(--gray-600);
    }

    .main-navigation .sub-menu a:hover {
        color: var(--primary-navy);
    }

    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        z-index: 1001;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-toggle .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 24px;
    }

    .mobile-menu-toggle .hamburger span {
        display: block;
        height: 2px;
        background: var(--primary-navy);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.is-active .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .mobile-menu-toggle.is-active .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .header-content {
        position: relative;
    }

    .services-grid,
    .hero-services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    /* Service Page Mobile */
    .service-hero {
        min-height: auto;
        padding: 60px 0;
    }

    .service-hero-intro {
        margin: 20px 0 32px;
    }

    .service-hero-description {
        font-size: 1rem;
    }

    .service-content-section {
        padding: 40px 0;
    }

    .service-content-text .entry-content h2 {
        margin-top: 36px;
    }

    /* 404 Page Mobile */
    .error-404-code {
        font-size: 5rem;
    }

    .error-404-title {
        font-size: 1.5rem;
    }

    .error-404-desc {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .error-404-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Logos Section Mobile */
    .logo-item img {
        height: 28px;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: none;
        flex-wrap: wrap;
    }

    .newsletter-success {
        max-width: none;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 16px;
    }

    .top-bar-search input {
        padding: 6px 30px 6px 10px;
        font-size: 0.75rem;
    }

    .top-bar-social {
        gap: 6px;
    }

    .top-bar-social svg {
        width: 16px;
        height: 16px;
    }

    .hero-section {
        min-height: auto;
        padding: 60px 0;
    }

    .service-card {
        padding: 32px 24px;
    }

    .about-section,
    .services-section,
    .methodology-section,
    .testimonials-section,
    .blog-section {
        padding: 40px 0;
    }
}

/* ==========================================================================
   Accessibility Styles
   ========================================================================== */

/* Screen Reader Only Text - Hidden visually but accessible to assistive technology */
.screen-reader-text,
.sr-announce {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    border: 0;
}

/* Make screen reader text visible when focused (skip links) */
.screen-reader-text:focus,
.screen-reader-text:active {
    clip: auto;
    clip-path: none;
    height: auto;
    width: auto;
    margin: 0;
    overflow: visible;
    padding: 16px 24px;
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 10000;
    background: var(--primary-navy);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--black-30);
    outline: 3px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Skip link styling */
.skip-link {
    background: var(--primary-navy);
    color: var(--white);
}

.skip-link:focus {
    background: var(--primary-orange);
    color: var(--primary-navy);
}

/* Enhanced Focus Styles - High contrast focus indicators */
*:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Custom focus styles for interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--primary-orange);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--orange-30);
}

/* Navigation focus styles */
.main-navigation a:focus-visible {
    background: var(--gray-100);
    outline-offset: -2px;
}

.main-navigation .menu-item-cta a:focus-visible {
    outline-color: var(--white);
}

/* Button focus states */
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn-primary:focus-visible {
    box-shadow: 0 6px 30px var(--orange-40), 0 0 0 3px var(--orange-50);
}

/* Form elements focus */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    border-color: var(--primary-orange);
}

/* Carousel controls focus */
.carousel-btn:focus-visible {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
}

.carousel-dot:focus-visible {
    outline: 3px solid var(--primary-navy);
    outline-offset: 2px;
}

/* Mobile menu toggle focus */
.mobile-menu-toggle:focus-visible {
    outline: 3px solid var(--primary-orange);
    outline-offset: 4px;
    background: var(--gray-100);
    border-radius: 8px;
}

/* Footer focus styles */
.footer-social a:focus-visible {
    background: var(--primary-orange);
    outline-color: var(--white);
}

/* WhatsApp button focus */
.whatsapp-btn:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 4px;
    transform: scale(1.1);
}

/* Service card focus (keyboard navigation) */
.service-card:focus-within {
    box-shadow: 0 20px 50px var(--navy-15);
    border-color: var(--primary-orange);
}

.service-link:focus-visible {
    outline-offset: 4px;
}

/* Router page — link focus inherits from .service-link:focus-visible */

/* Porque IBH button focus — inherits from .btn:focus-visible */

/* ================================================================
   Service Page — Hero + Content + CTA
   ================================================================ */
.service-hero {
    min-height: 60vh;
    padding: 60px 0;
}

/* Service Hero — intro block (subtitle + description) */
.service-hero-intro {
    margin: 24px 0 40px;
}

.service-hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    font-weight: 500;
    color: var(--primary-navy);
    line-height: 1.3;
    margin-bottom: 16px;
}

.service-hero-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-500);
}

.service-hero-description p {
    margin-bottom: 16px;
}

.service-hero-description p:last-child {
    margin-bottom: 0;
}

.service-hero-description strong {
    color: var(--primary-navy);
    font-weight: 600;
}

.service-hero-description a {
    color: var(--primary-orange);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.service-hero-description a:hover {
    color: var(--primary-orange-dark);
}

/* Service Content Section — light background for editor content */
.service-content-section {
    padding: 60px 0;
    background: var(--white);
}

.service-content-text {
    max-width: 780px;
    margin: 0 auto;
}

/* Entry content typography inside service pages */
.service-content-text .entry-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--primary-navy);
    line-height: 1.3;
    margin-top: 48px;
    margin-bottom: 20px;
}

.service-content-text .entry-content h2:first-child {
    margin-top: 0;
}

.service-content-text .entry-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.service-content-text .entry-content p strong {
    color: var(--primary-navy);
    font-weight: 600;
}

.service-content-text .entry-content ul,
.service-content-text .entry-content ol {
    margin: 24px 0;
    padding-left: 0;
    list-style: none;
}

.service-content-text .entry-content ul li,
.service-content-text .entry-content ol li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--gray-600);
}

.service-content-text .entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary-orange);
    border-radius: 50%;
}

.service-content-text .entry-content ol {
    counter-reset: service-list;
}

.service-content-text .entry-content ol li::before {
    counter-increment: service-list;
    content: counter(service-list);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--orange-10);
    color: var(--primary-orange);
    border-radius: 50%;
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-content-text .entry-content a {
    color: var(--primary-orange);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.service-content-text .entry-content a:hover {
    color: var(--primary-orange-dark);
}

/* CTA after content */
.service-content-cta {
    margin-top: 32px;
    text-align: center;
}

.service-cta-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.service-cta-content {
    text-align: center;
    display: block;
}

.service-cta-text {
    max-width: 700px;
    margin: 0 auto;
}

.service-cta-text h2 {
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: 24px;
}

.service-cta-text p {
    color: var(--white-80);
    margin-bottom: 28px;
    font-size: 1.125rem;
}

.service-cta-buttons,
.error-404-buttons,
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================================================
   Contact Page
   ================================================================ */
.contact-hero {
    min-height: auto;
    padding: 60px 0;
}

.contact-hero-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-hero-inner h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-navy);
    margin-bottom: 16px;
}

.contact-hero-inner p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

.contact-content-section {
    padding: 60px 0 80px;
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: auto 1fr;
    gap: 32px 64px;
    align-items: start;
}

.contact-info-column {
    grid-column: 1;
    grid-row: 1;
}

.contact-form-card {
    grid-column: 2;
    grid-row: 1 / -1;
    background: var(--white);
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 20px 50px var(--navy-08);
}

.contact-social-section {
    grid-column: 1;
    grid-row: 2;
}

.contact-info-title,
.contact-form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 32px;
}

.contact-social-section h3 {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.contact-fallback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-800);
}

.contact-form-input,
.contact-form-select,
.contact-form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.contact-form-select {
    background: var(--white);
}

.contact-form-textarea {
    resize: vertical;
}

.contact-gdpr-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-gdpr-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary-orange);
    cursor: pointer;
}

.contact-gdpr-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
    cursor: pointer;
}

.contact-submit-btn {
    align-self: flex-start;
    transition: background 0.3s ease, opacity 0.3s ease;
}

/* Success state — button transforms into confirmation message */
.contact-submit-btn--sent {
    background: var(--primary-navy);
    color: var(--white);
    cursor: default;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 1;
    align-self: stretch;
    text-align: center;
    border-radius: 12px;
    padding: 16px 24px;
    font-weight: 500;
    line-height: 1.4;
}

.contact-submit-btn--sent svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Disabled form fields after successful submission */
.contact-fallback-form--sent input:disabled,
.contact-fallback-form--sent select:disabled,
.contact-fallback-form--sent textarea:disabled {
    opacity: 0.65;
    cursor: default;
    background: var(--gray-100);
}

/* Error feedback message above the submit button */
.contact-form-feedback {
    margin-bottom: 16px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    line-height: 1.5;
}

.contact-form-feedback--error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.contact-map-section {
    padding: 0;
    background: var(--gray-100);
}

.contact-map-wrapper {
    width: 100%;
    height: 400px;
    position: relative;
}

.contact-map-iframe {
    border: 0;
    display: block;
}

.contact-content-section input:focus,
.contact-content-section select:focus,
.contact-content-section textarea:focus {
    border-color: var(--primary-orange);
    outline: none;
    box-shadow: 0 0 0 3px var(--orange-10);
}

/* Contact Page — Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .contact-info-column {
        grid-column: 1;
        grid-row: auto;
        order: 1;
    }

    .contact-form-card {
        grid-column: 1;
        grid-row: auto;
        order: 2;
        padding: 32px 24px;
    }

    .contact-social-section {
        grid-column: 1;
        grid-row: auto;
        order: 3;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-map-wrapper {
        height: 300px;
    }
}

/* ================================================================
   404 Page
   ================================================================ */
.error-404-hero {
    min-height: 70vh;
}

.error-404-inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-404-code {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 16px;
}

.error-404-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 16px;
}

.error-404-desc {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 40px;
}

/* ================================================================
   Single Post
   ================================================================ */
.entry-meta {
    color: var(--gray-600);
    margin-bottom: 32px;
}

.entry-thumbnail {
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
}

.entry-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.post-tags a {
    background: var(--gray-100);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--gray-600);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.post-tags a:hover,
.post-tags a:focus {
    background: var(--primary-orange);
    color: var(--white);
}

/* No Logos fallback message */
.no-logos-message {
    text-align: center;
    padding: 2rem;
    color: var(--gray-500);
}

/* Section CTAs */
.testimonials-cta,
.methodology-cta,
.porque-ibh-footer {
    text-align: center;
}

.testimonials-cta { margin-top: 32px; }
.methodology-cta  { margin-top: 48px; }

/* Blog card link focus */
.blog-card-link:focus-visible,
.blog-card-title a:focus-visible {
    outline-offset: 4px;
}

/* Google reviews badge focus */
.google-reviews-badge:focus-visible {
    box-shadow: 0 8px 30px var(--black-12), 0 0 0 3px var(--primary-orange);
}

/* Testimonial card (google CTA) focus */
.testimonial-card-google:focus-visible {
    outline: 3px solid var(--primary-orange);
    outline-offset: 4px;
}

/* Touch Target Sizes - Minimum 44x44px for mobile accessibility */
@media (pointer: coarse) {
    .btn,
    .main-navigation a,
    .mobile-menu-toggle,
    .carousel-btn,
    .footer-social a,
    .contact-social a,
    .top-bar-social a,
    .whatsapp-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .carousel-dot {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .carousel-dot::before {
        content: '';
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--gray-200);
    }
    
    .carousel-dot.active::before {
        width: 32px;
        border-radius: 5px;
        background: var(--primary-orange);
    }
}

/* ==========================================================================
   Sobre o IBH (About) Page
   ========================================================================== */

/* --- Hero Section --- */
.sobre-hero {
    padding: 80px 0 40px;
    background: var(--off-white);
}

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

.sobre-hero-text .section-tag {
    margin-bottom: 16px;
}

.sobre-hero-text h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 24px;
    line-height: 1.2;
}

.sobre-hero-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.sobre-hero-description p {
    margin-bottom: 16px;
}

.sobre-quote {
    border-left: 4px solid var(--primary-orange);
    padding: 20px 24px;
    margin: 0;
    background: var(--white);
    border-radius: 0 12px 12px 0;
}

.sobre-quote p {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--primary-navy);
    margin-bottom: 12px;
    line-height: 1.6;
}

.sobre-quote cite {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sobre-quote cite strong {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--primary-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sobre-quote cite span {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--gray-500);
}

.sobre-hero-image-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.sobre-hero-image-main img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- Sticky Section Navigation --- */
.sobre-section-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

.sobre-section-nav.is-stuck {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.sobre-nav-list {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.sobre-nav-list::-webkit-scrollbar {
    display: none;
}

.sobre-nav-link {
    display: block;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-500);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.sobre-nav-link:hover {
    color: var(--primary-navy);
}

.sobre-nav-link.is-active {
    color: var(--primary-navy);
    border-bottom-color: var(--primary-orange);
    font-weight: 600;
}

/* --- Pillar Cards --- */
.sobre-pillars-section {
    padding: 80px 0;
}

.sobre-pillars-header {
    text-align: center;
    margin-bottom: 48px;
}

.sobre-pillars-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-navy);
    margin-top: 12px;
}

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

.sobre-pillar-card {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    padding: 40px 32px 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.sobre-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.sobre-pillar-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-orange-dark));
}

.sobre-pillar-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--orange-10), var(--orange-20));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
}

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

.sobre-pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.sobre-pillar-divider {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-orange-dark));
    margin: 0 auto 16px;
    border-radius: 2px;
}

.sobre-pillar-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-600);
}

/* --- Methodology Section --- */
.sobre-methodology-section {
    padding: 80px 0;
    background: var(--off-white);
}

.sobre-methodology-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.sobre-methodology-text .section-tag {
    margin-bottom: 12px;
}

.sobre-methodology-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 24px;
    margin-top: 12px;
}

.sobre-methodology-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-600);
}

.sobre-methodology-body p {
    margin-bottom: 16px;
}

.sobre-methodology-body strong {
    color: var(--primary-navy);
}

.sobre-methodology-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 120px;
}

.sobre-methodology-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- Team Section --- */
.sobre-team-section {
    padding: 80px 0;
}

.sobre-team-header {
    text-align: center;
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.sobre-team-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-navy);
    margin-top: 12px;
    margin-bottom: 16px;
}

.sobre-team-header p {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.sobre-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.sobre-team-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.sobre-team-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.sobre-team-details {
    border: none;
}

.sobre-team-summary {
    list-style: none;
    cursor: pointer;
    padding: 24px;
}

.sobre-team-summary::-webkit-details-marker {
    display: none;
}

.sobre-team-summary::marker {
    display: none;
    content: '';
}

.sobre-team-summary-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sobre-team-photo {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
}

.sobre-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sobre-team-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--orange-10), var(--orange-20));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
}

.sobre-team-photo-placeholder svg {
    width: 28px;
    height: 28px;
}

.sobre-team-info {
    flex: 1;
    min-width: 0;
}

.sobre-team-info h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

.sobre-team-role {
    font-size: 0.85rem;
    color: var(--gray-500);
    display: block;
}

.sobre-team-toggle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-500);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.sobre-team-toggle svg {
    width: 16px;
    height: 16px;
}

details[open] > .sobre-team-summary .sobre-team-toggle {
    transform: rotate(90deg);
    background: var(--orange-10);
    color: var(--primary-orange);
}

.sobre-team-expanded {
    padding: 0 24px 24px;
    border-top: 1px solid var(--gray-200);
    margin-top: 0;
    padding-top: 20px;
}

.sobre-team-short-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 12px;
    font-weight: 500;
}

.sobre-team-full-bio {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray-500);
}

.sobre-team-full-bio p {
    margin-bottom: 12px;
}

/* --- Affiliations & Partnerships --- */
.sobre-affiliations-section {
    padding: 80px 0;
    background: var(--off-white);
}

.sobre-affiliations-header {
    text-align: center;
    margin-bottom: 48px;
}

.sobre-affiliations-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-navy);
    margin-top: 12px;
}

.sobre-logos-block {
    margin-bottom: 48px;
}

.sobre-logos-block:last-child {
    margin-bottom: 0;
}

.sobre-logos-block h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-navy);
    text-align: center;
    margin-bottom: 24px;
}

.sobre-logos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    align-items: center;
    justify-items: center;
}

.sobre-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--white);
    border-radius: 12px;
    width: 100%;
    min-height: 80px;
    transition: transform 0.3s ease;
}

.sobre-logo-item:hover {
    transform: scale(1.05);
}

.sobre-logo-item img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.sobre-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.sobre-logo-item a {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Timeline Section --- */
.sobre-timeline-section {
    padding: 80px 0;
}

.sobre-timeline-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.sobre-timeline-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-navy);
    margin-top: 12px;
    margin-bottom: 16px;
}

.sobre-timeline-header p {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.sobre-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.sobre-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-orange), var(--primary-orange-dark));
    transform: translateX(-50%);
    border-radius: 2px;
}

.sobre-timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 48px;
    width: 50%;
}

.sobre-timeline-item:last-child {
    margin-bottom: 0;
}

.sobre-timeline-left {
    padding-right: 48px;
    justify-content: flex-end;
    text-align: right;
}

.sobre-timeline-right {
    margin-left: 50%;
    padding-left: 48px;
    text-align: left;
}

.sobre-timeline-marker {
    position: absolute;
    top: 4px;
    z-index: 2;
}

.sobre-timeline-left .sobre-timeline-marker {
    right: -12px;
}

.sobre-timeline-right .sobre-timeline-marker {
    left: -12px;
}

.sobre-timeline-year-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-orange);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--primary-orange);
}

.sobre-timeline-year-badge {
    width: auto;
    height: auto;
    padding: 4px 14px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    border: 3px solid var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sobre-timeline-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sobre-timeline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.sobre-timeline-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.sobre-timeline-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin: 0;
}

/* --- CTA Section --- */
.sobre-cta-section {
    padding: 80px 0;
    background: var(--primary-navy);
    text-align: center;
}

.sobre-cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.sobre-cta-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 16px;
}

.sobre-cta-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.7;
}

.sobre-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Sobre o IBH - Responsive (Tablet: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .sobre-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sobre-hero-text h1 {
        font-size: 2rem;
    }

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

    .sobre-methodology-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sobre-methodology-image {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }

    .sobre-logos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   Sobre o IBH - Responsive (Mobile: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .sobre-hero {
        padding: 60px 0 32px;
    }

    .sobre-hero-text h1 {
        font-size: 1.75rem;
    }

    .sobre-pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sobre-pillar-card {
        padding: 32px 24px 24px;
    }

    .sobre-team-grid {
        grid-template-columns: 1fr;
    }

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

    /* Timeline: stack vertically with line on left */
    .sobre-timeline-line {
        left: 12px;
    }

    .sobre-timeline-item {
        width: 100%;
        margin-left: 0;
    }

    .sobre-timeline-left,
    .sobre-timeline-right {
        padding-left: 48px;
        padding-right: 0;
        text-align: left;
        justify-content: flex-start;
    }

    .sobre-timeline-left .sobre-timeline-marker,
    .sobre-timeline-right .sobre-timeline-marker {
        left: 0;
        right: auto;
    }

    .sobre-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .sobre-section-nav .container {
        padding-left: 0;
        padding-right: 0;
    }

    .sobre-nav-link {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   Sobre o IBH - Responsive (Small Mobile: 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .sobre-hero-text h1 {
        font-size: 1.5rem;
    }

    .sobre-hero-description {
        font-size: 0.95rem;
    }

    .sobre-quote {
        padding: 16px 20px;
    }

    .sobre-pillars-header h2,
    .sobre-methodology-text h2,
    .sobre-team-header h2,
    .sobre-affiliations-header h2,
    .sobre-timeline-header h2,
    .sobre-cta-text h2 {
        font-size: 1.5rem;
    }

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

    .sobre-team-summary {
        padding: 16px;
    }

    .sobre-team-expanded {
        padding: 0 16px 16px;
    }

    .sobre-timeline-card {
        padding: 16px;
    }

    .sobre-nav-link {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

/* Reduced Motion - Respect user preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    /* Disable marquee animation */
    .logos-track {
        animation: none;
    }
    
    /* Disable carousel auto-transition effects */
    .carousel-track {
        transition: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --gray-400: #666666;
        --gray-600: #333333;
    }
    
    .btn-primary {
        border: 2px solid var(--primary-navy);
    }
    
    .btn-secondary {
        border-width: 3px;
    }
    
    .service-card,
    .blog-card,
    .testimonial-card {
        border-width: 2px;
        border-color: var(--gray-600);
    }
    
    a:focus-visible,
    button:focus-visible {
        outline-width: 4px;
    }
}

/* Forced Colors Mode (Windows High Contrast) */
@media (forced-colors: active) {
    .btn-primary,
    .btn-secondary {
        border: 2px solid currentColor;
    }
    
    .service-icon,
    .ibh-feature-icon,
    .servicos-router .service-icon,
    .whatsapp-btn,
    .review-avatar,
    .review-avatar-manual,
    .carousel-btn,
    .google-reviews-badge,
    .footer-social a,
    .top-bar-social a,
    .sobre-pillar-icon,
    .sobre-team-photo-placeholder,
    .sobre-team-toggle,
    .sobre-timeline-year-badge {
        forced-color-adjust: none;
    }
    
    *:focus {
        outline: 3px solid Highlight;
    }
}

/* ARIA Live Region Styles — .sr-announce merged into .screen-reader-text */

/* Loading States for Assistive Technology */
[aria-busy="true"] {
    cursor: wait;
}

/* Disabled State Styles */
[aria-disabled="true"],
[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn[aria-disabled="true"],
.btn[disabled] {
    pointer-events: none;
}

/* Screen reader announcement for current page */
.main-navigation .current-menu-item > a::before,
.main-navigation .current_page_item > a::before {
    content: attr(aria-current);
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

