/* ==========================================================================
   OdontoCompany Jaçanã — Landing Page
   Índice:
   1. Reset
   2. Variables
   3. Base
   4. Typography
   5. Utilities
   6. Header
   7. Hero
   8. Trust bar
   9. Treatments
   10. Implants
   11. Differentials
   12. Testimonials
   13. App download
   14. Gallery
   15. Form
   16. Location
   17. Footer
   18. WhatsApp / Mobile CTA
   19. Responsive
   ========================================================================== */

/* ==========================================================================
   1. RESET
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   2. VARIABLES
   ========================================================================== */
:root {
  /* Cores */
  --primary: #2f7d5b;
  --primary-dark: #20553f;
  --primary-darker: #17402f;
  --primary-light: #e8f3ee;
  --surface: #f7f9f7;
  --surface-green: #f0f6f2;
  --background: #ffffff;
  --off-white: #fbfcfb;
  --text: #17211c;
  --text-muted: #5c6b62;
  --text-soft: #8a958e;
  --border: #dde6e0;
  --border-strong: #c7d5cc;
  --white: #ffffff;
  --error: #b3402f;
  --star: #c99a3e;

  /* Tipografia */
  --font-heading: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Layout */
  --container-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(23, 33, 28, 0.06);
  --shadow-md: 0 8px 24px rgba(23, 33, 28, 0.08);

  /* Transições */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 84px;
}

/* ==========================================================================
   3. BASE
   ========================================================================== */
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  background: var(--primary-dark);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transform: translateY(calc(-100% - 1.5rem));
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--primary-darker);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

.hero__title {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  max-width: 15ch;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  max-width: 22ch;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin-top: 0.9rem;
}


p {
  color: var(--text-muted);
}

/* ==========================================================================
   5. UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(64px, 9vw, 112px);
}

.section-tight {
  padding-block: 40px;
  border-top: 1px solid var(--border);
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn--outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--border-strong);
}

.btn--outline:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.btn--small {
  padding: 0.65rem 1.3rem;
  font-size: 0.88rem;
}

.btn--full {
  width: 100%;
}

.icon {
  color: var(--primary);
  flex-shrink: 0;
}

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--surface-green);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--text-soft);
  font-size: 0.9rem;
  padding: 2rem;
  min-height: 260px;
  aspect-ratio: 4 / 3;
}


.image-placeholder--tall {
  aspect-ratio: 3 / 4;
}

/* Fallback exibido enquanto a imagem do caminho indicado não existir */
.media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background: var(--surface-green);
  color: var(--text-soft);
  font-size: 0.82rem;
  word-break: break-all;
}

img[data-img-fallback].is-missing {
  visibility: hidden;
}

/* Scroll-reveal */
[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   6. HEADER
   ========================================================================== */
/* Header móvel: fixo no topo, transparente sobre a hero e com fundo ao rolar.
   Sem backdrop-filter — ele prenderia o menu mobile (position: fixed) ao header. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(23, 64, 47, 0.97);
  box-shadow: 0 8px 24px rgba(10, 28, 20, 0.18);
}

/* Compensa o header fixo ao navegar pelas âncoras */
section[id] {
  scroll-margin-top: 88px;
}

/* Logo à esquerda, navegação ao centro e redes sociais à direita */
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  max-width: 1440px;
  padding-block: 20px;
  transition: padding 0.3s var(--ease);
}

.site-header.is-scrolled .site-header__inner {
  padding-block: 10px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.logo__image {
  height: 100px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s var(--ease);
}

.site-header.is-scrolled .logo__image {
  height: 64px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.site-nav__link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  position: relative;
  padding-block: 4px;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.2s var(--ease);
}

.site-nav__link:hover::after {
  width: 100%;
}

/* CTA aparece apenas dentro do menu mobile */
.site-nav__cta {
  display: none;
}

.site-header__actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.header-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.header-social__link:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--primary-dark);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}

.menu-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 33, 28, 0.35);
  z-index: 90;
}

.nav-overlay[hidden] {
  display: none;
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: max(640px, 100vh);
  min-height: max(640px, 100svh);
  overflow: hidden;
  background: var(--primary-darker);
}

