/* ==========================================================================
   Evolucare — landing page
   ========================================================================== */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/figtree.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fraunces.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fraunces-italic.woff2') format('woff2');
}

:root {
  --paper: #f7f4ee;
  --sand: #eee8dd;
  --white: #fffdf9;
  --ink: #0b1b33;
  --ink-soft: #46526a;
  --ink-mute: #6b7487;
  --blue: #0061fe;
  --blue-deep: #0049c2;
  --cyan: #0bcfff;
  --navy: #0a1830;
  --wa: #25d366;
  --line: rgba(11, 27, 51, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 72px;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Tipografia ---------- */

.display,
.h2,
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.display {
  font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.5rem);
  line-height: 1.06;
  text-wrap: balance;
}

.h3 {
  font-size: clamp(1.55rem, 1.25rem + 1vw, 2.1rem);
  line-height: 1.12;
}

.display em,
.h2 em {
  font-style: italic;
  font-weight: 350;
  color: var(--blue);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow .mark {
  width: 14px;
  height: 14px;
  flex: none;
}

.lead {
  font-size: clamp(1.075rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 34em;
}

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

.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 1.0625rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 24px -12px rgba(0, 73, 194, 0.7);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
}

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

.btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.btn--sm {
  min-height: 44px;
  padding: 0 18px 0 14px;
  font-size: 0.9375rem;
  gap: 8px;
  box-shadow: none;
}
.btn--sm svg {
  width: 18px;
  height: 18px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.link-arrow:hover {
  color: var(--blue);
  gap: 12px;
}
.link-arrow svg {
  width: 16px;
  height: 16px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

@supports (backdrop-filter: blur(1px)) {
  .site-header {
    background: rgba(247, 244, 238, 0.82);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
  }
}

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

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

.brand {
  display: block;
  flex: none;
}
.brand img {
  width: clamp(124px, 10vw + 60px, 158px);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.nav-links {
  display: flex;
  gap: clamp(20px, 2.6vw, 34px);
}

.nav-links a {
  position: relative;
  font-size: 0.9688rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 420px) {
  .site-header .btn--sm .btn-label {
    display: none;
  }
  .site-header .btn--sm {
    width: 44px;
    padding: 0;
  }
}

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

.hero {
  padding-block: clamp(28px, 5vw, 64px) clamp(56px, 7vw, 96px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.hero-copy .eyebrow {
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.hero-copy .display {
  margin-bottom: clamp(20px, 2.4vw, 28px);
}

.hero-copy .lead {
  margin-bottom: clamp(28px, 3.4vw, 40px);
}

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

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 0.9375rem;
  color: var(--ink-mute);
}
.hero-note .dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wa);
  flex: none;
}
.hero-note .dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--wa);
  opacity: 0;
  animation: ping 2.4s var(--ease) infinite;
}

@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  80%,
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.hero-media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 540px;
}

.arch {
  position: relative;
  overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--sand);
  aspect-ratio: 3 / 4;
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media .arch {
  max-height: calc(100svh - var(--header-h) - 80px);
  min-height: 420px;
  margin-left: auto;
}

.hero-badge {
  position: absolute;
  left: clamp(-56px, -4vw, -16px);
  bottom: clamp(24px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(11, 27, 51, 0.06), 0 18px 40px -18px rgba(11, 27, 51, 0.35);
}
.hero-badge-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e8f0ff;
  color: var(--blue);
  flex: none;
}
.hero-badge-icon svg {
  width: 22px;
  height: 22px;
}
.hero-badge strong {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.3;
}
.hero-badge span {
  display: block;
  font-size: 0.8438rem;
  color: var(--ink-mute);
  line-height: 1.35;
}

.hero-mark {
  position: absolute;
  top: 8%;
  right: -22px;
  width: 64px;
  height: 64px;
  color: var(--cyan);
  opacity: 0.9;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-media {
    justify-self: stretch;
    max-width: none;
  }
  .hero-media .arch {
    aspect-ratio: 4 / 5;
    max-height: none;
    min-height: 0;
    margin-inline: auto;
    max-width: 560px;
  }
  .hero-badge {
    left: 12px;
    right: auto;
    bottom: 16px;
  }
  .hero-mark {
    right: 6px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 520px) {
  .hero-actions .btn {
    width: 100%;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-actions .link-arrow {
    margin-inline: auto;
  }
  .hero-note {
    justify-content: center;
  }
}

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

.section {
  padding-block: clamp(72px, 10vw, 140px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: 24px clamp(32px, 6vw, 96px);
  margin-bottom: clamp(44px, 6vw, 80px);
}
.section-head .eyebrow {
  margin-bottom: 18px;
}
.section-head .lead {
  justify-self: end;
}

@media (max-width: 860px) {
  .section-head {
    grid-template-columns: 1fr;
  }
  .section-head .lead {
    justify-self: start;
  }
}

/* ---------- Serviços ---------- */

.services {
  border-top: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 5vw, 72px) clamp(28px, 4vw, 56px);
}

.feature:nth-child(2) {
  margin-top: clamp(0px, 8vw, 120px);
}

.feature-media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--sand);
  margin-bottom: 28px;
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.feature:hover .feature-media img {
  transform: scale(1.03);
}

.feature-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}

.index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--blue);
  min-width: 2ch;
}

