/* =========================================================
   Márcia Aguiar | Landing page
   Mobile-first. Breakpoints: 720px, 960px.
   ========================================================= */

:root {
  --navy-900: #0E1230;
  --navy-800: #0D144D;
  --orange: #F39650;
  --light: #F2F2F2;
  --white: #FFFFFF;
  --text-muted: #3A3F5C;
  --text-muted-dark: #C3C6DC;

  --line-light: #DCDDE5;
  --line-dark: rgba(255, 255, 255, 0.16);

  --font-head: "Raleway", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Lato", "Helvetica Neue", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --radius: 20px;
  --radius-lg: 22px;
  --gutter: 16px;
  --max: 1120px;
  --section-y: 64px;
}

@media (min-width: 720px) {
  :root { --gutter: 32px; --section-y: 96px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy-900);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.625rem, 1.25rem + 1.8vw, 2.5rem); font-weight: 700; color: var(--navy-800); }
h3 { font-size: 1.1875rem; font-weight: 700; color: var(--navy-800); }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.text-orange { color: var(--orange); }

/* Focus */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--white :focus-visible,
.section--light :focus-visible,
.site-header :focus-visible {
  outline-color: var(--navy-800);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--light { background: var(--light); }
.section--navy { background: var(--navy-900); color: var(--white); }
.section--navy-800 { background: var(--navy-800); color: var(--white); }
.section--navy h2,
.section--navy-800 h2,
.section--navy h3,
.section--navy-800 h3 { color: var(--white); }

.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 + .section-intro { margin-top: 16px; }
.section-intro { color: var(--text-muted); font-size: 1.125rem; }
.section-intro strong { color: var(--navy-900); }

/* Eyebrow / section label */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-800);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 4px;
  background: var(--orange);
  flex-shrink: 0;
}
.eyebrow--dark { color: var(--orange); }
.eyebrow--dark::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: var(--navy-900); }
.btn--primary:hover { background: #F7AC72; }
.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark:hover { background: var(--navy-800); }
.btn--lg { min-height: 56px; padding: 16px 32px; font-size: 1.0625rem; }
.btn--sm { min-height: 44px; padding: 10px 14px; font-size: 0.875rem; }

/* ---------- 1. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line-light);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding-block: 10px;
}
.header-logo { display: inline-flex; min-height: 44px; align-items: center; }
.header-logo img { height: 44px; width: auto; }
.icon--header { display: none; }

@media (min-width: 720px) {
  .header-inner { min-height: 80px; }
  .header-logo img { height: 56px; }
  .btn--sm { padding: 10px 20px; font-size: 0.9375rem; }
  .icon--header { display: block; }
}

/* ---------- 2. Hero ---------- */
.hero { padding-block: 56px 64px; }
.hero-grid { display: grid; gap: 48px; }
.hero h1 { color: var(--white); }
.lead { color: var(--text-muted-dark); font-size: 1.125rem; margin-top: 20px; max-width: 620px; }
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 32px; }
.hero-direct { display: flex; align-items: center; gap: 12px; max-width: 360px; }
.hero-direct picture,
.testimonial figcaption picture { flex-shrink: 0; }
.hero-direct p { color: var(--text-muted-dark); font-size: 0.9375rem; line-height: 1.45; }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  flex-shrink: 0;
  object-fit: cover;
}

.journey {
  background: var(--navy-800);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.journey-title {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 24px;
}
.journey-steps li {
  position: relative;
  display: flex;
  gap: 16px;
  padding-bottom: 22px;
}
.journey-steps li.is-last { padding-bottom: 0; }
/* vertical connector line */
.journey-steps li:not(.is-last)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: rgba(243, 150, 80, 0.45);
}
.step-dot {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-family: var(--font-head);
  font-weight: 700;
  flex-shrink: 0;
  background: var(--navy-800);
}
.is-last .step-dot { background: var(--orange); color: var(--navy-900); }
.journey-steps strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  color: var(--white);
  line-height: 1.3;
  padding-top: 6px;
}
.journey-steps div span { display: block; color: var(--text-muted-dark); font-size: 0.9375rem; }

