@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }

:root {
  --azulejo: #0E2A4F;
  --azulejo-2: #173A66;
  --cal: #F6F1E7;
  --cal-2: #FFFDF8;
  --domingo: #F2B33D;
  --domingo-d: #9A6A0E;
  --tejo: #3F7FBF;
  --ink: #0E2A4F;
  --muted: #5B6572;
  --line: #E6DFD2;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cal-2); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 48px); margin: 0 auto; }
.serif { font-family: var(--serif); font-weight: 400; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 46px); line-height: 1.05; letter-spacing: -.01em; }
.kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--tejo); }
.lead { font-size: 18px; color: var(--muted); max-width: 620px; margin: 12px 0 0; }

/* azulejo: padrão leve nos fundos escuros */
.tile { background-color: var(--azulejo); background-image:
  linear-gradient(45deg, transparent 47%, rgba(246,241,231,.045) 47.5%, rgba(246,241,231,.045) 52.5%, transparent 53%),
  linear-gradient(-45deg, transparent 47%, rgba(246,241,231,.045) 47.5%, rgba(246,241,231,.045) 52.5%, transparent 53%),
  radial-gradient(circle, transparent 31%, rgba(246,241,231,.045) 32%, rgba(246,241,231,.045) 35%, transparent 36%);
  background-size: 64px 64px; color: var(--cal); }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--sans); padding: 13px 20px; border-radius: 8px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--domingo); color: var(--azulejo); }
.btn-primary:hover { background: #F5C15E; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.tile .btn-ghost, .nav.dark .btn-ghost { color: var(--cal); border-color: rgba(246,241,231,.35); }
.tile .btn-ghost:hover { border-color: var(--cal); }
.btn-lg { padding: 16px 24px; font-size: 16px; }

/* navegação */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,253,248,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 25px; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.brand-mark { width: 40px; height: 28px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-links .only-mobile { display: none; }
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { padding: 10px 16px; font-size: 14px; }
.menu-btn { display: none; margin-left: auto; font: 600 14px var(--sans); background: none; border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 12px; color: var(--ink); }
@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--cal-2); padding: 16px 24px 22px; gap: 14px; border-bottom: 1px solid var(--line); margin: 0; }
  .nav.open .nav-links .only-mobile { display: block; color: var(--ink); font-weight: 600; }
}