.feature p {
  color: var(--ink-soft);
  max-width: 33em;
  margin-bottom: 22px;
}

.checks {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}
.checks li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-size: 1rem;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e3edff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230061fe' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

@media (max-width: 760px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature:nth-child(2) {
    margin-top: 0;
  }
}

/* Especialidades */

.specialties {
  margin-top: clamp(88px, 11vw, 160px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.specialties-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 40px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.specialties-head p {
  color: var(--ink-soft);
  max-width: 30em;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 36px);
}

.spec {
  display: flex;
  flex-direction: column;
}

.spec-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: var(--sand);
  margin-bottom: 22px;
}
.spec-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.spec:hover .spec-media img {
  transform: scale(1.04);
}

.spec-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 9px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.92);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}
.spec-tag svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.spec .h3 {
  font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.75rem);
  margin-bottom: 10px;
}
.spec p {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: 20px;
}
.spec .link-arrow {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.9688rem;
}

/* Carrossel horizontal no celular */
@media (max-width: 860px) {
  .spec-list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78%, 320px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .spec-list::-webkit-scrollbar {
    display: none;
  }
  .spec {
    scroll-snap-align: start;
  }
}

.scroll-hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.875rem;
  color: var(--ink-mute);
}
.scroll-hint svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 860px) {
  .scroll-hint {
    display: flex;
  }
}

/* ---------- Como funciona ---------- */

.how {
  background: var(--sand);
}

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}

.how-media {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.how-media .arch {
  aspect-ratio: 4 / 5;
}

.how-copy .eyebrow {
  margin-bottom: 18px;
}
.how-copy .h2 {
  margin-bottom: 20px;
}
.how-copy > .lead {
  margin-bottom: clamp(36px, 4vw, 52px);
}

.steps {
  counter-reset: step;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(36px, 4vw, 48px);
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px 20px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--blue);
  font-variation-settings: 'SOFT' 100;
}
.steps h3 {
  font-size: 1.1875rem;
  font-weight: 650;
  line-height: 1.35;
}
.steps p {
  color: var(--ink-soft);
  font-size: 1rem;
}

@media (max-width: 860px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
  .how-media {
    position: relative;
    top: 0;
    order: 2;
  }
  .how-media .arch {
    max-width: 480px;
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .steps li {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .steps li::before {
    font-size: 1.85rem;
  }
  .how-copy .btn {
    width: 100%;
  }
}

/* ---------- Lei Lucas ---------- */

.lucas-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.lucas-copy .eyebrow {
  margin-bottom: 18px;
}
.lucas-copy .h2 {
  margin-bottom: 20px;
}
.lucas-copy .lead {
  margin-bottom: 28px;
}

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.topics li {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
}

.lucas-law {
  max-width: 34em;
  padding-left: 18px;
  border-left: 2px solid var(--cyan);
  font-size: 0.9688rem;
  color: var(--ink-soft);
  margin-bottom: clamp(28px, 3.4vw, 40px);
}
.lucas-law strong {
  color: var(--ink);
  font-weight: 600;
}

.lucas-media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--sand);
}
.lucas-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .lucas-grid {
    grid-template-columns: 1fr;
  }
  .lucas-media {
    order: -1;
  }
}

@media (max-width: 520px) {
  .lucas-copy .btn {
    width: 100%;
  }
}

