/* =========================================================
   Luis Filipe Maia — Landing Google Ads
   Mobile-first 100% · touch · safe-area · conversão
   ========================================================= */

:root {
  --bg: #f7f4ef;
  --bg-muted: #efeae2;
  --surface: #ffffff;
  --text: #1c2430;
  --text-soft: #4a5563;
  --accent: #2f5d50;
  --accent-deep: #23463c;
  --accent-soft: #e4efe9;
  --wa: #1faf5a;
  --wa-hover: #18964b;
  --wa-active: #148a43;
  --border: #e6e1d8;
  --shadow: 0 12px 40px rgba(28, 36, 48, 0.08);
  --shadow-sm: 0 4px 16px rgba(28, 36, 48, 0.06);
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1120px;
  --header-h: 56px;
  --sticky-h: 72px;
  --gutter: 1rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tap: 48px; /* min touch target */
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
}

@media (min-width: 480px) {
  :root {
    --gutter: 1.25rem;
    --header-h: 60px;
  }
}

@media (min-width: 900px) {
  :root {
    --gutter: 1.5rem;
    --header-h: 72px;
    --radius: 16px;
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* espaço para sticky CTA no mobile */
  padding-bottom: 0;
}

body.has-sticky {
  padding-bottom: calc(var(--sticky-h) + var(--safe-b));
}

@media (min-width: 900px) {
  body,
  body.has-sticky {
    padding-bottom: 0;
    font-size: 1.0625rem;
    line-height: 1.65;
  }
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  -webkit-tap-highlight-color: rgba(47, 93, 80, 0.12);
}

/* Hover só em dispositivos com hover real */
@media (hover: hover) and (pointer: fine) {
  a:hover {
    color: var(--accent-deep);
  }
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.7rem, 6.2vw, 2.15rem);
  font-weight: 700;
  margin-bottom: 0.65em;
}

h2 {
  font-size: clamp(1.4rem, 5vw, 1.85rem);
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35em;
}

@media (min-width: 900px) {
  h1 {
    font-size: clamp(2rem, 4.5vw, 3.15rem);
  }
  h2 {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
  }
  h3 {
    font-size: 1.2rem;
  }
}

p {
  margin: 0 0 0.9em;
  color: var(--text-soft);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--text);
  font-weight: 600;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
  padding-left: var(--safe-l);
  padding-right: var(--safe-r);
}

.container.narrow {
  width: min(100% - (var(--gutter) * 2), 720px);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: calc(1rem + var(--safe-t));
}

/* Labels responsivos (texto curto no mobile) */
.only-desktop {
  display: none !important;
}

@media (min-width: 480px) {
  .only-mobile {
    display: none !important;
  }
  .only-desktop {
    display: inline !important;
  }
}

/* ---------- Header (compacto no mobile) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.97);
  border-bottom: 1px solid transparent;
  padding-top: var(--safe-t);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

@supports (backdrop-filter: blur(8px)) {
  @media (min-width: 900px) {
    .site-header {
      background: rgba(247, 244, 239, 0.88);
      backdrop-filter: blur(12px);
    }
  }
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 1;
}

.brand:hover {
  color: inherit;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .brand-logo {
    width: 40px;
    height: 40px;
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--text-soft);
}

/* CRP some no mobile estreito; nome fica */
@media (max-width: 359px) {
  .brand-text span {
    display: none;
  }
}

/* ---------- Buttons (touch-first) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: var(--tap);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.15s var(--ease), box-shadow 0.15s var(--ease),
    border-color 0.15s var(--ease), transform 0.15s var(--ease);
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn:active {
  transform: scale(0.98);
}

.btn-whatsapp {
  background: var(--wa);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(31, 175, 90, 0.32);
}

.btn-whatsapp:active {
  background: var(--wa-active);
  color: #fff !important;
}

@media (hover: hover) and (pointer: fine) {
  .btn-whatsapp:hover {
    background: var(--wa-hover);
    transform: translateY(-1px);
    color: #fff !important;
  }
}

.btn-ghost {
  background: transparent;
  color: var(--accent) !important;
  border-color: rgba(47, 93, 80, 0.28);
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent-deep) !important;
  }
}

.btn-lg {
  min-height: 52px;
  padding: 0.95rem 1.35rem;
  font-size: 1rem;
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* No mobile: CTAs principais ocupam largura total */
.hero-actions .btn,
.center-cta .btn,
.cta-inner .btn {
  width: 100%;
}

@media (min-width: 560px) {
  .hero-actions .btn {
    width: auto;
  }
}

@media (min-width: 800px) {
  .cta-inner .btn {
    width: auto;
    flex-shrink: 0;
  }
}

.icon-wa {
  flex-shrink: 0;
}

/* Header CTA: compacto */
.header-cta {
  flex-shrink: 0;
  padding-inline: 0.75rem;
  gap: 0.35rem;
}

@media (max-width: 379px) {
  .header-cta .icon-wa {
    margin: 0;
  }
}

/* ---------- Hero (acima da dobra no mobile) ---------- */
.hero {
  padding: 1.15rem 0 1.75rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero {
    padding: 2.5rem 0 3.5rem;
  }
}

