/* =========================================================
   Portal do AR — Landing Page one-page
   Vertex Serviços Digitais
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand — cores oficiais Portal do AR (extraídas do logo) */
  --navy:      #022E33;   /* teal profundo (fundos escuros) */
  --navy-2:    #064249;
  --blue:      #008D95;   /* TEAL primário da marca */
  --blue-2:    #00A7B0;
  --cyan:      #34C6D2;   /* teal claro p/ gradientes */
  --cyan-soft: #9CE4EA;
  --ice:       #E7F6F7;   /* tom teal bem claro */
  --ice-2:     #F2FBFC;

  --accent:    #FF7301;   /* laranja oficial da marca */
  --wa:        #25D366;   /* WhatsApp */
  --wa-dark:   #1EBE5A;

  --ink:       #0A2226;
  --muted:     #4C636A;
  --line:      #DBEDEF;
  --white:     #ffffff;

  --grad-brand: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 100%);
  --grad-navy:  linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #07666d 100%);

  --shadow-sm: 0 4px 14px rgba(2,46,51,.08);
  --shadow:    0 18px 40px -12px rgba(2,46,51,.18);
  --shadow-lg: 0 30px 70px -20px rgba(2,46,51,.30);

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --container: 1180px;
  --header-h:  76px;

  --ease: cubic-bezier(.22,.61,.36,1);

  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }

.grad {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Placeholders de imagem (emoji atrás da imagem) ----------
   Enquanto o PNG real não é adicionado, mostramos um emoji on-brand.
   Quando a imagem carrega, ela cobre o emoji; se falhar, o emoji aparece. */
.media-ph {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  pointer-events: none; user-select: none; line-height: 1;
}
.hero__media  .media-ph { font-size: clamp(4.5rem, 13vw, 8.5rem); filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); }
.sobre__media .media-ph { font-size: clamp(4rem, 12vw, 7rem); opacity: .9; }
.serv-card__img .media-ph { font-size: 1.9rem; }
.modal__media .media-ph { font-size: 4.6rem; filter: drop-shadow(0 14px 20px rgba(0,0,0,.35)); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-brand); z-index: 1000; transition: width .1s linear;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  --bg: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  color: var(--white); background: var(--bg);
  padding: 13px 24px; border-radius: 100px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap; line-height: 1;
}
.btn svg { flex-shrink: 0; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }

.btn--primary { background: var(--grad-brand); box-shadow: 0 12px 26px -8px rgba(11,95,165,.6); }
.btn--primary:hover { box-shadow: 0 18px 34px -8px rgba(11,95,165,.7); }

.btn--whatsapp { background: var(--wa); box-shadow: 0 12px 26px -8px rgba(37,211,102,.55); }
.btn--whatsapp:hover { background: var(--wa-dark); box-shadow: 0 18px 34px -8px rgba(37,211,102,.7); }

.btn--ghost {
  background: rgba(255,255,255,.08); color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 900;
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, height .35s;
}
.header.scrolled {
  background: rgba(255,255,255,.85); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--shadow-sm); height: 64px;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 42px; width: auto; display: block; transition: height .35s; }
/* Sobre o hero (header transparente) → logo branca; ao rolar (fundo claro) → logo colorida */
.brand__logo--full { display: none; }
.header.scrolled .brand__logo--light { display: none; }
.header.scrolled .brand__logo--full { display: block; height: 36px; }
.brand--footer .brand__logo { height: 46px; }

