/* ============================================================
   Clínica Girassol · modelo dentista-3 · portfólio Lins Web
   Todo o esquema de cores deriva de --primary / --secondary.
   O widget picker.js sobrescreve as 4 primeiras variáveis.
   ============================================================ */

:root {
  /* trocáveis ao vivo (picker.js) */
  --primary: #f2665e;
  --secondary: #2bb3a3;
  --on-primary: #ffffff;
  --on-secondary: #ffffff;

  /* neutros fixos (permitidos) */
  --cream: #fff8f2;
  --card: #ffffff;

  /* derivados: SEMPRE via color-mix a partir das 2 variáveis */
  --ink: color-mix(in oklab, var(--primary) 12%, #241a16);
  --ink-soft: color-mix(in oklab, var(--primary) 10%, #6b5b53);

  --primary-soft: color-mix(in oklab, var(--primary), white 88%);
  --primary-softer: color-mix(in oklab, var(--primary), white 94%);
  --primary-tint: color-mix(in oklab, var(--primary), white 45%);
  --primary-deep: color-mix(in oklab, var(--primary), black 18%);
  --primary-deeper: color-mix(in oklab, var(--primary), black 30%);
  --primary-ink: color-mix(in oklab, var(--primary) 40%, #241a16);

  --secondary-soft: color-mix(in oklab, var(--secondary), white 86%);
  --secondary-softer: color-mix(in oklab, var(--secondary), white 93%);
  --secondary-tint: color-mix(in oklab, var(--secondary), white 45%);
  --secondary-deep: color-mix(in oklab, var(--secondary), black 25%);
  --secondary-ink: color-mix(in oklab, var(--secondary) 38%, #241a16);

  --band-bg: color-mix(in oklab, var(--primary), black 22%);
  --footer-bg: color-mix(in oklab, var(--secondary), black 62%);
  --footer-text: color-mix(in oklab, var(--secondary), white 82%);
  --footer-muted: color-mix(in oklab, var(--secondary), white 62%);

  --ring: color-mix(in oklab, var(--secondary), black 28%);
  --border-warm: color-mix(in srgb, var(--primary), transparent 82%);
  --shadow-warm: 0 16px 40px color-mix(in srgb, var(--primary), transparent 88%);
  --shadow-warm-lg: 0 24px 60px color-mix(in srgb, var(--primary), transparent 84%);

  --radius: 24px;
  --radius-sm: 20px;
  --radius-lg: 28px;
}

/* ------------------------------------------------ reset & base */

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
}

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

ul {
  list-style: none;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.01em;
}

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

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--secondary-deep);
  color: var(--on-secondary);
  padding: 10px 18px;
  border-radius: 0 0 14px 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

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

section {
  scroll-margin-top: 110px;
}

/* ------------------------------------------------ utilitários */

.kicker {
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: color-mix(in oklab, var(--primary), black 34%);
  margin-bottom: 8px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

/* rabisco sob a palavra-chave */
.squig {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.squig svg {
  position: absolute;
  left: -3%;
  bottom: -0.28em;
  width: 106%;
  height: 0.42em;
  overflow: visible;
}

.squig svg path {
  fill: none;
  stroke: var(--secondary);
  stroke-width: 5;
  stroke-linecap: round;
}

.squig-p svg path {
  stroke: var(--primary);
}

/* botões */
.btn {
  display: inline-block;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-solid {
  background: color-mix(in oklab, var(--primary), black 18%);
  color: var(--on-primary);
  box-shadow: var(--shadow-warm);
}

.btn-solid:hover {
  background: color-mix(in oklab, var(--primary), black 30%);
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 1.1rem;
  padding: 16px 34px;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* doodles flutuantes */
.doodle {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.doodle path,
.doodle line,
.doodle circle {
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.doodle .dot {
  fill: currentColor;
  stroke: none;
}

.doodle-tooth {
  color: var(--primary-tint);
  width: 64px;
}

.doodle-tooth path,
.doodle-tooth circle {
  stroke: currentColor;
}

.doodle-star {
  width: 44px;
}

.doodle-star path {
  stroke: var(--secondary-tint);
}

.doodle-flower {
  width: 72px;
}

.doodle-flower .petals line {
  stroke: var(--primary-tint);
  stroke-width: 3;
}

.doodle-flower .core {
  stroke: var(--secondary-tint);
  stroke-width: 2.4;
}

@media (prefers-reduced-motion: no-preference) {
  .doodle {
    animation: floaty 7s ease-in-out infinite;
  }

  .doodle-star {
    animation-duration: 9s;
    animation-delay: 1.2s;
  }

  .doodle-flower {
    animation-duration: 11s;
    animation-delay: 0.6s;
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  50% {
    transform: translateY(-14px) rotate(4deg);
  }
}

/* ------------------------------------------------ topbar */

.topbar {
  background: color-mix(in oklab, var(--secondary), black 25%);
  color: var(--on-secondary);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 16px;
}

/* ------------------------------------------------ header / nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 242, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-warm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--ink);
}

.logo-flower {
  width: 38px;
  height: 38px;
  flex: none;
}

.logo-petals line {
  stroke: var(--primary);
  stroke-width: 3.4;
  stroke-linecap: round;
}

.logo-core {
  fill: none;
  stroke: var(--secondary);
  stroke-width: 3;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-list a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color 0.2s ease;
}

.nav-list a:hover {
  color: color-mix(in oklab, var(--primary), black 30%);
}

.nav-cta {
  padding: 11px 22px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 12px 10px;
  background: var(--primary-soft);
  border: 0;
  border-radius: 14px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2.6px;
  border-radius: 2px;
  background: var(--primary-ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7.6px) rotate(45deg);
}

.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7.6px) rotate(-45deg);
}

@media (max-width: 880px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--cream);
    border-bottom: 1px solid var(--border-warm);
    box-shadow: var(--shadow-warm-lg);
    padding: 16px 20px 22px;
  }

  .nav-open .nav {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 12px 10px;
    font-size: 1.05rem;
    border-radius: 12px;
  }

  .nav-list a:hover {
    background: var(--primary-softer);
  }

  .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ------------------------------------------------ hero */

.hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px);
  overflow: clip;
}

.doodle-hero-star {
  top: 12%;
  right: 6%;
}

.doodle-hero-tooth {
  bottom: 8%;
  left: 3%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 32rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 270px;
}

.hero-trust p {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.hero-trust strong {
  color: var(--ink);
}

.trust-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--secondary-soft);
}

.trust-ico svg {
  width: 22px;
  height: 22px;
}

.trust-ico svg path {
  fill: none;
  stroke: var(--secondary-ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -6% -4% auto auto;
  width: 78%;
  aspect-ratio: 1;
  background: var(--secondary-soft);
  border-radius: 62% 38% 46% 54% / 48% 55% 45% 52%;
  z-index: -1;
}

.hero-blob {
  border-radius: 58% 42% 55% 45% / 52% 48% 52% 48%;
  overflow: hidden;
  box-shadow: var(--shadow-warm-lg);
}

.hero-blob img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-kid {
  position: absolute;
  left: -5%;
  bottom: -9%;
  width: 40%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid var(--cream);
  box-shadow: var(--shadow-warm);
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
  }

  .doodle-hero-tooth {
    display: none;
  }
}

/* ------------------------------------------------ fases */

.fases {
  padding-block: clamp(56px, 8vw, 100px);
}

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

.fase-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-warm);
  border: 1px solid var(--border-warm);
}

.fase-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.fase-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.fase-ico {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 42% 58% 55% 45% / 55% 45% 55% 45%;
  margin-bottom: 18px;
}

.fase-ico svg {
  width: 32px;
  height: 32px;
}

.fase-ico svg path,
.fase-ico svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fase-ico svg .dot {
  fill: currentColor;
  stroke: none;
}

.fase-ico-p {
  background: var(--primary-soft);
  color: var(--primary-ink);
}

.fase-ico-s {
  background: var(--secondary-soft);
  color: var(--secondary-ink);
}

@media (max-width: 880px) {
  .fase-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
}

/* ------------------------------------------------ serviços */

.servicos {
  position: relative;
  padding-block: clamp(56px, 8vw, 100px);
  overflow: clip;
}

.doodle-serv-star {
  top: 9%;
  right: 4%;
}

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

.tile {
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-warm);
}

.tile:nth-child(odd) {
  background: var(--primary-soft);
  color: var(--primary-ink);
}

.tile:nth-child(even) {
  background: var(--secondary-soft);
  color: var(--secondary-ink);
}

.tile h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.tile p {
  font-size: 0.97rem;
}

.tile-ico {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50% 50% 45% 55% / 55% 48% 52% 45%;
  background: var(--card);
  margin-bottom: 18px;
}

.tile-ico svg {
  width: 30px;
  height: 30px;
}

.tile-ico svg path,
.tile-ico svg circle,
.tile-ico svg rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 980px) {
  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .tile-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------ odontopediatria */

.pedia {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px);
  background: var(--secondary-softer);
  overflow: clip;
}

.doodle-pedia-flower {
  bottom: 7%;
  right: 4%;
}

.pedia-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.pedia-blob {
  border-radius: 45% 55% 48% 52% / 55% 45% 55% 45%;
  overflow: hidden;
  box-shadow: var(--shadow-warm-lg);
}

.pedia-blob img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.pedia-copy h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 14px;
}

.pedia-sub {
  color: var(--ink-soft);
  margin-bottom: 26px;
}

.check-list {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.check-list strong {
  color: var(--ink);
}

.check-list div {
  color: var(--ink-soft);
  font-size: 0.99rem;
}

.check-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--card);
  box-shadow: var(--shadow-warm);
}