@media (min-width: 720px) {
  .hero-cta { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .journey { padding: 36px; }
}
@media (min-width: 960px) {
  .hero { padding-block: 96px; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.card p { color: var(--text-muted); margin-top: 10px; }
.card--dark,
.card--navy-800 { color: var(--white); }
.card--dark { background: var(--navy-900); }
.card--navy-800 { background: var(--navy-800); }
.card--dark h3,
.card--navy-800 h3 { color: var(--white); }
.card--dark p,
.card--navy-800 p { color: var(--text-muted-dark); }

/* ---------- 3. Dores ---------- */
.pain-grid { display: grid; gap: 16px; }
.pain-grid li {
  position: relative;
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px 24px 24px;
  overflow: hidden;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.pain-grid li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 28px;
  height: 4px;
  background: var(--orange);
}
.closing-line {
  margin-top: 48px;
  max-width: 860px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem);
  line-height: 1.4;
  color: var(--navy-800);
}

@media (min-width: 560px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .pain-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 4. Como ajudo ---------- */
.split { display: grid; gap: 24px; }
.prose p + p { margin-top: 18px; }
.prose p { color: var(--text-muted); font-size: 1.125rem; }
.prose strong { color: var(--navy-900); }

@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1.4fr; gap: 64px; }
}

/* ---------- 5. Áreas ---------- */
.area-grid { display: grid; gap: 16px; }
.area-num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy-800);
  padding-bottom: 6px;
  border-bottom: 3px solid var(--orange);
  margin-bottom: 18px;
}
@media (min-width: 720px) { .area-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 960px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 6. Resultado ---------- */
.h2-wide { max-width: 880px; }
.outcome-grid { display: grid; gap: 28px; }
.outcome-grid li { border-top: 1px solid var(--line-dark); padding-top: 20px; }
.outcome-grid h3 { font-size: 1.25rem; }
.outcome-grid p { color: var(--text-muted-dark); margin-top: 6px; }
.outcome-grid .is-accent { border-top: 2px solid var(--orange); }
.outcome-grid .is-accent h3 { color: var(--orange); }

@media (min-width: 560px) { .outcome-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .outcome-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

/* ---------- 7. Como trabalhamos ---------- */
.phase-grid { display: grid; gap: 16px; }
.phase-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.phase-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy-900);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
}
.phase-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  color: var(--navy-800);
}
.card--dark .phase-label { color: var(--orange); }

.mode-grid { display: grid; gap: 16px; margin-top: 16px; }

.includes { margin-top: 56px; }
.check-list { display: grid; margin-top: 20px; column-gap: 40px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line-light);
}
.check-list .icon { color: var(--orange); margin-top: 3px; }

@media (min-width: 720px) {
  .mode-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
  .check-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .phase-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card { padding: 32px; }
}

/* ---------- 8. Quem sou ---------- */
.about-grid {
  display: grid;
  grid-template-areas: "head" "photo" "text";
  gap: 28px;
}
.about-head { grid-area: head; }
.about-text { grid-area: text; }
.about-role { color: var(--text-muted); font-size: 1.125rem; margin-top: 8px; }
.portrait {
  grid-area: photo;
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--orange);
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 10px;
  margin-top: 48px;
}
.tag {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 52px;
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-800);
  border: 1px solid var(--line-light);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.25;
  hyphens: none;
  overflow-wrap: normal;
  word-break: keep-all;
}
.tag--dark { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }

@media (min-width: 720px) {
  .tag-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
}
@media (min-width: 960px) {
  /* Foto à esquerda; título e texto à direita, centrados verticalmente com a foto */
  .about-grid {
    grid-template-columns: 320px 1fr;
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas:
      "photo ."
      "photo head"
      "photo text"
      "photo .";
    column-gap: 56px;
    row-gap: 0;
  }
  .portrait { align-self: center; }
  .about-text { margin-top: 28px; }
  .tag-grid { gap: 14px; }
  .tag { font-size: 0.875rem; padding: 10px 12px; }
}
@media (min-width: 1200px) {
  .about-grid { grid-template-columns: 360px 1fr; column-gap: 72px; }
}

/* ---------- 9. Testemunhos ---------- */
.testimonial-grid { display: grid; gap: 20px; }
.testimonial {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
}
.quote-mark { width: 44px; height: 33px; color: var(--orange); margin-bottom: 18px; }
.testimonial blockquote { margin: 0; flex-grow: 1; }
.testimonial blockquote p { color: var(--navy-900); }
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}
.testimonial figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.testimonial figcaption strong { display: block; font-family: var(--font-head); color: var(--navy-800); }
.testimonial figcaption span span { display: block; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.4; }

@media (min-width: 960px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}

/* ---------- 10. FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
.faq-intro .btn { margin-top: 28px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--white);
  border-radius: var(--radius);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.35;
  color: var(--navy-800);
  border-radius: var(--radius);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--navy-800);
  transition: transform .25s ease;
}
.faq-list details[open] .faq-icon { transform: rotate(45deg); }
.faq-list details p {
  padding: 0 22px 22px;
  color: var(--text-muted);
}

@media (min-width: 960px) {
  .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
  .faq-intro { position: sticky; top: 120px; }
}

/* ---------- 11. CTA final ---------- */
.cta-inner {
  max-width: 820px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-inner .lead { margin-inline: auto; max-width: 680px; }
.cta-inner .btn { margin-top: 36px; }

/* ---------- 12. Rodapé ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--white);
  border-top: 1px solid var(--line-dark);
  padding-block: 40px calc(32px + env(safe-area-inset-bottom));
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-brand {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 1.0625rem;
}
.footer-role { color: var(--text-muted-dark); font-size: 0.9375rem; margin-top: 4px; }
.footer-values {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--text-muted-dark);
  font-size: 0.9375rem;
}
.footer-copy {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  color: var(--text-muted-dark);
  font-size: 0.875rem;
}

@media (min-width: 720px) {
  .footer-top { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Botão flutuante ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy-900);
  box-shadow: 0 4px 14px rgba(14, 18, 48, 0.25);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float:hover { background: #F7AC72; }
.wa-float.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
}
@media (min-width: 720px) {
  .wa-float { right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); width: 60px; height: 60px; }
}

/* ---------- Animações (fade-in) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover { transform: none; }
}
