/*
Theme Name: Paim Imóveis Alternativo
Theme URI: https://paimimoveis.com.br/
Author: Diego Paim / Antigravity AI
Description: Tema WordPress de alto padrão desenvolvido sob medida para a Paim Imóveis e Avaliações.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: paim-imoveis
*/

/* ==========================================================================
   PAIM Corretor e Avaliador de Imóveis - Design System & Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --primary-navy: #0F3B66;
  --primary-navy-dark: #0A2540;
  --primary-navy-deep: #06192C;
  --accent-blue: #0066FF;
  --accent-blue-hover: #0044B3;
  --accent-gold: #82C1F5; /* light baby blue (substitutes gold/caramel) */
  --accent-gold-dark: #5DADE2; /* baby blue dark */
  --accent-light-blue: #EBF3FA;
  
  /* Vibrant Blue Button with Silver Border */
  --vibrant-blue-start: #0066FF;
  --vibrant-blue-end: #0044B3;
  --vibrant-blue-hover-start: #0052CC;
  --vibrant-blue-hover-end: #003399;
  --silver-border: #D1D5DB;

  --bg-body: #FFFFFF;
  --bg-alt: #F8FAF9;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F4F7F6;
  
  --text-main: #1D2A3A;
  --text-heading: #0F2E5A;
  --text-muted: #526071;
  --text-light: #8C98A6;
  
  --border-light: #EAECF0;
  --border-muted: #D0D5DD;
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Elevation */
  --shadow-sm: 0 2px 4px rgba(15, 46, 90, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 46, 90, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 46, 90, 0.12);
  --shadow-hover: 0 20px 40px rgba(15, 46, 90, 0.16);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Layout */
  --max-width: 1280px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
}

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

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

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

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

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

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

/* Typography Utilities */
.section-tag {
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #475569 0%, #A0B2C6 50%, #475569 100%); /* chrome/silver gradient matching logo symbol */
  border-radius: 4px;
  margin-bottom: 1.5rem;
  position: relative;
}

/* Center section tags for centered containers */
div[style*="text-align: center"] .section-tag {
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--primary-navy);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Glossy Blue/Silver Skeuomorphic Button with Glistening Border */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  border: 2px solid transparent;
  background-image: linear-gradient(180deg, #0A438A 0%, #072B5C 49%, #001D47 50%, #000E26 100%), 
                    linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 25%, #FFFFFF 50%, #64748B 75%, #FFFFFF 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: #E2E8F0; /* light silver text */
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 
              0 2px 5px rgba(255, 255, 255, 0.3) inset, 
              0 -2px 5px rgba(0, 0, 0, 0.5) inset, 
              0 8px 22px rgba(0, 68, 179, 0.35);
  white-space: nowrap;
  position: relative;
  overflow: hidden; /* masks the sheen highlight overlay */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  animation: border-glisten 3s infinite ease-in-out;
}

/* Glistening Reflection Sweep Effect */
.btn-whatsapp::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -150%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    to right, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.45) 50%, 
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  mix-blend-mode: overlay;
  animation: sheen-sweep 4s infinite cubic-bezier(0.43, 0.13, 0.23, 0.96);
}

.btn-whatsapp:hover {
  background-image: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 49%, #CBD5E1 50%, #94A3B8 100%), 
                    linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 30%, #E2E8F0 60%, #F1F5F9 80%, #FFFFFF 100%);
  color: #072B5C; /* blue text on hover */
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4) inset, 
              0 2px 5px rgba(255, 255, 255, 0.5) inset, 
              0 -2px 5px rgba(0, 0, 0, 0.2) inset, 
              0 10px 25px rgba(0, 0, 0, 0.18),
              0 0 15px rgba(255, 255, 255, 0.4);
  text-shadow: none;
  animation: none;
}

@keyframes border-glisten {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 
                0 2px 5px rgba(255, 255, 255, 0.3) inset, 
                0 -2px 5px rgba(0, 0, 0, 0.5) inset, 
                0 8px 22px rgba(0, 68, 179, 0.35),
                0 0 5px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset, 
                0 2px 5px rgba(255, 255, 255, 0.4) inset, 
                0 -2px 5px rgba(0, 0, 0, 0.5) inset, 
                0 8px 22px rgba(0, 68, 179, 0.45),
                0 0 15px rgba(255, 255, 255, 0.6);
  }
}