.check-ico svg {
  width: 18px;
  height: 18px;
}

.check-ico svg path {
  fill: none;
  stroke: var(--secondary-ink);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.selo {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 2px dashed color-mix(in oklab, var(--secondary), white 30%);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

.selo strong {
  color: var(--secondary-ink);
}

.selo-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-soft);
}

.selo-ico svg {
  width: 26px;
  height: 26px;
}

.selo-ico svg path {
  fill: none;
  stroke: var(--primary-ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 880px) {
  .pedia-grid {
    grid-template-columns: 1fr;
  }

  .doodle-pedia-flower {
    display: none;
  }
}

/* ------------------------------------------------ equipe */

.equipe {
  padding-block: clamp(56px, 8vw, 100px);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: clamp(28px, 4vw, 56px);
}

.team-card {
  text-align: center;
}

.team-blob {
  overflow: hidden;
  box-shadow: var(--shadow-warm-lg);
  margin-bottom: 22px;
}

.team-blob-a {
  border-radius: 55% 45% 52% 48% / 48% 58% 42% 52%;
}

.team-blob-b {
  border-radius: 45% 55% 48% 52% / 52% 42% 58% 48%;
}

.team-blob img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.35rem;
}

.team-role {
  font-weight: 700;
  font-size: 0.92rem;
  color: color-mix(in oklab, var(--primary), black 34%);
  margin: 4px 0 10px;
}

