/* =========================================================
   Dular Tintas — estilos
   ========================================================= */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Cores da marca (extraídas da logo) */
  --blue: #2357c4;
  --blue-600: #1d4aa8;
  --blue-800: #133378;
  --blue-900: #0c2257;
  --blue-50: #eef3fd;
  --red: #fe0000;
  --red-text: #d10000; /* vermelho com contraste adequado para textos pequenos */
  --green-wa: #25d366;
  --green-wa-dark: #128c4b;

  /* Paleta de apoio: é uma loja de tintas, então cor não falta */
  --c-blue: #2357c4;
  --c-teal: #0fa3b1;
  --c-teal-text: #0b7c87;
  --c-green: #1f9d55;
  --c-yellow: #ffc629;
  --c-orange: #f26b1d;
  --c-red: #fe0000;
  --c-pink: #e0457b;
  --c-purple: #7b4fd6;

  --rainbow-stripe: linear-gradient(
    90deg,
    var(--c-blue) 0 14.28%,
    var(--c-teal) 0 28.57%,
    var(--c-green) 0 42.85%,
    var(--c-yellow) 0 57.14%,
    var(--c-orange) 0 71.42%,
    var(--c-red) 0 85.71%,
    var(--c-pink) 0
  );
  --rainbow-text: linear-gradient(
    90deg,
    var(--c-blue),
    var(--c-teal) 22%,
    var(--c-green) 40%,
    var(--c-orange) 60%,
    var(--c-red) 78%,
    var(--c-purple)
  );

  --ink: #0f1a33;
  --muted: #4b5672;
  --line: #dfe5f1;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --canvas: #e6e3dc; /* tom da "parede" da arte principal */

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgb(15 26 51 / 6%), 0 2px 8px rgb(15 26 51 / 6%);
  --shadow: 0 10px 30px -10px rgb(15 26 51 / 25%);
  --shadow-lg: 0 24px 60px -20px rgb(12 34 87 / 45%);

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 76px;
  --container: 1160px;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--blue);
}

ul[role="list"],
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.text-rainbow {
  background: var(--rainbow-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--blue-900);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.8em 1.35em;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.975rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.6em 1.1em;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1em 1.6em;
  font-size: 1.025rem;
}

.btn-whatsapp {
  background: var(--green-wa-dark);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgb(18 140 75 / 70%);
}

.btn-whatsapp:hover {
  background: #0f7a41;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgb(35 87 196 / 70%);
}

.btn-primary:hover {
  background: var(--blue-600);
}

.btn-ghost {
  background: #fff;
  color: var(--blue-800);
  border-color: var(--line);
}

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

.btn-light {
  background: #fff;
  color: var(--green-wa-dark);
  box-shadow: var(--shadow);
}

.btn-light .icon {
  color: var(--green-wa);
}

/* ---------- Cabeçalho ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 94%);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--rainbow-stripe);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

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

.brand img {
  width: 170px;
  height: auto;
}

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

.site-nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}

.site-nav ul a:hover {
  color: var(--blue);
  background: var(--blue-50);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--blue-900);
  cursor: pointer;
}

.nav-toggle .icon {
  width: 24px;
  height: 24px;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 920px) {
  :root {
    --header-h: 68px;
  }

  .brand img {
    width: 140px;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .site-nav ul a {
    padding: 12px;
    font-size: 1.05rem;
  }

  .site-nav .btn {
    padding: 0.9em;
    font-size: 1rem;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 150px;
  background: var(--canvas);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-800);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.badge-dots {
  display: inline-flex;
}

.badge-dots i {
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--c-blue);
}

.badge-dots i + i {
  margin-left: -4px;
}

.badge-dots i:nth-child(2) {
  background: var(--c-yellow);
}

.badge-dots i:nth-child(3) {
  background: var(--c-red);
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--blue-900);
  text-wrap: balance;
}

.hero-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 34em;
  margin-bottom: 32px;
  color: #3d4760;
  font-size: 1.125rem;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-art {
  margin-right: -40px;
}

.hero-art img {
  width: 100%;
  height: auto;
  /* esfuma as bordas da arte para ela se misturar ao fundo do site */
  --fade-x: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  --fade-y: linear-gradient(to bottom, transparent, #000 12%, #000 86%, transparent);
  -webkit-mask-image: var(--fade-x), var(--fade-y);
  -webkit-mask-composite: source-in;
  mask-image: var(--fade-x), var(--fade-y);
  mask-composite: intersect;
}