@keyframes sheen-sweep {
  0% {
    left: -150%;
  }
  15% {
    left: 200%;
  }
  100% {
    left: 200%;
  }
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
  transition: fill 0.3s ease;
}

/* ==========================================================================
   Header / Navigation Bar (Fixed Transparent -> turns Solid White on Scroll)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Header state when scrolled down */
.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(234, 236, 240, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
  gap: 2rem;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin: 0 auto;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-navy);
  position: relative;
  padding: 0.5rem 0 0.5rem 12px; /* space on the left reserved for the vertical bar */
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 14px; /* small vertical bar */
  background-color: var(--primary-navy);
  border-radius: 2px;
  transition: transform var(--transition-fast) ease, opacity var(--transition-fast) ease;
  opacity: 0;
  transform-origin: center;
}

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

.nav-link:hover::before,
.nav-link.active::before {
  transform: translateY(-50%) scaleY(1);
  opacity: 1;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001; /* keeps hamburger on top of drawer */
  position: relative;
}

.hamburger-box {
  width: 26px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--primary-navy);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section - Clean Text Constrained to Left Clear Sky/Sea Zone
   ========================================================================== */
.hero {
  position: relative;
  min-height: 640px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.55) 30%, rgba(255, 255, 255, 0) 65%), 
              url('Imagens/fundo-hero.jpg') no-repeat center right / cover;
  display: block; /* Robust block alignment to prevent collapsing */
  overflow: hidden;
  padding-top: 140px;
  padding-bottom: 5rem;
}

.hero-mobile-image-wrapper {
  display: none; /* hidden on desktop */
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-mobile-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero-mobile-image-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  pointer-events: none;
}

.hero-grid {
  display: block; /* Plain block layout for perfect alignment */
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  max-width: 480px; /* Constrained to stay inside the left clear sky/sea area */
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 0.975rem;
  color: var(--text-main);
  line-height: 1.6;
  font-weight: 500;
}

/* ==========================================================================
   Section: Quem Somos
   ========================================================================== */
.about {
  padding: 6rem 0;
  background-color: var(--bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.about-paragraphs p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-paragraphs p strong {
  color: var(--primary-navy);
  font-weight: 700;
}

.about-why-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.why-choose-block {
  margin-top: 4rem;
  border-top: 1px solid var(--border-light);
  padding-top: 3.5rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

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

.why-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--bg-card);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-navy);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-navy);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-left-color 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
  transform: translateX(6px);
  border-left-color: var(--accent-blue);
  box-shadow: var(--shadow-md);
}

.about-images-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-img-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 250px;
}

.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Section: Compra ou Venda
   ========================================================================== */
.services-section {
  padding: 6rem 0;
  background-color: #FFFFFF;
}

.service-block-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: stretch;
}

.services-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 2rem 0;
}

.service-item-card {
  background-color: var(--bg-card-alt);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.service-item-card:hover {
  background-color: var(--accent-light-blue);
  transform: translateY(-2px);
}

.service-item-icon {
  width: 22px;
  height: 22px;
  color: var(--primary-navy);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-item-text {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-navy);
}

/* ==========================================================================
   Section: Avaliação de Imóveis
   ========================================================================== */
.evaluation-section {
  padding: 6rem 0;
  background-color: var(--bg-alt);
}

.evaluation-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.credenciais-box {
  display: flex;
  align-items: center;
  gap: 2rem;
  background-color: var(--primary-navy);
  color: #FFFFFF;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}

.badge-item {
  display: flex;
  flex-direction: column;
}

.badge-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
}

.badge-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.indicacao-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.indicacao-card {
  background-color: var(--bg-card);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-blue);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-navy);
}

/* ==========================================================================
   Section: Diferencial Banner
   ========================================================================== */
.diferencial-banner {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.diferencial-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.diferencial-banner .section-tag {
  color: var(--accent-gold);
}

.diferencial-banner .section-title {
  color: #FFFFFF;
}

.diferencial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #E2E8F0;
}

