/* Plano de Vida Consciente — visual alinhado aos criativos do guia
   e à Arte de Ser Mãe: creme, vermelho, teal, serifada nos títulos,
   molduras arredondadas, fundos alternados. Sem cabeçalho de marca. */

:root {
  --cream: #fefcf3;
  --cream-deep: #f3ead8;
  --paper: #fffdf8;
  --ink: #1c1a17;
  --ink-soft: #3f3a36;
  --muted: #6b625a;
  --line: #e6dccb;
  --red: #c41c1d;
  --red-hover: #a31617;
  --teal: #16a085;
  --teal-deep: #0e6e5d;
  --teal-soft: #1a9a84;
  --gold: #c4a35a;
  --shadow: 0 18px 40px rgba(80, 50, 30, 0.12);
  --shadow-soft: 0 10px 28px rgba(80, 50, 30, 0.08);
  --radius: 22px;
  --max: 1120px;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-head: var(--font-serif);
  --font-body: "Roboto", "Roboto Fallback", sans-serif;
  --font-ui: "Montserrat", "Montserrat Fallback", sans-serif;
  --texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.asa-body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); }

.asa-wrap { overflow-x: hidden; }

.asa-container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

/* Hero — first element is the H1 */
.asa-hero {
  padding: 3.25rem 0 4rem;
  background-color: var(--cream);
  background-image: var(--texture), radial-gradient(1200px 500px at 90% 10%, rgba(196, 163, 90, 0.12), transparent 60%);
}
.asa-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.25rem;
  align-items: center;
}
.asa-hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.35rem, 5.4vw, 3.65rem);
  line-height: 1.12;
  color: var(--red);
  margin: 0 0 1.15rem;
  letter-spacing: -0.02em;
}
.asa-support {
  font-size: 1.22rem;
  color: var(--ink-soft);
  margin: 0 0 1rem;
  font-weight: 400;
}
.asa-hero-body {
  margin: 0 0 1.85rem;
  color: var(--ink-soft);
}
.asa-mockup {
  display: flex;
  justify-content: center;
}
.asa-mockup img,
.asa-mockup .asa-frame {
  width: min(100%, 520px);
}
.asa-mockup img {
  filter: drop-shadow(0 26px 44px rgba(60, 40, 20, 0.20));
}

/* Framed photos from official creatives */
.asa-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream-deep);
}
.asa-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.asa-frame.is-wide { max-width: 720px; margin: 2rem auto 0; }
.asa-frame.is-art { max-width: 440px; box-shadow: var(--shadow-soft); }

/* CTA — teal-deep on cream (AA 6.16:1); gold + ink on teal bands/footer */
.asa-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}
.asa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: #fff !important;
  background: var(--teal-deep);
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.9rem;
  min-height: 3rem;
  box-shadow: 0 10px 24px rgba(14, 110, 93, 0.28);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.asa-btn:hover { background: #0a5a4c; transform: translateY(-1px); }
.asa-btn:focus-visible {
  outline: 2px solid var(--teal-deep);
  outline-offset: 3px;
}
.asa-btn.is-disabled {
  background: #b9aea4;
  box-shadow: none;
  cursor: not-allowed;
}
.asa-cta-note {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
  width: 100%;
}
.asa-band .asa-cta,
.asa-footer .asa-cta {
  display: flex;
  width: 100%;
  align-items: center;
}
.asa-band .asa-btn,
.asa-footer .asa-btn {
  background: var(--gold);
  color: var(--ink) !important;
  box-shadow: 0 10px 24px rgba(28, 26, 23, 0.22);
  min-width: 16rem;
}
.asa-band .asa-btn:hover,
.asa-footer .asa-btn:hover { background: #b8923f; }
.asa-band .asa-btn:focus-visible,
.asa-footer .asa-btn:focus-visible {
  outline-color: #fefcf3;
}
.asa-band .asa-cta-note,
.asa-footer .asa-cta-note {
  color: rgba(255, 255, 255, 0.9);
}
.asa-flag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(196, 28, 29, 0.08);
  border: 1px solid rgba(196, 28, 29, 0.2);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  margin-left: 0.35rem;
  vertical-align: middle;
}

/* Sections + alternating grounds */
.asa-section { padding: 3.5rem 0; }
.asa-section h2,
.asa-footer h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  line-height: 1.22;
  color: var(--ink);
  margin: 0 0 1.35rem;
  letter-spacing: -0.015em;
}
.asa-band {
  background-color: var(--teal);
  background-image: var(--texture), radial-gradient(900px 420px at 10% 0%, rgba(255,255,255,0.10), transparent 55%);
  color: #fff;
}
.asa-band h2,
.asa-band .asa-closing,
.asa-band p,
.asa-band li { color: #fff; }
.asa-band-paper {
  background-color: var(--cream-deep);
  background-image: var(--texture);
}
.asa-lead { color: var(--ink-soft); margin: 0 0 1.4rem; max-width: 40rem; }
.asa-closing {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.2rem;
  margin: 1.5rem 0 0;
  color: var(--ink);
}

/* For-you cards */
.asa-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.asa-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.45rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.asa-card p { margin: 0; color: var(--ink-soft); }
.asa-card-icon {
  flex: 0 0 2.4rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(22, 160, 133, 0.14);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
}
.asa-card-icon svg { width: 1.2rem; height: 1.2rem; display: block; }
.asa-band .asa-card p { color: var(--ink-soft); }

/* Photo + text */
.asa-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: center;
}

