/* ============================================================
   NOVA ODONTOLOGIA SÃO BRAZ — main.css
   ============================================================ */

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

:root {
  --blue:        #1B4FA8;
  --blue-dark:   #0D2E6E;
  --blue-mid:    #1A5FC8;
  --blue-light:  #EBF2FF;
  --gold:        #C9A227;
  --gold-light:  #E8B84B;
  --white:       #FFFFFF;
  --gray-50:     #F8FAFC;
  --gray-100:    #F1F5F9;
  --gray-200:    #E2E8F0;
  --gray-400:    #94A3B8;
  --gray-500:    #64748B;
  --gray-700:    #334155;
  --gray-900:    #0F172A;
  --text:        #1E293B;
  --text-muted:  #64748B;
  --green-wa:    #25D366;

  --radius-sm:  8px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 4px rgba(0,0,0,.06);
  --shadow:     0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.12);
  --shadow-blue: 0 8px 32px rgba(27,79,168,.25);

  --transition: .3s ease;
  --container:  1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Utilities ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.2;
}
.section-title span { color: var(--blue); }

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin-top: 12px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(27,79,168,.35);
}

.btn--ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--ghost:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

.btn--wa {
  background: var(--green-wa);
  color: var(--white);
  border-color: var(--green-wa);
  box-shadow: 0 8px 24px rgba(37,211,102,.3);
}
.btn--wa:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,211,102,.4);
}

/* ── Fade animations ─────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }


/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 80px;
}

.nav__logo img { height: 44px; width: auto; }

.nav__center {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  justify-self: center;
}
.nav__sep {
  width: 1px;
  height: 18px;
  background: var(--gray-200);
  margin: 0 10px;
  flex-shrink: 0;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.nav__link:hover { color: var(--blue); background: var(--blue-light); }

.nav__socials {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  color: var(--gray-400);
  transition: color var(--transition), background var(--transition);
}
.nav__social:hover { color: var(--blue); background: var(--blue-light); }

.nav__cta { justify-self: end; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  justify-self: end;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: 80px; /* altura do header */
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, #2563EB 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: rgba(201,162,39,.08);
  border-radius: 50%;
}

.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;           /* colunas ocupam toda a altura */
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 0;
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 48px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero__title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero__title span {
  color: var(--gold-light);
}

.hero__text {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  font-weight: 500;
}
.trust__item svg {
  color: var(--gold-light);
  flex-shrink: 0;
}

.hero__image {
  display: flex;
  justify-content: center;
  align-items: flex-end;          /* imagem cola no fundo da coluna */
}
.hero__img-wrap {
  position: relative;
  width: 100%;
  max-width: 607px;
}
.hero__img-wrap img {
  width: 100%;
  object-fit: contain;
  object-position: bottom;
  display: block;
}
.hero__badge {
  position: absolute;
  bottom: 24px;
  left: -16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__badge-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.hero__badge-text strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--blue-dark);
}
.hero__badge-text span {
  font-size: 12px;
  color: var(--text-muted);
}

.hero__badge2 {
  position: absolute;
  top: 32px;
  right: -16px;
  background: var(--gold);
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.hero__badge2 strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero__badge2 span {
  font-size: 11px;
  color: rgba(255,255,255,.85);
  text-align: center;
  max-width: 72px;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--white);
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-200);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
}
.stats__grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 560px;
}
.stat__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border-right: 1px solid var(--gray-200);
}
.stat__item:last-child { border-right: none; }
.stat__number {
  font-size: 36px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.stat__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-top: 6px;
  text-align: center;
}
.stat__sub {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
  line-height: 1.4;
}

/* ============================================================
   SERVIÇOS
   ============================================================ */
.servicos {
  padding: 96px 0;
  background: var(--gray-50);
}
.servicos__header {
  text-align: center;
  margin-bottom: 56px;
}
.servicos__header .section-sub { margin: 12px auto 0; }

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

.servico-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  cursor: default;
}
.servico-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}
.servico-card:hover .servico__icon { background: var(--blue); color: var(--white); }

.servico__icon {
  width: 56px;
  height: 56px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 16px;
  transition: var(--transition);
}

.servico__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.servico__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   PILARES / POR QUE NÓS
   ============================================================ */
.pilares {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  position: relative;
  overflow: hidden;
}
.pilares::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}

.pilares__header {
  text-align: center;
  margin-bottom: 56px;
}
.pilares__header .section-tag { color: var(--gold-light); }
.pilares__header .section-tag::before { background: var(--gold-light); }
.pilares__header .section-title { color: var(--white); }
.pilares__header .section-sub { color: rgba(255,255,255,.7); margin: 12px auto 0; }

.pilares__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.pilar-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.pilar-card:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-4px);
}

.pilar__number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.pilar__icon {
  width: 56px;
  height: 56px;
  background: rgba(201,162,39,.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.pilar__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.pilar__text {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
}

/* ============================================================
   EQUIPE
   ============================================================ */
.equipe {
  padding: 96px 0;
  background: var(--white);
}
.equipe__header {
  text-align: center;
  margin-bottom: 56px;
}
.equipe__header .section-sub { margin-left: auto; margin-right: auto; }

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

.membro-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-align: center;
}
.membro-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}