.nav { display: flex; gap: 6px; }
.nav__link {
  font-weight: 600; font-size: .96rem; color: var(--navy); padding: 8px 14px; border-radius: 100px;
  transition: background .25s, color .25s; position: relative;
}
.header:not(.scrolled) .nav__link { color: rgba(255,255,255,.9); }
.nav__link:hover { background: rgba(11,95,165,.1); color: var(--blue); }
.header:not(.scrolled) .nav__link:hover { background: rgba(255,255,255,.15); color: #fff; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .92rem; color: var(--navy);
  transition: color .25s;
}
.header:not(.scrolled) .header__phone { color: #fff; }
.header__phone:hover { color: var(--blue); }
.header:not(.scrolled) .header__phone:hover { color: var(--cyan-soft); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 10px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .3s var(--ease); }
.header:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
  background: var(--grad-navy); color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob--1 { width: 480px; height: 480px; background: radial-gradient(circle, var(--blue-2), transparent 70%); top: -120px; right: -80px; animation: blobMove 16s var(--ease) infinite alternate; }
.blob--2 { width: 420px; height: 420px; background: radial-gradient(circle, var(--cyan), transparent 70%); bottom: -140px; left: -100px; opacity: .4; animation: blobMove 20s var(--ease) infinite alternate-reverse; }
@keyframes blobMove { to { transform: translate(40px, 50px) scale(1.15); } }

.air-wave {
  position: absolute; top: 50%; left: 50%; z-index: 1; pointer-events: none;
  width: 360px; height: 360px; margin: -180px 0 0 -180px;
  border: 2px solid rgba(143,224,242,.32); border-radius: 50%;
  animation: airPulse 5.5s ease-out infinite;
}
.air-wave--2 { animation-delay: 1.6s; }
.air-wave--3 { animation-delay: 3.2s; }
@keyframes airPulse { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }

.float-ic { position: absolute; color: rgba(255,255,255,.35); font-size: 1.6rem; animation: floatY 7s ease-in-out infinite; }
.float-ic--snow  { top: 22%; left: 12%; }
.float-ic--snow2 { top: 62%; right: 22%; font-size: 1.1rem; animation-duration: 9s; animation-delay: 1.4s; }
@keyframes floatY { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-22px) rotate(20deg); } }

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1.08fr; gap: 68px; align-items: center;
}

.hero__welcome {
  display: none; align-items: center; gap: 8px; margin-bottom: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: #fff;
  padding: 8px 16px; border-radius: 100px;
  background: linear-gradient(120deg, rgba(0,141,149,.55), rgba(52,198,210,.4));
  border: 1px solid rgba(255,255,255,.28); box-shadow: 0 8px 22px -10px rgba(0,0,0,.5);
}
.hero__welcome.show { display: inline-flex; animation: popIn .5s var(--ease) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(-8px) scale(.95); } to { opacity: 1; transform: none; } }

.pill {
  display: inline-flex; align-items: center; gap: 9px; font-size: .85rem; font-weight: 600;
  padding: 8px 16px; border-radius: 100px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(4px); margin-bottom: 22px;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(47,196,232,.6); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47,196,232,.6); } 70% { box-shadow: 0 0 0 10px rgba(47,196,232,0); } 100% { box-shadow: 0 0 0 0 rgba(47,196,232,0); } }

.hero__title { font-size: clamp(2.3rem, 5.4vw, 3.9rem); margin-bottom: 20px; }
.hero__subtitle { font-size: clamp(1rem, 1.6vw, 1.18rem); color: rgba(255,255,255,.82); max-width: 540px; margin-bottom: 32px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero__trust { display: flex; gap: 34px; flex-wrap: wrap; }
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust strong { font-family: var(--font-head); font-size: 1.7rem; color: #fff; }
.hero__trust span { font-size: .85rem; color: rgba(255,255,255,.7); }

/* Hero media */
.hero__media { position: relative; display: grid; place-items: center; min-height: 480px; }
.hero__media-glow { position: absolute; width: 96%; height: 96%; border-radius: 50%; background: radial-gradient(circle, rgba(47,196,232,.45), transparent 65%); filter: blur(30px); }
.hero__img { position: relative; z-index: 2; max-height: 580px; width: auto; max-width: 130%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.4)); }
.float-soft { animation: floatSoft 6s ease-in-out infinite; }
@keyframes floatSoft { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.hero__chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.95); color: var(--ink); padding: 11px 15px; border-radius: 14px;
  box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.hero__chip strong { display: block; font-family: var(--font-head); font-size: .92rem; }
.hero__chip small { color: var(--muted); font-size: .78rem; }
.chip-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ice); color: var(--blue); font-size: 1.1rem; }
.hero__chip--1 { top: 14%; left: -4%; animation: floatSoft 5s ease-in-out infinite; }
.hero__chip--2 { bottom: 12%; right: -2%; animation: floatSoft 5.5s ease-in-out infinite .8s; }

