/* =========================================================
   Odontologia Rosada
   Paleta rose gold + warm noir, Cormorant Garamond + Inter
   ========================================================= */

:root {
  --bg: #fbf6f2;
  --bg-warm: #f3e9e1;
  --surface: #ffffff;
  --muted: #f6efe9;
  --fg: #2a1f24;
  --fg-soft: #6b5963;
  --fg-mute: #9b8a90;
  --border: #ecdfd6;
  --primary: #b97a5f;
  --primary-hover: #9a5e44;
  --primary-soft: #f3dccf;
  --accent: #e8b5a3;
  --gold: #c9a36b;
  --dark: #1f1418;
  --dark-soft: #2d1f23;
  --shadow-sm: 0 2px 8px rgba(80, 40, 30, 0.06);
  --shadow-md: 0 14px 40px rgba(80, 40, 30, 0.12);
  --shadow-lg: 0 30px 80px rgba(80, 40, 30, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --container: 1200px;
  --header-h: 72px;
  --grad-warm: linear-gradient(135deg, #fbf6f2 0%, #f6e5db 100%);
  --grad-primary: linear-gradient(135deg, #b97a5f 0%, #d49a7c 100%);
  --grad-dark: linear-gradient(135deg, #1f1418 0%, #3a2228 100%);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Skeleton shimmer para campos dinâmicos da API ── */
@keyframes sk-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.sk {
  color: transparent !important;
  background: linear-gradient(90deg, var(--border) 25%, var(--bg-warm) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: sk-shimmer 1.4s ease-in-out infinite;
  border-radius: 4px;
  pointer-events: none;
  user-select: none;
  min-width: 4ch;
  display: inline-block;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 40px);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color .2s;
}

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

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
}

h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
}

h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}

h3 {
  font-size: 1.4rem;
}

p {
  margin: 0 0 1em;
  color: var(--fg-soft);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =================== BUTTONS =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 17px 32px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(185, 122, 95, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(185, 122, 95, 0.65);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}

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

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--primary);
}

.btn-white {
  background: #fff;
  color: var(--dark);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--dark);
}

/* =================== ANNOUNCEMENT =================== */
.announcement {
  background: var(--dark);
  color: #f5e9e0;
  font-size: 0.85rem;
  padding: 10px 0;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  flex-wrap: wrap;
}

