/* ========================================
   F12 Contabilidade - Estilos Principais
   ======================================== */

/* Variáveis de cores */
:root {
  --azul-escuro: #0B1026;
  --azul-medio: #131A3A;
  --azul-claro: #1A2247;
  --dourado: #C9A84C;
  --dourado-claro: #D4B965;
  --dourado-escuro: #A8893D;
  --branco: #FFFFFF;
  --cinza-claro: #F5F5F7;
  --cinza-medio: #B0B0B0;
  --cinza-texto: #6B7280;
  --texto-escuro: #1F2937;

  /* Cores por tema (claro). Usar estas nas áreas que mudam no modo escuro */
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --surface: #FFFFFF;
  --text: #1F2937;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --heading: #0B1026;
  --icon-fill: #FAF6ED;
  --input-bg: #FFFFFF;
  color-scheme: light;
}

/* Modo escuro: segue o sistema, a menos que o visitante tenha escolhido o claro */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1631;
    --bg-alt: #151C3F;
    --surface: #1E264D;
    --text: #E5E7EB;
    --text-muted: #9CA3AF;
    --border: rgba(255, 255, 255, 0.1);
    --heading: #FFFFFF;
    --icon-fill: #2F334D;
    --input-bg: #0B1026;
    color-scheme: dark;
  }
}

/* Modo escuro escolhido no botão */
:root[data-theme="dark"] {
  --bg: #0F1631;
  --bg-alt: #151C3F;
  --surface: #1E264D;
  --text: #E5E7EB;
  --text-muted: #9CA3AF;
  --border: rgba(255, 255, 255, 0.1);
  --heading: #FFFFFF;
  --icon-fill: #2F334D;
  --input-bg: #0B1026;
  color-scheme: dark;
}

/* Reset e base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   HEADER / NAVEGAÇÃO
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--azul-escuro);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  padding-bottom: 15px;
}

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

.logo-icon {
  width: 45px;
  height: 45px;
}

.logo-img {
  height: 100px;
  width: auto;
  mix-blend-mode: lighten;
}

.logo-text {
  color: var(--branco);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-text span {
  color: var(--dourado);
}

.logo-subtitle {
  color: var(--cinza-medio);
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-top: -2px;
}

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

.nav-menu a {
  color: var(--branco);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
  padding: 5px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--dourado);
  transition: width 0.3s ease;
}

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

.nav-menu a:hover {
  color: var(--dourado);
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  white-space: nowrap;
}

.btn-outline {
  background: transparent;
  color: var(--branco);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--dourado);
  color: var(--dourado);
}

.btn-primary {
  background-color: var(--dourado);
  color: var(--azul-escuro);
}

.btn-primary:hover {
  background-color: var(--dourado-claro);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 0.95rem;
}

/* Grupo da direita do topo: tema + botão + hamburger */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Botão de tema (claro/escuro) */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--branco);
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.theme-toggle:hover {
  border-color: var(--dourado);
  color: var(--dourado);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mostra a lua no tema claro e o sol no escuro */
.theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun {
    display: block;
  }

  :root:not([data-theme="light"]) .theme-toggle .icon-moon {
    display: none;
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--branco);
  transition: all 0.3s ease;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--azul-escuro);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 50%, var(--azul-escuro) 100%);
  z-index: 1;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.05;
  z-index: 2;
  background-image:
    radial-gradient(circle at 30% 50%, var(--dourado) 1px, transparent 1px),
    radial-gradient(circle at 70% 30%, var(--dourado) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding-top: 100px;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.15);
  color: var(--dourado);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--branco);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--dourado);
}

.hero p {
  font-size: 1.1rem;
  color: var(--cinza-medio);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-visual {
  flex: 1;
  max-width: 500px;
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 400px;
}

.hero-card-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card-item:last-child {
  border-bottom: none;
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--dourado);
  fill: none;
}

.hero-card-text h4 {
  color: var(--branco);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.hero-card-text p {
  color: var(--cinza-medio);
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* ========================================
   SEÇÕES GERAIS
   ======================================== */
.section {
  padding: 100px 0;
}

.section-dark {
  background-color: var(--azul-escuro);
  color: var(--branco);
}

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

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-header .badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.15);
  color: var(--dourado);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-dark .badge {
  background: rgba(201, 168, 76, 0.15);
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-dark .section-header h2 {
  color: var(--branco);
}

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

.section-dark .section-header p {
  color: var(--cinza-medio);
}

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

.service-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--dourado);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--dourado);
  fill: none;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--heading);
}

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