/* topo */
.hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .kicker { color: var(--domingo); }
.hero h1 { font-family: var(--serif); font-size: clamp(44px, 6.2vw, 76px); line-height: .98; letter-spacing: -.02em; margin-top: 14px; }
.hero h1 em { color: var(--domingo); }
.hero p { font-size: 18px; color: #C9D3E0; max-width: 520px; margin: 20px 0 0; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero small { display: block; margin-top: 14px; color: #8FA0B8; font-size: 14px; }

/* relatório do topo (páginas 1 e 2 a alternar) */
.pages { justify-self: center; width: min(440px, 100%); }
.pages-stack { position: relative; aspect-ratio: 900 / 1272; }
.pages-stack::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; background: rgba(246,241,231,.14); border-radius: 10px; transform: rotate(3deg); }
.page { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); opacity: 0; transform: translateY(10px) rotate(-1.5deg) scale(.98); transition: opacity .7s ease, transform .7s ease; }
.page.is-on { opacity: 1; transform: rotate(-1.5deg); }
.pages-tabs { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.pages-tabs button { font: 500 13px var(--sans); color: #C9D3E0; background: transparent; border: 1px solid rgba(246,241,231,.25); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.pages-tabs button b { color: var(--cal); font-weight: 600; margin-right: 4px; }
.pages-tabs button[aria-selected="true"] { background: var(--domingo); border-color: var(--domingo); color: var(--azulejo); }
.pages-tabs button[aria-selected="true"] b { color: var(--azulejo); }
@media (prefers-reduced-motion: reduce) { .page { transition: none; } }

/* faixas */
section { padding: 96px 0; }
.band-cal { background: var(--cal); }
.story { padding: 64px 0; }
.story .wrap { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.story img { width: 72px; }
.story blockquote { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.18; }
.story p { color: var(--muted); margin: 12px 0 0; font-size: 16px; max-width: 760px; }

.monday { padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; counter-reset: s; }
.monday li { list-style: none; border-top: 3px solid var(--ink); padding-top: 16px; }
.monday li:last-child { border-color: var(--domingo); }
.monday .hora { font-family: var(--serif); font-size: 38px; line-height: 1; }
.monday h3 { font-weight: 600; font-size: 17px; margin-top: 10px; }
.monday p { color: var(--muted); margin: 6px 0 0; font-size: 15px; }

.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.rule { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.rule h3 { font-weight: 600; font-size: 17px; }
.rule p { color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.rule .tag { display: inline-block; font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--tejo); margin-bottom: 12px; }

.real { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.real ul { padding: 0; margin: 24px 0 0; list-style: none; }
.real li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; }
.real li::before { content: ""; position: absolute; left: 0; top: 18px; width: 14px; height: 14px; border-radius: 3px; background: var(--domingo); }
.real figure { margin: 0; }
.real figure img { border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(14,42,79,.35); }
.real figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* preços */
.section-head { text-align: center; max-width: 680px; margin: 0 auto; }
.section-head .lead { margin: 12px auto 0; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 22px; display: flex; flex-direction: column; position: relative; }
.plan.best { border: 2px solid var(--ink); }
.plan .badge { position: absolute; top: -12px; left: 20px; background: var(--domingo); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 6px; }
.plan h3 { font-weight: 600; font-size: 18px; }
.plan .for { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.price { margin: 18px 0 4px; }
.price b { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; }
.price span { color: var(--muted); font-size: 14px; }
.plan ul { padding: 0; margin: 14px 0 22px; list-style: none; font-size: 14px; flex: 1; }
.plan li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.plans-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 24px; }

/* perguntas */
.faq { max-width: 820px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 28px; line-height: .8; color: var(--tejo); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* contacto */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact h2 { color: var(--cal); }
.contact p { color: #C9D3E0; font-size: 17px; }
.contact .kicker { color: var(--domingo); }
.form { background: var(--cal-2); color: var(--ink); border-radius: 14px; padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: 400 15px var(--sans); padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--tejo); }
.form textarea { min-height: 96px; resize: vertical; }
.form small { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.form .hp { position: absolute; left: -9999px; }
.form-msg { grid-column: 1 / -1; margin: 0; font-size: 14px; min-height: 1em; }
.form-msg.ok { color: #0F5C4C; }
.form-msg.err { color: #B42318; }
button.btn:disabled { opacity: .6; cursor: default; transform: none; }

/* rodapé */
footer { padding: 56px 0 28px; }
footer .wrap:first-child { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer .brand { color: var(--cal); }
footer p { color: #8FA0B8; font-size: 14px; }
footer h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--domingo); }
footer ul { list-style: none; padding: 0; margin: 0; font-size: 15px; }
footer li { padding: 4px 0; }
footer a { text-decoration: none; color: #C9D3E0; }
footer a:hover { color: #fff; }
footer .copy { border-top: 1px solid rgba(246,241,231,.14); margin-top: 40px; padding-top: 20px; font-size: 13px; color: #8FA0B8; }

/* páginas legais */
.doc { max-width: 760px; margin: 56px auto 96px; }
.doc h1 { font-family: var(--serif); font-size: 48px; line-height: 1.05; }
.doc h2 { font-family: var(--sans); font-weight: 600; font-size: 20px; margin-top: 32px; }
.doc .upd { color: var(--muted); font-size: 14px; }
.doc p, .doc li { color: #2A3A52; }

@media (max-width: 920px) {
  section { padding: 72px 0; }
  .hero { padding: 48px 0 64px; }
  .hero .wrap, .real, .contact { grid-template-columns: 1fr; gap: 40px; }
  .monday { grid-template-columns: 1fr 1fr; }
  .rules { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  footer .wrap:first-child { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { width: min(1120px, 100% - 32px); }
  .monday, .rules, .plans, .form { grid-template-columns: 1fr; }
  .story .wrap { grid-template-columns: 1fr; gap: 16px; }
  .pages-tabs button span { display: none; }
}

/* línguas */
.lang { display: inline-flex; gap: 2px; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; padding: 2px; }
.lang a { font: 600 12.5px/1 var(--sans); text-decoration: none; color: var(--muted); padding: 7px 8px; border-radius: 6px; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--azulejo); color: var(--cal); }
footer .lang { margin-top: 14px; border-color: rgba(246,241,231,.2); }
footer .lang a { color: #C9D3E0; }
footer .lang a[aria-current="true"] { background: var(--domingo); color: var(--azulejo); }
.nav-links .only-mobile .lang { margin-top: 4px; }
