/* ==========================================================================
   LAR DA DONA CIDA - DESIGN SYSTEM INSTITUCIONAL & MODERNO (V3.0)
   100% Responsivo, Proporções Executivas, Sem "Letronas" e Sem Quebras
   ========================================================================== */

:root {
    --primary: #0f766e;
    --primary-hover: #115e59;
    --primary-light: #e6f7f5;
    --primary-soft: #f2fbf9;
    --primary-dark: #093f3c;

    --secondary: #d97706;
    --secondary-hover: #b45309;
    --secondary-light: #fef3c7;

    --dark: #0f172a;
    --dark-surface: #1e293b;
    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --bg-main: #ffffff;
    --bg-soft: #f8fafc;
    --bg-cream: #faf9f6;
    --bg-subtle: #f1f5f9;

    --border: #e2e8f0;
    --border-light: #f1f5f9;
    
    --success: #10b981;
    --whatsapp: #25d366;
    --whatsapp-dark: #128c7e;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 26px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 14px -1px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 14px 28px -4px rgba(15, 118, 110, 0.12);

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip; /* clip não cria novo contexto de scroll, garantindo position: sticky 100% funcional */
    font-family: var(--font-body);
    font-size: 0.98rem;
    line-height: 1.62;
    color: var(--text-main);
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
}

/* TIPOGRAFIA EQUILIBRADA & MODERNA */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.75rem, 2.6vw, 2.45rem); }
h2 { font-size: clamp(1.4rem, 2vw, 1.95rem); }
h3 { font-size: clamp(1.1rem, 1.4vw, 1.3rem); font-weight: 600; }
h4 { font-size: 1.05rem; }

p {
    margin-bottom: 0.9rem;
}

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

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

ul, ol {
    list-style: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* CONTAINER RESPONSIVO */
.container {
    width: 100%;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 3vw, 2.5rem);
    padding-right: clamp(1rem, 3vw, 2.5rem);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-danger { color: #ef4444 !important; }

.w-100 { width: 100%; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.2);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-lg {
    padding: 0.85rem 1.7rem;
    font-size: 0.98rem;
}

.btn-sm {
    padding: 0.45rem 0.95rem;
    font-size: 0.82rem;
}

/* Badges */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    background-color: var(--primary-light);
    color: var(--primary-hover);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.9rem;
}

.badge-trust {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
    background-color: var(--primary-dark);
    color: #cbd5e1;
    font-size: 0.8rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topbar-info, .topbar-contacts {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.topbar-item, .topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #cbd5e1;
}

.topbar-link:hover {
    color: #ffffff;
}

.topbar-whatsapp {
    color: #86efac;
    font-weight: 600;
}

/* ==========================================================================
   HEADER PRINCIPAL
   ========================================================================== */
.site-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 2px solid var(--border);
    transition: all 0.25s ease;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
    border-bottom: 3px solid var(--primary); /* Linha verde contínua no topo solicitada pelo cliente! */
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    transition: var(--transition);
}

.site-header.scrolled .header-container {
    height: 68px;
}

/* SOMENTE O LOGO LIMPO */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.site-header.scrolled .brand-logo-img {
    height: 48px;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 1.3rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dark-surface);
    padding: 0.35rem 0.1rem;
    position: relative;
}

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

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--dark);
    border-radius: 4px;
    transition: var(--transition);
}

/* ==========================================================================
   DRAWER MOBILE (COMPLETAMENTE OCULTO NO DESKTOP!)
   ========================================================================== */
.mobile-drawer {
    display: none; /* Padrão Desktop: NUNCA APARECE */
}

.mobile-overlay {
    display: none; /* Padrão Desktop: NUNCA APARECE */
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    padding: 3.2rem 0 3.8rem;
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 50%, #fef3c7 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 2.8rem;
}

.hero-text h1 {
    margin-bottom: 1rem;
    color: var(--dark);
}

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

.hero-subtitle {
    font-size: 1.02rem;
    color: var(--text-main);
    margin-bottom: 1.6rem;
    max-width: 580px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(15, 118, 110, 0.15);
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.hero-feature-item i {
    font-size: 1.4rem;
    color: var(--primary);
    flex-shrink: 0;
}

.hero-feature-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark);
    line-height: 1.2;
}

.hero-feature-item span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Imagem Hero */
.hero-media {
    position: relative;
    width: 100%;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid #ffffff;
}