/* ========================================
   DIFERENCIAIS
   ======================================== */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* 5 cards: 3 em cima e 2 centralizados embaixo */
@media (min-width: 1025px) {
  .diferenciais-grid-5 {
    grid-template-columns: repeat(6, 1fr);
  }

  .diferenciais-grid-5 .diferencial-card {
    grid-column: span 2;
  }

  .diferenciais-grid-5 .diferencial-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  /* 7 serviços: duas linhas de 3 e o último centralizado */
  .services-grid-7 {
    grid-template-columns: repeat(6, 1fr);
  }

  .services-grid-7 .service-card {
    grid-column: span 2;
  }

  .services-grid-7 .service-card:nth-child(7) {
    grid-column: 3 / span 2;
  }

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

  /* Número ímpar de serviços detalhados: último card centralizado */
  .services-detail-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 12px);
  }
}

.diferencial-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.diferencial-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-5px);
}

.diferencial-icon {
  width: 70px;
  height: 70px;
  background: rgba(201, 168, 76, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.diferencial-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--dourado);
  fill: none;
}

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

.diferencial-card p {
  color: var(--cinza-medio);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========================================
   NÚMEROS / ESTATÍSTICAS
   ======================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stats-grid.stats-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--dourado);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--cinza-medio);
  letter-spacing: 0.5px;
}

/* ========================================
   CITAÇÃO / DEPOIMENTO
   ======================================== */
.quote-section {
  background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 10%;
  font-size: 15rem;
  color: rgba(201, 168, 76, 0.06);
  font-family: Georgia, serif;
  line-height: 1;
}

.quote-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.quote-content blockquote {
  font-size: 1.3rem;
  color: var(--branco);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 30px;
}

.quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.quote-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dourado);
  font-size: 1.2rem;
  font-weight: 700;
  overflow: hidden;
  border: 2px solid var(--dourado);
}

/* Recorte próprio do rosto (fernando-fernandes-avatar.jpg) */
.quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-author-info h4 {
  color: var(--dourado);
  font-size: 0.95rem;
  font-weight: 600;
}

.quote-author-info p {
  color: var(--cinza-medio);
  font-size: 0.8rem;
}

/* ========================================
   FORMULÁRIO DE CONTATO
   ======================================== */
.contact-section {
  background-color: var(--bg-alt);
  padding: 100px 0;
}

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

.contact-info h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(201, 168, 76, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--dourado);
  fill: none;
}

.contact-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-form {
  background: var(--surface);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.3s ease;
  background-color: var(--input-bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--dourado);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

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

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background-color: var(--azul-escuro);
  color: var(--branco);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--cinza-medio);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

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

.social-links a:hover,
.social-links a:active {
  background: var(--dourado);
}

.social-links a:hover svg,
.social-links a:active svg {
  stroke: var(--branco) !important;
  fill: none !important;
}

.social-links a:hover svg circle[style*="fill:#C9A84C"],
.social-links a:active svg circle[style*="fill:#C9A84C"] {
  fill: var(--branco) !important;
}

.social-links a svg {
  width: 18px;
  height: 18px;
  fill: var(--branco);
}

.footer-column h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--branco);
}

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

.footer-column ul li a {
  color: var(--cinza-medio);
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

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

.footer-map {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--dourado);
  fill: none;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item p {
  color: var(--cinza-medio);
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--cinza-medio);
  font-size: 0.8rem;
}

.footer-bottom a {
  color: var(--dourado);
}

/* ========================================
   EQUIPE
   ======================================== */
.team-section {
  padding: 100px 0;
  background: var(--bg);
}

.team-section-alt {
  background: var(--bg-alt);
}

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

.team-grid.team-grid-leadership {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--dourado);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.team-card-featured {
  display: flex;
  text-align: left;
  border-color: var(--dourado);
  border-width: 2px;
}

.team-card-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-alt);
}