.hero__scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 100px; display: grid; justify-items: center; padding-top: 7px; }
.hero__scroll span { width: 4px; height: 9px; border-radius: 4px; background: #fff; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* =========================================================
   SECTIONS (genérico)
   ========================================================= */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section__head { max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section__eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.section__title { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 16px; }
.section__lead { color: var(--muted); font-size: 1.08rem; }

/* =========================================================
   DIFERENCIAIS
   ========================================================= */
.diff { background: linear-gradient(180deg, var(--ice-2), #fff); position: relative; }
.diff__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.diff-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative; overflow: hidden;
}
.diff-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.diff-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.diff-card:hover::before { transform: scaleX(1); }
.diff-card__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--ice); color: var(--blue); margin-bottom: 18px; transition: background .35s, color .35s; }
.diff-card:hover .diff-card__ic { background: var(--grad-brand); color: #fff; }
.diff-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.diff-card p { color: var(--muted); font-size: .96rem; }

/* =========================================================
   SERVIÇOS
   ========================================================= */
.servicos { background: #fff; }
.serv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.serv-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px; cursor: pointer; overflow: hidden; text-align: left;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  display: flex; flex-direction: column; min-height: 230px;
}
.serv-card::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(47,196,232,.16), transparent 70%); opacity: 0; transition: opacity .4s;
}
.serv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.serv-card:hover::after { opacity: 1; }

.serv-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.serv-card__img {
  position: relative;
  width: 64px; height: 64px; border-radius: 16px; background: var(--ice);
  display: grid; place-items: center; overflow: hidden; flex-shrink: 0;
}
.serv-card__img img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: contain; padding: 8px; background: var(--ice); }
.serv-card__num { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--line); }
.serv-card:hover .serv-card__num { color: var(--cyan); }

.serv-card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.serv-card p { color: var(--muted); font-size: .95rem; flex-grow: 1; }
.serv-card__link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--blue);
}
.serv-card__link svg { transition: transform .3s var(--ease); }
.serv-card:hover .serv-card__link svg { transform: translateX(4px); }

/* =========================================================
   FAIXA CTA
   ========================================================= */
.cta-band { position: relative; background: var(--grad-brand); color: #fff; overflow: hidden; padding: clamp(50px, 7vw, 80px) 0; }
.cta-band__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cta-band__bg .float-ic { color: rgba(255,255,255,.25); }
.cta-band__bg .float-ic--snow { top: 20%; left: 8%; font-size: 2rem; }
.cta-band__bg .float-ic--snow2 { bottom: 18%; right: 10%; font-size: 2.6rem; }
.cta-band__inner { position: relative; z-index: 2; text-align: center; max-width: 760px; margin-inline: auto; }
.cta-band__inner h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); margin-bottom: 14px; }
.cta-band__inner p { font-size: 1.1rem; color: rgba(255,255,255,.9); margin-bottom: 28px; }
.cta-band__inner .btn--whatsapp { background: #fff; color: var(--wa-dark); }
.cta-band__inner .btn--whatsapp:hover { background: var(--navy); color: #fff; }

/* =========================================================
   SOBRE
   ========================================================= */
.sobre { background: linear-gradient(180deg, #fff, var(--ice-2)); }
.sobre__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.sobre__media { position: relative; min-height: 320px; }
.sobre__media-bg { position: absolute; inset: 14px -14px -14px 14px; border-radius: var(--radius-lg); background: var(--grad-brand); opacity: .14; }
.sobre__img { position: relative; z-index: 2; border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.sobre__badge {
  position: absolute; z-index: 3; right: -14px; bottom: -14px; background: #fff;
  border-radius: 18px; padding: 16px 22px; box-shadow: var(--shadow); text-align: center;
}
.sobre__badge strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--blue); line-height: 1; }
.sobre__badge span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

.sobre__content .section__eyebrow { display: block; }
.sobre__content .section__title { text-align: left; }
.sobre__content > p { color: var(--muted); margin-bottom: 14px; }
.sobre__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 30px; }
.sobre__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.sobre__list span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ice); color: var(--blue); font-size: .8rem; flex-shrink: 0; }

/* =========================================================
   CONTATO
   ========================================================= */
.contato { background: var(--ice-2); }
.contato__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; }
.contato__info { display: flex; flex-direction: column; gap: 14px; }
.info-card {
  display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
a.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-card__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--ice); color: var(--blue); flex-shrink: 0; }
.info-card__ic--wa { background: rgba(37,211,102,.12); color: var(--wa-dark); }
.info-card strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.info-card span { color: var(--muted); font-size: .9rem; }
.info-card--static { cursor: default; }

