/* Rio Ready — shared styles
   Colors are sampled from the Rio Ready logo (Brazilian flag palette). */
:root {
  --green: #019847;
  --green-ink: #038A42;
  --blue: #054189;
  --yellow: #FED506;
  --white: #FFFFFF;
  --mist: #EEF3FA;       /* very light blue for quiet backgrounds */
  --line: #CDE6D6;       /* light green for borders */
  --text: #054189;
  --text-soft: #3A5F96;
  --error: #B42318;
  --radius-lg: 28px;
  --radius-md: 18px;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Instrument Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--green-ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.on-green :focus-visible, .on-blue :focus-visible { outline-color: var(--white); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--blue); padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 10; }
.skip:focus { left: 8px; }

/* Placeholder highlight — every [BRACKETED] item still needs real content. Remove the class once filled. */
.ph { background: #FFF3B0; color: #054189; outline: 2px dashed #054189; outline-offset: 2px; border-radius: 4px; padding: 0 4px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 16px; }
.nav a { text-decoration: none; padding: 10px 2px; }
.nav a.btn { padding: 0 20px; }
@media (max-width: 640px) { .nav .hide-sm { display: none; } .brand img { height: 36px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; font-family: var(--body); font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid var(--blue); cursor: pointer; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-yellow { background: var(--yellow); color: var(--blue); }
.btn-yellow:hover { color: var(--blue); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { color: var(--white); }
.btn-small { min-height: 44px; font-size: 15px; }

/* Typography */
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.015em; margin: 0; }
h1 { font-weight: 800; font-size: clamp(42px, 6vw, 76px); }
h2 { font-weight: 800; font-size: clamp(34px, 4.4vw, 54px); }
h3 { font-weight: 600; font-size: 24px; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; }
.tag { display: inline-block; background: var(--yellow); color: var(--blue); font-weight: 700; font-size: 15px; padding: 8px 16px; border-radius: 999px; }

/* Green hero */
.on-green { background: var(--green); color: var(--white); }
.on-green h1, .on-green h2 { color: var(--white); }
.on-green .lede { font-weight: 600; }
.hero { padding: 64px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 40px 0 64px; } }

/* Signup card */
.signup { background: var(--white); color: var(--blue); border-radius: var(--radius-lg); padding: 22px; width: 100%; max-width: 600px; box-shadow: 10px 10px 0 var(--yellow); }
.signup label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.signup .row { display: flex; gap: 12px; }
.signup input[type=email] { flex: 1; min-width: 0; height: 56px; padding: 0 20px; border: 2px solid var(--blue); border-radius: 999px; font: inherit; font-size: 17px; color: var(--blue); background: var(--white); }
.signup input::placeholder { color: #6E86AE; }
.signup .fine { font-size: 14px; color: var(--text-soft); margin-top: 10px; }
.signup .msg { font-size: 15px; font-weight: 700; margin-top: 10px; }
.signup .msg.error { color: var(--error); }
.hp { position: absolute; left: -5000px; }
@media (max-width: 560px) { .signup .row { flex-direction: column; } .signup input[type=email] { flex: none; width: 100%; } .signup .btn { width: 100%; } }

/* Checklist preview with flag diamond — the one bold visual moment */
.preview { position: relative; display: flex; justify-content: center; align-items: center; min-height: 500px; }
.preview .diamond { position: absolute; inset: 20px 0; width: 100%; height: calc(100% - 40px); }
.sheet { position: relative; width: min(420px, 92%); background: var(--white); color: var(--blue); border: 3px solid var(--blue); border-radius: 22px; box-shadow: 12px 12px 0 var(--blue); transform: rotate(-2deg); overflow: hidden; }
.sheet-head { background: var(--blue); color: var(--white); padding: 18px 24px; }
.sheet-head small { display: block; color: var(--yellow); font-weight: 700; font-size: 14px; }
.sheet-head strong { font-family: var(--display); font-size: 26px; font-weight: 800; }
.sheet ul { list-style: none; margin: 0; padding: 20px 24px 26px; display: grid; gap: 14px; }
.sheet li { display: flex; gap: 12px; align-items: center; font-size: 17px; line-height: 1.3; }
.box { width: 24px; height: 24px; flex-shrink: 0; border-radius: 7px; border: 2.5px solid var(--green); display: grid; place-items: center; }
.box.done { background: var(--green); }
.stamp { position: absolute; top: 18px; right: 6%; width: 104px; height: 104px; border-radius: 50%; background: var(--blue); color: var(--white); border: 4px solid var(--yellow); display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.05; transform: rotate(10deg); }
@media (max-width: 560px) { .preview { min-height: 440px; } .stamp { width: 84px; height: 84px; font-size: 17px; } }

/* Calçadão wave strip */
.waves { background: var(--yellow); height: 56px; overflow: hidden; display: flex; align-items: center; }
.waves svg { width: 100%; min-width: 900px; height: 34px; }

/* Sections */
.section { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { color: var(--green-ink); }
.section-head p { max-width: 520px; color: var(--text-soft); }
@media (max-width: 640px) { .section { padding: 64px 0; } }

.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.topic { border: 3px solid var(--line); border-radius: var(--radius-md); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.topic .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; }
.topic p { color: var(--text-soft); font-size: 17px; }
@media (max-width: 900px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .topics { grid-template-columns: 1fr; } }

/* About / blue card */
.on-blue { background: var(--blue); color: var(--white); }
.about { border-radius: 32px; padding: 48px; display: grid; grid-template-columns: 180px 1fr; gap: 44px; align-items: center; }
.about .photo { width: 180px; height: 180px; border-radius: 50%; border: 5px solid var(--yellow); background: var(--white); color: var(--blue); display: grid; place-items: center; text-align: center; font-weight: 700; font-size: 14px; overflow: hidden; }
.about .photo img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { color: var(--white); font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 14px; }
.about p { font-size: 19px; }
.about p + p { margin-top: 12px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; } .about .photo { width: 130px; height: 130px; } }

/* Offer teaser */
.teaser { border: 3px solid var(--green); border-radius: 32px; padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.teaser h2 { color: var(--green-ink); font-size: clamp(30px, 3.4vw, 42px); }
.teaser p { color: var(--text-soft); margin-top: 10px; max-width: 560px; }

/* Final CTA */
.final { text-align: center; padding: 96px 0; }
.final .lede { margin: 18px auto 30px; max-width: 560px; }
.final .signup { margin: 0 auto; text-align: left; }

/* Offer page */
.price-card { background: var(--white); color: var(--blue); border-radius: var(--radius-lg); padding: 30px; width: 100%; max-width: 440px; box-shadow: 12px 12px 0 var(--yellow); border: 3px solid var(--blue); }
.price-card .label { font-weight: 700; font-size: 16px; color: var(--green-ink); }
.price { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 1; margin: 8px 0 6px; }
.price-note { font-size: 16px; color: var(--text-soft); }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; }
.price-card li svg { flex-shrink: 0; margin-top: 3px; }
.price-card .btn { width: 100%; }
.spots { margin-top: 14px; font-size: 15px; text-align: center; color: var(--text-soft); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.steps li { border-top: 4px solid var(--green); padding-top: 18px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); font-weight: 700; margin-bottom: 14px; }
.steps p { color: var(--text-soft); margin-top: 8px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.cover { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; list-style: none; padding: 0; margin: 0; }
.cover li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; }
.cover li svg { flex-shrink: 0; margin-top: 4px; }
@media (max-width: 700px) { .cover { grid-template-columns: 1fr; } }

.guarantee { border-radius: 32px; padding: 44px; display: grid; grid-template-columns: 120px 1fr; gap: 32px; align-items: center; }
.guarantee h2 { color: var(--white); font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 12px; }
.seal { width: 120px; height: 120px; border-radius: 50%; background: var(--yellow); color: var(--blue); display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.05; border: 4px solid var(--white); }
@media (max-width: 700px) { .guarantee { grid-template-columns: 1fr; padding: 32px 24px; } }

.faq { display: grid; gap: 12px; }
.faq details { border: 3px solid var(--line); border-radius: var(--radius-md); padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; padding: 18px 0; list-style-position: inside; }
.faq details[open] summary { color: var(--green-ink); }
.faq details p { padding: 0 0 20px; color: var(--text-soft); }

.later { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.later .topic h3 { color: var(--blue); }
.soon { align-self: flex-start; font-size: 14px; font-weight: 700; background: var(--mist); color: var(--blue); padding: 4px 12px; border-radius: 999px; }
@media (max-width: 700px) { .later { grid-template-columns: 1fr; } }

/* Simple pages */
.page { padding: 72px 0 96px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); color: var(--green-ink); margin-bottom: 20px; }
.page h2 { font-size: 28px; margin: 36px 0 10px; }
.page p + p { margin-top: 12px; }
.notice { background: #FFF3B0; border: 2px dashed var(--blue); border-radius: var(--radius-md); padding: 18px 22px; margin: 24px 0; font-size: 16px; }

/* Footer */
.site-footer { background: var(--blue); color: var(--white); padding: 40px 0; font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--yellow); }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer .ph { color: var(--blue); }