.announcement strong {
  color: var(--accent);
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(232, 181, 163, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 181, 163, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(232, 181, 163, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(232, 181, 163, 0);
  }
}

/* =================== HEADER =================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 242, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(236, 223, 214, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  max-width: 55%;
}

.logo span {
  color: var(--primary);
  font-style: italic;
}

.logo-image {
  max-height: 54px;
  max-width: 240px;
  width: 100%;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 0.9rem;
  color: var(--fg-soft);
  font-weight: 500;
  position: relative;
}

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

.nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}

.nav a:hover::after {
  transform: scaleX(1);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  color: var(--fg);
  cursor: pointer;
}

.menu-toggle svg {
  width: 26px;
  height: 26px;
}

/* =================== HERO =================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background: var(--grad-warm);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(800px circle at 85% 20%, rgba(232, 181, 163, 0.35), transparent 50%),
    radial-gradient(600px circle at 10% 80%, rgba(201, 163, 107, 0.18), transparent 50%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 18px;
}

.eyebrow.light {
  color: var(--accent);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.hero .lead {
  font-size: 1.12rem;
  color: var(--fg-soft);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.procedure-search {
  max-width: 640px;
  padding: 26px;
  margin: 2px 0 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(185, 122, 95, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(80, 40, 30, 0.14);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.procedure-search::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--grad-primary);
}

.procedure-search-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.procedure-search-head strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.1;
  color: var(--fg);
}

.procedure-search-head span,
.procedure-search-empty span {
  font-size: 0.86rem;
  color: var(--fg-soft);
}

.procedure-search-form {
  margin: 0;
}

.procedure-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid rgba(185, 122, 95, 0.26);
  border-radius: 999px;
  padding: 0 18px;
  transition: border-color .2s, box-shadow .2s;
}

.procedure-search-field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(185, 122, 95, 0.12);
}

.procedure-search-field svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex: 0 0 auto;
}

.procedure-search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 17px 0;
  font: inherit;
  font-size: 1rem;
  color: var(--fg);
  background: transparent;
}

.procedure-search-field input::placeholder {
  color: var(--fg-mute);
}

.procedure-search-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.procedure-search-chips button {
  border: 1px solid rgba(185, 122, 95, 0.2);
  background: #fff;
  color: var(--fg-soft);
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.procedure-search-chips button:hover,
.procedure-search-chips button:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.procedure-search-results {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.procedure-search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(185, 122, 95, 0.2);
  border-radius: var(--radius-sm);
  color: var(--fg);
}

.procedure-search-result:hover {
  border-color: var(--primary);
  color: var(--fg);
  box-shadow: var(--shadow-sm);
}

.procedure-search-result strong {
  display: block;
  margin-bottom: 2px;
  color: var(--fg);
  font-size: 0.95rem;
}

.procedure-search-result span {
  display: block;
  color: var(--fg-soft);
  font-size: 0.82rem;
  line-height: 1.4;
}

.procedure-search-result em {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
}

.procedure-search-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.avatars {
  display: flex;
  min-width: 38px;
}

.avatars:empty {
  display: none;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid var(--bg);
  margin-left: -10px;
  background-size: cover;
  background-position: center;
  flex: 0 0 38px;
}

.avatar.has-photo {
  background: #fff;
  box-shadow: 0 8px 18px rgba(42, 31, 36, 0.12);
  overflow: hidden;
  padding: 2px;
}

.avatar.has-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  object-fit: contain;
}

.avatar:first-child {
  margin-left: 0;
}

.a1 {
  background: linear-gradient(135deg, #f4c2a8, #d49a7c);
}

.a2 {
  background: linear-gradient(135deg, #c9a36b, #b97a5f);
}

.a3 {
  background: linear-gradient(135deg, #e8b5a3, #b97a5f);
}

.a4 {
  background: linear-gradient(135deg, #d4a78a, #8c5a44);
}

.proof-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proof-text span {
  font-size: 0.85rem;
  color: var(--fg-soft);
}

.proof-text strong {
  color: var(--fg);
  font-weight: 600;
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
}

.stars svg {
  width: 14px;
  height: 14px;
}

.hero-image {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  transform: scale(1.02);
}

.floating-card {
  position: absolute;
  background: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

.floating-card strong {
  display: block;
  color: var(--fg);
  font-weight: 600;
}

.floating-card span {
  color: var(--fg-soft);
  font-size: 0.78rem;
}

.fc-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.fc-icon svg {
  width: 20px;
  height: 20px;
}

.card-1 {
  top: 12%;
  left: -24px;
  animation-delay: 0s;
}

.card-2 {
  bottom: 14%;
  right: -16px;
  animation-delay: 1.5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* =================== PROOF STRIP =================== */
.proof-strip {
  background: var(--dark);
  color: #f5e9e0;
  padding: 40px 0;
}

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

.proof-grid div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof-grid strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.proof-grid span {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* =================== SECTIONS =================== */
.section {
  padding: 100px 0;
}

.section-muted {
  background: var(--bg-warm);
}

.section-dark {
  background: var(--grad-dark);
  color: #f5e9e0;
}

.section-dark h2 {
  color: #fff;
}

.section-dark h2 em {
  color: var(--accent);
}

.section-dark p {
  color: rgba(245, 233, 224, 0.75);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

/* =================== PAIN GRID =================== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pain-card {
  display: flex;
  flex-direction: column;
  justify-content: start;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px 24px;
  border-radius: var(--radius);
  transition: all .3s;
}

.pain-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-soft);
  box-shadow: var(--shadow-md);
}

.pain-emoji {
  align-self: center;
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.pain-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 0.92rem;
  margin: 0;
}

/* =================== STEPS =================== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 233, 224, 0.12);
  padding: 36px 30px;
  border-radius: var(--radius);
  position: relative;
  backdrop-filter: blur(10px);
}

.step-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}

.step h3 {
  color: #fff;
  margin-bottom: 12px;
}

.step p {
  color: rgba(245, 233, 224, 0.75);
  font-size: 0.95rem;
}

.step-time {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 12px;
  background: rgba(232, 181, 163, 0.15);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* =================== SERVICES =================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px 30px;
  border-radius: var(--radius);
  transition: all .3s;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--dark);
  color: var(--accent);
  padding: 5px 10px;
  border-radius: 999px;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* =================== TESTIMONIALS / CAROUSEL =================== */
.carousel {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.testimonial {
  min-width: 100%;
  background: var(--surface);
  padding: 48px;
  border-radius: var(--radius-lg);
  text-align: left;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.stars-row {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial .quote {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  line-height: 1.45;
  color: var(--fg);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.t-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

.t-avatar.has-photo {
  background: #fff;
  border: 2px solid var(--border);
  overflow: hidden;
  padding: 2px;
}

.t-avatar.has-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  object-fit: contain;
}

.t1 {
  background: linear-gradient(135deg, #f4c2a8, #d49a7c);
}

.t2 {
  background: linear-gradient(135deg, #c9a36b, #b97a5f);
}

.t3 {
  background: linear-gradient(135deg, #e8b5a3, #b97a5f);
}

.testimonial .name {
  display: block;
  font-weight: 600;
  color: var(--fg);
}

.testimonial .role {
  display: block;
  font-size: 0.85rem;
  color: var(--fg-soft);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--border);
  cursor: pointer;
  transition: all .2s;
  padding: 0;
}

.dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* =================== INSTAGRAM =================== */
.instagram-section {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(243, 233, 225, 0.92)),
    radial-gradient(900px circle at 12% 20%, rgba(201, 163, 107, 0.16), transparent 46%),
    var(--bg);
}

.instagram-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 42px;
  align-items: start;
}

.instagram-copy {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.instagram-copy h2 {
  margin-bottom: 18px;
}

.instagram-copy p {
  max-width: 520px;
}

.instagram-proof-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.instagram-proof-list div {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(185, 122, 95, 0.16);
  border-left: 3px solid var(--primary);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.instagram-proof-list strong,
.instagram-proof-list span {
  display: block;
}

.instagram-proof-list strong {
  color: var(--fg);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.instagram-proof-list span {
  color: var(--fg-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

.instagram-embed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.instagram-post {
  min-width: 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(236, 223, 214, 0.95);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.instagram-post-head {
  margin-bottom: 14px;
}

.instagram-post-head span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.instagram-post-head strong {
  display: block;
  color: var(--fg);
  font-size: 1rem;
  line-height: 1.35;
}

.instagram-post-head p {
  color: var(--fg-soft);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 6px 0 0;
}

.instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 480px; /* reserva espaço antes do iframe carregar — previne CLS */
  margin: 0 auto !important;
  border-radius: 12px !important;
}

.instagram-media a {
  display: grid;
  min-height: 320px;
  place-items: center;
  padding: 24px;
  color: var(--primary);
  text-align: center;
  font-weight: 700;
  background:
    linear-gradient(135deg, rgba(251, 246, 242, 0.92), rgba(243, 220, 207, 0.7)),
    var(--surface);
}

.instagram-consent-placeholder {
  display: grid;
  min-height: 320px;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px dashed rgba(192, 138, 114, 0.45);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 238, 232, 0.88)),
    var(--surface);
}

.instagram-consent-placeholder[hidden] {
  display: none;
}

.instagram-consent-placeholder strong {
  color: var(--fg);
  font-size: 0.98rem;
  line-height: 1.35;
}

.instagram-consent-placeholder p {
  max-width: 38ch;
  margin: 0;
  color: var(--fg-soft);
  font-size: 0.86rem;
  line-height: 1.55;
}

.instagram-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.instagram-post.is-blocked iframe {
  display: none !important;
}

/* Último post sozinho na linha: centraliza com largura máxima */
.instagram-post:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}

/* =================== LEAD MAGNET =================== */
.lead-section {
  background:
    radial-gradient(600px circle at 80% 20%, rgba(232, 181, 163, 0.25), transparent 50%),
    var(--bg-warm);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.lead-bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.lead-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  color: var(--fg);
  font-size: 0.98rem;
}

.lead-bullets svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
  padding: 3px;
  background: var(--primary-soft);
  border-radius: 50%;
}

.lead-form {
  background: var(--surface);
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.lead-form h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.form-sub {
  font-size: 0.9rem;
  color: var(--fg-soft);
  margin-bottom: 24px;
}

.lead-form label {
  display: block;
  margin-bottom: 16px;
}

.lead-form label span {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 6px;
}

.lead-form input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
  transition: all .2s;
}

.phone-row {
  display: grid;
  grid-template-columns: minmax(104px, 0.34fr) 1fr;
  gap: 10px;
  position: relative;
}

.country-picker {
  position: relative;
}

.country-picker-toggle {
  width: 100%;
  height: 100%;
  padding: 13px 12px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--bg);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all .2s;
}

.country-picker-toggle [data-country-dial] {
  margin: 0;
  padding: 0;
  line-height: 1;
}

.country-picker-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.65;
}

.country-flag {
  width: 24px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(35, 31, 32, 0.08);
}

.country-picker-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  width: 176px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  display: none;
}

.country-picker.open .country-picker-menu {
  display: grid;
  gap: 6px;
}

.country-picker-search {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--fg);
}

.country-picker-search:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(185, 122, 95, 0.1);
}

.country-picker-options {
  display: grid;
  gap: 3px;
  max-height: 206px;
  overflow-y: auto;
}

.country-picker-option {
  border: 0;
  border-radius: 10px;
  padding: 9px 10px;
  background: transparent;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
}

.country-picker-option:hover,
.country-picker-option[aria-selected="true"] {
  background: rgba(185, 122, 95, 0.1);
}

.country-picker-option.is-hidden {
  display: none;
}

.country-picker-empty {
  margin: 4px 6px 8px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.lead-form input:focus,
.country-picker-toggle:focus {
  outline: 0;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(185, 122, 95, 0.1);
}

.lead-form input.is-invalid {
  border-color: #b42318;
  background: #fff7f6;
}

.lead-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.lead-form input[type="checkbox"].is-invalid {
  outline: 2px solid rgba(180, 35, 24, 0.35);
  outline-offset: 2px;
}

.phone-row:has(input.is-invalid) .country-picker-toggle {
  border-color: #b42318;
  background: #fff7f6;
}

.lead-form .form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 8px;
}

.lead-form .form-consent span {
  margin: 0;
  color: var(--fg-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.lead-form .form-consent a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.field-error {
  display: none;
  color: #b42318;
  font-size: 0.78rem;
  line-height: 1.35;
  margin-top: 6px;
}

.field-error.show {
  display: block;
}

.form-feedback {
  display: none;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 16px;
  font-size: 0.86rem;
  line-height: 1.4;
}

.form-feedback.show {
  display: block;
}

.form-feedback.error {
  color: #721c24;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
}

.form-feedback.success {
  color: #155724;
  background: #d4edda;
  border: 1px solid #c3e6cb;
}

.form-feedback.success.modern {
  color: var(--fg);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,247,243,0.96)),
    var(--surface);
  border: 1px solid rgba(192, 138, 114, 0.28);
  box-shadow: var(--shadow-md);
  padding: 22px;
  text-align: center;
}

.form-feedback.success.modern .success-orb {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(192, 138, 114, 0.25);
}

.form-feedback.success.modern .success-orb svg {
  width: 28px;
  height: 28px;
}

.form-feedback.success.modern strong,
.form-feedback.success.modern span {
  display: block;
}

.form-feedback.success.modern strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--fg);
  margin-bottom: 8px;
}