.team-line {
  color: var(--ink-soft);
  font-size: 0.98rem;
  font-style: italic;
  max-width: 30rem;
  margin-inline: auto;
}

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: minmax(0, 420px);
  }
}

/* ------------------------------------------------ depoimentos */

.depoimentos {
  padding-block: clamp(56px, 8vw, 100px);
  background: var(--primary-softer);
}

.depo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.depo-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-warm);
}

/* rabinho do balão de fala */
.depo-card::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 40px;
  border: 14px solid transparent;
  border-top-color: var(--card);
  border-bottom: 0;
  border-right-width: 6px;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

.stars svg {
  width: 19px;
  height: 19px;
  fill: var(--primary);
}

.depo-card blockquote {
  font-size: 0.99rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.depo-card figcaption {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--ink);
}

@media (max-width: 980px) {
  .depo-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

/* ------------------------------------------------ família + números */

.familia {
  padding-block: clamp(56px, 8vw, 100px);
}

.familia .section-head {
  margin-inline: auto;
  text-align: center;
}

.family-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-warm-lg);
}

.family-photo img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--band-bg);
  color: var(--on-primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-warm-lg);
  padding: 30px clamp(20px, 4vw, 48px);
  margin: -54px auto 0;
  width: min(880px, calc(100% - 32px));
  text-align: center;
}

.stats strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  line-height: 1.1;
}

.stat-star {
  width: 0.72em;
  height: 0.72em;
  fill: currentColor;
}