.team-card-featured .team-card-photo {
  width: 260px;
  min-height: 300px;
  aspect-ratio: auto;
  flex-shrink: 0;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.team-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
}

.team-card-placeholder svg {
  width: 64px;
  height: 64px;
  stroke: var(--text-muted);
  fill: none;
}

.team-card-info {
  padding: 24px;
}

.team-card-featured .team-card-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-card-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 14px;
  color: var(--dourado);
  font-weight: 500;
}

.team-card-bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 16px;
}

.team-card-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.team-card-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.team-card-social a:hover {
  background: var(--dourado);
  border-color: var(--dourado);
}

.team-card-social svg {
  width: 16px;
  height: 16px;
  stroke: var(--dourado);
  fill: none;
  stroke-width: 2;
}

.team-card-social a:hover svg {
  stroke: var(--azul-escuro);
}

/* Carrossel de fotos da equipe */
.team-carousel {
  margin-top: 48px;
}

.team-carousel-viewport {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  touch-action: pan-y;
}

.team-carousel-track {
  display: flex;
  transition: transform 1.2s ease-in-out;
}

/* Quem pediu menos movimento no aparelho: troca direta, sem deslize */
@media (prefers-reduced-motion: reduce) {
  .team-carousel-track {
    transition: none;
  }
}

.team-slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  background: var(--azul-claro);
}

.team-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-slide-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--azul-claro) 0%, var(--azul-escuro) 100%);
  color: var(--cinza-medio);
  font-size: 14px;
}

.team-slide-placeholder svg {
  width: 72px;
  height: 72px;
  stroke: var(--dourado);
  fill: none;
  opacity: 0.6;
}

.team-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 32px 24px;
  background: linear-gradient(to top, rgba(11, 16, 38, 0.85) 0%, rgba(11, 16, 38, 0) 100%);
  color: var(--branco);
  font-size: 16px;
  font-weight: 600;
}

.team-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.team-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--dourado);
  background: var(--surface);
  color: var(--dourado);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.team-carousel-btn:hover {
  background: var(--dourado);
  color: var(--azul-escuro);
}

.team-carousel-btn svg {
  width: 20px;
  height: 20px;
}

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

.team-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50px;
  border: none;
  padding: 0;
  background: var(--cinza-medio);
  cursor: pointer;
  transition: all 0.3s ease;
}

.team-carousel-dot.active {
  width: 28px;
  background: var(--dourado);
}

/* Cards de setores */
.sector-grid {
  margin-top: 48px;
}

.sector-card {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.sector-card p {
  flex-grow: 1;
}

.sector-card .service-icon {
  margin-left: 0;
}

.sector-card-list {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 10px;
}

.sector-card-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text);
}

.sector-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dourado);
}

.team-cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 50%, var(--azul-escuro) 100%);
  text-align: center;
}

/* ========================================
   MODAL TRABALHE CONOSCO
   ======================================== */
.curriculo-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 16, 38, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.curriculo-modal-overlay.active {
  display: flex;
}

.curriculo-modal {
  background: var(--surface);
  border-radius: 16px;
  padding: 40px;
  max-width: 720px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.curriculo-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--cinza-medio);
  cursor: pointer;
  line-height: 1;
}

.curriculo-modal-close:hover {
  color: var(--heading);
}

.curriculo-modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.curriculo-modal-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 8px;
}

.curriculo-modal-header p {
  font-size: 15px;
  color: var(--cinza-medio);
  line-height: 1.6;
}

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

.curriculo-form .form-group {
  display: flex;
  flex-direction: column;
}

.curriculo-form .form-group.full-width {
  grid-column: 1 / -1;
}

.curriculo-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 6px;
}

.curriculo-form input,
.curriculo-form select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: border-color 0.3s;
  background: var(--bg-alt);
}

.curriculo-form input:focus,
.curriculo-form select:focus {
  outline: none;
  border-color: var(--dourado);
}

.curriculo-form input::placeholder {
  color: var(--text-muted);
}

.curriculo-file-upload {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--bg-alt);
}

.curriculo-file-upload:hover {
  border-color: var(--dourado);
  background: rgba(201, 168, 76, 0.05);
}

