/* ===================================================================
   MATERIALIZA 3D — Identidade visual
   Rosa #ED1872 · Vinho #A71236 · Azul Serenity #8FAFD6
   Rosa bebê #F7D6E6 · Off-white #F4F4EF · Tipografia Poppins
=================================================================== */

:root {
  --rosa: #ED1872;
  --vinho: #A71236;
  --azul: #8FAFD6;
  --rosa-bebe: #F7D6E6;
  --off-white: #F4F4EF;

  --ink: #1c1230;
  --ink-soft: #5a5470;
  --line: #ece8ef;
  --white: #ffffff;

  --grad: linear-gradient(120deg, var(--rosa) 0%, var(--vinho) 100%);
  --grad-soft: linear-gradient(135deg, #fff 0%, var(--rosa-bebe) 100%);

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 6px 20px rgba(167, 18, 54, .08);
  --shadow: 0 18px 50px rgba(167, 18, 54, .12);
  --shadow-rosa: 0 14px 34px rgba(237, 24, 114, .35);

  --max: 1180px;
  --header-h: 78px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

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

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Tipografia base ---------- */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-block;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--white); opacity: .9; margin-bottom: 18px;
}
.eyebrow--dark { color: var(--rosa); opacity: 1; }

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

/* ---------- Botões ---------- */
.btn {
  --pad-y: 13px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  font-family: inherit; font-size: .98rem; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; border-radius: 100px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn .ico { width: 20px; height: 20px; fill: currentColor; }
.btn--sm { --pad-y: 9px; --pad-x: 20px; font-size: .9rem; }
.btn--lg { --pad-y: 16px; --pad-x: 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn--primary { background: transparent; color: #fff; box-shadow: 0 12px 28px rgba(75, 18, 54, .35); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(75, 18, 54, .45); }
/* Sobre fundo claro o texto branco precisa de preenchimento (senão some) */
#contato .btn--primary { background: var(--grad); }

.btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--vinho); transform: translateY(-3px); }

.btn--white { background: #fff; color: var(--vinho); box-shadow: var(--shadow-sm); }
.btn--white:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, height .3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; margin-right: auto; }
.header-ig { display: inline-flex; align-items: center; color: var(--ink); padding: 0 !important; transition: color .2s, transform .2s; }
.header-ig svg { width: 22px; height: 22px; fill: currentColor; }
.header-ig:hover { color: var(--rosa); transform: translateY(-1px); }
.brand-logo { height: 38px; width: auto; transition: opacity .3s; }
.brand-logo--white { display: none; }
.brand-logo--color { display: block; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.nav-cta) { font-weight: 500; font-size: .96rem; color: var(--ink); transition: color .2s, opacity .2s; }
.nav a:not(.nav-cta):hover { opacity: .7; }
.nav-cta { color: #fff; background: var(--grad); box-shadow: 0 10px 24px rgba(167, 18, 54, .25); }

/* Header sólido (scrolled) */
.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(167, 18, 54, .08);
  height: 66px;
}
.site-header.scrolled .brand-logo--white { display: none; }
.site-header.scrolled .brand-logo--color { display: block; }
.site-header.scrolled .nav a:not(.nav-cta) { color: var(--ink); }
.site-header.scrolled .nav-cta { color: #fff; background: var(--grad); }

.header-right { display: flex; align-items: center; gap: 12px; }
.header-ig--mobile { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: .3s; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ===================== HERO ===================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
  background: #fff; color: var(--ink); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.poly { position: absolute; opacity: .6; background: rgba(255, 255, 255, .08); }
.poly--1 { top: -10%; right: -5%; width: 480px; height: 480px; clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); background: rgba(255, 255, 255, .07); }
.poly--2 { display: none; }
.poly--3 { top: 30%; left: 12%; width: 160px; height: 160px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: rgba(247, 214, 230, .14); }
.poly--4 { bottom: 12%; right: 18%; width: 220px; height: 220px; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: rgba(255, 255, 255, .06); }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-sub { font-size: 1.18rem; font-weight: 300; max-width: 30em; color: var(--ink-soft); opacity: 1; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-art-glow {
  position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 24, 114, .14) 0%, rgba(255, 255, 255, 0) 68%);
  filter: blur(18px);
}
.hero-symbol {
  position: relative; width: min(360px, 80%);
  filter: drop-shadow(0 30px 50px rgba(75, 18, 54, .45));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(-1.5deg); } }

/* ----- Hero claro (fundo branco) ----- */
.hero .eyebrow { color: var(--rosa); opacity: 1; }
.hero h1 { color: var(--ink); }
.hero .accent { color: var(--rosa); }
.hero .btn--primary { background: var(--grad); color: #fff; box-shadow: 0 14px 30px rgba(167, 18, 54, .22); }
.hero .btn--ghost { background: #fff; color: var(--vinho); border-color: rgba(167, 18, 54, .35); backdrop-filter: none; }
.hero .btn--ghost:hover { background: var(--vinho); color: #fff; }
.hero .poly { background: rgba(237, 24, 114, .05); opacity: 1; }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(28, 18, 48, .35); border-radius: 14px; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; background: var(--rosa); border-radius: 4px; transform: translateX(-50%); animation: scrolly 1.6s infinite; }
@keyframes scrolly { 0% { opacity: 0; top: 8px; } 50% { opacity: 1; } 100% { opacity: 0; top: 22px; } }

/* ===================== STATS ===================== */
.stats { background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 46px 24px; }
.stat { text-align: center; position: relative; opacity: .5; transition: opacity .5s var(--ease); }
.stat:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); width: 1px; height: 46px; background: rgba(255, 255, 255, .12); }
.stat.spot { opacity: 1; }
.stat.spot .stat-num { transform: scale(1.18); color: #fff; }
.stat-num { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--azul); line-height: 1; display: inline-block; transition: transform .5s var(--ease), color .5s var(--ease); }
.stat-num span { font-size: .9rem; font-weight: 600; color: var(--rosa-bebe); }
.stat-label { font-size: .9rem; opacity: .75; margin-top: 8px; }

