* { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; font-family: 'IBM Plex Sans', sans-serif; -webkit-font-smoothing: antialiased; color: #14304A; background: #FBFCFC; }
  a { color: #17998F; text-decoration: none; }
  a:hover { color: #0E7C86; }

  /* Launch phase: main.js adds .pos to #landing once subscriptions open.
     Without script the page stays on the pre-launch copy. */
  [data-fase="pos"] { display: none; }
  #landing.pos [data-fase="pre"] { display: none; }
  #landing.pos [data-fase="pos"] { display: revert; }

  /* Billing period on the plans. */
  [data-per="anual"] { display: none; }
  #landing.anual [data-per="mensal"] { display: none; }
  #landing.anual [data-per="anual"] { display: revert; }
  #landing:not(.pos) [data-fase="pos"][data-per], #landing:not(.anual) [data-per="anual"][data-fase] { display: none; }

  details > summary { list-style: none; cursor: pointer; }
  details > summary::-webkit-details-marker { display: none; }
  details[open] .faq-plus { transform: rotate(45deg); }
  input::placeholder, textarea::placeholder { color: #9AA6AC; }
  [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.2s cubic-bezier(.2,.7,.2,1), transform 1.2s cubic-bezier(.2,.7,.2,1); }
  [data-reveal].in { opacity: 1; transform: none; }
  [data-reveal-d="1"] { transition-delay: .12s; } [data-reveal-d="2"] { transition-delay: .24s; } [data-reveal-d="3"] { transition-delay: .36s; }
  .hero-word { display: inline-block; opacity: 0; transform: translateY(110%); animation: rise 1.3s cubic-bezier(.2,.7,.2,1) forwards; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  #nav.scrolled .nav-row { background: rgba(251,252,252,0.84); backdrop-filter: blur(18px); border-bottom-color: rgba(20,48,74,0.08); }
  #cursor { position: fixed; left: 0; top: 0; width: 12px; height: 12px; border-radius: 999px; background: #17998F; pointer-events: none; z-index: 999; transform: translate(-50%,-50%); transition: width .4s cubic-bezier(.2,.7,.2,1), height .4s cubic-bezier(.2,.7,.2,1), background .4s, opacity .3s; opacity: 0; }
  #cursor.on { opacity: 1; }
  #cursor.big { width: 64px; height: 64px; background: rgba(95,216,203,0.28); }
  .hov-link { position: relative; }
  .hov-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
  .hov-link:hover::after { transform: scaleX(1); transform-origin: left; }
  .card-lift { transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .6s; }
  .card-lift:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(20,48,74,.35) !important; }
  #nav a, #nav button, #nav a span { color: #fff !important; }
  #nav .nav-cta { border-color: rgba(255,255,255,0.55) !important; }
  #nav #logo-dark { stroke: #fff; transition: stroke .5s; }
  #nav.scrolled a, #nav.scrolled button, #nav.scrolled a span { color: #14304A !important; }
  #nav.scrolled .nav-cta { color: #0E3B3E !important; border-color: #0E3B3E !important; }
  #nav.scrolled #logo-dark { stroke: #0E3B3E; }
  #nav .bar, #nav .bar a, #nav .bar span { color: #06110F !important; }
  .stg { opacity: 0; transform: translateY(26px); transition: opacity .95s cubic-bezier(.2,.7,.2,1), transform .95s cubic-bezier(.2,.7,.2,1); }
  .stg.in { opacity: 1; transform: none; }
  .rule-line { transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2,.7,.2,1) .15s; }
  .in .rule-line, .rule-line.in { transform: scaleX(1); }

  /* Product screenshots. The design canvas placed them through an image-slot
     element that fills its box and crops to cover; this is the same, as CSS. */
  .screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
  .screen-note { position: absolute; left: 16px; bottom: 16px; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.04em; color: #0E3B3E; background: rgba(255,255,255,0.92); border-radius: 8px; padding: 8px 12px; max-width: 80%; pointer-events: none; }

  .per-btn { background: none; border: none; cursor: pointer; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #9AA6AC; padding: 9px 16px; border-radius: 999px; transition: background .35s, color .35s; }
  .per-btn:hover { color: #0E3B3E; }
  #landing .per-btn[data-p="mensal"], #landing.anual .per-btn[data-p="anual"] { background: rgba(23,153,143,0.12); color: #0E3B3E; }
  #landing.anual .per-btn[data-p="mensal"] { background: none; color: #9AA6AC; }
  .plan-btn { transition: background .35s, color .35s; }

  @media (max-width: 1200px) {
    #planos .plans-grid { grid-template-columns: repeat(2, 1fr) !important; }
  }
  @media (max-width: 900px) {
    #landing header, #landing section, #landing footer { padding-left: 24px !important; padding-right: 24px !important; }
    #nav .nav-row > div { padding: 18px 24px !important; }
    #nav .nav-links { display: none !important; }
    #top { padding-top: 150px !important; }
    #top h1 { font-size: clamp(34px, 9.4vw, 64px) !important; }
    #landing [style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 40px !important; }
    #landing .num-row { grid-template-columns: 56px 1fr !important; gap: 20px !important; }
    #landing [style*="align-items: end"] { align-items: start !important; }
    #landing [style*="text-align: right"] { text-align: left !important; }
    #landing [style*="justify-content: flex-end"] { justify-content: flex-start !important; }
    #landing section { padding-top: 110px !important; padding-bottom: 100px !important; }
    #landing .mock-phone { display: none !important; }
  }
  @media (max-width: 560px) {
    #landing header, #landing section, #landing footer { padding-left: 18px !important; padding-right: 18px !important; }
  }
  @media (pointer: coarse) { #cursor { display: none; } }
  @keyframes drift { to { transform: translateX(-600px); } }
  @media (prefers-reduced-motion: reduce) { * { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; } }

  /* Hover states the design canvas carried as style-hover attributes. */
  .hov-1:hover { background: #0E3B3E; color: #fff; }
  .hov-2:hover { background: #5FD8CB; color: #06110F; }
  .hov-3:hover { background: #9FD3CC; }

  /* Forms: the design has no busy or error state. The form and its success
     panel carry an inline display, which would otherwise beat [hidden]. */
  form[data-busy] button[type="submit"] { opacity: .6; pointer-events: none; }
  .form-error { display: none; font-size: 15px; line-height: 1.5; color: #FFC9C0; }
  .form-error.on { display: block; }
  form[hidden], .form-success[hidden] { display: none !important; }

  /* FAQ: the panel is measured and animated by script. overflow:hidden keeps
     the answer's top margin from collapsing out of the measurement, and the
     closing class un-rotates the plus while the panel is still open. */
  .faq-panel { overflow: hidden; }
  details.faq-closing .faq-plus { transform: none; }