.hero-image-wrapper img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-floating-card {
    position: absolute;
    bottom: -12px;
    left: -12px;
    background: #ffffff;
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-left: 4px solid var(--secondary);
    max-width: 270px;
}

.hero-floating-card i {
    font-size: 1.6rem;
    color: var(--secondary);
}

.hero-floating-card strong {
    display: block;
    font-size: 0.92rem;
    color: var(--dark);
}

.hero-floating-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   BARRA DE CREDIBILIDADE
   ========================================================================== */
.trust-strip {
    background-color: var(--primary);
    color: #ffffff;
    padding: 1.8rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-item-icon {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
    color: #5eead4;
}

.trust-item strong {
    font-size: 0.98rem;
    font-family: var(--font-heading);
    margin-bottom: 0.2rem;
}

.trust-item span {
    font-size: 0.82rem;
    color: #ccfbf1;
    line-height: 1.4;
}

/* ==========================================================================
   SEÇÕES GERAIS
   ========================================================================== */
.section {
    padding: 4rem 0;
    position: relative;
}

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

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

.section-header {
    max-width: 700px;
    margin: 0 auto 2.6rem;
    text-align: center;
}

.section-header.text-left {
    margin-left: 0;
    text-align: left;
}

.section-header h2 {
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.section-header p {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   DIFERENCIAIS
   ========================================================================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.pillar-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 2rem 1.6rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(15, 118, 110, 0.2);
}

.pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.pillar-card h3 {
    margin-bottom: 0.65rem;
    font-size: 1.18rem;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.1rem;
    line-height: 1.55;
}

.pillar-card ul li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    color: var(--text-main);
    margin-bottom: 0.45rem;
}

.pillar-card ul li i {
    color: var(--success);
}

/* ==========================================================================
   ESTRUTURA 100% TÉRREA
   ========================================================================== */
.structure-highlight {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.8rem 2.2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.structure-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.6rem;
    align-items: center;
}

.structure-text h2 {
    margin-bottom: 0.85rem;
}

.structure-checklist {
    margin: 1.6rem 0;
}

.structure-item {
    display: flex;
    gap: 0.9rem;
    margin-bottom: 1.3rem;
}

.structure-item i {
    font-size: 1.2rem;
    color: var(--primary);
    background: var(--primary-light);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.structure-item strong {
    display: block;
    color: var(--dark);
    font-size: 0.98rem;
    margin-bottom: 0.15rem;
}

.structure-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.structure-gallery-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

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

/* ==========================================================================
   SERVIÇOS
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.service-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.service-card-media {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.service-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(15, 118, 110, 0.92);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

.service-card-body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-body h3 {
    margin-bottom: 0.6rem;
    font-size: 1.18rem;
}

.service-card-body p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
    flex-grow: 1;
    line-height: 1.55;
}

.service-card-footer {
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-link {
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ==========================================================================
   EQUIPE
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.team-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.team-avatar-wrapper {
    position: relative;
    padding-top: 1.8rem;
    background: linear-gradient(180deg, var(--primary-soft) 0%, #ffffff 100%);
}

.team-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: var(--shadow-md);
}

.team-info {
    padding: 1.2rem 1.4rem 1.8rem;
}

.team-info h3 {
    font-size: 1.18rem;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.8rem;
    display: block;
}

.team-bio {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 0;
}

/* ==========================================================================
   DEPOIMENTOS
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.testimonial-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 2rem 1.6rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote-icon {
    font-size: 2.2rem;
    color: var(--primary-light);
    position: absolute;
    top: 1.4rem;
    right: 1.6rem;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.testimonial-text {
    font-size: 0.92rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 1.4rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 700;
}

.author-info strong {
    display: block;
    color: var(--dark);
    font-size: 0.92rem;
}

.author-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   GALERIA
   ========================================================================== */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 220px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.85) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.1rem;
    color: #ffffff;
    transition: var(--transition);
}

.gallery-overlay span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5eead4;
}

