/*
Theme Name: Método Casa em Ordem
Theme URI: https://example.com/
Author: Casa em Ordem
Description: Landing page de alta conversão para o Método Casa em Ordem.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: casa-em-ordem
*/

:root {
  --green: #2d4b39;
  --green-2: #1f3e2d;
  --green-soft: #e9f0ea;
  --terracotta: #e36b5c;
  --terracotta-dark: #ce5547;
  --nude: #f8e3d8;
  --cream: #faf6f0;
  --white: #fff;
  --ink: #213027;
  --muted: #647068;
  --gold: #dac8a1;
  --shadow: 0 20px 55px rgba(31, 62, 45, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(850px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 92px 0; }
.section-soft { background: var(--cream); }
.section-green { background: var(--green-2); color: var(--white); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 13px;
  border: 1px solid rgba(45,75,57,.16);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .09em;
  line-height: 1.2;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--green); line-height: 1.13; letter-spacing: -.025em; }
h1 { margin-bottom: 22px; font-size: clamp(39px, 5.4vw, 68px); }
h2 { margin-bottom: 22px; font-size: clamp(31px, 4vw, 48px); }
h3 { margin-bottom: 10px; font-size: 22px; }
.lead { color: #34463b; font-size: clamp(19px, 2vw, 23px); line-height: 1.55; }
.sublead { color: var(--muted); font-size: 19px; }
.accent { color: var(--terracotta); }
.topbar {
  position: relative;
  z-index: 20;
  padding: 10px 18px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 78px;
  background:
    radial-gradient(circle at 95% 10%, rgba(227,107,92,.14), transparent 30%),
    radial-gradient(circle at 2% 88%, rgba(45,75,57,.10), transparent 28%),
    var(--cream);
}
.hero::after {
  position: absolute;
  right: -110px;
  top: 80px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(227,107,92,.23);
  border-radius: 50%;
  content: "";
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 58px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 em { color: var(--terracotta); font-style: normal; }
.hero-bullets, .clean-list { margin: 26px 0; padding: 0; list-style: none; }
.hero-bullets li, .clean-list li { position: relative; margin: 10px 0; padding-left: 31px; }
.hero-bullets li::before, .clean-list li::before {
  position: absolute;
  left: 0;
  top: .14em;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}
.button {
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  padding: 17px 26px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(180deg, #3c694d 0%, var(--green) 100%);
  box-shadow: 0 12px 25px rgba(45,75,57,.24), inset 0 1px rgba(255,255,255,.25);
  color: white;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .015em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(45,75,57,.3); }
.button:focus-visible { outline: 4px solid rgba(227,107,92,.35); outline-offset: 3px; }
.button-xl { width: min(100%, 560px); min-height: 72px; font-size: 18px; }
.microcopy { margin: 10px 0 0; color: var(--muted); font-size: 13px; font-weight: 650; }
.hero-product { position: relative; z-index: 2; min-height: 560px; }
.book {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(45,75,57,.11);
  border-radius: 9px;
  background: white;
  box-shadow: 0 30px 55px rgba(31,62,45,.2);
}
.book img { width: 100%; }
.book-main { z-index: 4; left: 19%; top: 5%; width: 55%; transform: rotate(-2deg); }
.book-side { z-index: 2; right: 0; top: 24%; width: 43%; transform: rotate(8deg); }
.book-back { z-index: 1; left: 0; top: 24%; width: 42%; transform: rotate(-9deg); }
.product-badge {
  position: absolute;
  z-index: 6;
  right: 4%;
  bottom: 6%;
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  border: 6px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: var(--shadow);
  color: white;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}
.trust-strip { border-top: 1px solid #ebebe7; border-bottom: 1px solid #ebebe7; background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.trust-item { padding: 22px; text-align: center; }
.trust-item + .trust-item { border-left: 1px solid #ebebe7; }
.trust-item strong { display: block; color: var(--green); font-size: 15px; }
.trust-item span { display: block; color: var(--muted); font-size: 13px; }
.story p { margin-bottom: 18px; }
.pain-cycle { display: grid; grid-template-columns: repeat(5,1fr); gap: 9px; margin: 35px 0; }
.pain-cycle span {
  padding: 15px 8px;
  border-radius: 12px;
  background: var(--nude);
  color: var(--terracotta-dark);
  font-size: 15px;
  font-weight: 850;
  text-align: center;
}
.callout { margin: 34px 0; padding: 28px; border-left: 6px solid var(--terracotta); border-radius: 0 var(--radius) var(--radius) 0; background: var(--nude); }
.callout h3 { color: var(--terracotta-dark); }
.callout p:last-child { margin-bottom: 0; }
.solution-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 65px; align-items: center; }
.brand-card { padding: 24px; border: 1px solid rgba(45,75,57,.1); border-radius: 30px; background: white; box-shadow: var(--shadow); }
.brand-card img { border-radius: 20px; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 44px; }
.step { position: relative; padding: 28px 22px; border: 1px solid rgba(45,75,57,.10); border-radius: 18px; background: white; }
.step-number { display: grid; width: 38px; height: 38px; margin-bottom: 20px; place-items: center; border-radius: 50%; background: var(--terracotta); color: white; font-size: 15px; font-weight: 900; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.modules { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 42px; }
.module { padding: 28px; border: 1px solid #e7e9e6; border-radius: 18px; background: white; box-shadow: 0 8px 25px rgba(31,62,45,.05); }
.module-wide { grid-column: span 2; background: var(--green); }
.module-wide h3, .module-wide p { color: white; }
.module-icon { display: grid; width: 44px; height: 44px; margin-bottom: 19px; place-items: center; border-radius: 12px; background: var(--green-soft); color: var(--green); font-size: 21px; }
.module h3 { font-size: 19px; }
.module p { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.module small { display: block; margin-bottom: 8px; color: var(--terracotta); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.planner-showcase { display: grid; grid-template-columns: .85fr 1.15fr; gap: 55px; align-items: center; margin-top: 65px; padding: 42px; border-radius: 28px; background: var(--nude); }
.planner-stack { position: relative; min-height: 420px; }
.planner-stack .book { width: 48%; top: 0; }
.planner-stack .one { z-index: 2; left: 12%; transform: rotate(-7deg); }
.planner-stack .two { z-index: 3; right: 10%; top: 28px; transform: rotate(6deg); }
.qualify { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 38px; }
.qual-card { padding: 34px; border-radius: 22px; background: white; }
.qual-card.no { border: 1px solid #eee; }
.qual-card.no h3 { color: var(--terracotta-dark); }
.no-list { margin: 23px 0 0; padding: 0; list-style: none; }
.no-list li { position: relative; margin: 12px 0; padding-left: 30px; }
.no-list li::before { position: absolute; left: 0; color: var(--terracotta); content: "×"; font-size: 25px; font-weight: 900; line-height: 1; }
.offer-wrap { padding: 50px; border: 1px solid rgba(218,200,161,.9); border-radius: 30px; background: white; box-shadow: var(--shadow); }
.offer-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.offer-cover { position: sticky; top: 30px; }
.offer-cover img { width: 78%; margin: auto; border-radius: 10px; box-shadow: 0 28px 50px rgba(31,62,45,.22); }
.value-list { margin: 24px 0; }
.value-row { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid #eee; font-size: 15px; }
.value-row b { color: var(--green); }
.price-box { margin: 28px 0; padding: 26px; border-radius: 20px; background: var(--cream); text-align: center; }
.old-price { color: var(--muted); font-size: 16px; }
.old-price s { color: var(--terracotta); font-weight: 800; }
.today { display: inline-block; margin: 10px 0; padding: 6px 11px; border-radius: 7px; background: var(--terracotta); color: white; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.price { color: var(--green); font-size: clamp(54px, 7vw, 78px); font-weight: 950; letter-spacing: -.06em; line-height: 1; }
.price-note { margin-top: 9px; color: var(--muted); font-size: 14px; }
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 25px; align-items: center; margin-top: 40px; padding: 30px; border: 1px solid #dbe4dd; border-radius: 20px; background: var(--green-soft); }
.shield { display: grid; width: 76px; height: 76px; place-items: center; border-radius: 50%; background: var(--green); color: white; font-size: 34px; }
.guarantee p { margin-bottom: 0; font-size: 15px; }
.closing h2, .closing h3 { color: white; }
.closing .lead { color: rgba(255,255,255,.82); }
.closing-quote { margin: 38px 0; padding: 26px; border-top: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); color: #f5c2b9; font-size: 25px; font-weight: 850; line-height: 1.3; }
.faq { display: grid; gap: 12px; margin-top: 38px; }
.faq details { border: 1px solid #e7e9e6; border-radius: 15px; background: white; }
.faq summary { position: relative; padding: 22px 55px 22px 22px; color: var(--green); cursor: pointer; font-weight: 850; list-style: none; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { position:absolute; right:22px; top:19px; color:var(--terracotta); content:"+"; font-size:28px; line-height:1; }
.faq details[open] summary::after { content:"−"; }
.faq-answer { padding: 0 22px 22px; color: var(--muted); font-size: 16px; }
.faq-answer p:last-child { margin-bottom: 0; }
.final-card { padding: 52px; border-radius: 28px; background: var(--nude); text-align: center; }
.final-card .price { margin: 18px 0; }
.footer { padding: 34px 0 105px; background: #17271e; color: rgba(255,255,255,.62); font-size: 12px; text-align: center; }
.footer-logo { width: 105px; margin: 0 auto 16px; border-radius: 50%; }
.footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin: 16px 0; }
.footer a:hover { color: white; }
.mobile-cta { display: none; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

@media (max-width: 900px) {
  body { font-size: 17px; }
  .section { padding: 70px 0; }
  .hero { padding-top: 42px; }
  .hero-grid, .solution-grid, .offer-grid, .planner-showcase { grid-template-columns: 1fr; }
  .hero-grid { gap: 20px; }
  .hero-copy { text-align: center; }
  .hero-bullets { display: inline-block; text-align: left; }
  .hero-product { min-height: 500px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .modules { grid-template-columns: 1fr 1fr; }
  .module-wide { grid-column: span 2; }
  .offer-cover { position: relative; top: 0; }
  .offer-cover img { width: min(360px, 70%); }
}

@media (max-width: 620px) {
  .container, .narrow { width: min(100% - 28px, 1140px); }
  .section { padding: 56px 0; }
  .topbar { font-size: 12px; }
  h1 { font-size: 39px; }
  h2 { font-size: 32px; }
  .lead { font-size: 18px; }
  .button { width: 100%; padding-inline: 16px; }
  .hero-product { min-height: 390px; }
  .book-main { left: 18%; width: 58%; }
  .book-side { right: 1%; width: 42%; }
  .book-back { left: 1%; width: 41%; }
  .product-badge { right: 0; bottom: 2%; width: 92px; height: 92px; border-width: 4px; font-size: 12px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-top: 1px solid #ebebe7; border-left: 0; }
  .pain-cycle { grid-template-columns: 1fr; }
  .steps, .modules, .qualify { grid-template-columns: 1fr; }
  .module-wide { grid-column: auto; }
  .planner-showcase { padding: 26px 18px; }
  .planner-stack { min-height: 330px; }
  .offer-wrap { padding: 28px 18px; }
  .guarantee { grid-template-columns: 1fr; text-align: center; }
  .shield { margin: auto; }
  .final-card { padding: 38px 18px; }
  .mobile-cta {
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 9px 12px max(9px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(45,75,57,.12);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    transform: translateY(110%);
    transition: transform .25s ease;
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta .button { min-height: 52px; font-size: 14px; }
}
