/* ==========================================================
   Endodontia Salvador & Dr. Rodrigo Lins
   Direção: dark luxe clínico · preto quente + vinho + rosé
   Tipografia: Marcellus (display) + Figtree (texto)
   ========================================================== */

:root {
  --ivory: #150d10;          /* fundo geral (preto quente) */
  --ivory-deep: #1d1013;     /* seções alternadas */
  --paper: #26141a;          /* cards */
  --navy: #6b1227;           /* bordô primário (oficial da marca) */
  --navy-deep: #45091a;      /* seções escuras profundas */
  --navy-soft: #a73348;      /* hover / vinho-rosado (oficial) */
  --graphite: #cdbab5;       /* texto corrido */
  --stone: #a08079;          /* texto secundário (mocha) */
  --line: rgba(255, 187, 166, .18);
  --gold: #ffbba6;           /* acento salmão (oficial) */
  --cream: #f4e9e2;          /* títulos sobre escuro */
  --white: #ffffff;
  --mark-gray: #dea18c;
  --mark-navy: #f4e9e2;
  --shadow-lg: 0 30px 60px -18px rgba(0, 0, 0, .6);
  --shadow-sm: 0 10px 30px -12px rgba(0, 0, 0, .45);
  --font-display: 'Marcellus', 'Georgia', serif;
  --font-body: 'Figtree', 'Helvetica Neue', sans-serif;
  --radius: 4px;
  --section-pad: clamp(4.5rem, 9vw, 7.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--graphite);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.nowrap { white-space: nowrap; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.2,.65,.3,1), transform .8s cubic-bezier(.2,.65,.3,1);
}
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .42s; }
.d5 { transition-delay: .54s; }

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

/* ---------- Type helpers ---------- */
.kicker {
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.kicker--light { color: #e8b3a0; }

.section { padding-block: var(--section-pad); }
.section--tinted { background: var(--ivory-deep); }

.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.15;
  color: var(--cream);
  text-wrap: balance;
}

.section__head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__lead { margin-top: 1rem; font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .04em;
  text-decoration: none;
  padding: .85rem 1.7rem;
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  cursor: pointer;
}
.btn--lg { padding: 1.05rem 2rem; font-size: .98rem; }
.btn--solid {
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn--solid:hover { background: var(--navy-soft); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost {
  color: var(--cream);
  border: 1px solid var(--line);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--cream); transform: translateY(-2px); }
.btn--outline {
  color: var(--cream);
  border: 1px solid var(--gold);
  background: transparent;
}
.btn--outline:hover { background: var(--navy); color: var(--cream); }
.btn--light {
  background: var(--cream);
  color: var(--navy);
}
.btn--light:hover { background: var(--white); transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(0,0,0,.4); }

/* ==========================================================
   HEADER
   ========================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 13, 15, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: .8rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  margin-right: auto;
}
.brand__mark { width: 34px; height: 40px; flex-shrink: 0; }
.brand__logo { height: 46px; width: auto; display: block; }
.footer__logo { height: 56px; width: auto; flex-shrink: 0; }
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.06rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.2;
}
.brand__tag {
  display: block;
  font-size: .6rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.nav { display: flex; gap: 1.6rem; }
.nav a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--graphite);
  text-decoration: none;
  letter-spacing: .02em;
  position: relative;
  padding-block: .3rem;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .5rem;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--cream);
  transition: transform .3s, opacity .3s;
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6rem) 0;
}
.hero__texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 90% at 85% 10%, rgba(110,33,48,.30), transparent 60%),
    radial-gradient(45% 60% at 8% 85%, rgba(222,161,140,.07), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 3.55rem);
  line-height: 1.12;
  color: var(--cream);
  text-wrap: balance;
  margin-bottom: 1.4rem;
}
.hero__title em {
  font-style: normal;
  color: var(--gold);
  position: relative;
}
.hero__title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: .05em;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.hero__lead {
  font-size: 1.08rem;
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.6rem; }

.hero__proof {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  padding-block: 1.2rem 2.5rem;
}
.proof { display: flex; align-items: center; gap: .6rem; }
.proof__stars { color: var(--gold); font-size: .82rem; letter-spacing: .12em; }
.proof__big {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--cream);
  line-height: 1;
}
.proof__label {
  font-size: .72rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--stone);
}
.proof__sep { width: 1px; height: 34px; background: var(--line); }

.hero__figure {
  position: relative;
  max-width: 430px;
  justify-self: end;
  margin-bottom: -1px;
}
.hero__figure img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hero__frame {
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 1px solid rgba(222,161,140,.45);
  border-radius: var(--radius);
  z-index: 0;
}
.hero__card {
  position: absolute;
  z-index: 2;
  left: -2.2rem;
  bottom: 2.2rem;
  background: var(--navy);
  color: var(--cream);
  padding: 1rem 1.3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 250px;
}
.hero__card-title {
  display: block;
  font-family: var(--font-display);
  font-size: .98rem;
  line-height: 1.3;
  margin-bottom: .25rem;
}
.hero__card-sub { display: block; font-size: .76rem; opacity: .75; }

/* ==========================================================
   STATS
   ========================================================== */
.stats {
  background: var(--navy);
  color: var(--cream);
  padding-block: clamp(2.5rem, 5vw, 3.6rem);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat { text-align: left; border-left: 1px solid rgba(244,233,226,.2); padding-left: 1.4rem; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
}
.stat__plus {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  vertical-align: super;
}
.stat__label {
  display: block;
  margin-top: .5rem;
  font-size: .82rem;
  line-height: 1.45;
  opacity: .72;
}

/* ==========================================================
   SOBRE
   ========================================================== */
.sobre__grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.sobre__figure { position: relative; max-width: 420px; }
.sobre__figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.sobre__badge {
  position: absolute;
  right: -1.4rem;
  top: 2.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .9rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.sobre__badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream);
}
.sobre__badge-label {
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--stone);
}
.sobre__text p + p { margin-top: 1rem; }
.sobre__text { margin-bottom: 1.8rem; margin-top: 1.4rem; }

.cred-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 2rem;
  margin-bottom: 2.2rem;
}
.cred-list li {
  border-left: 2px solid var(--gold);
  padding-left: .9rem;
}
.cred-list strong {
  display: block;
  color: var(--cream);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.35;
}
.cred-list span { font-size: .82rem; color: var(--stone); }