.contato__social { display: flex; gap: 12px; margin-top: 4px; }
.contato__social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #fff; border: 1px solid var(--line); color: var(--blue); transition: .3s var(--ease); }
.contato__social a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-3px); border-color: transparent; }

.contato__map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; border: 1px solid var(--line); background: linear-gradient(140deg, var(--ice), #fff); }
.contato__map iframe { display: block; width: 100%; height: 100%; min-height: 380px; }
.map-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  height: 100%; min-height: 380px; padding: 30px; text-align: center; color: var(--ink); position: relative; overflow: hidden;
}
.map-card::before {
  content: ""; position: absolute; inset: -2px; opacity: .7;
  background-image:
    linear-gradient(rgba(0,141,149,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,141,149,.12) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask: radial-gradient(circle at 50% 42%, #000, transparent 72%);
          mask: radial-gradient(circle at 50% 42%, #000, transparent 72%);
}
.map-card > * { position: relative; z-index: 1; }
.map-card__pin { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--grad-brand); color: #fff; box-shadow: 0 14px 28px -8px rgba(0,141,149,.6); margin-bottom: 10px; animation: floatSoft 4s ease-in-out infinite; }
.map-card strong { font-family: var(--font-head); font-size: 1.18rem; }
.map-card > span:not(.map-card__btn) { color: var(--muted); font-size: .92rem; max-width: 320px; }
.map-card__btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: #fff; background: var(--grad-brand); padding: 11px 22px; border-radius: 100px; box-shadow: 0 10px 22px -8px rgba(0,141,149,.5); transition: transform .25s var(--ease), box-shadow .25s; }
.map-card:hover .map-card__btn { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(0,141,149,.6); }
.map-card__btn svg { transition: transform .25s; }
.map-card:hover .map-card__btn svg { transform: translateX(3px); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 60px 0 26px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer__brand p { margin-top: 16px; font-size: .92rem; max-width: 320px; }
.footer__col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .04em; }
.footer__col a, .footer__col span { display: block; font-size: .92rem; margin-bottom: 10px; transition: color .25s; }
.footer__col a:hover { color: var(--cyan); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer__bottom a { color: var(--cyan); }

/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 850;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 14px 30px -6px rgba(37,211,102,.6);
  transition: transform .3s var(--ease); animation: floatSoft 4s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float__pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: ping 2s infinite; }

/* =========================================================
   PROVA SOCIAL — notificações flutuantes (canto inf. esquerdo)
   ========================================================= */
.proof {
  position: fixed; left: 22px; bottom: 22px; z-index: 840;
  width: min(366px, calc(100vw - 40px));
  display: flex; align-items: center; gap: 15px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 15px 19px 15px 15px; box-shadow: var(--shadow-lg);
  transform: translateY(28px) scale(.95); opacity: 0; pointer-events: none;
  transition: transform .55s var(--ease), opacity .45s var(--ease);
}
.proof.show { transform: translateY(0) scale(1); opacity: 1; }
.proof__ic {
  position: relative; flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad-brand); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
}
.proof__ic::after {
  content: "✓"; position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--wa); color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid #fff;
}
.proof__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.34; }
.proof__name { font-family: var(--font-head); font-weight: 700; font-size: .98rem; color: var(--ink); }
.proof__action { font-size: .88rem; color: var(--muted); }
.proof__time { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-size: .75rem; font-weight: 600; color: var(--blue); }
.proof__time svg { flex-shrink: 0; }
.proof__verified { color: var(--muted); font-weight: 500; }
@media (max-width: 540px) {
  .proof { left: 14px; bottom: 16px; gap: 12px; padding: 12px 15px 12px 12px; width: calc(100vw - 28px); }
  .proof__ic { width: 46px; height: 46px; font-size: 1.1rem; }
}

/* =========================================================
   MODAL DE BOAS-VINDAS (1ª visita — nome + cidade)
   ========================================================= */