/* Slides ocupam a section inteira; a imagem cobre todo o espaço sem distorcer */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero .media-fallback {
  align-items: flex-end;
  justify-content: flex-end;
  padding: 2rem 2rem 5.5rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
  color: rgba(255, 255, 255, 0.5);
}

/* Escurece a lateral esquerda e o topo para dar leitura ao texto e ao header */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 28, 20, 0.55) 0%, rgba(10, 28, 20, 0) 32%),
    linear-gradient(90deg, rgba(23, 64, 47, 0.88) 0%, rgba(23, 64, 47, 0.55) 45%, rgba(23, 64, 47, 0.08) 100%);
}

.hero__inner {
  max-width: 1440px;
  padding-block: 160px 120px;
}

.hero__title {
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

.hero__dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}

.hero__dot.is-active {
  width: 28px;
  background: var(--white);
}

/* ==========================================================================
   8. TRUST BAR
   ========================================================================== */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}

.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.4rem 2rem;
  padding-block: 26px;
}

.trust-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}

/* ==========================================================================
   9. TREATMENTS
   ========================================================================== */
.treatments {
  background: var(--background);
}

.treatments-carousel {
  --chip-height: 65px;
  position: relative;
  display: flex;
  min-height: 620px;
  border: 1px solid var(--border);
  border-radius: 2.5rem;
  overflow: hidden;
}

/* Coluna de especialidades (chips em rolagem vertical) */
.treatments-carousel__menu {
  position: relative;
  z-index: 3;
  width: 40%;
  overflow: hidden;
  background: var(--primary);
}

.treatments-carousel__fade {
  position: absolute;
  inset-inline: 0;
  height: 72px;
  z-index: 2;
  pointer-events: none;
}

.treatments-carousel__fade--top {
  top: 0;
  background: linear-gradient(to bottom, var(--primary) 20%, rgba(47, 125, 91, 0));
}

.treatments-carousel__fade--bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--primary) 20%, rgba(47, 125, 91, 0));
}

.treatments-carousel__chips {
  position: absolute;
  inset: 0;
}

.treatments-carousel__chip-item {
  --offset: 0;
  --chip-x: 0px;
  position: absolute;
  top: 50%;
  left: clamp(24px, 4vw, 56px);
  height: var(--chip-height);
  display: flex;
  align-items: center;
  transform: translate(var(--chip-x), calc(-50% + var(--offset) * var(--chip-height)));
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s var(--ease);
}

.treatments-carousel__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transform-origin: left center;
  transition: color 0.6s var(--ease), transform 0.6s var(--ease);
}


.treatments-carousel__chip:hover {
  color: var(--white);
}

.treatments-carousel__chip.is-active {
  color: var(--white);
  font-weight: 700;
  transform: scale(1.18);
}


.treatments-carousel__chip:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* Vitrine de imagens */
.treatments-carousel__showcase {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 6vw, 72px) clamp(24px, 4vw, 48px);
  background: var(--surface-green);
  border-left: 1px solid var(--border);
  overflow: hidden;
}

.treatments-carousel__cards {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
}

.treatments-carousel__card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 2.2rem;
  border: 8px solid var(--white);
  background: var(--white);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
  transition: transform 0.7s cubic-bezier(0.34, 1.35, 0.64, 1), opacity 0.5s var(--ease);
}

.treatments-carousel__card.is-prev,
.treatments-carousel__card.is-next {
  opacity: 0.4;
  z-index: 1;
}

.treatments-carousel__card.is-prev {
  transform: translateX(-100px) scale(0.85) rotate(-3deg);
}

.treatments-carousel__card.is-next {
  transform: translateX(100px) scale(0.85) rotate(3deg);
}

.treatments-carousel__card.is-active {
  opacity: 1;
  z-index: 2;
  transform: none;
  pointer-events: auto;
}

.treatments-carousel__card .media-fallback {
  border-radius: calc(2.2rem - 8px);
}

.treatments-carousel__img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) blur(2px) brightness(0.75);
  transition: filter 0.7s var(--ease);
}

.treatments-carousel__card.is-active .treatments-carousel__img {
  filter: none;
}