.curriculo-file-upload svg {
  width: 40px;
  height: 40px;
  stroke: var(--dourado);
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 8px;
}

.curriculo-file-upload p {
  font-size: 14px;
  color: var(--cinza-medio);
  margin-bottom: 4px;
}

.curriculo-file-upload span {
  font-size: 12px;
  color: var(--text-muted);
}

.curriculo-file-upload.has-file {
  border-color: var(--dourado);
  background: rgba(201, 168, 76, 0.05);
}

.curriculo-file-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  margin-top: 8px;
}

.curriculo-captcha {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}

.curriculo-form .btn-submit-curriculo {
  grid-column: 1 / -1;
  padding: 14px 32px;
  background: var(--dourado);
  color: var(--azul-escuro);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.curriculo-form .btn-submit-curriculo:hover {
  background: #b8943e;
}

.curriculo-form .btn-submit-curriculo:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ========================================
   WHATSAPP WIDGET
   ======================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.whatsapp-float {
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  margin-left: auto;
}

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

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--branco);
}

.whatsapp-chat {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 360px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: whatsappSlideIn 0.3s ease;
}

.whatsapp-chat.active {
  display: block;
}

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

.whatsapp-chat-header {
  background: #075E54;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.whatsapp-chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.whatsapp-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.whatsapp-chat-header h4 {
  color: #fff;
  font-size: 15px;
  margin: 0;
  font-weight: 600;
}

.whatsapp-chat-header span {
  color: #25D366;
  font-size: 13px;
}

.whatsapp-chat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.whatsapp-chat-body {
  background: #0B141A;
  padding: 20px;
}

.whatsapp-chat-bubble {
  background: #1F2C33;
  color: #E9EDEF;
  padding: 12px 16px;
  border-radius: 0 12px 12px 12px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.whatsapp-chat-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.whatsapp-chat-form input {
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  background: #2A3942;
  color: #E9EDEF;
  outline: none;
  transition: background 0.3s;
}

.whatsapp-chat-form input::placeholder {
  color: #8696A0;
}

.whatsapp-chat-form input:focus {
  background: #344854;
}

.whatsapp-chat-form button {
  background: #25D366;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.3s;
  align-self: flex-end;
}

.whatsapp-chat-form button:hover {
  background: #1DA851;
}

/* ========================================
   BANNER DE PÁGINA INTERNA
   ======================================== */
.page-banner {
  background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 50%, var(--azul-escuro) 100%);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 16px;
}

.page-banner h1 .highlight {
  color: var(--dourado);
}

.page-banner p {
  color: var(--cinza-medio);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   SOBRE / HISTÓRIA
   ======================================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 24px;
  line-height: 1.3;
}

.about-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text .btn {
  margin-top: 16px;
}

.about-image-placeholder {
  background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
  border-radius: 16px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.about-image-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: var(--dourado);
  fill: none;
  opacity: 0.5;
}

.about-image-placeholder span {
  color: var(--cinza-medio);
  font-size: 0.85rem;
  opacity: 0.7;
}

.about-image-photo {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Sobre Nós */
.about-us-section {
  background: var(--bg);
}

.about-us-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.about-us-content .badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.15);
  color: var(--dourado);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.about-us-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--heading);
  margin-bottom: 32px;
}

.about-us-content h2 .highlight {
  color: var(--dourado);
}

.about-us-quote {
  color: var(--dourado);
  font-family: Georgia, serif;
}

.about-us-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-us-content p:last-child {
  margin-bottom: 0;
}

/* ========================================
   MISSÃO, VISÃO E VALORES
   ======================================== */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.mvv-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.mvv-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-5px);
}

.mvv-icon {
  width: 70px;
  height: 70px;
  background: rgba(201, 168, 76, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.mvv-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--dourado);
  fill: none;
}

.mvv-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dourado);
  margin-bottom: 14px;
}

.mvv-card p {
  color: var(--cinza-medio);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========================================
   DIFERENCIAIS (VERSÃO LIGHT)
   ======================================== */
.diferenciais-light-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.diferencial-light-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.diferencial-light-card:hover {
  border-color: var(--dourado);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transform: translateX(8px);
}

.diferencial-light-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dourado);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.6;
}