.form-feedback.success.modern span {
  color: var(--fg-soft);
  margin-bottom: 16px;
}

.form-feedback.success.modern a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.lead-form.lead-form-sent {
  border-color: rgba(192, 138, 114, 0.32);
}

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-privacy {
  font-size: 0.8rem;
  color: var(--fg-mute);
  text-align: center;
  margin: 14px 0 0;
}

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

.diff-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .25s;
}

.diff-item:hover {
  border-color: var(--primary-soft);
  box-shadow: var(--shadow-sm);
}

.diff-item .service-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin: 0;
}

.diff-item .service-icon svg {
  width: 22px;
  height: 22px;
}

.diff-item h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.diff-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* =================== FAQ =================== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  padding: 20px 24px;
  transition: all .2s;
}

.faq-item[open] {
  border-color: var(--primary-soft);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--fg);
  list-style: none;
  position: relative;
  padding-right: 32px;
  font-size: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 400;
  transition: transform .2s;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 14px 0 0;
  color: var(--fg-soft);
  font-size: 0.95rem;
}

/* =================== CTA BANNER =================== */
.cta-banner {
  position: relative;
  background: var(--grad-dark);
  color: #fff;
  padding: 100px 24px;
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px circle at 80% 30%, rgba(232, 181, 163, 0.25), transparent 50%),
    radial-gradient(500px circle at 20% 80%, rgba(201, 163, 107, 0.18), transparent 50%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: #fff;
}