/* ===================== SECTIONS ===================== */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--off-white); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section-head h2 { margin-bottom: 16px; }
.section-lead { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Cards de serviços ---------- */
.cards { display: grid; gap: 24px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 26px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-ico { width: 60px; height: 60px; border-radius: 16px; background: var(--grad-soft); display: grid; place-items: center; margin-bottom: 22px; }
.card-ico svg { width: 30px; height: 30px; fill: var(--rosa); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius-lg); padding: 32px 26px; box-shadow: var(--shadow-sm); position: relative; }
.step-num { font-size: 2.6rem; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; display: block; margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .94rem; }

/* ---------- Diferenciais ---------- */
.diff-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.diff-list { list-style: none; margin-top: 30px; display: grid; gap: 20px; }
.diff-list li { display: flex; gap: 14px; align-items: flex-start; }
.diff-list .check { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--grad-soft); fill: var(--rosa); }
.diff-list strong { display: block; font-size: 1.05rem; }
.diff-list span { color: var(--ink-soft); font-size: .95rem; }

.diff-art { display: grid; place-items: center; }
.diff-card { background: var(--grad); color: #fff; border-radius: var(--radius-lg); padding: 46px 38px; text-align: center; box-shadow: var(--shadow-rosa); max-width: 420px; }
.diff-card img { width: 110px; margin: 0 auto 24px; filter: brightness(0) invert(1); opacity: .92; }
.diff-card p { font-size: 1.12rem; font-weight: 300; font-style: italic; }

/* ---------- Galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item {
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--rosa-bebe), var(--azul));
  display: grid; place-items: end start;
}
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(167,18,54,.18), rgba(143,175,214,.18)); }
.gallery-item span { position: relative; z-index: 1; color: #fff; font-weight: 600; padding: 16px 18px; text-shadow: 0 2px 8px rgba(0,0,0,.25); }

/* ===================== CTA BAND ===================== */
.cta-band { background: var(--grad); color: #fff; padding: 60px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: rgba(255,255,255,.06); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { opacity: .92; }

/* ===================== CONTATO ===================== */
/* Contato centralizado (WhatsApp único) */
.contato-center { max-width: 680px; margin: 0 auto; text-align: center; }
.contato-center h2 { margin: 14px 0 16px; }
.contato-center .section-lead { margin: 0 auto; }
.contato-center .btn { margin-top: 34px; }
.contato-site { margin-top: 26px; }
.contato-site a { font-weight: 600; color: var(--rosa); }
.contato-site a:hover { color: var(--vinho); }

.contato-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.contato-info h2 { margin: 14px 0 16px; }
.contato-info .btn { margin: 26px 0; }
.contato-list { list-style: none; display: grid; gap: 16px; }
.contato-list li { display: flex; flex-direction: column; }
.contato-list strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--rosa); }
.contato-list a { font-size: 1.02rem; font-weight: 500; }
.contato-list a:hover { color: var(--rosa); }

.contato-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow); }
.contato-form h3 { margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: .98rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rosa); box-shadow: 0 0 0 3px rgba(237, 24, 114, .12); }
.field input[type="file"] { padding: 9px 12px; cursor: pointer; }
.form-feedback { margin-top: 14px; font-size: .94rem; font-weight: 500; text-align: center; min-height: 1.2em; }
.form-feedback.ok { color: #15803d; }
.form-feedback.err { color: #b91c1c; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .82); padding: 60px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { font-size: .94rem; max-width: 32em; opacity: .7; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-col a { display: block; font-size: .92rem; padding: 5px 0; opacity: .75; transition: opacity .2s, color .2s; }
.footer-col a:hover { opacity: 1; color: var(--azul); }
.footer-ig { display: inline-flex; align-items: center; gap: 8px; line-height: 1; }
.footer-ig svg { width: 17px; height: 17px; fill: currentColor; flex: none; position: relative; top: 1px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; opacity: .6; }

/* ===================== WHATSAPP FLOAT ===================== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform .25s var(--ease);
  animation: wapulse 2.4s infinite;
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); }
@keyframes wapulse { 0% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); } }

/* ===================== REVEAL ANIM ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 980px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { display: grid; order: -1; margin-bottom: 22px; }
  .hero-symbol { width: min(200px, 54%); }
  .diff-inner { grid-template-columns: 1fr; gap: 36px; }
  .contato-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  .nav {
    position: fixed; top: 0; right: 0; left: auto; width: min(300px, 80vw);
    height: 100vh; height: 100dvh; overflow-y: auto;
    background: #fff; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: calc(var(--header-h) + 20px) 30px 30px; gap: 6px;
    transform: translateX(100%); transition: transform .35s var(--ease);
    box-shadow: -20px 0 50px rgba(0, 0, 0, .12);
  }
  .nav.open { transform: none; }
  .nav a { color: var(--ink) !important; width: 100%; padding: 12px 0; font-size: 1.05rem; }
  .nav .nav-cta { color: #fff !important; background: var(--grad); margin-top: 12px; }
  .nav-toggle { display: flex; }
  .header-ig--mobile { display: inline-flex; }
  .nav .header-ig { display: none; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 620px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .stat:nth-child(2)::after { display: none; }
  .cards--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .contato-form { padding: 26px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