.diferencial-light-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 8px;
}

.diferencial-light-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--cinza-medio);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

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

/* ========================================
   SERVIÇOS DETALHADOS
   ======================================== */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-detail-card {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.service-detail-card:hover {
  border-color: var(--dourado);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.service-detail-icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-detail-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--dourado);
  fill: none;
}

.service-detail-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 8px;
}

.service-detail-content > p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.service-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-detail-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.service-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--dourado);
  border-radius: 50%;
}

/* ========================================
   PLANOS
   ======================================== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.plan-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-5px);
}

.plan-featured {
  border-color: var(--dourado);
  background: rgba(201, 168, 76, 0.06);
}

.plan-popular {
  background: var(--dourado);
  color: var(--azul-escuro);
  text-align: center;
  padding: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.plan-header {
  padding: 32px 28px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.15);
  color: var(--dourado);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.plan-header h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 8px;
}

.plan-desc {
  color: var(--cinza-medio);
  font-size: 0.85rem;
  line-height: 1.5;
}

.plan-body {
  padding: 24px 28px 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.plan-target {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.plan-target span {
  font-size: 0.8rem;
  color: var(--cinza-medio);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.plan-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-features li.included {
  color: var(--branco);
}

.plan-features li.included svg {
  stroke: #4ADE80;
}

.plan-features li.highlight-feature {
  font-weight: 600;
  color: var(--dourado);
}

.plan-features li.highlight-feature svg {
  stroke: var(--dourado);
}

.plan-features li.not-included {
  color: rgba(255, 255, 255, 0.3);
}

.plan-features li.not-included svg {
  stroke: rgba(255, 255, 255, 0.2);
}

.plan-btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.plans-note {
  max-width: 860px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--cinza-medio);
}

.plans-stats {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-buttons .plan-btn {
  width: auto;
}

/* ========================================
   JORNADA DO CLIENTE
   ======================================== */
.journey-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.journey-step {
  text-align: center;
  padding: 24px 20px;
  flex: 1;
}

.journey-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--azul-escuro);
  color: var(--dourado);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.journey-step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 8px;
}

.journey-step p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.journey-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--dourado), rgba(201, 168, 76, 0.2));
  flex-shrink: 0;
  margin-top: 52px;
}

/* ========================================
   CARDS DE CONTATO
   ======================================== */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: var(--dourado);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--dourado);
  fill: none;
}

.contact-card-icon.whatsapp-icon {
  background: rgba(37, 211, 102, 0.1);
}

.contact-card-icon.whatsapp-icon svg {
  stroke: none;
  fill: #25D366;
}

.contact-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-card-sub {
  font-size: 0.8rem !important;
  color: var(--cinza-medio) !important;
}

.contact-card-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dourado) !important;
  transition: color 0.3s ease;
}

.contact-card-link:hover {
  color: var(--dourado-claro) !important;
}

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

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

.modal-content {
  background: var(--surface);
  border-radius: 16px;
  padding: 40px;
  max-width: 720px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: var(--bg-alt);
}

.modal-close svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-muted);
}

.modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.modal-header h2 {
  font-size: 1.6rem;
  color: var(--heading);
  margin-bottom: 8px;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========================================
   FORMULÁRIO COMPLETO (PÁGINA CONTATO)
   ======================================== */
.contact-form-full {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
}

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

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.form-note {
  font-size: 0.8rem;
  color: var(--cinza-medio);
}


/* ========================================
   CTA WHATSAPP
   ======================================== */
.cta-whatsapp {
  background-color: #075E54;
  padding: 60px 0;
}

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

.cta-whatsapp-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 8px;
}

