/* ============================================
   INTEGRA CLÍNICA — ESTILO COMPLETO
   ============================================ */

/* Custom Properties */
:root {
  /* Colors */
  --blue: #73abdb;
  --pink: #ce147d;
  --yellow: #f4bb34;
  --green: #69b252;
  --dark: #353335;
  --white: #ffffff;
  --off: #f7f7f7;
  --border: #e8e8e8;
  --muted: #595959;

  /* Typography */
  --font-display: 'Nunito', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 100px;

  --container: 1200px;
  --section-py: clamp(120px, 14vw, 240px);
  --section-px: clamp(20px, 5vw, 80px);
  --section-pad: clamp(72px, 7vw, 100px);
  --cta-gap: 16px;
  --cta-mt: 40px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}

/* Text-wrap: global rules with fallback for older browsers */
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word; /* fallback */
  text-wrap: balance;        /* Chrome 114+, Firefox 121+, Safari 17.5+ */
}

p {
  overflow-wrap: break-word; /* fallback */
  text-wrap: balance;        /* Chrome 114+, Firefox 121+, Safari 17.5+ */
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--blue);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 999;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 0;
}

/* Typography */
h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 88px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-wrap: balance;
}

@media (max-width: 576px) {
  h1 {
    font-size: clamp(32px, 9vw, 52px);
  }
}

h1 em {
  color: var(--btn-color, var(--blue));
  font-style: normal;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 60px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  text-wrap: balance;
}

p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 640px;
  text-wrap: balance;
}

strong {
  font-weight: 700;
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

/* Section */
.section {
  padding: clamp(32px, 4vw, 60px) 0 var(--section-py) 0;
}

.section-combined {
  padding: 0;
  background: #ffffff;
}

.section-combined > .section-inner {
  padding: var(--section-pad) 0 0 !important;
}

.section-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
  text-wrap: balance;
}

.section-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cta-gap);
  margin-top: var(--cta-mt);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--btn-color, var(--blue));
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-primary:active {
  opacity: 0.76;
}