.treatments-carousel__overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 1.6rem 1.6rem;
  text-align: center;
  background: linear-gradient(to top, rgba(23, 64, 47, 0.92), rgba(23, 64, 47, 0.45) 55%, transparent);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.treatments-carousel__card.is-active .treatments-carousel__overlay {
  opacity: 1;
  transform: none;
}

.treatments-carousel__description {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   10. IMPLANTS
   ========================================================================== */
.implants {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
  color: var(--white);
}

.implants .tag {
  color: #bfe3d0;
}

.implants .icon {
  color: #9ed7b8;
}

.implants__inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.implants__media {
  display: flex;
  justify-content: center;
}

.implants__mascot {
  width: 100%;
  max-width: 440px;
  height: auto;
}

.implants__title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: var(--white);
  max-width: 18ch;
  margin-bottom: 1.2rem;
}

.implants__text {
  color: rgba(255, 255, 255, 0.82);
  max-width: 54ch;
  margin-bottom: 1rem;
}

.implants__benefits {
  display: grid;
  gap: 0.8rem;
  margin: 1.8rem 0 2.2rem;
}

.implants__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 500;
}

.implants__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn--light {
  background: var(--white);
  color: var(--primary-darker);
  border: 1px solid var(--white);
}

.btn--light:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn--ghost-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.implants__steps {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.implants__steps-title {
  color: var(--white);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin-bottom: 2rem;
}

.implants__steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.implants__step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
}

.implants__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-darker);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
}

.implants__step-title {
  color: var(--white);
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
}

.implants__step-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

/* ==========================================================================
   11. DIFFERENTIALS
   ========================================================================== */
.differentials {
  background: var(--surface-green);
}

.differentials__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.differential__title {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
  position: relative;
  padding-top: 1.1rem;
}

.differential__title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary);
}

.differential__text {
  font-size: 0.92rem;
}

/* ==========================================================================
   12. TESTIMONIALS
   ========================================================================== */
.testimonials__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  margin: calc(clamp(36px, 5vw, 56px) * -0.5) 0 2rem;
}

.testimonials__summary-text {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text);
}

.testimonials__summary-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a73e8;
}

.testimonials__summary-link:hover {
  text-decoration: underline;
}

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

/* Card no estilo de avaliação do Google */
.review-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.12);
  transition: box-shadow 0.2s var(--ease);
}

.review-card:hover {
  box-shadow: 0 4px 14px rgba(60, 64, 67, 0.18);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.review-card__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--avatar-color, var(--primary));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  object-fit: cover;
}

.review-card__identity {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.review-card__author {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #202124;
}

.review-card__meta {
  font-size: 0.8rem;
  color: #70757a;
}

.review-card__source {
  flex-shrink: 0;
  align-self: flex-start;
}

.review-card__rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.review-card__stars {
  display: inline-flex;
  gap: 1px;
  color: #fbbc04;
}

.review-card__stars svg {
  fill: currentColor;
}

.review-card__stars svg.is-empty {
  fill: #dadce0;
}

.review-card__date {
  font-size: 0.8rem;
  color: #70757a;
}

.review-card__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #3c4043;
}

/* ==========================================================================
   13. APP DOWNLOAD
   ========================================================================== */
.app-download {
  background: var(--primary-light);
  border-top: 0;
}

.app-download__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.app-download__content .tag {
  margin-bottom: 0.5rem;
}