.welcome { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: 20px; }
.welcome.open { display: flex; }
.welcome__overlay { position: absolute; inset: 0; background: rgba(2,46,51,.72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.welcome.open .welcome__overlay { opacity: 1; }
.welcome__box {
  position: relative; z-index: 2; width: 100%; max-width: 440px; background: #fff;
  border-radius: var(--radius-lg); padding: 40px 34px 30px; box-shadow: var(--shadow-lg);
  text-align: center; overflow: hidden;
  transform: translateY(28px) scale(.96); opacity: 0; transition: transform .45s var(--ease), opacity .45s;
}
.welcome.open .welcome__box { transform: none; opacity: 1; }
.welcome__box::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--grad-brand); }
.welcome__badge {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700;
  font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue);
  background: var(--ice); padding: 7px 15px; border-radius: 100px; margin-bottom: 18px;
}
.welcome__box h2 { font-size: 1.5rem; margin-bottom: 10px; }
.welcome__box > p { color: var(--muted); font-size: .98rem; margin-bottom: 24px; }
.welcome__form { display: flex; flex-direction: column; gap: 15px; text-align: left; }
.welcome__field { display: flex; flex-direction: column; gap: 6px; }
.welcome__field > span { font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--ink); }
.welcome__field input {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--ice-2);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.welcome__field input::placeholder { color: #9bb0b8; }
.welcome__field input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0,141,149,.14); }
.welcome__field input.invalid { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.14); }
.welcome__submit { width: 100%; margin-top: 6px; }
.welcome__note { display: block; text-align: center; margin-top: 2px; font-size: .8rem; color: var(--muted); font-weight: 600; }
.welcome__badge--wa { color: var(--wa-dark); background: rgba(37,211,102,.12); }
.welcome__close {
  position: absolute; top: 14px; right: 14px; z-index: 5; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--ice); color: var(--muted);
  transition: transform .25s, background .25s, color .25s;
}
.welcome__close:hover { background: var(--line); color: var(--ink); transform: rotate(90deg); }
@media (max-width: 480px) {
  .welcome__box { padding: 32px 22px 24px; }
  .welcome__box h2 { font-size: 1.3rem; }
}