.navbar-nav .btn-primary {
  padding: 10px 20px;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .navbar-nav .btn-primary {
    padding: 8px 16px;
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .navbar-nav .btn-primary {
    padding: 6px 12px;
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .navbar-nav .btn-primary {
    padding: 10px 20px;
    font-size: 13px;
  }
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Cards */
.card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

/* Badge / Tag */
.badge {
  display: inline-block;
  background: var(--btn-color-light, #edf5fb);
  color: var(--btn-color, var(--blue));
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.pill {
  display: inline-block;
  background: var(--off);
  color: var(--dark);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
}

/* Dots */
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

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

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================
   00. NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 12px var(--section-px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

@media (max-width: 1024px) {
  .navbar {
    padding: 10px var(--section-px);
  }
}

@media (max-width: 900px) {
  .navbar {
    padding: 8px var(--section-px);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 12px var(--section-px);
  }
}

.navbar-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to left, var(--btn-color-light, #eef5fc) 0%, #ffffff 60%);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  gap: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
  .navbar-container {
    max-width: 100%;
    padding: 10px 16px;
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .navbar-container {
    padding: 10px 12px;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    max-width: 100%;
    padding: 12px 16px;
  }
}

.navbar-logo {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}

.logo-img {
  max-height: 40px;
  width: auto;
  display: block;
}

@media (max-width: 1024px) {
  .logo-img {
    max-height: 36px;
  }
}

@media (max-width: 900px) {
  .logo-img {
    max-height: 32px;
  }
}

@media (max-width: 768px) {
  .logo-img {
    max-height: 36px;
  }
}

.logo-horizontal {
  max-height: 36px;
  max-width: 180px;
}

.logo-text {
  display: block;
  letter-spacing: -0.02em;
}

.navbar-nav {
  display: none;
  gap: 16px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.navbar-nav .btn-primary {
  margin-left: auto;
  white-space: nowrap;
}

@media (min-width: 1420px) {
  .navbar-nav {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .navbar-nav {
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .navbar-nav {
    gap: 4px;
  }
}

.nav-link {
  color: var(--dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
  padding: 10px 8px;
  flex-shrink: 0;
}

.nav-link:hover {
  color: var(--btn-color);
}

@media (max-width: 1024px) {
  .nav-link {
    font-size: 12px;
    padding: 8px 6px;
  }
}

@media (max-width: 900px) {
  .nav-link {
    font-size: 11px;
    padding: 6px 4px;
  }
}

@media (max-width: 768px) {
  .nav-link {
    font-size: 13px;
    padding: 12px 8px;
  }
}

.navbar-hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 38px;
  height: 38px;
  justify-content: center;
}

.navbar-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--btn-color, var(--blue));
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  flex-shrink: 0;
}

.navbar-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.navbar-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1420px) {
  .navbar-hamburger {
    display: none;
  }
}

.navbar-drawer {
  display: flex;
  visibility: hidden;
  position: fixed;
  top: 72px;
  left: var(--section-px);
  right: var(--section-px);
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.navbar-drawer.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 1420px) {
  .navbar-drawer {
    display: none !important;
  }
}


.drawer-link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 12px;
  display: block;
}

.drawer-btn {
  width: 100%;
  text-align: center;
}

/* Main content offset for fixed navbar */
main {
  margin-top: 0;
  position: relative;
}

/* ============================================
   STACKED CARDS EFFECT
   ============================================ */

main > section {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  transform-origin: top center;
  will-change: transform, border-radius;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.3s ease;
}

main > section.section {
  padding: 0;
}

.section-spacer {
  /* no transition — live height read in scroll handler must be instant */
}

.section-inner {
  padding: var(--section-pad) 0;
  will-change: transform;
}

.hero > .section-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 88px 0 0;
}

@media (max-width: 768px) {
  main > section {
    top: 0;
    height: 100vh;
  }

  .section-inner {
    padding: 80px 0 var(--section-pad);
  }

  .hero > .section-inner {
    min-height: auto;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 60px;
  }
}

/* ============================================
   01. HERO
   ============================================ */

.hero {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .container {
  width: 100%;
}

.hero-content {
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content h1 {
  text-wrap: balance;
}

.hero-logo {
  width: 220px;
  height: auto;
  display: block;
  margin: 0 auto 24px;
}

.hero-paragraph {
  color: var(--dark);
  font-size: 16px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

/* ============================================
   02. MÉTODO
   ============================================ */


/* Section gradients — pastel diagonal sweeps.
   Static linear-gradients are GPU-accelerated and have no download cost,
   so PageSpeed is not impacted. */
#hero {
  background-color: #ffffff;
  background-image: linear-gradient(225deg, #e8f1fa 0%, #ffffff 100%);
}

#metodo {
  background-color: #ffffff;
}

#convenios {
  background-color: transparent;
}

#especialidades {
  width: 100%;
  display: block;
  background-color: #ffffff;
}

#diferenciais {
  width: 100%;
  display: block;
  background-color: #ffffff;
}

#resultados {
  width: 100%;
  display: block;
  background-color: #ffffff;
}

#depoimentos {
  background-image: none;
}

#galeria {
  background-color: #ffffff;
}

#faq {
  background-color: #ffffff;
}


/* Section label colors */
#hero .section-label            { color: var(--blue); }
#metodo .section-label          { color: var(--pink); }
#convenios .section-label       { color: var(--pink); }
#especialidades .section-label  { color: var(--yellow); }
#diferenciais .section-label    { color: var(--blue); }
#resultados .section-label      { color: var(--green); }
#depoimentos .section-label     { color: var(--green); }
#galeria .section-label         { color: var(--yellow); }
#faq .section-label             { color: var(--blue); }

.metodo {
  text-align: center;
}

.metodo h2 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.metodo-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 32px;
  text-align: left;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}


.timeline-item {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-left: 1.5px solid var(--border);
  padding-left: 24px;
  position: relative;
}

.timeline-item:last-child {
  border-left: none;
}

.timeline-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  position: absolute;
  left: -24px;
}