.app-download__title {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.app-download__text {
  margin-top: 0.4rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 172px;
  padding: 0.55rem 1.1rem;
  border: 1px solid #a6a6a6;
  border-radius: 10px;
  background: #000;
  color: var(--white);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.store-badge__icon {
  flex-shrink: 0;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-badge__text small {
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.store-badge__text strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

.store-badges--footer {
  margin-top: 1.4rem;
}

.store-badges--footer .store-badge {
  min-width: 0;
  padding: 0.45rem 0.9rem;
}

.store-badges--footer .store-badge__text strong {
  font-size: 0.95rem;
}

/* ==========================================================================
   14. GALLERY
   ========================================================================== */
.depth-carousel {
  --dc-perspective: 1400px;
  position: relative;
  width: 100%;
  height: 520px; /* recalculado no JS conforme a largura disponível */
  overflow: hidden;
  perspective: var(--dc-perspective);
  perspective-origin: 50% 50%;
  touch-action: pan-y;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.depth-carousel:active {
  cursor: grabbing;
}

.depth-carousel:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}

.depth-carousel__stage {
  position: absolute;
  inset: 0 0 56px;
  transform-style: preserve-3d;
}

.depth-carousel__card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 560px;
  height: 380px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface-green);
  box-shadow: 0 30px 60px -20px rgba(23, 64, 47, 0.45),
    0 8px 20px -10px rgba(23, 64, 47, 0.35);
  transform-origin: center center;
  transform: translate(-50%, -50%);
  will-change: transform, opacity, filter;
  cursor: pointer;
}

.depth-carousel__card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.depth-carousel__img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.depth-carousel__tint {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: var(--primary-darker);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.depth-carousel__arrow {
  position: absolute;
  top: calc(50% - 28px);
  transform: translateY(-50%);
  z-index: 3000;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(23, 64, 47, 0.6);
  backdrop-filter: blur(8px);
  color: var(--white);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.depth-carousel__arrow:hover {
  background: var(--primary);
  border-color: rgba(255, 255, 255, 0.5);
}

.depth-carousel__arrow:active {
  transform: translateY(-50%) scale(0.94);
}

.depth-carousel__arrow--prev {
  left: 12px;
}

.depth-carousel__arrow--next {
  right: 12px;
}

.depth-carousel__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--primary-light);
}

.depth-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--border-strong);
  transition: width 0.25s var(--ease), background-color 0.25s var(--ease);
}

.depth-carousel__dot.is-active {
  width: 22px;
  background: var(--primary);
}

@media (prefers-reduced-motion: reduce) {
  .depth-carousel__card {
    will-change: auto;
  }
}

/* ==========================================================================
   15. FORM
   ========================================================================== */
.contact-form {
  background: var(--primary-darker);
  color: var(--white);
}

.contact-form .tag {
  color: #a9d4bf;
}

.contact-form .section-title {
  color: var(--white);
}

.contact-form__intro {
  margin-bottom: clamp(24px, 3vw, 36px);
}

/* Formulário largo e compacto: campos em pares lado a lado */
.form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1.25rem;
}

.form__row--full,
.form__message-group,
.form__row--checkbox,
.form__feedback {
  grid-column: 1 / -1;
}

.form__message-group {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: end;
}

.form__submit {
  min-height: 56px;
}

.form__message-group .form__textarea {
  height: 56px;
}

.form__row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.form__input {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.form__input:focus {
  border-color: var(--primary);
  background: var(--white);
  outline: none;
}

.form__input.is-invalid {
  border-color: var(--error);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%235c6b62' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
}

.form__textarea {
  resize: vertical;
  min-height: 56px;
}

.form__error {
  font-size: 0.8rem;
  color: var(--error);
}

.form__error:empty {
  display: none;
}

.form__row--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
}

.form__checkbox {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.form__checkbox-label {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form__checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
}

.form__feedback {
  font-size: 0.9rem;
}

.form__feedback:empty {
  display: none;
}

.form__feedback[data-state="success"] {
  color: var(--primary-dark);
  font-weight: 600;
}

.form__feedback[data-state="error"] {
  color: var(--error);
  font-weight: 600;
}


/* ==========================================================================
   16. LOCATION
   ========================================================================== */
.location__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.location__details {
  margin: 1.6rem 0 2rem;
  display: grid;
  gap: 1.1rem;
}

.location__detail dt {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.location__detail dd {
  font-size: 0.98rem;
  color: var(--text);
}

.location__detail a {
  color: var(--text);
}

.location__detail a:hover {
  color: var(--primary);
}

/* Responsável Técnica */
.technical-responsible {
  background: var(--surface);
}

.technical-responsible__title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.technical-responsible__text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.location__iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   17. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--primary-darker);
  color: #cfe2d7;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 2.5rem;
  padding-block: clamp(48px, 6vw, 76px);
}

.site-footer__logo-link {
  display: inline-flex;
  align-items: center;
}