.cta-whatsapp-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: #25D366;
  color: var(--branco);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-whatsapp svg {
  width: 24px;
  height: 24px;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ========================================
   ANIMAÇÕES
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   LOGOS DE CLIENTES (esteira que passa sozinha)
   ======================================== */
.logo-marquee {
  margin-top: 48px;
}

/* Faixa azul-escura de ponta a ponta da tela, nos dois temas: a maioria das logos é branca.
   As pontas da faixa se dissolvem no fundo da página (esfumaçado) */
.logo-marquee-viewport {
  overflow: hidden;
  background: var(--azul-escuro);
  padding: 36px 0;
  cursor: grab;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.logo-marquee-viewport.dragging {
  cursor: grabbing;
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  list-style: none;
  will-change: transform;
}

.logo-marquee-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 36px;
}

.logo-marquee-item img {
  max-height: 64px;
  max-width: 170px;
  width: auto;
  height: auto;
  opacity: 0.85;
  transition: opacity 0.3s ease;
  pointer-events: none;
  user-select: none;
}

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

/* ========================================
   SEGMENTS GRID
   ======================================== */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* Número de cards que sobra 1 na última linha: o último fica centralizado */
@media (min-width: 1025px) {
  .segments-grid > .segment-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

/* Tablet (2 colunas): card ímpar que sobra fica centralizado */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid-7 .service-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 15px);
  }

  .segments-grid > .segment-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 12px);
  }
}

.segment-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.segment-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--dourado);
  transform: translateY(-2px);
}

.segment-icon {
  width: 56px;
  height: 56px;
  background: rgba(201, 168, 76, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.segment-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--dourado);
  fill: none;
}

.segment-card h3 {
  color: var(--branco);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.segment-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--dourado);
  stroke: none;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--azul-escuro), var(--azul-claro));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dourado);
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-author h4 {
  font-size: 0.95rem;
  color: var(--heading);
  margin-bottom: 2px;
}

.testimonial-author p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========================================
   FORM FEEDBACK MESSAGES
   ======================================== */
.form-message {
  padding: 16px 20px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 500;
  animation: fadeInMsg 0.3s ease;
}

.form-message-success {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-message-error {
  background: rgba(239, 68, 68, 0.15);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* reCAPTCHA badge */
.grecaptcha-badge { visibility: hidden; }

/* ========================================
   BLOG
   ======================================== */
.blog-filters-section { padding-bottom: 0; }

.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.blog-filter-btn:hover {
  border-color: var(--dourado);
  color: var(--dourado);
}

.blog-filter-btn.active {
  background: var(--azul-escuro);
  border-color: var(--azul-escuro);
  color: var(--branco);
}

.blog-section { padding-top: 32px; }

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

.blog-card {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--dourado);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.blog-card-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
  background: var(--bg-alt);
}

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

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

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
}

.blog-card-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: var(--text-muted);
  fill: none;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.blog-card-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201, 168, 76, 0.1);
  color: var(--dourado);
  font-size: 12px;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-date {
  font-size: 13px;
  color: var(--text-muted);
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-summary {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--dourado);
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card-link { color: var(--azul-escuro); }

.blog-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
}

.blog-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--dourado);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.blog-loading p {
  color: var(--text-muted);
  font-size: 14px;
}

.blog-empty {
  text-align: center;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-empty svg {
  width: 48px;
  height: 48px;
  stroke: var(--text-muted);
  fill: none;
  margin-bottom: 16px;
}

.blog-empty p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Página do artigo */
.article-banner {
  background: var(--azul-escuro);
  padding: 120px 0 60px;
}

.article-banner-content {
  max-width: 800px;
}

.article-back {
  display: inline-block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.article-back:hover { color: var(--dourado); }

.article-banner-content .blog-card-category {
  margin-bottom: 16px;
}

.article-banner-content h1 {
  color: var(--branco);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  gap: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.article-content {
  padding: 60px 0;
  background: var(--bg);
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading);
  margin: 40px 0 16px;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading);
  margin: 32px 0 12px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body a {
  color: var(--dourado);
  text-decoration: underline;
}

.article-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 24px 0;
}

.article-body blockquote {
  border-left: 4px solid var(--dourado);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--bg-alt);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-muted);
}

/* --- Formatos do editor do admin (classes ql-*) --- */
.article-body .ql-align-center { text-align: center; }
.article-body .ql-align-right { text-align: right; }
.article-body .ql-align-justify { text-align: justify; }

.article-body .ql-size-small { font-size: 0.85em; }
.article-body .ql-size-large { font-size: 1.35em; }
.article-body .ql-size-huge { font-size: 1.8em; line-height: 1.4; }

.article-body .ql-font-lora { font-family: 'Lora', Georgia, serif; }
.article-body .ql-font-montserrat { font-family: 'Montserrat', 'Inter', sans-serif; }