.hero-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 120px;
}

.wave-yellow { fill: var(--c-yellow); }
.wave-red { fill: var(--c-red); }
.wave-teal { fill: var(--c-teal); }
.wave-blue { fill: var(--blue); }

@media (max-width: 960px) {
  .hero {
    padding: 8px 0 120px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-art {
    order: -1;
    max-width: 560px;
    margin: 0 auto 8px;
  }

  .hero-waves {
    height: 90px;
  }
}

@media (max-width: 520px) {
  .hero-lead {
    font-size: 1.05rem;
  }

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

/* ---------- Números ---------- */

.stats {
  background: var(--blue);
  color: #fff;
  padding: 8px 0 48px;
}

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

.stat {
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
}

.stat-yellow { --accent: var(--c-yellow); }
.stat-teal { --accent: #5fe0ea; }
.stat-pink { --accent: #ff9cc3; }

.stat-number {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
}

.stat-number small {
  font-size: 0.45em;
  font-weight: 700;
  font-style: normal;
}

.stat-label {
  margin: 0;
  font-weight: 500;
  color: rgb(255 255 255 / 90%);
}

@media (max-width: 720px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .stat {
    padding: 14px 18px;
  }
}

/* ---------- Seções ---------- */

.section {
  padding: 96px 0;
}

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

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

.section-head p:last-child {
  color: var(--muted);
  font-size: 1.075rem;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red-text);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--blue-900);
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

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

/* ---------- Sistema tintométrico ---------- */

.section-colors {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(420px 320px at 0% 10%, rgb(255 198 41 / 18%), transparent 70%),
    radial-gradient(460px 360px at 100% 30%, rgb(224 69 123 / 12%), transparent 70%),
    radial-gradient(520px 380px at 20% 100%, rgb(15 163 177 / 14%), transparent 70%),
    #fff;
}

.section-colors h2 {
  font-style: italic;
  font-weight: 900;
}

.colors-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.simulator {
  padding: 16px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.room {
  overflow: hidden;
  border-radius: 14px;
}

.room-art {
  width: 100%;
  height: auto;
}

.room-wall {
  fill: var(--wall);
  transition: fill 0.45s ease;
}

.simulator-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px 6px;
}

.simulator-current {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 600;
}

.current-chip {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--wall);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 12%);
  transition: background-color 0.45s ease;
}

.chips {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px 6px;
  padding: 8px 0 4px;
}

.chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.chip::before {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 10%);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.chip:hover::before {
  transform: scale(1.1);
}

.chip[aria-pressed="true"]::before {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c);
  transform: scale(1.05);
}

.chip span {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--muted);
  text-align: center;
}

.chip[aria-pressed="true"] span {
  color: var(--ink);
  font-weight: 800;
}

.simulator-note {
  margin: 10px 4px 0;
  font-size: 0.78rem;
  color: var(--muted);
}

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

.step {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.step-blue { --accent: var(--c-blue); }
.step-orange { --accent: var(--c-orange); }
.step-green { --accent: var(--c-green); }

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 900;
}

.step h3 {
  margin-bottom: 4px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-900);
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.colors-cta {
  width: 100%;
}

@media (max-width: 960px) {
  .colors-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .simulator {
    padding: 10px;
    border-radius: 18px;
  }

  .chips {
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  }

  .chip::before {
    width: 36px;
    height: 36px;
  }
}

/* ---------- Produtos ---------- */

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