.hero::before {
  content: none; /* menos paint no mobile */
}

@media (min-width: 900px) {
  .hero::before {
    content: "";
    position: absolute;
    inset: auto -20% 20% 40%;
    height: 60%;
    background: radial-gradient(
      ellipse at center,
      rgba(47, 93, 80, 0.09),
      transparent 65%
    );
    pointer-events: none;
    z-index: 0;
  }
}

.hero-grid {
  display: grid;
  gap: 1.35rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Mobile: foto compacta DEPOIS do bloco de conversão (order) */
.hero-copy {
  order: 1;
}

.hero-visual {
  order: 2;
  position: relative;
  justify-self: center;
  width: min(72%, 260px);
  margin-top: 0.25rem;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    padding-block: 1.5rem 2rem;
  }
  .hero-copy,
  .hero-visual {
    order: unset;
  }
  .hero-visual {
    width: min(100%, 400px);
    margin-top: 0;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.65rem;
  max-width: 100%;
  line-height: 1.35;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 0 0 3px rgba(31, 175, 90, 0.2);
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
  }
}

.eyebrow.light,
.section-head.light .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.hero-lead {
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 36em;
  margin-bottom: 1.15rem;
}

@media (min-width: 900px) {
  .hero-lead {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    margin-bottom: 1.75rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.15rem;
}

@media (min-width: 560px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
}

/* Trust: chips horizontais no mobile (menos altura) */
.trust-row {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  border-top: 1px solid var(--border);
}

.trust-row li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1 1 auto;
  min-width: calc(33% - 0.45rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
}

.trust-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-soft);
  font-weight: 600;
}

.trust-row strong {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
}

@media (min-width: 900px) {
  .trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding-top: 1.1rem;
  }
  .trust-row li {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    min-width: 0;
  }
  .trust-label {
    font-size: 0.75rem;
  }
  .trust-row strong {
    font-size: 0.95rem;
  }
}

.photo-frame {
  border-radius: 20px 20px 48px 20px;
  overflow: hidden;
  background: var(--accent-soft);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  aspect-ratio: 1;
}

@media (min-width: 900px) {
  .photo-frame {
    border-radius: 28px 28px 80px 28px;
    box-shadow: var(--shadow);
  }
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.photo-badge {
  position: absolute;
  left: -0.25rem;
  bottom: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.photo-badge span {
  font-size: 0.65rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.photo-badge strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--accent);
}

@media (min-width: 900px) {
  .photo-badge {
    left: -0.5rem;
    bottom: 1.5rem;
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
  }
  .photo-badge span {
    font-size: 0.75rem;
  }
  .photo-badge strong {
    font-size: 1.1rem;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 2.25rem 0;
}

@media (min-width: 900px) {
  .section {
    padding: 4rem 0;
  }
}

.section-muted {
  background: var(--bg-muted);
}

.section-accent {
  background: linear-gradient(160deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
}

.section-accent h2,
.section-accent h3,
.section-accent strong {
  color: #fff;
}

.section-accent p,
.section-accent .section-lead {
  color: rgba(255, 255, 255, 0.88);
}

.section-head {
  max-width: 640px;
  margin-bottom: 1.35rem;
}

@media (min-width: 900px) {
  .section-head {
    margin-bottom: 2.25rem;
  }
}

.section-head.light {
  max-width: 720px;
}

.section-lead {
  font-size: 0.98rem;
  margin: 0;
}

@media (min-width: 900px) {
  .section-lead {
    font-size: 1.1rem;
  }
}

.section-note {
  text-align: left;
  margin: 1.35rem auto 0;
  max-width: 40em;
  color: var(--text-soft);
  font-size: 0.95rem;
}

@media (min-width: 600px) {
  .section-note {
    text-align: center;
  }
}

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

/* ---------- Cards ---------- */
.cards-grid {
  display: grid;
  gap: 0.75rem;
}

.cards-4,
.cards-2 {
  grid-template-columns: 1fr;
}

/* Mobile: cards de “para quem” em lista compacta com ícone ao lado */
@media (max-width: 639px) {
  .cards-4 .card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.85rem;
    row-gap: 0.2rem;
    padding: 1rem 1rem;
  }

  .cards-4 .card-icon {
    grid-row: 1 / span 2;
    align-self: center;
    margin-bottom: 0;
    width: 42px;
    height: 42px;
  }

  .cards-4 .card h3 {
    margin: 0;
    font-size: 1rem;
  }

  .cards-4 .card p {
    font-size: 0.9rem;
    grid-column: 2;
  }
}

@media (min-width: 640px) {
  .cards-grid {
    gap: 1rem;
  }
  .cards-4,
  .cards-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

@media (hover: hover) and (pointer: fine) {
  .card {
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  }
  .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
  }
}

.section-accent .card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.section-accent .card p,
.section-accent .mini-list {
  color: rgba(255, 255, 255, 0.88);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.05rem;
}

.card p {
  font-size: 0.95rem;
}

.pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  margin-bottom: 0.7rem;
}

.pill-soft {
  background: rgba(31, 175, 90, 0.28);
}

.mini-list {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
}

.mini-list li {
  position: relative;
  padding-left: 1.15rem;
}

.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wa);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: 1.35rem;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
  }
}