.gallery-overlay strong {
    font-size: 0.95rem;
    margin-top: 0.2rem;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.94);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(6px);
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.lightbox-caption {
    color: #ffffff;
    margin-top: 1rem;
    font-size: 1.02rem;
    text-align: center;
    font-family: var(--font-heading);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-prev { left: -55px; }
.lightbox-next { right: -55px; }

.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--primary);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-container {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: var(--radius-sm);
    margin-bottom: 0.9rem;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.15rem 1.4rem;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question i {
    font-size: 0.85rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.4rem;
}

.faq-item.active .faq-answer {
    padding-bottom: 1.15rem;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

/* ==========================================================================
   CONTATO & FORMULÁRIO
   ========================================================================== */
.contact-section-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 2.5rem;
    align-items: flex-start;
}

.contact-card-info {
    background: var(--primary-dark);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    box-shadow: var(--shadow-sm);
}

.contact-card-info h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.contact-card-info p {
    color: #cbd5e1;
    font-size: 0.92rem;
    margin-bottom: 1.8rem;
}

.contact-direct-list {
    margin-bottom: 2rem;
}

.contact-direct-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1.3rem;
}

.contact-direct-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5eead4;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-direct-item strong {
    display: block;
    font-size: 0.82rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.contact-direct-item a, .contact-direct-item span {
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 500;
}

.contact-form-container {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.form-group {
    margin-bottom: 1.1rem;
}

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

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--dark);
    background-color: #ffffff;
    transition: var(--transition);
}

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

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

.form-alert {
    padding: 0.9rem 1.15rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.3rem;
    font-size: 0.92rem;
    display: none;
}

.form-alert.success {
    display: block;
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-alert.error {
    display: block;
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.map-wrapper {
    margin-top: 2.6rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 360px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 3.6rem 0;
    text-align: center;
}

.cta-banner h2 {
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.cta-banner p {
    font-size: 1.05rem;
    color: #ccfbf1;
    max-width: 650px;
    margin: 0 auto 1.8rem;
}

.cta-banner-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem;
}

/* ==========================================================================
   RODAPÉ INSTITUCIONAL (PREMIUM & ELEGANTE)
   ========================================================================== */
.site-footer {
    background: linear-gradient(180deg, #092025 0%, #051417 100%);
    color: #94a3b8;
    position: relative;
    border-top: 3px solid var(--primary);
    width: 100%;
}

.footer-top {
    padding: 3.8rem 0 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr 1.1fr 1.25fr;
    gap: 2.5rem;
    align-items: start;
}

.footer-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.footer-logo-img {
    height: 46px;
    width: auto;
    display: block;
}

.footer-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 1.3rem;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-badges .badge-trust {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
}

.footer-title {
    color: #ffffff;
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 1.3rem;
    position: relative;
    padding-bottom: 0.55rem;
    letter-spacing: -0.01em;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2.5px;
    background-color: var(--primary);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.footer-links a i {
    font-size: 0.72rem;
    color: var(--primary-light);
    transition: transform 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-links a:hover i {
    color: #ffffff;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.contact-list li i {
    color: var(--primary-light);
    font-size: 1.15rem;
    margin-top: 0.18rem;
    flex-shrink: 0;
}

.contact-list a {
    color: #ffffff;
    font-weight: 600;
    transition: var(--transition);
}

.contact-list a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.footer-bottom {
    padding: 1.6rem 0;
    font-size: 0.85rem;
    background-color: #030c0e;
    color: #64748b;
}

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

.footer-copy strong {
    color: #94a3b8;
}

.footer-quote {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* ==========================================================================
   BOTÃO FLUTUANTE WHATSAPP (SEM AUTO-POPUP)
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 2500;
}

.wa-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--whatsapp);
    color: #ffffff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    position: relative;
    transition: var(--transition);
}

.wa-btn:hover {
    transform: scale(1.08);
    background-color: var(--whatsapp-dark);
}

.wa-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--whatsapp);
    animation: wa-pulse-anim 2s infinite;
    opacity: 0;
}

@keyframes wa-pulse-anim {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(0.9); opacity: 0; }
}

.wa-tooltip {
    display: none !important;
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 22px;
    left: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--dark-surface);
    color: #ffffff;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 2400;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: var(--primary);
}

/* ==========================================================================
   MEDIA QUERIES - RESPONSIVIDADE COMPLETA E PERFEITA
   ========================================================================== */

