@font-face { font-family: "Atkinson"; src: url("/fonts/atkinson-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/fonts/atkinson-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
:root { --ink: #10302F; --muted: #4A625F; --teal: #0C7675; --teal-d: #0A6463; --mint: #DDF4F3; --aqua: #EAF7F6; --line: #DCEAE8; --pink: #FBD0D6; --white: #fff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; font: 18px/1.6 "Atkinson", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: #F7FBFA; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 5.4vw, 60px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 20px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.sub { color: var(--muted); max-width: 680px; margin: 12px auto 0; }
.small { font-size: 15px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid #F0A04B; outline-offset: 3px; border-radius: 8px; }

/* Barra superior */
.top { position: sticky; top: 0; z-index: 20; background: rgba(247, 251, 250, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(220, 234, 232, 0.8); }
.bar { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 26px; color: var(--teal); text-decoration: none; letter-spacing: -0.5px; }
.brand img { height: 34px; width: auto; }
.foot .brand img { height: 28px; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.links a:hover { color: var(--teal); }
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; font-size: 15px; padding: 8px 10px; border-radius: 999px; min-height: 44px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--aqua); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(16, 48, 47, 0.14); min-width: 230px; }
.lang li a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.lang li a:hover { background: var(--aqua); }
.lang li a[aria-current="page"] { background: #E3F3F1; }
.flag { width: 26px; height: 18px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--teal), var(--teal-d)); color: #fff; box-shadow: 0 12px 26px rgba(12, 118, 117, 0.28); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-ghost { color: var(--ink); background: #fff; border: 1.5px solid var(--line); }
.btn-light { background: #fff; color: var(--teal); }

/* Herói */
.hero { background: radial-gradient(1200px 520px at 80% 10%, #FFE9EE 0%, transparent 60%), linear-gradient(180deg, var(--mint) 0%, var(--aqua) 55%, #F7FBFA 100%); padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 700; color: var(--teal); background: #fff; border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; font-size: 15px; margin: 0 0 18px; }
.lead { font-size: 20px; color: var(--muted); margin: 18px 0 26px; max-width: 560px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.badges { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.badges li { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 16px; }
.ic { width: 20px; height: 20px; color: var(--teal); flex: none; }
.note { font-size: 15px; color: var(--muted); margin: 14px 0 0; }
.hero-art { position: relative; }
.hero-art .family { width: min(520px, 100%); margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(16, 48, 47, 0.12)); }
.float { position: absolute; filter: drop-shadow(0 14px 22px rgba(16, 48, 47, 0.14)); animation: bob 6s ease-in-out infinite; }
.f1 { width: 96px; left: 2%; bottom: 14%; }
.f2 { width: 112px; right: 0; top: 2%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Seções */
.section { padding: 84px 0; }
.tint { background: linear-gradient(180deg, #F2FAF9, var(--aqua)); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 28px; }
.pain h3 { font-size: 22px; }
.pain p { color: var(--muted); margin: 10px 0 0; }
.care { background: #fff; border-radius: 28px; padding: 26px 22px; text-align: center; box-shadow: 0 10px 30px rgba(16, 48, 47, 0.06); }
.care img { width: 112px; margin: 0 auto 12px; }
.care p { color: var(--muted); margin: 8px 0 0; font-size: 16px; }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 26px 24px 0; overflow: hidden; display: flex; flex-direction: column; }
.step p { color: var(--muted); margin: 8px 0 26px; font-size: 16px; }
.step { padding-bottom: 30px; }
.step .device { margin-top: auto; }

/* Celular desenhado em CSS: bisel, tela arredondada, ilha e botões laterais */
.device { position: relative; width: min(232px, 78%); margin: 0 auto; padding: 9px; border-radius: 42px;
  background: linear-gradient(150deg, #34504E 0%, #10302F 45%, #0A1F1E 100%);
  box-shadow: 0 30px 50px -18px rgba(16, 48, 47, 0.45), 0 10px 18px -10px rgba(16, 48, 47, 0.35), inset 0 0 0 1.5px rgba(255, 255, 255, 0.10); }
.device::before, .device::after { content: ""; position: absolute; width: 3px; border-radius: 3px; background: #0A1F1E; }
.device::before { left: -3px; top: 22%; height: 9%; box-shadow: 0 46px 0 0 #0A1F1E; }
.device::after { right: -3px; top: 28%; height: 14%; }
.screen { position: relative; border-radius: 33px; overflow: hidden; aspect-ratio: 720 / 1570; background: var(--mint); transform: translateZ(0); }
.screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.island { position: absolute; top: 2.2%; left: 50%; width: 30%; height: 3.6%; transform: translateX(-50%); border-radius: 999px; background: #0A1F1E; }
.device-lg { width: min(270px, 80%); }

/* Toque animado sobre o botão de cada passo */
.tap { position: absolute; width: 15%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; }
.tap::before, .tap::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(12, 118, 117, 0.75); background: rgba(12, 118, 117, 0.12); animation: tap 2.6s ease-out infinite; }
.tap::after { animation-delay: 1.3s; }
.tap.tela-hoje { left: 39.4%; top: 42.1%; }
.tap.tela-rotina { left: 50%; top: 83.9%; width: 17%; }
.tap.tela-convite { left: 50%; top: 61.5%; width: 17%; }
@keyframes tap { 0% { transform: scale(0.55); opacity: 1; } 70% { opacity: 0.25; } 100% { transform: scale(1.75); opacity: 0; } }

/* Celular do teste: alterna entre Hoje, Rotina e Convite */
.carousel .slide { position: absolute; inset: 0; opacity: 0; animation: slide 12s ease-in-out infinite; }
.carousel .s1 { position: relative; }
.carousel .s2 { animation-delay: 4s; }
.carousel .s3 { animation-delay: 8s; }
@keyframes slide { 0% { opacity: 0; transform: scale(1.03); } 5% { opacity: 1; transform: scale(1); } 31% { opacity: 1; } 37% { opacity: 0; } 100% { opacity: 0; } }

/* Flutuação leve dos celulares */
.steps .device { animation: bob 7s ease-in-out infinite; }
.steps .step:nth-child(2) .device { animation-delay: -2.3s; }
.steps .step:nth-child(3) .device { animation-delay: -4.6s; }

/* Entrada suave ao rolar (só onde o navegador suporta; nos demais, tudo aparece normalmente) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal ease-out both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .carousel .slide { opacity: 0; } .carousel .s1 { opacity: 1; }
  .tap { display: none; }
}
.num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 16px; flex: none; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { border-radius: 32px; padding: 36px; position: relative; overflow: hidden; }
.panel p { color: var(--muted); }
.shared { background: linear-gradient(150deg, #FFF0F2, var(--pink)); }
.shared img { width: 190px; margin: 18px 0 -36px auto; }
.privacy { background: linear-gradient(150deg, #ECFAF4, #C8EEDF); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 860px; margin: 40px auto 0; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 32px; position: relative; }
.plan .price { font-size: 40px; font-weight: 700; margin: 10px 0 4px; }
.plan .price small { font-size: 18px; color: var(--muted); font-weight: 600; }
.plan.featured { border: 2px solid var(--teal); box-shadow: 0 18px 44px rgba(12, 118, 117, 0.14); }
.pill { position: absolute; top: -14px; left: 28px; background: var(--teal); color: #fff; font-weight: 700; font-size: 14px; padding: 4px 14px; border-radius: 999px; }
.trial { margin: 18px 0 0; padding: 14px 16px; border-radius: 16px; background: #EEF6F5; font-weight: 700; font-size: 16px; }
.soon { background: #fff; border: 1px dashed #9DB4B1; border-radius: 26px; padding: 24px; }
.soon .tag { display: inline-block; font-size: 13px; font-weight: 700; color: #6E4B00; background: #FBEFD2; padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.soon p { color: var(--muted); margin: 8px 0 0; font-size: 16px; }
.test { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; background: linear-gradient(150deg, #E9FBF9, #D5ECFF); border-radius: 36px; padding: 48px; }
.test .sub { margin-left: 0; }

.tsteps { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 14px; }
.tsteps li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.tsteps .num { margin: 0; }
.faq { margin-top: 32px; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 6px 22px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--muted); }
.final { background: linear-gradient(135deg, #0C7675, #0A4F4E); color: #fff; padding: 84px 0; }
.final h2 { max-width: 760px; margin: 0 auto 28px; }
.foot { padding: 40px 0; background: #fff; border-top: 1px solid var(--line); }
.foot-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot nav a { color: var(--ink); font-weight: 600; text-decoration: none; }
.foot p { width: 100%; margin: 0; color: var(--muted); font-size: 15px; }

@media (max-width: 980px) {
  .links { display: none; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .ctas, .badges { justify-content: center; }
  .test { text-align: center; }
  .test .sub { margin-left: auto; }
  .tsteps { display: inline-grid; text-align: left; }
  .lang { margin-left: auto; }
  .hero-grid, .duo, .test { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero-art { order: -1; }
  .hero-art .family { width: min(340px, 80%); }
  .grid3, .steps, .plans { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .step img { width: 64%; }
  .test { padding: 32px 24px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .ctas { flex-direction: column; align-items: stretch; max-width: 420px; margin: 0 auto; }
  .ctas .btn, .test .btn { width: 100%; }
  .badges { flex-direction: column; align-items: center; gap: 8px; }
  .bar { gap: 8px; }
  .brand { font-size: 22px; }
  .btn-sm { padding: 0 14px; }
  .grid4 { grid-template-columns: 1fr; }
  .f1 { width: 70px; } .f2 { width: 80px; }
  .section { padding: 64px 0; }
  .panel { padding: 28px; }
}