.timeline-item:nth-child(1) .timeline-circle { background: var(--pink); }
.timeline-item:nth-child(2) .timeline-circle { background: var(--blue); }
.timeline-item:nth-child(3) .timeline-circle { background: var(--yellow); }
.timeline-item:nth-child(4) .timeline-circle { background: var(--green); }

.timeline-content h3 {
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
}

/* ============================================
   03. CONVÊNIOS
   ============================================ */

.convenios {
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-pad) 0;
}

.convenios-content {
  margin-top: var(--section-pad);
  padding-bottom: calc(var(--section-pad) * 2.2);
}

@media (max-width: 767px) {
  .convenios-content {
    padding-bottom: calc(var(--section-pad) * 1.5);
  }
}

.convenios h2 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pills-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.convenios-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 24px 32px;
  margin: 32px 0;
}

.convenio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.convenio-item span {
  font-size: 12px;
  font-family: var(--font-body);
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.convenio-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.85;
  transition: opacity 0.2s, filter 0.2s;
}

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

.convenios-note {
  color: var(--muted);
  font-size: 14px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   04. ESPECIALIDADES
   ============================================ */

.especialidades {
  /* background controlled by #especialidades ID */
}

.especialidades {
  text-align: center;
}

.especialidades h2 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}

.especialidades-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 32px;
  text-align: left;
}

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

.especialidades-list {
  list-style: none;
  display: contents;
}

.especialidade-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.especialidade-item .dot {
  margin-top: 4px;
}

.especialidade-item[data-color="blue"] .dot {
  background: var(--blue);
}

.especialidade-item[data-color="pink"] .dot {
  background: var(--pink);
}

.especialidade-item[data-color="green"] .dot {
  background: var(--green);
}

.especialidade-item[data-color="yellow"] .dot {
  background: var(--yellow);
}

.especialidade-item strong {
  display: block;
  color: var(--dark);
  font-size: 16px;
  margin-bottom: 4px;
}

.especialidade-item p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}

/* ============================================
   05. DIFERENCIAIS
   ============================================ */

.diferenciais {
  background: var(--off);
  text-align: center;
  padding-top: var(--section-pad);
}

.diferenciais h2 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 24px 0;
}

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

@media (min-width: 1024px) {
  .diferenciais-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card-diferencial {
  text-align: left;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--dark);
}

.card-diferencial h3 {
  margin-bottom: 12px;
}

.card-diferencial p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
}

/* ============================================
   06. RESULTADOS
   ============================================ */

.resultados {
  background: white;
  text-align: center;
  padding-top: var(--section-pad);
  padding-bottom: calc(var(--section-pad) * 2);
}

.resultados > .section-inner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 3vw, 30px) 0;
}

.resultados h2 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 32px;
  text-align: left;
}

@media (min-width: 768px) {
  .beneficios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 40px;
  }
}

.beneficios-list {
  display: contents;
}

.resultados-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .resultados-grid {
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
  }
}

.resultados-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  grid-column: 1 / -1;
}

.resultados-left {
  padding-right: 0;
}

@media (min-width: 1024px) {
  .resultados-left {
    padding-right: 40px;
  }
}

.resultados-left h2 {
  margin-bottom: 16px;
}

.resultados-left > p {
  color: var(--muted);
  margin-bottom: 0;
}


.stat-card {
  background: transparent;
  border-radius: var(--radius-md);
  padding: 32px 48px;
  text-align: center;
  min-width: 220px;
  white-space: nowrap;
}

.stat-number {
  font-family: var(--font-body);
  font-size: 48px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  display: inline-block;
}

.stat-percent {
  font-family: var(--font-body);
  font-size: 48px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  display: inline-block;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  display: block;
  margin-top: 8px;
}

.beneficios-grid > .beneficios-list {
  list-style: none;
}

.beneficio-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.beneficio-item .dot {
  margin-top: 4px;
}

.beneficio-item strong {
  display: block;
  color: var(--dark);
  font-size: 17px;
  margin-bottom: 4px;
}

.beneficio-item p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}

/* ============================================
   07. DEPOIMENTOS
   ============================================ */