/* =========================================================
   MODAL
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 1100; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 20px; }
.modal.open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(2,46,51,.62); backdrop-filter: blur(5px); opacity: 0; transition: opacity .3s; }
.modal.open .modal__overlay { opacity: 1; }
.modal__box {
  position: relative; z-index: 2; width: 100%; max-width: 720px; background: #fff;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  max-height: 80vh;
  transform: translateY(24px) scale(.97); opacity: 0; transition: transform .35s var(--ease), opacity .35s;
}
.modal.open .modal__box { transform: translateY(0) scale(1); opacity: 1; }
.modal__slide { display: grid; grid-template-columns: .8fr 1.2fr; max-height: 80vh; }

/* pager abaixo do modal — próximo / anterior com nome do serviço */
.modal__pager {
  position: relative; z-index: 2; width: 100%; max-width: 720px;
  display: flex; justify-content: space-between; gap: 14px;
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s .12s var(--ease), transform .4s .12s var(--ease);
}
.modal.open .modal__pager { opacity: 1; transform: none; }
.modal__pager-btn {
  display: inline-flex; align-items: center; gap: 12px; max-width: 49%;
  color: #fff; padding: 9px 13px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  transition: background .25s, transform .25s var(--ease), border-color .25s;
}
.modal__pager-btn:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.32); }
.modal__pager-btn--prev:hover { transform: translateX(-4px); }
.modal__pager-btn--next:hover { transform: translateX(4px); }
.modal__pager-btn--next { text-align: right; }
.modal__pager-ic {
  display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  transition: background .25s, border-color .25s, transform .25s;
}
.modal__pager-btn:hover .modal__pager-ic { background: var(--wa); border-color: transparent; }
.modal__pager-btn--prev:hover .modal__pager-ic { transform: translateX(-2px); }
.modal__pager-btn--next:hover .modal__pager-ic { transform: translateX(2px); }
.modal__pager-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.modal__pager-txt small { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.modal__pager-txt strong { font-family: var(--font-head); font-weight: 700; font-size: .94rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.modal__pager-btn--next .modal__pager-txt { align-items: flex-end; }

.modal__media { background: var(--grad-navy); display: grid; place-items: center; padding: 30px; position: relative; overflow: hidden; min-height: 200px; }
.modal__media::before { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(47,196,232,.4), transparent 70%); filter: blur(20px); }
.modal__media img { position: relative; z-index: 2; max-height: 220px; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
.modal__content { padding: 34px 32px; overflow-y: auto; }
.modal__eyebrow { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.modal__content h3 { font-size: 1.6rem; margin: 8px 0 14px; }
.modal__content > p { color: var(--muted); font-size: 1rem; margin-bottom: 18px; }
.modal__list { display: grid; gap: 10px; margin-bottom: 26px; }
.modal__list li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; font-weight: 500; }
.modal__list li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ice); color: var(--blue); font-size: .75rem; flex-shrink: 0; margin-top: 1px; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 5; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink);
  box-shadow: var(--shadow-sm); transition: transform .25s, background .25s;
}
.modal__close:hover { transform: rotate(90deg); background: #fff; }

/* =========================================================
   ANIMAÇÕES DE SCROLL (estados base; ativadas no JS)
   ========================================================= */
[data-anim] { opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
[data-anim="fade-up"]    { transform: translateY(40px); }
[data-anim="fade-right"] { transform: translateX(-40px); }
[data-anim="fade-left"]  { transform: translateX(40px); }
[data-anim="zoom-in"]    { transform: scale(.92); }
[data-anim].in-view { opacity: 1; transform: none; }

/* stagger em grids */
.in-view-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.in-view-stagger.in-view > * { opacity: 1; transform: none; }

/* =========================================================
   FLOCOS DE NEVE — parallax no scroll (seções internas)
   ========================================================= */
.snow-host { position: relative; }
.snow-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.snow-host > .container,
.snow-host > .footer__inner,
.snow-host > .footer__bottom,
.snow-host > .cta-band__inner { position: relative; z-index: 2; }
.snowflake { position: absolute; top: 0; will-change: transform; line-height: 1; }
.snowflake__i { display: block; animation: snowSway var(--sway, 7s) ease-in-out infinite; }
@keyframes snowSway { 0%, 100% { transform: translateX(0) rotate(0deg); } 50% { transform: translateX(12px) rotate(45deg); } }

/* Aviso do preview (links externos só abrem em produção) */
.preview-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 16px);
  z-index: 1300; max-width: min(460px, calc(100vw - 32px));
  background: rgba(2,46,51,.96); color: #fff; font-size: .86rem; font-weight: 600;
  padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; text-align: center; white-space: pre-line;
}
.preview-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__content { order: 2; }
  .hero__media { order: 1; }
  .hero__subtitle { margin-inline: auto; }
  .hero__cta, .hero__trust { justify-content: center; }
  .hero__img { max-height: 400px; max-width: 100%; }
  .hero__chip { display: none; }

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

  .sobre__inner { grid-template-columns: 1fr; gap: 40px; }
  .sobre__content .section__title { text-align: center; }
  .sobre__content .section__eyebrow { text-align: center; }
  .sobre__content { text-align: center; }
  .sobre__list { max-width: 460px; margin-inline: auto; }
  .sobre__content .btn { margin-inline: auto; }

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

@media (max-width: 760px) {
  .nav, .header__phone { display: none; }
  .nav-toggle { display: flex; }

  /* menu mobile */
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(255,255,255,.97); backdrop-filter: blur(14px); padding: 14px 22px 22px;
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .4s var(--ease);
    display: flex;
  }
  .nav.open { transform: translateY(0); }
  .nav__link { color: var(--navy) !important; padding: 14px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }

  .header__actions .btn--whatsapp span { display: none; }
  .header__actions .btn--whatsapp { padding: 11px; }

  .modal__box { max-height: 72vh; }
  .modal__slide { grid-template-columns: 1fr; max-height: 72vh; }
  .modal__media { padding: 26px; }
  .modal__media img { max-height: 150px; }
  .modal__content { padding: 26px 24px; }
  .modal__pager-btn { padding: 8px 11px; gap: 9px; }
  .modal__pager-ic { width: 34px; height: 34px; }
  .modal__pager-txt strong { font-size: .84rem; }
  .modal__pager-txt small { font-size: .64rem; }
}

@media (max-width: 540px) {
  .container { padding-inline: 18px; }
  .hero__media { min-height: 250px; }
  .sobre__media { min-height: 230px; }
  .diff__grid, .serv__grid, .sobre__list { grid-template-columns: 1fr; }
  .hero__trust { gap: 22px; }
  .hero__trust strong { font-size: 1.4rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .btn--lg { width: 100%; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
}

/* Acessibilidade — reduzir movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-anim] { opacity: 1 !important; transform: none !important; }
}
