/* =====================================================================
   Aulas com a Diana · folha de estilos
   Layout: página única, secções a toda a largura com fundos alternados
   (papel / verde-água suave / creme), conteúdo centrado a 1100px.
   Paleta e tipografia retiradas da apresentação em Canva.
   ===================================================================== */
/* Fontes servidas pelo próprio site (sem pedidos à Google): só o conjunto latino, que chega
   para o português. Licença SIL OFL 1.1, em fonts/OFL-*.txt. */
@font-face { font-family: "Lilita One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/lilita-one.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/nunito.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/nunito-italico.woff2") format("woff2"); }
:root {
  --navy:      #272B5B;   /* texto principal */
  --ink-soft:  #5B5F88;   /* texto secundário */
  --paper:     #FFFCF7;   /* fundo da página (branco quente) */
  --cream:     #FFF4DE;
  --mint:      #8FD0BE;
  --mint-soft: #E4F3EE;
  --yellow:    #FFD83D;
  --orange:    #FF9E4D;
  --coral:     #FF5B5B;   /* só decoração (ilustrações, fundos sem texto) */
  --coral-texto: #D63B3B; /* coral com texto branco por cima: 4,6:1 */
  --lilac:     #D6B9F5;
  --leaf:      #CBE2A3;
  --line:      #E6E1D6;

  --font-display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --font-body:    "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 24px;
  --wrap: 1100px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }  /* o cabeçalho fixo não tapa o título ao saltar do menu */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
:where(ul.plain, ul.ticks, ul.chips, ul.hero-facts, ul.creds, ul.contact-details) { list-style: none; margin: 0; padding: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(56px, 9vw, 110px); }