.depoimentos {
  background: white;
  text-align: center;
  margin-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.depoimentos h2 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
}

.depoimentos-carousel-outer {
  position: relative;
  width: 100%;
  padding: 20px 0 8px;
}

.depoimentos-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  gap: 20px;
  padding: 8px max(24px, calc(50% - 300px));
}

.depoimentos-carousel::-webkit-scrollbar {
  display: none;
}

.depoimento-card {
  flex: 0 0 560px;
  scroll-snap-align: center;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}

.depoimento-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  margin: 0 auto 16px;
  flex-shrink: 0;
}

.depoimento-avatar picture {
  display: block;
  width: 100%;
  height: 100%;
}

.depoimento-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .depoimento-card {
    flex: 0 0 80vw;
    padding: 24px 20px;
  }

  .depoimentos-carousel {
    padding: 8px max(24px, calc(50% - 40vw));
  }
}

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

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

.carousel-arrow {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.carousel-arrow:hover {
  color: var(--dark);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.3;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--green);
  opacity: 1;
  width: 12px;
  height: 12px;
}

.stars {
  color: var(--yellow);
  font-size: 14px;
  margin-bottom: 12px;
}

.depoimento-text {
  color: var(--dark);
  font-size: 15px;
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.6;
  text-wrap: balance;
}

.depoimento-author {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.depoimento-source {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
}

/* ============================================
   08. GALERIA
   ============================================ */

.galeria {
  text-align: center;
  margin-top: var(--section-pad);
}

.galeria > .section-inner {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 110px);
  gap: 8px;
  flex: 1;
  grid-template-areas:
    "a a b c d d"
    "e e f f g h"
    "i j j k k l"
    "m m n o o l";
}

.gi-a { grid-area: a; }
.gi-b { grid-area: b; }
.gi-c { grid-area: c; }
.gi-d { grid-area: d; }
.gi-e { grid-area: e; }
.gi-f { grid-area: f; }
.gi-g { grid-area: g; }
.gi-h { grid-area: h; }
.gi-i { grid-area: i; }
.gi-j { grid-area: j; }
.gi-k { grid-area: k; }
.gi-l { grid-area: l; }
.gi-m { grid-area: m; }
.gi-n { grid-area: n; }
.gi-o { grid-area: o; }

/* Mobile: 3 colunas compactas */
@media (max-width: 600px) {
  .galeria > .section-inner {
    height: auto;
    padding-bottom: 80px;
  }

  .gallery {
    flex: none;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(6, 90px);
    gap: 5px;
    grid-template-areas:
      "a a b"
      "c d d"
      "e f g"
      "h h i"
      "j k l"
      "m n o";
  }
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

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

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  object-fit: contain;
  transition: transform 0.3s ease;
  transform: scale(0.94);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: background 0.2s, border-color 0.2s;
}

.lightbox-arrow:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.5);
}

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

.placeholder {
  width: 100%;
  height: 100%;
  background: #d4ecf7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 14px;
  text-align: center;
  padding: 16px;
}

.gallery-description {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 32px;
}

/* ============================================
   09. FAQ
   ============================================ */

.faq {
  background: var(--off);
  text-align: center;
}

@media (max-width: 767px) {
  .faq > .section-inner {
    padding-bottom: calc(var(--section-pad) * 2.67);
  }
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 1fr 1.6fr;
  }
}

.faq-left {
  padding-right: 0;
}

@media (min-width: 1024px) {
  .faq-left {
    height: fit-content;
  }
}

.faq-left h2 {
  margin-bottom: 16px;
}

.faq-left p {
  color: var(--muted);
}