.stats span {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.92;
  margin-top: 4px;
}

@media (max-width: 640px) {
  .family-photo img {
    aspect-ratio: 4 / 3;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: -34px;
  }
}

/* ------------------------------------------------ FAQ */

.faq {
  padding-block: clamp(56px, 8vw, 100px);
}

.faq-inner {
  max-width: 780px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  background: var(--card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-warm);
  overflow: hidden;
}

.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  padding: 20px 62px 20px 24px;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--secondary-soft);
  color: var(--secondary-ink);
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  transition: rotate 0.25s ease;
}

.faq-list details[open] summary::after {
  rotate: 45deg;
}

.faq-body {
  padding: 0 24px 22px;
}

.faq-body p {
  color: var(--ink-soft);
  font-size: 0.99rem;
}

/* ------------------------------------------------ contato */

.contato {
  padding-block: clamp(56px, 8vw, 104px);
  background: var(--secondary-softer);
}

.contato-sub {
  color: var(--ink-soft);
  margin-top: 10px;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.contato-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-warm);
  padding: clamp(26px, 4vw, 40px);
}

.contato-list {
  display: grid;
  gap: 24px;
}

.contato-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contato-list strong {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.contato-list p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.contato-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
  background: var(--primary-soft);
}

.contato-list li:nth-child(even) .contato-ico {
  background: var(--secondary-soft);
}

.contato-ico svg {
  width: 24px;
  height: 24px;
}

.contato-ico svg path,
.contato-ico svg circle {
  fill: none;
  stroke: var(--primary-ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contato-list li:nth-child(even) .contato-ico svg path,
.contato-list li:nth-child(even) .contato-ico svg circle {
  stroke: var(--secondary-ink);
}

/* mapa placeholder */
.mapa {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-warm);
  background:
    linear-gradient(135deg, var(--secondary-soft), var(--primary-soft));
}

.mapa::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.5) 2px, transparent 2px) 0 0 / 100% 72px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 2px, transparent 2px) 0 0 / 88px 100%;
  opacity: 0.55;
}

.mapa-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -76%;
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 10px 14px color-mix(in srgb, var(--primary), transparent 60%));
}

.mapa-pin path {
  fill: var(--primary);
  stroke: none;
}

.mapa-pin circle {
  fill: var(--cream);
  stroke: none;
}

@media (prefers-reduced-motion: no-preference) {
  .mapa-pin {
    animation: pin-hop 2.6s ease-in-out infinite;
  }

  @keyframes pin-hop {
    0%,
    100% {
      translate: -50% -76%;
    }

    50% {
      translate: -50% -92%;
    }
  }
}

.mapa-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: var(--card);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.88rem;
  border-radius: 999px;
  padding: 9px 18px;
  box-shadow: var(--shadow-warm);
}

@media (max-width: 880px) {
  .contato-grid {
    grid-template-columns: 1fr;
  }

  .mapa {
    min-height: 280px;
  }
}

/* ------------------------------------------------ footer */

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: end;
  padding-bottom: 30px;
  border-bottom: 1px solid color-mix(in srgb, var(--footer-text), transparent 82%);
}

.footer-flower {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
}

.footer-flower .petals line {
  stroke: color-mix(in oklab, var(--primary), white 25%);
  stroke-width: 3.4;
  stroke-linecap: round;
}

.footer-flower .core {
  fill: none;
  stroke: color-mix(in oklab, var(--secondary), white 55%);
  stroke-width: 3;
}

.footer-name {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
}

.footer-tag {
  font-size: 0.95rem;
  color: var(--footer-muted);
  max-width: 30rem;
  margin-top: 6px;
}

.footer-info {
  font-size: 0.92rem;
  color: var(--footer-muted);
  display: grid;
  gap: 6px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.85rem;
  color: var(--footer-muted);
}

.footer-credit a {
  color: var(--footer-text);
  font-weight: 700;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-legal {
    flex-direction: column;
  }
}

/* ------------------------------------------------ reduced motion */

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

  .btn,
  .tile,
  .nav-toggle-bar {
    transition: none;
  }
}

/* ------------------------------------------------ telas pequenas */

@media (max-width: 420px) {
  body {
    font-size: 1rem;
  }

  .container {
    width: calc(100% - 32px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

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