/* ---------- Regiões ---------- */

.regions {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.regions .eyebrow {
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 18px;
}
.regions .h2 {
  color: #fff;
}
.regions .h2 em {
  color: var(--cyan);
}
.regions .lead {
  color: rgba(255, 255, 255, 0.72);
}

.regions-mark {
  position: absolute;
  right: -90px;
  top: 64px;
  width: 440px;
  height: 440px;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
}

.region-list {
  position: relative;
  border-top: 1px solid var(--line-light);
}

.region {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 32px;
  padding-block: clamp(22px, 3vw, 34px);
  border-bottom: 1px solid var(--line-light);
}

.region-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.region-detail {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.66);
}

.region-pin {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  color: var(--cyan);
}
.region-pin svg {
  width: 20px;
  height: 20px;
}

.regions-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: clamp(32px, 4vw, 48px);
  color: rgba(255, 255, 255, 0.72);
}
.regions-foot .link-arrow {
  color: #fff;
}
.regions-foot .link-arrow:hover {
  color: var(--cyan);
}

@media (max-width: 480px) {
  .phone {
    gap: 14px;
    padding: 14px 16px 14px 12px;
  }
  .phone-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
}

@media (max-width: 760px) {
  .regions-mark {
    display: none;
  }
  .region {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .region-detail {
    grid-column: 1;
    grid-row: 2;
  }
  .region-pin {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 40px;
    height: 40px;
  }
}

/* ---------- Contato / CTA final ---------- */

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: calc(var(--radius) + 10px);
  background: var(--white);
  box-shadow: 0 1px 2px rgba(11, 27, 51, 0.05), 0 40px 80px -48px rgba(11, 27, 51, 0.35);
}

.contact-copy {
  padding: clamp(32px, 5.5vw, 80px);
}
.contact-copy .eyebrow {
  margin-bottom: 18px;
}
.contact-copy .h2 {
  margin-bottom: 18px;
}
.contact-copy .lead {
  margin-bottom: 36px;
}

.contact-media {
  position: relative;
  min-height: 320px;
}
.contact-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

.phones {
  display: grid;
  gap: 12px;
}

.phone {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.phone:hover {
  border-color: var(--blue);
  background: #f3f7ff;
}
.phone--main {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.phone--main:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.phone-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #e8f0ff;
  color: var(--blue);
}
.phone--main .phone-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.phone-icon svg {
  width: 24px;
  height: 24px;
}

.phone small {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
}
.phone small,
.phone strong {
  white-space: nowrap;
}
.phone strong {
  display: block;
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.phone .chev {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: transform 0.25s var(--ease);
}
.phone:hover .chev {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-copy {
    padding: 28px 22px 24px;
  }
  .contact-media {
    order: -1;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(56px, 7vw, 88px) 32px;
  font-size: 0.9688rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand img {
  width: 160px;
  margin-bottom: 18px;
}
.footer-brand p {
  max-width: 24em;
}

.footer-col h2 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}
.footer-col li + li {
  margin-top: 8px;
}
.footer-col a {
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

/* ---------- WhatsApp flutuante ---------- */

.wa-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(10, 80, 40, 0.6);
  transform: translateY(120%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.wa-float svg {
  width: 30px;
  height: 30px;
}
.wa-float.is-visible {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.wa-float:hover {
  transform: scale(1.06);
}

/* Barra fixa no celular */
.wa-bar {
  display: none;
}

@media (max-width: 640px) {
  .wa-float {
    display: none;
  }

  .wa-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: block;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(247, 244, 238, 0.94);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform 0.4s var(--ease);
  }
  @supports (backdrop-filter: blur(1px)) {
    .wa-bar {
      background: rgba(247, 244, 238, 0.8);
      backdrop-filter: saturate(1.4) blur(14px);
      -webkit-backdrop-filter: saturate(1.4) blur(14px);
    }
  }
  .wa-bar.is-visible {
    transform: none;
  }
  .wa-bar .btn {
    width: 100%;
    min-height: 52px;
  }

  .site-footer {
    padding-bottom: calc(32px + 76px + env(safe-area-inset-bottom));
  }
}

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

@media (scripting: enabled) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: var(--delay, 0s);
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
  .hero .reveal {
    transition-duration: 1.1s;
  }
}

@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 !important;
    transform: none !important;
  }
}
