/* Turma da Faxina — estilos */
:root {
  --blue: #1450B4;
  --blue-d: #0E3A85;
  --page: #F2F7FF;
  --line: #D6E4FA;
  --ink: #12294D;
  --sun: #FFC400;
  --sun-soft: #F6D743;
  --wa: #25D366;
  --err: #9B1C48;
  --field: #7A93C4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
a { color: inherit; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { font-family: 'Baloo 2', sans-serif; margin: 0; }
section { scroll-margin-top: 88px; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

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

/* Cabeçalho */
.top { position: sticky; top: 0; z-index: 20; background: rgba(242, 247, 255, .94); border-bottom: 1px solid var(--line); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; max-width: 1200px; margin: 0 auto; padding: 12px 24px; }
.logo { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 28px; line-height: 1; color: var(--blue); text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; font-weight: 700; font-size: 16px; }
.nav a { padding: 10px 0; text-decoration: none; }
.nav a:hover { color: var(--blue); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; font-family: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; color: var(--ink); transition: transform .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-sun, .btn-wa { font-family: 'Montserrat', sans-serif; letter-spacing: .2px; line-height: 1.4; padding: 16px 36px; }
.btn-sun { background: var(--sun); box-shadow: 0 8px 20px rgba(255, 170, 0, .55); }
.btn-wa { background: var(--wa); box-shadow: 0 8px 20px rgba(37, 211, 102, .55); }
.btn-blue { background: var(--blue); color: #fff; margin-top: auto; align-self: flex-start; }
.btns { display: flex; flex-wrap: wrap; gap: 16px; }

/* Hero */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; background: var(--blue) url(assets/banner-poster.jpg) center / cover; }
.hero-fill { position: absolute; inset: 0; background: url(assets/banner-poster.jpg) center / cover; filter: blur(28px); transform: scale(1.15); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% center; pointer-events: none; }
.hero-shade { position: absolute; inset: 0; background: rgba(255, 255, 255, .62); }
.hero-in { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: clamp(64px, 10vw, 120px) 24px clamp(72px, 11vw, 140px); }
.hero-copy { max-width: 520px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero-copy h1 { font-weight: 800; font-size: clamp(40px, 7vw, 64px); line-height: 1.05; color: var(--blue); }
.hero-copy p { margin: 0; font-size: 20px; }
.badge { background: var(--sun-soft); color: var(--ink); font-weight: 700; font-size: 15px; padding: 6px 16px; border-radius: 999px; }
@media (min-width: 861px) {
  .hero { min-height: min(56.25vw, 1000px); }
  .hero-video { object-fit: contain; object-position: center; }
  .hero-shade { background: linear-gradient(90deg, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .72) 34%, rgba(255, 255, 255, 0) 54%); }
}

/* Reconhecimentos */
.trust { background: #fff; border-bottom: 1px solid var(--line); padding: 20px 24px; }
.trust-in { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 32px; font-size: 16px; font-weight: 700; }
.trust-in > span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; }
.ico { width: 22px; height: 22px; color: var(--blue); flex: none; }
.lnk { color: var(--blue); text-decoration: none; padding: 12px 0; }
.lnk:hover { text-decoration: underline; }

/* Seções */
.sec { padding: clamp(56px, 8vw, 88px) 24px; }
.sec-white { background: #fff; }
.sec-in { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.sec h2 { font-weight: 800; font-size: clamp(32px, 5vw, 44px); line-height: 1.1; color: var(--blue); }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.sec-head p { margin: 0; }

.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card { flex: 1 1 320px; min-width: 0; background: var(--page); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 32px rgba(20, 80, 180, .18); }
.card h3 { font-weight: 700; font-size: 24px; line-height: 1.2; }
.card p { margin: 0; font-size: 17px; }
.ic { width: 56px; height: 56px; border-radius: 16px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.ic svg { width: 28px; height: 28px; }

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 32px; }
.steps li { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.steps h3 { font-weight: 700; font-size: 24px; line-height: 1.2; }
.steps p { margin: 0; }
.num { width: 56px; height: 56px; border-radius: 50%; background: var(--sun-soft); color: var(--ink); font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 28px; display: flex; align-items: center; justify-content: center; }

/* Certificados */
.cert { padding: 0; border: 0; text-align: left; font: inherit; color: inherit; overflow: hidden; cursor: pointer; flex: 1 1 240px; gap: 0; }
.cert img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; height: auto; }
.cert .meta { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px 24px; }
.cert strong { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.2; }
.cert .meta span { font-size: 15px; }

/* Dúvidas */
.faq-in { max-width: 860px; gap: 32px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border-radius: 20px; overflow: hidden; }
.faq-item h3 { font-size: inherit; }
.faq-q { width: 100%; min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; background: none; border: 0; padding: 20px 24px; font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--ink); cursor: pointer; }
.chev { width: 24px; height: 24px; flex: none; color: var(--blue); stroke-width: 2.5; transition: transform .2s ease; }
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-a { padding: 0 24px 20px; }

/* Contato */
.contact { position: relative; overflow: hidden; background: var(--blue); border-radius: 40px; padding: clamp(32px, 6vw, 64px) clamp(20px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; color: #fff; }
.contact-video { position: absolute; top: 0; left: 0; height: 100%; width: 52%; object-fit: cover; object-position: center 25%; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, #000 65%, transparent); mask-image: linear-gradient(90deg, #000 65%, transparent); }
.contact-shade { position: absolute; inset: 0; background: rgba(20, 80, 180, .7); pointer-events: none; }
.contact-info, .form { position: relative; z-index: 1; }
.contact-info { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.contact h2, .contact-info p { color: #fff; }
.contact h2 { font-weight: 800; font-size: clamp(32px, 5vw, 44px); line-height: 1.1; }
.contact-info p { margin: 0; }
.info { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.info a { font-weight: 700; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.soc { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px 0 14px; border-radius: 999px; background: #fff; color: var(--blue); font-weight: 700; text-decoration: none; }
.soc svg { width: 24px; height: 24px; }

.form { flex: 1 1 380px; min-width: 0; background: #fff; color: var(--ink); border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.form h3 { font-weight: 700; font-size: 26px; line-height: 1.2; color: var(--blue); }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld label { font-weight: 700; font-size: 15px; }
.in { width: 100%; min-height: 48px; padding: 0 16px; border: 2px solid var(--field); border-radius: 14px; font-family: inherit; font-size: 17px; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
select.in { padding: 0 12px; }
textarea.in { padding: 12px 16px; resize: vertical; }
.in:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(246, 215, 67, .7); }
.in[aria-invalid="true"] { border-color: var(--err); }
.err { color: var(--err); font-weight: 700; font-size: 15px; }
.ok { color: var(--blue); font-weight: 700; font-size: 16px; }
.note { font-size: 15px; }
.btn-send { border: 0; min-height: 52px; padding: 0 32px; font-family: inherit; font-size: 17px; box-shadow: 0 8px 20px rgba(37, 211, 102, .4); }
[hidden] { display: none !important; }

@media (max-width: 860px) {
  .top-in { padding: 8px 20px; }
  .nav { gap: 0 18px; font-size: 15px; }
  .nav a { padding: 6px 0; }
  .contact-video { width: 100%; -webkit-mask-image: none; mask-image: none; }
}

/* Rodapé */
.foot { max-width: 1200px; margin: 0 auto; padding: 0 24px 96px; font-size: 15px; }
.foot-in { border-top: 1px solid #C5D6F2; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot-links a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 0; font-weight: 700; color: var(--blue); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-links svg { width: 20px; height: 20px; }
.foot-links .wa-ico { color: var(--wa); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lb-bg { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(18, 41, 77, .88); cursor: pointer; }
.lb-box { position: relative; max-width: 960px; width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; pointer-events: none; }
.lb-box img { max-width: 100%; max-height: 66vh; object-fit: contain; border-radius: 16px; background: #fff; pointer-events: auto; }
.lb-txt { color: #fff; text-align: center; display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.lb-txt strong { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 24px; line-height: 1.2; }
.lb-close { pointer-events: auto; min-height: 48px; padding: 0 32px; border: 0; border-radius: 999px; background: var(--sun-soft); color: var(--ink); font-family: inherit; font-weight: 700; font-size: 17px; cursor: pointer; }
.lb a:focus-visible, .lb button:focus-visible { outline-color: #fff; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(37, 211, 102, .45); transition: transform .15s ease; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Revelar ao rolar */
.js .reveal { transition: opacity .45s ease-out, transform .45s ease-out; }
.js .reveal:not(.in) { opacity: 0; transform: translateY(20px); }
.js .reveal.in:hover { transition-duration: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video, .contact-video { display: none; }
  .card, .btn, .wa-float, .chev { transition: none; }
  .card:hover, .btn:hover, .wa-float:hover { transform: none; }
  .js .reveal:not(.in) { opacity: 1; transform: none; }
}