.accordion {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

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

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.accordion-header:hover {
  color: var(--blue);
}

.accordion-header span:first-child {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}

.accordion-icon {
  font-size: 20px;
  font-weight: 700;
  transition: transform 0.25s;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-header[aria-expanded="true"] + .accordion-content {
  max-height: 300px;
  padding-bottom: 20px;
}

.accordion-content p,
.accordion-header span:first-child {
  text-wrap: pretty;
  max-width: none;
  width: 100%;
}

.accordion-content p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
  text-align: left;
}

/* ============================================
   10. FOOTER
   ============================================ */

.footer {
  background: var(--dark);
  color: white;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

.footer-col-brand {
  padding-right: 0;
}

@media (min-width: 768px) {
  .footer-col-brand {
    padding-right: 24px;
  }
}

.footer-logo {
  max-height: 36px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-slogan {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-title {
  color: white;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-links li {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.5;
}

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.25s ease;
}

.footer-social a:hover {
  background: var(--btn-color, var(--blue));
  border-color: var(--btn-color, var(--blue));
  color: white;
}

.footer-legal-bar {
  background: rgba(0, 0, 0, 0.2);
  padding: 16px 0;
  margin-top: 0;
}

.footer-legal {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  margin-bottom: 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: white;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 767px) {
  .navbar {
    padding: 8px var(--section-px);
  }

  .navbar-container {
    padding: 8px 16px;
  }

  main {
    margin-top: 0;
  }

  .hero {
    min-height: unset;
  }

  .metodo-grid,
  .resultados-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .metodo-left,
  .resultados-left,
  .faq-left {
    position: static;
    padding-right: 0;
    padding-bottom: 0;
    text-align: center;
  }

  .stat-card {
    min-width: 0;
    flex: 1;
    padding: 20px 16px;
  }

  .stat-number,
  .stat-percent {
    font-size: 36px;
  }

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

  .timeline {
    padding-left: 28px;
  }
}


/* ============================================
   LOADING SCREEN / PRELOADER
   ============================================ */

.preloader {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  cursor: default;
  position: fixed;
  z-index: 9999999;
  background: var(--preloader-bg);
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease-out;
}

.preloader.loaded {
  opacity: 0;
  pointer-events: none;
}

.preloader .animation-preloader {
  z-index: 1000;
  text-align: center;
}

.preloader .txt-loading {
  font-size: 80px;
  line-height: 118px;
  text-align: center;
  user-select: none;
  font-weight: 800;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
  .preloader .txt-loading {
    font-size: 50px;
    line-height: 77px;
    margin-bottom: 16px;
  }
}

@media (max-width: 576px) {
  .preloader .txt-loading {
    font-size: 36px;
    line-height: 58px;
  }
}

.preloader .txt-loading .letters-loading {
  color: white;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.preloader .txt-loading .letters-loading.first {
  color: white;
}

.preloader .txt-loading .letters-loading:nth-child(2)::before {
  animation-delay: 0.2s;
}

.preloader .txt-loading .letters-loading:nth-child(3)::before {
  animation-delay: 0.4s;
}

.preloader .txt-loading .letters-loading:nth-child(4)::before {
  animation-delay: 0.6s;
}

.preloader .txt-loading .letters-loading:nth-child(5)::before {
  animation-delay: 0.8s;
}

.preloader .txt-loading .letters-loading:nth-child(6)::before {
  animation-delay: 1s;
}

.preloader .txt-loading .letters-loading:nth-child(7)::before {
  animation-delay: 1.2s;
}

.preloader .txt-loading .letters-loading::before {
  animation: letters-flip 4s infinite;
  color: white;
  content: attr(data-text-preloader);
  left: 0;
  opacity: 0;
  position: absolute;
  top: -3px;
  transform: rotateY(-90deg);
}

.preloader .loading-text {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 8px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.preloader .loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
}

.preloader .loader-row {
  display: flex;
  width: 100%;
  height: 100%;
}

.preloader .loader-section {
  flex: 1;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.preloader .loader-section .loader-bg {
  background-color: white;
  height: 100%;
  width: 100%;
  transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader.loaded .loader-section .loader-bg {
  width: 0;
  transition: 0.7s 0.3s cubic-bezier(0.1, 0.1, 0.1, 1);
}

@keyframes letters-flip {
  0%, 75%, 100% {
    opacity: 0;
    transform: rotateY(-90deg);
  }
  25%, 50% {
    opacity: 1;
    transform: rotateY(0deg);
  }
}