/* Tablets & iPads (768px a 991px) */
@media (max-width: 991px) {
    .topbar { display: none !important; }
    .main-nav { display: none !important; }
    .mobile-toggle { display: flex !important; }
    
    /* Ativar Drawer apenas em telas menores que 992px */
    .mobile-drawer {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -320px;
        width: 280px;
        max-width: 80vw;
        height: 100vh;
        background-color: #ffffff;
        z-index: 2000;
        padding: 1.4rem;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .mobile-drawer.open {
        right: 0 !important;
    }

    .drawer-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--border);
        padding-bottom: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .drawer-logo-img {
        height: 44px;
        width: auto;
    }

    .drawer-close {
        font-size: 1.8rem;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--text-muted);
        line-height: 1;
    }

    .drawer-nav li {
        margin-bottom: 0.6rem;
    }

    .drawer-nav a {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-family: var(--font-heading);
        font-size: 0.98rem;
        font-weight: 600;
        color: var(--dark-surface);
        padding: 0.6rem 0.7rem;
        border-radius: var(--radius-sm);
    }

    .drawer-nav a.active, .drawer-nav a:hover {
        background-color: var(--primary-light);
        color: var(--primary-hover);
    }

    .drawer-nav a i {
        color: var(--primary);
        width: 18px;
    }

    .drawer-footer {
        margin-top: auto;
        padding-top: 1.4rem;
        border-top: 1px solid var(--border);
    }

    .drawer-address {
        font-size: 0.78rem;
        color: var(--text-muted);
        margin-top: 0.75rem;
        text-align: center;
    }

    .mobile-overlay {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(15, 23, 42, 0.5);
        backdrop-filter: blur(3px);
        z-index: 1999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .mobile-overlay.open {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .header-container { height: 70px; }
    .brand-logo-img { height: 50px; }
    .hero { padding: 2.5rem 0 3rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-image-wrapper img { height: 320px; }
    .hero-floating-card { position: static; margin-top: 1rem; max-width: 100%; }
    .hero-features { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
    .pillars-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .structure-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-section-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
}

/* Celulares & Telas Pequenas (320px a 767px) */
@media (max-width: 767px) {
    .header-container { height: 64px; }
    .brand-logo-img { height: 46px; }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero {
        padding: 1.8rem 0 2.2rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .badge-pill {
        font-size: 0.7rem;
        padding: 0.25rem 0.7rem;
        margin-bottom: 0.6rem;
    }

    .hero-text h1 {
        font-size: 1.5rem;
        line-height: 1.25;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 1.3rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.65rem;
        margin-bottom: 1.4rem;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        padding: 0.8rem 1.1rem;
        font-size: 0.92rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding-top: 1.1rem;
    }

    .hero-feature-item i {
        font-size: 1.25rem;
    }

    .hero-feature-item strong {
        font-size: 0.88rem;
    }

    .hero-feature-item span {
        font-size: 0.75rem;
    }

    .hero-image-wrapper {
        border-width: 3px;
        border-radius: var(--radius-md);
    }

    .hero-image-wrapper img {
        height: 220px;
    }

    .hero-floating-card {
        position: static;
        margin-top: 0.8rem;
        max-width: 100%;
        padding: 0.8rem 1rem;
    }

    .hero-floating-card i {
        font-size: 1.4rem;
    }

    .hero-floating-card strong {
        font-size: 0.88rem;
    }

    .hero-floating-card span {
        font-size: 0.75rem;
    }

    /* Trust strip no mobile: compacto 2x2 */
    .trust-strip {
        padding: 1.4rem 0;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem 0.8rem;
    }

    .trust-item-icon {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
    }

    .trust-item strong {
        font-size: 0.88rem;
    }

    .trust-item span {
        font-size: 0.72rem;
    }

    /* Seções no mobile */
    .section {
        padding: 2.5rem 0;
    }

    .section-header {
        margin-bottom: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.35rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .pillar-card {
        padding: 1.5rem 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .service-card-media {
        height: 180px;
    }

    .service-card-body {
        padding: 1.3rem 1.1rem;
    }

    .structure-highlight {
        padding: 1.5rem 1.1rem;
    }

    .structure-gallery-preview {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .structure-gallery-preview img {
        height: 120px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }

    .team-avatar {
        width: 120px;
        height: 120px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .gallery-item {
        height: 150px;
    }

    .contact-card-info, .contact-form-container {
        padding: 1.6rem 1.15rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .form-group.col-span-2 {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .hide-sm {
        display: none !important;
    }

    /* WhatsApp no mobile: limpo e discreto */
    .floating-whatsapp {
        bottom: 16px;
        right: 16px;
    }

    .wa-btn {
        width: 50px;
        height: 50px;
        font-size: 1.65rem;
    }

    .back-to-top {
        bottom: 16px;
        left: 16px;
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}