.cta-banner h2 em {
  color: var(--accent);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.cta-mini {
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* =================== LOCATION =================== */
.location {
  padding: 100px 0;
  background: var(--bg-warm);
}

.location .section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: stretch;
}

.location-info {
  background: var(--surface);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.location-info h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.location-info h3+p {
  margin-bottom: 24px;
}

.location-hours {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.location-hours li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.92rem;
  color: var(--fg-soft);
}

.location-hours li:last-child {
  border: 0;
}

.location-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  box-shadow: var(--shadow-sm);
}

/* =================== FOOTER =================== */
.footer {
  background: var(--dark);
  color: #cfc1c8;
  padding: 64px 0 24px;
  font-size: 0.9rem;
}

.footer h4 {
  font-family: "Inter", sans-serif;
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  padding: 4px 0;
}

.footer a {
  color: #cfc1c8;
}

.footer a:hover {
  color: var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  opacity: 0.7;
}

.footer-bottom-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-bottom-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #cfc1c8;
  cursor: pointer;
  font: inherit;
}

.footer-bottom-links button:hover,
.footer-bottom-links button:focus-visible {
  color: var(--accent);
}

.footer-bottom-links button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* =================== FLOATING ACTIONS =================== */
.search-float,
.wa-float {
  position: fixed;
  right: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  transition: all .25s;
  font-weight: 600;
  font-size: 0.9rem;
}