.site-footer__logo {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.site-footer__tagline {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #a9d4bf;
  max-width: 32ch;
}

.site-footer__social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #cfe2d7;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.site-footer__heading {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a9d4bf;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.site-footer__list {
  display: grid;
  gap: 0.7rem;
  font-size: 0.92rem;
}

.site-footer__list a:hover {
  color: var(--white);
}

.site-footer__text {
  font-size: 0.9rem;
  line-height: 1.7;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding-block: 20px;
  font-size: 0.82rem;
  color: #93a89c;
}

.site-footer__credit a {
  color: #93a89c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__credit a:hover {
  color: var(--white);
}

/* ==========================================================================
   18. WHATSAPP / MOBILE CTA
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.whatsapp-float:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-darker);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  visibility: visible;
}

.mobile-cta-bar {
  display: none;
}

/* ==========================================================================
   19. RESPONSIVE
   ========================================================================== */

/* Tablets / small desktops */
@media (max-width: 1024px) {
  .treatments-carousel {
    flex-direction: column;
    min-height: 0;
  }

  .treatments-carousel__menu {
    width: 100%;
    height: 360px;
  }

  .treatments-carousel__chip-item {
    --chip-x: -50%;
    left: 50%;
  }

  .treatments-carousel__chip {
    transform-origin: center;
  }

  .treatments-carousel__showcase {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

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

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

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .implants__inner,
  .location__inner {
    grid-template-columns: 1fr;
  }

  .implants__mascot {
    max-width: 300px;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

/* Mobile navigation */
@media (max-width: 860px) {
  .site-header__inner {
    gap: 1rem;
  }

  .logo__image {
    height: 64px;
  }

  .site-header.is-scrolled .logo__image {
    height: 48px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 84vw);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 96px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    z-index: 95;
    box-shadow: -12px 0 32px rgba(23, 33, 28, 0.12);
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
    width: 100%;
  }

  .site-nav__link {
    font-size: 1.05rem;
    color: var(--text);
    text-shadow: none;
  }

  .hero__inner {
    padding-block: 130px 110px;
  }

  .site-nav__cta {
    display: inline-flex;
    margin-top: 2rem;
    width: 100%;
  }
}

/* Small tablets / large phones */
@media (max-width: 768px) {
  /* Texto da hero desce para a parte inferior, liberando a imagem no topo */
  .hero {
    align-items: flex-end;
  }

  .hero__inner {
    padding-block: 130px 96px;
  }

  /* Enquadra o logo da OdontoCompany (à esquerda do centro no Fundo1) sem cortar */
  .hero__slide:first-child .hero__img {
    object-position: 40% center;
  }

  .treatments-carousel {
    border-radius: 1.8rem;
  }

  .treatments-carousel__menu {
    height: 320px;
  }

  .treatments-carousel__chip {
    font-size: 0.92rem;
  }

  .treatments-carousel__card {
    border-width: 5px;
    border-radius: 1.8rem;
  }

  .treatments-carousel__card.is-prev {
    transform: translateX(-56px) scale(0.85) rotate(-3deg);
  }

  .treatments-carousel__card.is-next {
    transform: translateX(56px) scale(0.85) rotate(3deg);
  }

  .form,
  .form__message-group {
    grid-template-columns: 1fr;
  }

  .form__submit {
    width: 100%;
    white-space: normal;
  }

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

  .implants__steps-list {
    grid-template-columns: 1fr;
  }

  .trust-bar__inner {
    justify-content: flex-start;
    gap: 1.2rem 2.4rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Phones */
@media (max-width: 480px) {
  .container {
    padding-inline: 18px;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

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

  .implants__actions .btn {
    white-space: normal;
  }

  .header-social {
    gap: 0.4rem;
  }

  .header-social__link {
    width: 36px;
    height: 36px;
  }

  .depth-carousel__arrow {
    width: 38px;
    height: 38px;
  }

  .form__row--checkbox {
    align-items: flex-start;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 88px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float__tooltip {
    display: none;
  }

  .mobile-cta-bar {
    display: flex;
    gap: 0.7rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 20px rgba(23, 33, 28, 0.08);
  }

  body {
    padding-bottom: 78px;
  }
}