/* ==========================================================
   TRATAMENTOS
   ========================================================== */
.cards-featured {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 3rem;
}
.card-f {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card-f:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(222,161,140,.4);
}
.card-f__num {
  font-family: var(--font-display);
  font-size: .9rem;
  color: var(--gold);
  letter-spacing: .18em;
}
.card-f h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.28rem;
  color: var(--cream);
  margin: .8rem 0 .7rem;
  line-height: 1.25;
}
.card-f p { font-size: .9rem; line-height: 1.6; }
.card-f__link {
  display: inline-block;
  margin-top: .9rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,187,166,.4);
  padding-bottom: 1px;
  transition: color .25s ease, border-color .25s ease;
}
.card-f__link:hover { color: var(--cream); border-color: var(--cream); }

.chips__title {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--stone);
  margin-bottom: 1rem;
}
.chips__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.chips__list li {
  font-size: .86rem;
  font-weight: 500;
  color: var(--cream);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .45rem 1.1rem;
}

/* ==========================================================
   TECNOLOGIA (dark)
   ========================================================== */
.tech {
  background:
    radial-gradient(70% 100% at 100% 0%, rgba(110,33,48,.55), transparent 55%),
    var(--navy-deep);
  color: rgba(244,233,226,.82);
}
.tech__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.tech .section__title { color: var(--cream); }
.tech__lead { margin: 1.1rem 0 2.2rem; font-size: 1.04rem; }
.tech__list { list-style: none; display: grid; gap: 1.4rem; }
.tech__list li { display: flex; gap: 1rem; align-items: flex-start; }
.tech__ico {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(222,161,140,.45);
  border-radius: 50%;
  color: #e8b3a0;
  font-size: 1rem;
}
.tech__list strong {
  display: block;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.08rem;
  margin-bottom: .2rem;
}
.tech__list p { font-size: .88rem; line-height: 1.55; }

.tech__figures {
  position: relative;
  display: grid;
  gap: 1.2rem;
}
.tech__fig img { border-radius: var(--radius); }
.tech__fig--main {
  max-width: 400px;
  justify-self: end;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6);
}
.tech__fig--small {
  max-width: 300px;
  margin-top: -6rem;
  justify-self: start;
  border: 6px solid var(--navy-deep);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.55);
}

/* ==========================================================
   CONSULTÓRIO / GALERIA
   ========================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 260px 260px;
  gap: 1.1rem;
}
.gallery__item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.65,.3,1);
}
.gallery__item:hover img { transform: scale(1.045); }
.g1 { grid-column: 1 / 3; }
.g2 { grid-column: 3 / 4; grid-row: 1 / 3; }
.g3 { grid-column: 4 / 5; }
.g4 { grid-column: 1 / 2; }
.g5 { grid-column: 4 / 5; }
.gallery .g4 { grid-column: 1 / 3; }

/* ==========================================================
   AVALIAÇÕES
   ========================================================== */
.reviews__score {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.2rem;
  font-size: .95rem;
}
.reviews__score strong { color: var(--cream); }
.reviews__stars { color: var(--gold); letter-spacing: .15em; }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
}
.review::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0;
  color: rgba(222,161,140,.35);
  position: absolute;
  top: 1.9rem;
  right: 1.4rem;
}
.review p { font-size: .92rem; line-height: 1.65; font-style: italic; }
.review footer { margin-top: auto; display: flex; flex-direction: column; }
.review cite {
  font-style: normal;
  font-weight: 600;
  color: var(--cream);
  font-size: .9rem;
}
.review footer span { font-size: .76rem; color: var(--stone); }
.reviews__cta { margin-top: 2.4rem; text-align: center; }