.search-float {
  bottom: 86px;
  border: 1px solid rgba(185, 122, 95, 0.24);
  background: rgba(255, 255, 255, 0.94);
  color: var(--fg);
  padding: 13px 18px 13px 14px;
  box-shadow: 0 12px 28px rgba(80, 40, 30, 0.16);
  cursor: pointer;
  font-family: inherit;
  backdrop-filter: blur(12px);
}

.search-float:hover,
.search-float:focus-visible {
  transform: translateY(-3px);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(80, 40, 30, 0.2);
}

.search-float svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.wa-float {
  bottom: 24px;
  background: #25d366;
  color: #fff;
  padding: 14px 18px 14px 14px;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.wa-float svg {
  width: 26px;
  height: 26px;
}

.wa-label,
.search-float span {
  white-space: nowrap;
}

/* =================== COOKIE CONSENT =================== */
.cookie-consent {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 440px;
  z-index: 70;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  display: none;
}

.cookie-consent.show {
  display: block;
  animation: slideUp .4s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-consent strong {
  display: block;
  color: var(--fg);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.cookie-consent p {
  font-size: 0.88rem;
  margin: 0 0 14px;
  color: var(--fg-soft);
}

.cookie-consent p a {
  color: var(--primary);
  text-decoration: underline;
}

/* Painel de detalhes */
.cookie-detail {
  border-top: 1px solid var(--border);
  margin-bottom: 14px;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-detail[hidden] { display: none; }

.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-toggle-label {
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.cookie-toggle-label span {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fg);
}

.cookie-toggle-label small {
  display: block;
  font-size: 0.78rem;
  color: var(--fg-mute, var(--fg-soft));
  line-height: 1.4;
}

/* Toggle switch */
.cookie-toggle-switch {
  position: relative;
  flex-shrink: 0;
  width: 38px;
  height: 22px;
  cursor: pointer;
}

.cookie-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle-switch span {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 999px;
  transition: background .25s;
}

.cookie-toggle-switch span::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform .25s;
}

.cookie-toggle-switch input:checked + span {
  background: var(--primary);
}

.cookie-toggle-switch input:checked + span::before {
  transform: translateX(16px);
}

.cookie-toggle-switch input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Toggle sempre ativo (essenciais) */
.cookie-toggle-always {
  cursor: default;
  pointer-events: none;
}

.cookie-toggle-always span {
  background: var(--primary);
  opacity: 0.55;
}

.cookie-toggle-always span::before {
  transform: translateX(16px);
}

.cookie-save-btn {
  align-self: flex-end;
  margin-top: 4px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-actions .btn {
  flex: 1;
  padding: 9px 12px;
  font-size: 0.82rem;
}

/* =================== REVEAL ANIMATION =================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all .7s cubic-bezier(.4, 0, .2, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* =================== RESPONSIVE =================== */
@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .hero-grid,
  .lead-grid,
  .instagram-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .instagram-copy {
    position: static;
  }

  .hero-image-frame {
    transform: none;
    max-width: 480px;
    margin: 0 auto;
  }

  .procedure-search {
    max-width: none;
  }

  .floating-card {
    display: none;
  }

  .pain-grid,
  .services-grid,
  .diff-grid,
  .steps,
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .testimonial {
    padding: 32px 24px;
  }

  .testimonial .quote {
    font-size: 1.2rem;
  }

  .instagram-embed-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .cookie-consent {
    left: 12px;
    right: 12px;
    max-width: none;
    bottom: 90px;
  }

  .wa-label {
    display: none;
  }

  .search-float {
    bottom: 78px;
    padding: 13px;
  }

  .search-float span {
    display: none;
  }

  .wa-float {
    padding: 14px;
  }
}

@media (max-width: 560px) {

  .pain-grid,
  .services-grid,
  .diff-grid,
  .steps,
  .proof-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .procedure-search {
    padding: 20px 18px;
    border-radius: var(--radius);
  }

  .procedure-search-head,
  .procedure-search-empty,
  .procedure-search-result {
    align-items: flex-start;
    flex-direction: column;
  }

  .procedure-search-empty .btn {
    width: 100%;
  }

  .lead-form {
    padding: 28px 22px;
  }

  .cta-banner {
    padding: 70px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .announcement {
    font-size: 0.78rem;
    padding: 8px 0;
  }

  .logo-image {
    max-height: 46px;
    max-width: 200px;
  }

  .header-cta .btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 400px) {
  .logo-image {
    max-height: 38px;
    max-width: 160px;
  }

  .header-cta .btn {
    display: none;
  }
}