.diferencial-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.diferencial-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.diferencial-box:hover {
  transform: translateY(-6px) scale(1.02);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.diferencial-box-icon {
  width: 36px;
  height: 36px;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.diferencial-box:hover .diferencial-box-icon {
  transform: scale(1.15) rotate(6deg);
}

.diferencial-box-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.diferencial-box-desc {
  font-size: 0.8rem;
  color: #CBD5E1;
  line-height: 1.4;
}

/* ==========================================================================
   Section: Como Funciona
   ========================================================================== */
.process {
  padding: 6rem 0;
  background-color: #FFFFFF;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.process-card {
  background-color: var(--bg-card-alt);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md);
  position: relative;
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background-color: var(--accent-light-blue);
}

.process-step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1;
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.process-step-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.process-step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Section: Contato
   ========================================================================== */
.contact {
  padding: 6rem 0;
  background-color: var(--bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-brand-card {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.contact-brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-detail-row svg {
  width: 22px;
  height: 22px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.contact-form-wrapper {
  background-color: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.95rem 1.2rem;
  background-color: var(--bg-card-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-main);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary-navy);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(15, 59, 102, 0.1);
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--primary-navy-deep);
  color: #FFFFFF;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-creci {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.825rem;
  color: #94A3B8;
  line-height: 1.6;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.825rem;
  color: #94A3B8;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  font-size: 0.775rem;
  color: #64748B;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Mobile Helper */
.mobile-only-menu-item {
  display: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1150px) {
  .nav-menu {
    gap: 1.25rem;
  }
  
  .nav-link {
    font-size: 0.775rem;
  }
  
  .btn-whatsapp {
    padding: 0.75rem 1.25rem;
    font-size: 0.775rem;
  }
}

@media (max-width: 1000px) {
  .header {
    position: relative;
    background: #FFFFFF;
  }
  
  .hero {
    padding-top: 3rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-grid,
  .about-grid,
  .service-block-grid,
  .evaluation-grid,
  .diferencial-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 880px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }

  .header.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(234, 236, 240, 0.8) !important;
    box-shadow: var(--shadow-sm) !important;
  }

  .header-inner {
    height: 75px;
  }

  .header-logo-img {
    height: 40px;
  }

  .header-inner > .btn-whatsapp {
    display: none; /* hide main header button on mobile/tablet viewports */
  }

  .mobile-only-menu-item {
    display: block;
    width: 100%;
  }

  .btn-whatsapp {
    font-size: 0.725rem !important;
    padding: 0.85rem 1.6rem !important;
  }

  .btn-whatsapp svg {
    width: 15px !important;
    height: 15px !important;
  }

  .hamburger {
    display: block;
    background-color: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    box-shadow: 0 4px 12px rgba(15, 37, 64, 0.05);
    transition: background-color 0.3s ease, border-color 0.3s ease;
  }

  .hamburger:hover,
  .hamburger.active {
    background-color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 1);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 290px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 7rem 2rem 2rem 2rem;
    box-shadow: -8px 0 32px rgba(15, 37, 64, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    gap: 1.5rem;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  /* Compact section paddings for mobile viewports */
  .about, 
  .services-section, 
  .included-services-section, 
  .evaluation-section, 
  .indicacao-section, 
  .process, 
  .contact {
    padding: 4rem 0 !important;
  }

  .hero {
    background: #FFFFFF !important;
    padding-top: 0 !important;
    padding-bottom: 3.5rem !important;
    min-height: auto;
  }

  .hero-mobile-image-wrapper {
    display: block;
  }

  .hero-content {
    padding-top: 1.5rem;
  }

  .hero-title {
    font-size: 1.65rem !important;
    line-height: 1.3 !important;
  }

  .section-title {
    font-size: 1.65rem !important;
    line-height: 1.3 !important;
  }

  .hero-subtitle,
  .section-desc {
    font-size: 0.9rem !important;
    line-height: 1.56 !important;
  }

  /* Limit block heights on stacked column images */
  .hero-image-wrapper {
    min-height: 250px !important;
    max-height: 300px;
  }

  .about-images-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .about-img-box img {
    max-height: 180px;
    object-fit: cover;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem 1rem !important;
  }

  .services-list-grid,
  .indicacao-grid,
  .diferencial-highlights,
  .process-steps-grid {
    grid-template-columns: 1fr;
  }

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

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

  .contact-brand-card,
  .contact-form-wrapper {
    padding: 1.75rem !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .why-grid {
    grid-template-columns: 1fr !important;
  }

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

  .about-img-box img {
    max-height: 200px;
  }

  .toast {
    left: 1rem !important;
    right: 1rem !important;
    bottom: 1.5rem !important;
    padding: 1rem 1.2rem;
    font-size: 0.8rem;
    text-align: center;
    justify-content: center;
    width: auto;
    transform: translateY(200%);
  }
  
  .toast.show {
    transform: translateY(0);
  }
}

/* ==========================================================================
   Section: Nossos Serviços Incluem (Dedicated Section)
   ========================================================================== */
.included-services-section {
  padding: 6rem 0;
  background-color: var(--bg-alt);
}

.services-include-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-include-card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.service-include-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background-color: var(--accent-light-blue);
}

.service-include-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary-navy);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.service-include-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.4;
}

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

@media (max-width: 650px) {
  .services-include-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Section: Quando a Avaliação é Indicada (Dedicated Section)
   ========================================================================== */
.indicacao-section {
  padding: 6rem 0;
  background-color: #FFFFFF;
}

.indicacao-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.indicacao-item-card {
  background-color: var(--bg-card-alt);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent-blue);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.indicacao-item-card:hover {
  background-color: var(--accent-light-blue);
  transform: translateY(-2px);
}

.indicacao-item-bullet {
  width: 8px;
  height: 8px;
  background-color: var(--accent-blue);
  border-radius: 50%;
  flex-shrink: 0;
}

.indicacao-item-text {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.3;
}

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

@media (max-width: 600px) {
  .indicacao-full-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Toast Notification (Modal Popup)
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background-color: var(--primary-navy-dark);
  color: #FFFFFF;
  padding: 1.1rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 1001;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  pointer-events: auto;
}

.toast-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.toast-message {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
}

/* ==========================================================================
   Hero Image Wrapper (Stretch & Zoom)
   ========================================================================== */
.hero-image-wrapper {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   WhatsApp Floating Widget
   ========================================================================== */
.whatsapp-floating-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-floating-widget:hover {
  transform: scale(1.05);
}

.widget-body {
  border: 2px solid transparent;
  background-image: linear-gradient(180deg, #0C549A 0%, #04213F 100%), 
                    linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 25%, #FFFFFF 50%, #64748B 75%, #FFFFFF 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding: 0.65rem 0; /* starts with 0 horizontal padding */
  border-radius: 30px 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 
              0 2px 4px rgba(255, 255, 255, 0.25) inset, 
              0 -2px 4px rgba(0, 0, 0, 0.4) inset, 
              0 8px 30px rgba(0, 0, 0, 0.22);
  margin-right: -1.25rem; /* pull icon box over the body */
  z-index: 1;
  position: relative;
  
  /* Start collapsed for delayed fade/slide-out reveal */
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s ease,
              padding 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
}

/* Revealed state triggered by JS */
.widget-body.show {
  max-width: 250px;
  opacity: 1;
  padding: 0.65rem 2.5rem 0.65rem 1.5rem;
  animation: widget-border-glisten 3s infinite ease-in-out;
}

@keyframes widget-border-glisten {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 
                0 2px 4px rgba(255, 255, 255, 0.25) inset, 
                0 -2px 4px rgba(0, 0, 0, 0.4) inset, 
                0 8px 30px rgba(0, 0, 0, 0.22),
                0 0 5px rgba(255, 255, 255, 0.15);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset, 
                0 2px 4px rgba(255, 255, 255, 0.35) inset, 
                0 -2px 4px rgba(0, 0, 0, 0.4) inset, 
                0 8px 30px rgba(12, 84, 154, 0.45),
                0 0 12px rgba(255, 255, 255, 0.45);
  }
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
}

.widget-desc {
  font-size: 0.725rem;
  color: #E2E8F0; /* lighter text for perfect contrast on rich blue background */
  white-space: nowrap;
}

.widget-icon-box {
  width: 52px;
  height: 52px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  z-index: 2;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.whatsapp-floating-widget:hover .widget-icon-box {
  background-color: #22c05b;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

.widget-icon-box svg {
  width: 26px;
  height: 26px;
  fill: #FFFFFF;
}

/* Mobile responsive collapses text part completely to show icon circle only */
@media (max-width: 600px) {
  .widget-body,
  .widget-body.show {
    display: none !important;
  }
  .whatsapp-floating-widget {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}