/* ==========================================================
   CTA FINAL
   ========================================================== */
.cta-final {
  background:
    radial-gradient(80% 120% at 15% 100%, rgba(222,161,140,.12), transparent 55%),
    var(--navy);
  color: var(--cream);
  overflow: hidden;
}
.cta-final__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.cta-final__figure {
  max-width: 360px;
  margin-block: 4.5rem;
}
.cta-final__figure img {
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.55);
}
.cta-final__content { padding-block: 4rem; }
.cta-final h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  text-wrap: balance;
  margin-bottom: 1.1rem;
}
.cta-final p { max-width: 32rem; opacity: .82; margin-bottom: 1.9rem; }
.cta-final__note {
  font-size: .78rem !important;
  text-transform: uppercase;
  letter-spacing: .2em;
  opacity: .55 !important;
  margin-top: 1.2rem;
}

/* ==========================================================
   CONTATO
   ========================================================== */
.contato__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contato__list { list-style: none; margin-top: 1.8rem; display: grid; gap: 1.4rem; }
.contato__list strong {
  display: block;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: .3rem;
  font-weight: 600;
}
.contato__list span { font-size: .96rem; color: var(--graphite); }
.contato__list a { color: var(--cream); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(222,161,140,.45); }
.contato__list a:hover { color: var(--gold); }
.contato__map iframe {
  width: 100%;
  height: 460px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  filter: saturate(.75) contrast(1.05) brightness(.9);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--navy-deep);
  color: rgba(244,233,226,.7);
  padding-block: 3rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.footer__brand { display: flex; gap: .9rem; align-items: flex-start; }
.footer__name {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1rem;
  letter-spacing: .08em;
}
.footer__cro { font-size: .78rem; margin-top: .3rem; }
.footer__nav { display: grid; gap: .5rem; }
.footer__nav a {
  color: rgba(244,233,226,.7);
  text-decoration: none;
  font-size: .86rem;
}
.footer__nav a:hover { color: var(--cream); }
.footer__legal { font-size: .76rem; line-height: 1.6; }

/* ---------- WhatsApp float ---------- */
.whats-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #1fa855;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.4);
  transition: transform .25s ease;
}
.whats-float:hover { transform: scale(1.08); }

/* ==========================================================
   DESTAQUE + FILOSOFIA (Sobre)
   ========================================================== */
.mark-hl {
  color: var(--cream);
  font-weight: 600;
  background: linear-gradient(transparent 58%, rgba(222,161,140,.30) 0);
  padding: 0 .06em;
  white-space: nowrap;
}
.belief {
  margin: 1.9rem 0 2.2rem;
  padding: .3rem 0 .3rem 1.7rem;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.14rem;
  line-height: 1.55;
  color: var(--cream);
}

/* ==========================================================
   PREVENÇÃO
   ========================================================== */
.section__head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 720px;
}
.section__head--center .section__lead { margin-inline: auto; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 1.7rem 1.8rem;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(222,161,140,.4);
  box-shadow: var(--shadow-lg);
}
.step__num {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(222,161,140,.5);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.24rem;
  color: var(--cream);
  margin-bottom: .6rem;
  line-height: 1.25;
}
.step p { font-size: .92rem; line-height: 1.6; }

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .mark-hl { white-space: normal; }
}

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

@media (max-width: 880px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: .6rem 1.5rem 1.2rem;
    box-shadow: var(--shadow-sm);
  }
  .nav.open a { padding-block: .8rem; border-bottom: 1px solid var(--line); }
  .nav.open a:last-child { border-bottom: none; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { justify-self: center; margin-top: 1rem; max-width: 380px; }
  .hero__card { left: -.6rem; }

  .sobre__grid, .tech__grid, .cta-final__grid, .contato__grid { grid-template-columns: 1fr; }
  .sobre__figure { max-width: 380px; margin-inline: auto; }
  .sobre__badge { right: .8rem; }
  .tech__fig--main { justify-self: center; }
  .tech__fig--small { display: none; }
  .cta-final__figure { display: none; }
  .cta-final__content { padding-block: 4rem; }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 220px);
  }
  .g1 { grid-column: 1 / 3; }
  .g2 { grid-column: 1 / 2; grid-row: 2 / 3; }
  .g3 { grid-column: 2 / 3; grid-row: 2 / 3; }
  .gallery .g4 { grid-column: 1 / 3; grid-row: 3 / 4; }
  .g5 { display: none; }
}

@media (max-width: 560px) {
  .cards-featured { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .stat { padding-left: 1rem; }
  .hero__proof { gap: 1rem; }
  .proof__sep { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .contato__map iframe { height: 320px; }
  .brand__name { font-size: .92rem; }
}