/* Identification checks */
.asa-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}
.asa-checks li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.asa-checks li::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 1.05rem;
  width: 0.85rem;
  height: 0.5rem;
  border-left: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}

/* Letter */
.asa-letter { max-width: 40rem; margin: 0 auto; }
.asa-quote-mark {
  font-family: var(--font-head);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--gold);
  margin: 0 0 0.4rem;
}
.asa-letter p { margin: 0 0 1rem; color: var(--ink-soft); }
.asa-letter p.emphasis {
  font-family: var(--font-head);
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--ink);
  font-style: italic;
}

/* Author / authority */
.asa-author {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.6rem;
  align-items: start;
}
.asa-author img,
.asa-author .asa-frame {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}
.asa-author-role {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 0.3rem;
}
.asa-author h2 { margin-bottom: 0.15rem; }
.asa-author-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  margin: 0 0 1rem;
}
.asa-signoff {
  white-space: pre-line;
  font-style: italic;
  font-family: var(--font-head);
  color: var(--ink-soft);
  margin-top: 1.2rem;
}

/* Modules */
.asa-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.asa-mod {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.45rem;
  box-shadow: var(--shadow-soft);
}
.asa-mod-wide { grid-column: 1 / -1; }
.asa-mod-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--red);
  margin: 0 0 0.35rem;
}
.asa-mod h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
}
.asa-mod p { margin: 0; color: var(--ink-soft); }
.asa-summary {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: grid;
  gap: 0.45rem;
}
.asa-summary li {
  padding-left: 1.4rem;
  position: relative;
}
.asa-summary li::before {
  content: "•";
  position: absolute;
  left: 0.35rem;
  color: var(--teal);
  font-weight: 700;
}

/* Choices */
.asa-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-bottom: 1.4rem;
}
.asa-choice {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.4rem 1.55rem;
}
.asa-choice.is-yes {
  border-color: rgba(22, 160, 133, 0.45);
  box-shadow: var(--shadow);
}
.asa-choice-label {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.asa-choice.is-yes .asa-choice-label { color: var(--teal-deep); }
.asa-choice p { margin: 0; color: var(--ink-soft); }
.asa-band .asa-choice p { color: var(--ink-soft); }
.asa-band .asa-choice-label { color: var(--muted); }

/* FAQ */
.asa-faq { display: grid; gap: 0.7rem; }
.asa-faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.2rem 1rem;
}
.asa-faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.85rem 0;
  font-family: var(--font-ui);
}
.asa-faq details p { margin: 0 0 0.95rem; color: var(--ink-soft); }

/* Final CTA band */
.asa-footer {
  padding: 3.75rem 0 3rem;
  background-color: var(--teal);
  background-image: var(--texture), radial-gradient(900px 480px at 80% 0%, rgba(255,255,255,0.12), transparent 55%);
  color: #fff;
  text-align: center;
}
.asa-footer .asa-container { max-width: 760px; }
.asa-footer p {
  margin: 0 auto 0.95rem;
  max-width: 36rem;
  color: rgba(255,255,255,0.92);
}
.asa-footer .asa-signoff { color: #fff; }
.asa-footer .asa-frame {
  margin: 0 auto 1.6rem;
  max-width: 420px;
}
.asa-footer .asa-btn {
  margin-top: 0.5rem;
}
.asa-legal {
  margin-top: 2.2rem !important;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7) !important;
}

/* Preview-only bar (standalone) */
.asa-preview-bar {
  background: #1c1a17;
  color: #fefcf3;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.55rem 1rem;
}
.asa-preview-bar strong { color: #f3d27a; }

@media (max-width: 860px) {
  .asa-container { width: min(var(--max), calc(100% - 1.75rem)); }
  .asa-hero { padding: 2rem 0 2.35rem; }
  .asa-hero-grid,
  .asa-author,
  .asa-choices,
  .asa-cards,
  .asa-split,
  .asa-modules { grid-template-columns: 1fr; }
  .asa-hero-grid { gap: 1.5rem; }
  .asa-hero-body { margin-bottom: 1.45rem; }
  /* H1 remains the first element — do not pull the mockup above it */
  .asa-mockup { order: 0; }
  .asa-mockup img,
  .asa-mockup .asa-frame { width: min(100%, 300px); margin: 0 auto; }
  .asa-author { gap: 1.4rem; }
  .asa-author img,
  .asa-author .asa-frame { width: min(100%, 340px); margin: 0 auto; }
  .asa-cta { display: flex; width: 100%; align-items: center; }
  .asa-btn {
    width: 100%;
    min-width: 0;
    min-height: 3.1rem;
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
  }
  .asa-cta-note { font-size: 0.92rem; margin-top: 0.6rem; }
  .asa-section { padding: 2.15rem 0; }
  .asa-split { gap: 1.4rem; }
  .asa-frame.is-wide { margin: 1.4rem auto 0; max-width: 100%; }
  .asa-mod-wide { grid-column: auto; }
  .asa-split .asa-frame { order: 0; }
  .asa-cards { gap: 0.85rem; }
  .asa-card { padding: 1.15rem 1.1rem; }
  .asa-footer { padding: 2.7rem 0 calc(2.35rem + env(safe-area-inset-bottom, 0px)); }
  .asa-letter { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .asa-btn { transition: none; }
}