.article-body .ql-indent-1 { padding-left: 2em; }
.article-body .ql-indent-2 { padding-left: 4em; }
.article-body .ql-indent-3 { padding-left: 6em; }
.article-body .ql-indent-4 { padding-left: 8em; }

.article-body hr {
  border: none;
  border-top: 2px solid var(--dourado);
  width: 40%;
  margin: 36px auto;
}

/* Listas: o editor grava listas com marcadores dentro de <ol data-list="bullet"> */
.article-body li[data-list="bullet"] { list-style-type: disc; }
.article-body li[data-list="ordered"] { list-style-type: decimal; }
.article-body .ql-ui { display: none; }

/* Item de lista com recuo: o marcador acompanha o texto */
.article-body li.ql-indent-1 { padding-left: 0; margin-left: 2em; }
.article-body li.ql-indent-2 { padding-left: 0; margin-left: 4em; }
.article-body li.ql-indent-3 { padding-left: 0; margin-left: 6em; }
.article-body li[data-list="bullet"].ql-indent-1,
.article-body li[data-list="bullet"].ql-indent-3 { list-style-type: circle; }
.article-body li[data-list="bullet"].ql-indent-2 { list-style-type: square; }

/* Cores da marca (tema claro) */
.article-body .ql-color-dourado { color: #C9A84C; }
.article-body .ql-color-dourado-escuro { color: #A8893D; }
.article-body .ql-color-azul-escuro { color: #0B1026; }
.article-body .ql-color-azul { color: #2A3A7A; }
.article-body .ql-color-cinza { color: var(--text-muted); }
.article-body .ql-bg-dourado { background-color: #DFC06A; }
.article-body .ql-bg-azul { background-color: #9FB1E8; }
.article-body .ql-color-verde { color: #1E7E34; }
.article-body .ql-color-vermelho { color: #B42318; }
.article-body .ql-bg-cinza { background-color: #B9BFC9; }
.article-body .ql-bg-verde { background-color: #86D49C; }
.article-body .ql-bg-vermelho { background-color: #EE958C; }

/* Modo escuro: azuis viram texto claro e os marca-textos ficam translúcidos */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .article-body .ql-color-azul-escuro { color: #FFFFFF; }
  :root:not([data-theme="light"]) .article-body .ql-color-azul { color: #A9B6E8; }
  :root:not([data-theme="light"]) .article-body .ql-bg-dourado { background-color: rgba(201, 168, 76, 0.45); }
  :root:not([data-theme="light"]) .article-body .ql-bg-azul { background-color: rgba(169, 182, 232, 0.35); }
  :root:not([data-theme="light"]) .article-body .ql-bg-cinza { background-color: rgba(255, 255, 255, 0.22); }
  :root:not([data-theme="light"]) .article-body .ql-color-verde { color: #4ADE80; }
  :root:not([data-theme="light"]) .article-body .ql-color-vermelho { color: #F87171; }
  :root:not([data-theme="light"]) .article-body .ql-bg-verde { background-color: rgba(74, 222, 128, 0.32); }
  :root:not([data-theme="light"]) .article-body .ql-bg-vermelho { background-color: rgba(248, 113, 113, 0.35); }
}

:root[data-theme="dark"] .article-body .ql-color-azul-escuro { color: #FFFFFF; }
:root[data-theme="dark"] .article-body .ql-color-azul { color: #A9B6E8; }
:root[data-theme="dark"] .article-body .ql-bg-dourado { background-color: rgba(201, 168, 76, 0.45); }
:root[data-theme="dark"] .article-body .ql-bg-azul { background-color: rgba(169, 182, 232, 0.35); }
:root[data-theme="dark"] .article-body .ql-bg-cinza { background-color: rgba(255, 255, 255, 0.22); }
:root[data-theme="dark"] .article-body .ql-color-verde { color: #4ADE80; }
:root[data-theme="dark"] .article-body .ql-color-vermelho { color: #F87171; }
:root[data-theme="dark"] .article-body .ql-bg-verde { background-color: rgba(74, 222, 128, 0.32); }
:root[data-theme="dark"] .article-body .ql-bg-vermelho { background-color: rgba(248, 113, 113, 0.35); }

.article-footer {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Botão contornado sobre fundo claro: o padrão (texto branco) sumia */
.article-footer .btn-outline {
  color: var(--heading);
  border-color: var(--border);
}

.article-footer .btn-outline:hover {
  color: var(--dourado);
  border-color: var(--dourado);
}

/* ========================================
   RESPONSIVO
   ======================================== */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card-featured {
    flex-direction: column;
  }

  .team-card-featured .team-card-photo {
    width: 100%;
    min-height: 0;
    height: 380px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .services-grid,
  .diferenciais-grid,
  .mvv-grid,
  .segments-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }


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

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

  .about-image-placeholder {
    height: 300px;
  }

  .about-image-photo {
    height: 420px;
  }

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

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

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  .journey-grid {
    flex-direction: column;
    align-items: center;
  }

  .journey-connector {
    width: 2px;
    height: 40px;
    margin-top: 0;
    background: linear-gradient(180deg, var(--dourado), rgba(201, 168, 76, 0.2));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

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

@media (max-width: 768px) {
  .whatsapp-chat {
    width: calc(100vw - 48px);
    right: 0;
  }

  .about-us-content h2 {
    font-size: 1.7rem;
  }

  .about-us-content p {
    font-size: 1rem;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .team-section {
    padding: 60px 0;
  }

  .team-card-info h3 {
    font-size: 16px;
  }

  .team-cta-section {
    padding: 60px 0;
  }

  .curriculo-modal {
    padding: 24px;
  }

  .curriculo-modal-header h2 {
    font-size: 22px;
  }

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

  .nav-menu,
  .nav-buttons {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Mobile menu */
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--azul-escuro);
    padding: 20px;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .nav-buttons.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 360px);
    left: 0;
    width: 100%;
    background-color: var(--azul-escuro);
    padding: 0 20px 20px;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
  }

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

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-visual {
    display: none;
  }

  .services-grid,
  .diferenciais-grid,
  .mvv-grid,
  .segments-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }


  .page-banner {
    padding: 120px 0 60px;
  }

  .page-banner h1 {
    font-size: 2rem;
  }

  .diferencial-light-card {
    flex-direction: column;
    gap: 12px;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

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

  .modal-content {
    padding: 24px 20px;
    margin: 10px;
  }

  .modal-header h2 {
    font-size: 1.3rem;
  }

  .service-detail-card {
    flex-direction: column;
  }

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

  .contact-form-full {
    padding: 28px 20px;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

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

  .cta-whatsapp-text h2 {
    font-size: 1.4rem;
  }

  .map-placeholder {
    height: 250px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-number {
    font-size: 2rem;
  }

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

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

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

  .section {
    padding: 60px 0;
  }

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

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

  .article-banner-content h1 {
    font-size: 26px;
  }

  .article-footer {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  /* Mesmo formato das fotos (3:2): no celular a foto aparece inteira */
  .team-slide {
    aspect-ratio: 3 / 2;
  }

  .logo-marquee-viewport {
    padding: 28px 0;
  }

  .article-body .ql-size-large { font-size: 1.2em; }
  .article-body .ql-size-huge { font-size: 1.45em; }
  .article-body .ql-indent-1 { padding-left: 1.2em; }
  .article-body .ql-indent-2 { padding-left: 2.4em; }
  .article-body .ql-indent-3 { padding-left: 3.6em; }
  .article-body .ql-indent-4 { padding-left: 4.8em; }

  .logo-marquee-item {
    height: 48px;
    padding: 0 24px;
  }

  .logo-marquee-item img {
    max-height: 48px;
    max-width: 130px;
  }

  .team-slide-caption {
    padding: 32px 20px 16px;
    font-size: 14px;
  }

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

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

  .btn-lg {
    padding: 12px 24px;
    font-size: 0.85rem;
  }
}

/* ========================================
   PÁGINA 404
   ======================================== */
.page-banner.error-404 {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
}

.page-banner.error-404 .container {
  width: 100%;
}

.error-404-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.error-404-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 28px;
}

.error-404-links a {
  color: var(--cinza-medio);
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.error-404-links a:hover {
  color: var(--dourado);
}