.membro__foto {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--blue-light);
  position: relative;
}
.membro__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform .4s ease;
}
.membro-card:hover .membro__foto img { transform: scale(1.05); }

.membro__info { padding: 20px 16px; }

.membro__nome {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 6px;
}
.membro__cargo {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}
.membro__cro {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: .04em;
}

/* ============================================================
   GALERIA DA CLÍNICA
   ============================================================ */
.galeria {
  padding: 96px 0;
  background: var(--gray-900);
}
.galeria__header {
  text-align: center;
  margin-bottom: 48px;
}
.galeria__header .section-tag { color: var(--gold-light); }
.galeria__header .section-tag::before { background: var(--gold-light); }
.galeria__header .section-title { color: var(--white); }
.galeria__header .section-sub { color: rgba(255,255,255,.6); margin: 12px auto 0; }

/* ── Carousel ────────────────────────────────────────────── */
.carousel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.carousel__track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.carousel__slide {
  min-width: 100%;
  position: relative;
}
.carousel__slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.carousel__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 28px;
  background: linear-gradient(to top, rgba(13,46,110,.75) 0%, transparent 100%);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.92);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--blue-dark);
  box-shadow: var(--shadow);
  transition: var(--transition);
  z-index: 2;
}
.carousel__btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}
.carousel__btn--prev { left: 16px; }
.carousel__btn--next { right: 16px; }

.carousel__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.carousel__dot.active {
  background: var(--white);
  width: 24px;
  border-radius: 4px;
}

/* ============================================================
   AVALIAÇÕES
   ============================================================ */
.avaliacoes {
  padding: 80px 0 0;
  background: var(--white);
}
.avaliacoes .section-header {
  text-align: center;
  margin-bottom: 40px;
}
.avaliacoes .section-tag { justify-content: center; }
.avaliacoes .section-tag::before { display: none; }

/* ============================================================
   CONTATO / CTA
   ============================================================ */
.contato {
  padding: 96px 0;
  background: var(--gray-50);
  position: relative;
  z-index: 1;
  margin-top: calc(-36px - 0.5vh);
}
.contato__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contato__left .section-sub { max-width: 400px; }

.contato__infos {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}
.contato__info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contato__info-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.contato__info-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 2px;
}
.contato__info-text span {
  font-size: 15px;
  color: var(--text);
}

.contato__right {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.contato__cta-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.contato__cta-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.contato__cta-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contato__option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 2px solid var(--gray-200);
  transition: var(--transition);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.contato__option:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue);
  transform: translateX(4px);
}
.contato__option svg { flex-shrink: 0; }
.contato__option--wa { border-color: #dcfce7; }
.contato__option--wa:hover { border-color: var(--green-wa); background: #f0fdf4; color: #16a34a; }

.contato__horario {
  margin-top: 32px;
  padding: 20px;
  background: var(--blue-light);
  border-radius: var(--radius);
}
.contato__horario h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}
.contato__horario p {
  font-size: 14px;
  color: var(--blue);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid rgba(27,79,168,.1);
}
.contato__horario p:last-child { border-bottom: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,.7);
  padding: 56px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 32px;
}

.footer__brand img { height: 40px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer__brand p { font-size: 14px; line-height: 1.7; max-width: 300px; }

.footer__col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer__col ul a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.footer__socials { display: flex; gap: 12px; }
.footer__social {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}
.footer__social:hover { background: var(--blue); color: var(--white); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 60px;
  height: 60px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,.45);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: wa-pulse 2.5s infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37,211,102,.6);
  animation: none;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(37,211,102,.45); }
  50%       { box-shadow: 0 8px 48px rgba(37,211,102,.7); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .servicos__grid  { grid-template-columns: repeat(3, 1fr); }
  .equipe__grid    { grid-template-columns: repeat(3, 1fr); }
  .stats__grid     { grid-template-columns: repeat(3, 1fr); }
  .stat__item:nth-child(3) { border-right: none; }
  .carousel__slide img { height: 360px; }
}

@media (max-width: 768px) {
  .nav__center, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav { grid-template-columns: auto 1fr auto; height: 72px; }

  .nav__center.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 24px 24px;
    gap: 12px;
    box-shadow: var(--shadow-lg);
  }
  .nav__center.open .nav__menu { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav__center.open .nav__socials { gap: 6px; }
  .nav__center.open .nav__social { width: 32px; height: 32px; }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .hero__content { order: 2; }
  .hero__image   { order: 1; }
  .hero__actions { justify-content: center; }
  .hero__trust   { justify-content: center; }
  .hero__badge   { left: 0; }
  .hero__badge2  { right: 0; }

  .servicos__grid  { grid-template-columns: repeat(2, 1fr); }
  .pilares__grid   { grid-template-columns: 1fr; }
  .equipe__grid    { grid-template-columns: repeat(2, 1fr); }
  .carousel__slide img { height: 260px; }
  .contato__inner  { grid-template-columns: 1fr; }
  .footer__inner   { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom  { flex-direction: column; gap: 16px; text-align: center; }

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

@media (max-width: 480px) {
  .servicos__grid { grid-template-columns: 1fr; }
  .equipe__grid   { grid-template-columns: 1fr; }
  .hero__actions  { flex-direction: column; align-items: center; }
  .hero__badge, .hero__badge2 { display: none; }
}