.highlight-line {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  border-left: 3px solid var(--wa);
  padding-left: 0.85rem;
  margin: 1rem 0;
  line-height: 1.35;
}

@media (min-width: 900px) {
  .highlight-line {
    font-size: 1.25rem;
    padding-left: 1rem;
    margin: 1.25rem 0;
  }
}

.checklist {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.checklist li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%232F5D50' stroke-width='2' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E")
    center/70% no-repeat;
}

.about-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 0.95rem;
}

@media (min-width: 900px) {
  .about-panel {
    padding: 1.5rem;
    box-shadow: var(--shadow);
    gap: 1.15rem;
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }
}

.panel-block {
  display: grid;
  gap: 0.12rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.panel-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--accent);
}

.panel-block strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.panel-block span:last-child {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* ---------- Steps (scroll horizontal no mobile) ---------- */
.steps {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

/* Mobile: carrossel horizontal de passos — menos scroll vertical */
@media (max-width: 699px) {
  .steps {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 0.35rem;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .steps::-webkit-scrollbar {
    display: none;
  }
  .step {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
  }
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.45;
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
}

/* ---------- FAQ (área de toque generosa) ---------- */
.faq-list {
  display: grid;
  gap: 0.6rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1rem;
  min-height: var(--tap);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(47, 93, 80, 0.1);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.faq-item p {
  padding: 0 1rem 1.1rem;
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--bg-muted), var(--accent-soft));
  padding: 2rem 0;
}

@media (min-width: 900px) {
  .cta-band {
    padding: 3.5rem 0;
  }
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 800px) {
  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 2.75rem;
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow);
    gap: 1.5rem;
  }
  .cta-inner > div {
    max-width: 34rem;
  }
}

.cta-band .eyebrow {
  color: var(--accent);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.78);
  padding: 2rem 0 calc(1.5rem + var(--safe-b));
  font-size: 0.9rem;
}

/* Espaço extra quando sticky está ativo (body já tem padding; footer zera o duplo) */
body.has-sticky .site-footer {
  padding-bottom: 1.25rem;
}

@media (min-width: 900px) {
  .site-footer {
    padding: 3rem 0;
    font-size: 0.95rem;
  }
  body.has-sticky .site-footer {
    padding-bottom: 3rem;
  }
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer a:hover {
    color: #fff;
    text-decoration: underline;
  }
}

.footer-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
  }
  .footer-legal {
    grid-column: 1 / -1;
  }
}

.footer-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.3rem;
}

.site-footer p {
  color: inherit;
  margin: 0 0 0.3rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  align-content: start;
}

.footer-links a {
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}

.footer-legal {
  font-size: 0.78rem;
  line-height: 1.5;
  opacity: 0.75;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  margin-top: 0.25rem !important;
}

/* ---------- Sticky CTA (mobile only — CTA principal) ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.65rem var(--gutter) calc(0.65rem + var(--safe-b));
  padding-left: max(var(--gutter), var(--safe-l));
  padding-right: max(var(--gutter), var(--safe-r));
  background: rgba(247, 244, 239, 0.98);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(28, 36, 48, 0.1);
  /* animação de entrada */
  transform: translateY(110%);
  transition: transform 0.28s var(--ease);
  pointer-events: none;
}

.sticky-cta.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta .btn {
  min-height: 52px;
  font-size: 1.02rem;
  box-shadow: 0 8px 22px rgba(31, 175, 90, 0.35);
}

@media (min-width: 900px) {
  .sticky-cta {
    display: none !important;
  }
}

/* ---------- Float WA: só desktop (mobile usa sticky full-width) ---------- */
.float-wa {
  display: none;
}

@media (min-width: 900px) {
  .float-wa {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 95;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--wa);
    color: #fff !important;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 28px rgba(31, 175, 90, 0.4);
    transition: transform 0.2s var(--ease), background 0.2s var(--ease);
  }
  .float-wa:hover {
    transform: scale(1.06);
    background: var(--wa-hover);
    color: #fff !important;
  }
  .float-wa:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
  }
}

/* ---------- Landscape phones: ainda mais compacto ---------- */
@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    padding: 0.75rem 0 1rem;
  }
  .hero-visual {
    display: none;
  }
  .section {
    padding: 1.5rem 0;
  }
  .brand-text span {
    display: none;
  }
}

/* ---------- iOS input zoom prevention (se form no futuro) ---------- */
input,
select,
textarea {
  font-size: 16px;
}

/* ---------- Utility: hide scrollbar helper ---------- */
.no-scrollbar {
  scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Preview hub bar offset */
body.has-preview-bar {
  --preview-bar-h: 40px;
  padding-top: var(--preview-bar-h);
}

body.has-preview-bar .site-header {
  top: var(--preview-bar-h);
}

body.has-preview-bar .sticky-cta {
  /* already bottom fixed — ok */
}