/* Marcadores de rascunho (apagar quando o texto estiver confirmado) */
.draft-bar { background: #FFE1E7; color: #8A2A45; text-align: center; font-size: 0.9rem; padding: 8px var(--gutter); }
mark.todo { background: #FFE1E7; color: #8A2A45; border-radius: 4px; padding: 0 3px; outline: 1px dashed #F08BA6; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255,252,247,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .01em; }
.brand-name strong { font-weight: 400; color: #B23B3B; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--mint-soft); }
.nav a.nav-cta { background: var(--navy); color: var(--paper); margin-left: 8px; }
.nav a.nav-cta:hover { background: #3A3F7E; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; border-radius: 10px; }
.nav-toggle span { display: block; height: 3px; background: var(--navy); border-radius: 3px; }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 16px; gap: 2px; }
  .nav a { padding: 12px 14px; }
  .nav a.nav-cta { margin: 8px 0 0; text-align: center; }
  body.nav-open .nav { display: flex; }
}

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.site-footer a:focus-visible { outline-color: var(--yellow); }
.btn-primary { background: var(--coral-texto); color: #fff; }
.btn-primary:hover { background: #BF2F2F; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--mint-soft); }
.btn-dark { background: var(--navy); color: var(--paper); }
.btn-dark:hover { background: #3A3F7E; }
.btn-whatsapp { background: #1B7F4E; color: #fff; }
.btn-whatsapp:hover { background: #146B40; }

/* ---------- Títulos de secção ---------- */
.eyebrow { font-size: 0.85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.section-title { text-align: center; }
.section-title.left { text-align: left; }
.section-title::after {
  content: ""; display: block; width: 60px; height: 14px; margin: 12px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 14'%3E%3Cpolyline points='2,11 12,3 22,11 32,3 42,11 52,3 58,8' fill='none' stroke='%23FF9E4D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.section-title.left::after { margin-left: 0; }
.section-intro { text-align: center; max-width: 60ch; margin: 18px auto 0; color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 90px); background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { max-width: 16ch; }
.lead { font-size: 1.2rem; margin-top: 20px; max-width: 52ch; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { display: grid; gap: 6px; margin-top: 28px; font-weight: 700; font-size: .95rem; color: var(--ink-soft); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); flex: none; }
.hero-facts li:nth-child(2)::before { background: var(--mint); }
.hero-facts li:nth-child(3)::before { background: var(--lilac); }
.hero-art svg { width: 100%; height: auto; display: block; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin-inline: auto; }
}

/* ---------- Oferta ---------- */
.offers { background: var(--mint-soft); }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.offer { position: relative; overflow: hidden; border-radius: var(--radius); padding: 32px 32px 150px; min-width: 0; }
.offer-yellow { background: var(--yellow); }
.offer-mint { background: var(--mint); }
.offer-single { grid-template-columns: minmax(0, 820px); justify-content: center; }
.offer-kicker { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.offer h3 { font-size: 1.7rem; }
.offer > p { margin-top: 12px; }
.ticks { margin-top: 18px; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--navy); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: calc(.45em + 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }
.offer .btn { margin-top: 24px; position: relative; z-index: 1; }
.offer-blob { position: absolute; right: 24px; bottom: -4px; width: 150px; height: auto; }

@media (max-width: 760px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer { padding: 26px 22px 130px; }
  .offer-blob { width: 120px; }
}

/* ---------- Como funciona ---------- */
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { min-width: 0; }
.step-num { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 14px; }
.n1 { background: var(--yellow); } .n2 { background: var(--orange); } .n3 { background: var(--lilac); } .n4 { background: var(--mint); } .n5 { background: var(--leaf); }
.step h3 { font-size: 1.25rem; }
.step p { margin-top: 8px; color: var(--ink-soft); font-size: .98rem; }

@media (max-width: 960px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .steps { grid-template-columns: 1fr; gap: 6px; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: start; padding-block: 14px; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .step-num { grid-row: 1 / 3; margin: 0; }
}

/* ---------- O que trabalhamos ---------- */
.program { background: var(--cream); }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.program-col { min-width: 0; }
.program-col h3 { margin-bottom: 14px; }
.program-col .plain { display: grid; gap: 6px; }
.program-col .plain li { padding-left: 18px; position: relative; }
.program-col .plain li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: .95rem; }
.c-yellow { background: var(--yellow); } .c-orange { background: var(--orange); } .c-lilac { background: var(--lilac); } .c-leaf { background: var(--leaf); } .c-coral { background: var(--coral-texto); color: #fff; }

@media (max-width: 860px) { .program-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Livros ---------- */
.books-copy p { margin-top: 16px; max-width: 55ch; }

/* ---------- Sobre ---------- */
.about { background: var(--mint-soft); }
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-copy { min-width: 0; }
.photo-placeholder { aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius); background: var(--cream); display: grid; place-items: center; align-content: center; gap: 8px; color: var(--ink-soft); font-weight: 700; border: 2px dashed var(--mint); }
.photo-placeholder svg { width: 55%; }
.about-photo img { width: 100%; border-radius: var(--radius); display: block; object-fit: cover; aspect-ratio: 4 / 5; }
.about-lead { font-size: 1.25rem; font-weight: 700; margin-top: 16px; }
.about-copy p + p { margin-top: 14px; }
.about-copy h2 + p { margin-top: 18px; max-width: 60ch; }
.creds { margin-top: 22px; display: grid; gap: 8px; }
.creds li { background: var(--paper); border-radius: 12px; padding: 10px 14px; font-size: .95rem; }
.creds strong { display: inline-block; min-width: 9.5em; }

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 260px; }
}

/* ---------- Testemunhos ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.quote { margin: 0; background: var(--cream); border-radius: var(--radius); padding: 28px; min-width: 0; }
.quote p { font-size: 1.05rem; }
.quote cite { display: block; margin-top: 14px; font-style: normal; font-weight: 800; font-size: .9rem; }
@media (max-width: 700px) { .quote-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq details:first-of-type { margin-top: 36px; border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; font-size: 1.08rem; padding: 14px 40px 14px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; background: var(--mint); }
.faq details p { padding: 0 0 18px; color: var(--ink-soft); max-width: 65ch; }

/* ---------- Contacto ---------- */
.contact { background: var(--cream); }
.contact-inner { text-align: center; max-width: 720px; }
.contact-art { width: 140px; height: auto; margin-bottom: 18px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.contact-details { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-weight: 700; color: var(--ink-soft); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy); color: var(--paper); padding-block: 36px; font-size: .95rem; }
.footer-inner { display: grid; gap: 8px; text-align: center; }
.footer-links a { color: var(--paper); }
.footer-small { opacity: .7; font-size: .85rem; }
.site-footer mark.todo { background: #4A3A5C; color: #FFD3DD; outline-color: #B07A8E; }

/* ---------- Ajustes v2 ---------- */
.program-sub { margin-top: 26px; font-size: 1.15rem; }
.program-col > p + .program-sub + p { margin-top: 10px; }
.program-col p { margin-top: 0; }
.program-sub + p { margin-top: 10px; }
.about-copy .eyebrow { margin-bottom: 8px; }

@media (max-width: 560px) { .creds strong { display: block; min-width: 0; } }

/* =====================================================================
   v3 · formulário de contacto, blog e artigos
   ===================================================================== */

/* ---------- Formulário ---------- */
.contact-inner { max-width: 820px; }
.contact-form { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; text-align: left; background: var(--paper); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 800; font-size: .95rem; padding: 0; }
.opt { font-weight: 600; color: var(--ink-soft); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; color: var(--navy); background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 11px 14px;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); }
.contact-form ::placeholder { color: #A3A6C2; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.choice { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 2px solid var(--line); border-radius: 999px; font-weight: 700; cursor: pointer; background: #fff; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--yellow); }
.choice input { accent-color: var(--navy); width: 18px; height: 18px; margin: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.consent input { accent-color: var(--navy); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-actions .btn { border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.form-alt { font-size: .92rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 620px) { .contact-form { grid-template-columns: 1fr; } }

/* ---------- Cartões de artigos ---------- */
.post-cards { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.post-card a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.post-card a:hover { transform: translateY(-2px); border-color: var(--mint); }
.post-card .chip { align-self: flex-start; font-size: .8rem; padding: 4px 12px; }
.post-card h3 { font-size: 1.3rem; }
.post-card p { color: var(--ink-soft); font-size: .97rem; }
.post-card-meta { margin-top: auto; font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.c-mint { background: var(--mint); }
.blog-teaser { background: var(--mint-soft); }
.blog-teaser-more { text-align: center; margin-top: 32px; }

/* ---------- Lista do blog ---------- */
.blog-head { padding-block: clamp(44px, 7vw, 80px) 0; }
.blog-filter { justify-content: center; margin-top: 24px; }
.blog-list { padding-top: 8px; }

/* ---------- Artigo ---------- */
.post-head { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 80px) clamp(70px, 9vw, 100px); }
.post-head.cat-mint { background: var(--mint); } .post-head.cat-yellow { background: var(--yellow); }
.post-head.cat-orange { background: var(--orange); } .post-head.cat-coral { background: #FFB4A8; }
.post-head.cat-lilac { background: var(--lilac); }
.post-head-inner { max-width: 820px; }
.post-crumbs { font-weight: 800; font-size: .9rem; letter-spacing: .04em; }
.post-crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.post-head h1 { margin-top: 14px; font-size: clamp(2rem, 4.6vw, 3.1rem); }
.post-lead { margin-top: 16px; font-size: 1.2rem; max-width: 56ch; }
.post-meta { margin-top: 18px; font-size: .92rem; font-weight: 700; opacity: .85; }
.post-head-blob { position: absolute; right: clamp(16px, 6vw, 80px); bottom: -4px; width: clamp(90px, 14vw, 150px); }

.prose { max-width: 720px; padding-block: clamp(32px, 5vw, 56px) 0; font-size: 1.12rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.8rem); margin-top: 1.9em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--orange); font-weight: 800; }
.prose blockquote { margin-inline: 0; padding: 14px 20px; background: var(--cream); border-left: 6px solid var(--yellow); border-radius: 0 16px 16px 0; font-weight: 600; }
.prose a { color: var(--navy); font-weight: 700; text-underline-offset: 3px; }
.prose strong { font-weight: 800; }

.post-cta { max-width: 720px; padding-block: 48px 0; }
.post-cta-box { background: var(--cream); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; justify-items: start; }
.post-cta-box h2 { font-size: 1.45rem; }
.post-cta-box p { color: var(--ink-soft); }
.related { padding-block: 56px 80px; }
.related h2 { font-size: 1.6rem; }
.related .post-cards { margin-top: 20px; }

/* Notas de revisão (só aparecem nos rascunhos) */
.review-notes { max-width: 720px; margin-top: 32px; }
.review-notes > div { background: #FFF1F4; border: 2px dashed #F08BA6; border-radius: 18px; padding: 20px 22px; color: #6E2238; }
.review-notes h2 { font-family: var(--font-body); font-weight: 800; font-size: 1rem; letter-spacing: .02em; }
.review-notes h3 { font-family: var(--font-body); font-weight: 800; font-size: .92rem; margin-top: 14px; }
.review-notes ul { margin: 8px 0 0; padding-left: 1.2em; font-size: .95rem; }
.review-notes li + li { margin-top: 4px; }
.review-notes p { font-size: .95rem; margin-top: 6px; }
.review-notes a { color: inherit; word-break: break-word; }
.review-meta { font-size: .82rem !important; opacity: .8; margin-top: 12px !important; }

/* Botão do WhatsApp por nome de utilizador */
.wa-box { margin-top: 28px; display: grid; justify-items: center; gap: 12px; }
.wa-box p { color: var(--ink-soft); font-weight: 700; }