.card {
  position: relative;
  overflow: hidden;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--accent);
}

.card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 16px 36px -16px color-mix(in srgb, var(--accent) 55%, transparent);
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue-900);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 14%, #fff);
  color: var(--accent);
}

.card-icon .icon {
  width: 26px;
  height: 26px;
}

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

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

  .card {
    padding: 26px 22px 22px;
  }
}

/* ---------- Sobre ---------- */

.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.about-copy > p {
  color: var(--muted);
  font-size: 1.075rem;
}

.about-copy strong {
  color: var(--ink);
}

.checklist {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
}

.checklist .icon {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 30px;
  bottom: 30px;
  width: 3px;
  background: linear-gradient(var(--c-blue), var(--c-teal), var(--c-red));
  opacity: 0.45;
}

.timeline li {
  position: relative;
  padding: 22px 24px 22px 72px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 28px;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-mark {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
}

.timeline h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
  font-weight: 800;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background:
    radial-gradient(360px 260px at 8% 0%, rgb(255 198 41 / 55%), transparent 70%),
    radial-gradient(380px 280px at 30% 110%, rgb(15 163 177 / 55%), transparent 70%),
    radial-gradient(420px 300px at 78% -10%, rgb(224 69 123 / 55%), transparent 70%),
    radial-gradient(420px 300px at 100% 100%, rgb(254 0 0 / 45%), transparent 70%),
    var(--blue-800);
  color: #fff;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta h2 {
  margin-bottom: 8px;
  color: #fff;
  font-style: italic;
  font-weight: 900;
  text-shadow: 0 2px 16px rgb(12 34 87 / 45%);
}

.cta p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 10px rgb(12 34 87 / 55%);
}

@media (max-width: 760px) {
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta .btn {
    width: 100%;
  }
}

/* ---------- Localização ---------- */

.location {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 20px;
  margin: 28px 0 32px;
  font-style: normal;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-item a {
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 13%, #fff);
  color: var(--accent);
}

.hours {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 2px 20px;
  margin-top: 2px;
}

.hours span:nth-child(odd) {
  color: var(--muted);
}

.hours span:nth-child(even) {
  font-weight: 700;
}

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 6px;
  padding: 3px 12px 3px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.open-status[hidden] {
  display: none;
}

.open-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.open-status.is-open {
  background: #e6f8ee;
  color: var(--green-wa-dark);
}

.open-status.is-closed {
  background: #fdecec;
  color: var(--red-text);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.map::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 5px;
  background: var(--rainbow-stripe);
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

@media (max-width: 960px) {
  .location {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 520px) {
  .location-actions .btn {
    flex: 1 1 100%;
  }
}

/* ---------- Dúvidas ---------- */

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-inline: auto;
}

.faq-list details {
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: box-shadow 0.2s;
}

.faq-list details[open] {
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  font-weight: 700;
  color: var(--blue-900);
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}

.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

/* ---------- Rodapé ---------- */

.site-footer {
  position: relative;
  padding: 64px 0 24px;
  background: var(--blue-900);
  color: rgb(255 255 255 / 82%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--rainbow-stripe);
}

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

.footer-brand img {
  width: 150px;
  height: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-style: italic;
  font-weight: 700;
  color: #fff;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-col ul {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 760px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer {
    padding-bottom: 96px; /* espaço para o botão flutuante */
  }
}

/* ---------- Botão flutuante do WhatsApp ---------- */

.whatsapp-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--green-wa);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgb(18 140 75 / 55%), 0 4px 10px rgb(0 0 0 / 12%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--green-wa);
  animation: wa-pulse 2.4s ease-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

.whatsapp-float .icon {
  width: 30px;
  height: 30px;
}

.whatsapp-float-label {
  color: #06361c;
}

@keyframes wa-pulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@media (max-width: 760px) {
  .whatsapp-float {
    width: 60px;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-float-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* ---------- Animações de entrada ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@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;
  }

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