/* ===========================================================================
   Sorrir+ — Landing pages stylesheet (built on the design-system tokens)
   Loaded after ../styles.css. Plain HTML/CSS so pages stay editable.
   =========================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--cream-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.center { text-align: center; }

/* --- Typography helpers --------------------------------------------------- */
.eyebrow {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lime-600);
}
.eyebrow.on-dark { color: var(--lime-500); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; color: var(--text-strong); }
h1 { font-weight: 800; font-size: clamp(2.4rem, 1.6rem + 3.4vw, 3.9rem); line-height: 1.03; }
h2 { font-weight: 800; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); line-height: 1.08; }
h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.18; }
.lead { font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem); line-height: 1.6; color: var(--text-body); }
.muted { color: var(--text-muted); }

/* --- Logo lockup ---------------------------------------------------------- */
.logo { display: inline-flex; flex-direction: column; line-height: 1; user-select: none; }
.logo-word {
  position: relative; font-family: var(--font-wordmark); font-weight: 700;
  font-size: 1.9rem; letter-spacing: -0.01em; white-space: nowrap;
  color: var(--green-800);
}
.logo-so { position: relative; display: inline-block; }
.logo-smile { position: absolute; left: 0.04em; bottom: -0.16em; width: 1.18em; height: auto; overflow: visible; color: var(--lime-500); }
.logo-plus { color: var(--lime-500); font-weight: 800; }
.logo-tag {
  align-self: flex-end; font-family: var(--font-display); font-weight: 600;
  font-size: 0.44rem; letter-spacing: 0.01em; margin-top: 0.12em; color: var(--green-800);
}
.logo.lg .logo-word { font-size: 2.4rem; }
.logo.lg .logo-tag { font-size: 0.56rem; }
/* cream variant for dark grounds */
.logo.cream .logo-word, .logo.cream .logo-tag { color: var(--cream-100); }
.logo.cream .logo-plus { color: var(--lime-500); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 0.95rem 1.7rem; border-radius: var(--radius-pill); border: 2px solid transparent;
  cursor: pointer; transition: transform var(--dur-fast) var(--ease-soft), filter var(--dur) var(--ease-soft);
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 1.25em; height: 1.25em; }
.btn-lg { font-size: 1.0625rem; padding: 1.1rem 2rem; }
.btn-primary { background: var(--green-800); color: var(--cream-100); }
.btn-accent { background: var(--lime-500); color: var(--green-900); }
.btn-whatsapp { background: var(--whatsapp); color: #0B3D1E; }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn-outline-light { background: transparent; color: var(--cream-100); border-color: rgba(244,241,232,0.6); }

/* --- Badge / pill --------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; line-height: 1;
  letter-spacing: 0.02em; padding: 0.5rem 0.95rem; border-radius: var(--radius-pill);
}
.badge-lime { background: var(--lime-500); color: var(--green-900); }
.badge-cream { background: var(--cream-100); color: var(--green-800); }
.badge-outline-light { background: transparent; color: var(--cream-100); border: 1.5px solid rgba(244,241,232,0.5); }

/* --- Navbar --------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,241,232,0.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-200);
}
.nav-inner { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; }
.nav-inner .logo { flex: 0 1 auto; min-width: 0; }
.nav-actions { flex: none; }
.wa-prefix { display: inline; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--text-body); transition: color var(--dur); }
.nav-links a:hover { color: var(--green-700); }
.nav .btn { padding: 0.7rem 1.3rem; }
.nav-cta-only { justify-content: space-between; }

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--green-900); color: var(--cream-100); }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding: clamp(56px, 7vw, 96px) 0; }
.hero h1 { color: var(--cream-100); margin-top: 18px; }
.hero .lead { color: rgba(244,241,232,0.9); margin-top: 20px; max-width: 33ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-badge { display: inline-flex; margin-top: 26px; }
.hero-photo { position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 4px solid var(--lime-500); aspect-ratio: 4/5; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .photo-overlay { position: absolute; inset: 0; background: var(--green-900); mix-blend-mode: multiply; opacity: 0.16; }
.hero-photo .photo-grad { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(to top, var(--green-950) 18%, transparent); }
.hero-plus {
  position: absolute; left: 22px; bottom: 22px; width: 54px; height: 54px; border-radius: 50%;
  background: var(--lime-500); color: var(--green-900); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-wordmark); font-weight: 800; font-size: 2.6rem; box-shadow: var(--shadow-sm);
}
.squig { position: absolute; pointer-events: none; opacity: 0.16; z-index: 1; }

/* --- Trust strip ---------------------------------------------------------- */
.trust { background: var(--lime-500); color: var(--green-900); padding: 26px 0; }
.trust-head { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 0.9rem + 1vw, 1.6rem); letter-spacing: 0.04em; text-align: center; }
.trust-sub { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.trust-sub span { display: inline-flex; align-items: center; gap: 8px; }
.trust-sub span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-800); }

/* --- Cards / grids -------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-100);
  transition: transform var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--lime-500); }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--green-700); }
.card-more svg { width: 1.05em; height: 1.05em; transition: transform var(--dur) var(--ease-soft); }
a.card:hover .card-more svg { transform: translateX(3px); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--text-muted); font-size: 0.98rem; line-height: 1.55; }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--lime-200); color: var(--green-800);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  font-family: var(--font-wordmark); font-weight: 800; font-size: 1.6rem;
}
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; }
.section-head .lead { margin-top: 14px; }

/* --- FAQ accordion -------------------------------------------------------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq-item { background: var(--white); border: 1px solid var(--line-200); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-xs); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; color: var(--text-strong); -webkit-tap-highlight-color: transparent; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; font-size: 0; }
.faq-q { flex: 1 1 auto; }
.faq-ico { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--lime-200); color: var(--green-800); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-wordmark); font-weight: 800; font-size: 1.3rem; line-height: 1; transition: transform var(--dur) var(--ease-soft); }
.faq-item[open] { border-color: var(--lime-500); }
.faq-item[open] .faq-ico { transform: rotate(45deg); }
.faq-a { padding: 2px 22px 20px; }
.faq-a p { margin: 0; color: var(--text-body); line-height: 1.62; font-size: 1rem; }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step .step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--green-800); color: var(--cream-100);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
  font-weight: 700; font-size: 1.1rem; margin-bottom: 16px;
}

/* --- Why / feature on dark ------------------------------------------------ */
.band-green { background: var(--green-900); color: var(--cream-100); }
.band-green h2 { color: var(--cream-100); }
.band-green .card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.10); box-shadow: none; }
.band-green .card h3 { color: var(--cream-100); }
.band-green .card p { color: rgba(244,241,232,0.78); }
.band-green .card-icon { background: rgba(166,206,57,0.18); color: var(--lime-500); }

/* --- Responsible / about -------------------------------------------------- */
.rt-card {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-100);
}
.rt-badge {
  flex: none; width: 96px; height: 96px; border-radius: 50%; background: var(--green-800); color: var(--cream-100);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; padding: 12px; line-height: 1.2;
}

/* --- Location ------------------------------------------------------------- */
.loc-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: stretch; }
.loc-info { display: flex; flex-direction: column; gap: 16px; }
.loc-row { display: flex; gap: 12px; align-items: flex-start; }
.loc-row .ico { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--lime-200); color: var(--green-800); display: flex; align-items: center; justify-content: center; }
.loc-row strong { display: block; font-family: var(--font-display); color: var(--text-strong); }
.loc-row span { color: var(--text-muted); font-size: 0.96rem; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-200); min-height: 320px; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: saturate(0.92); }

/* --- Final CTA band ------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--green-900); color: var(--cream-100); text-align: center; }
.cta-band h2 { color: var(--cream-100); max-width: 22ch; margin-inline: auto; }
.cta-band .btn { margin-top: 30px; }
.cta-smile { color: var(--lime-500); width: 180px; margin: 0 auto 8px; display: block; overflow: visible; }

/* --- Footer / compliance -------------------------------------------------- */
.footer { background: var(--green-950); color: rgba(244,241,232,0.78); padding: 48px 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.10); }
.footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: 0.95rem; }
.footer-contact a:hover { color: var(--lime-400); }
.compliance { margin-top: 24px; font-size: 0.8125rem; line-height: 1.6; color: rgba(244,241,232,0.62); max-width: 92ch; }
.compliance strong { color: rgba(244,241,232,0.82); font-weight: 600; }

/* --- Responsive ----------------------------------------------------------- */
/* === v2 implantes additions ============================================== */
/* Floating badge on hero photo */
.hero-photo .seal-float {
  position: absolute; left: 16px; top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 10px; width: fit-content; max-width: calc(100% - 32px);
  background: rgba(20,42,24,0.78); backdrop-filter: blur(6px);
  color: var(--cream-100); border: 1.5px solid rgba(166,206,57,0.5);
  border-radius: var(--radius-pill); padding: 8px 16px 8px 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; line-height: 1.2;
}
.hero-photo .seal-float .dot { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--lime-500); color: var(--green-900); display: flex; align-items: center; justify-content: center; }

/* Photo placeholder (awaiting user upload) */
.photo-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: repeating-linear-gradient(135deg, rgba(166,206,57,0.06) 0 14px, rgba(166,206,57,0.12) 14px 28px);
  border: 2px dashed var(--lime-500); border-radius: var(--radius-lg); color: var(--green-700);
  text-align: center; padding: 24px; min-height: 220px;
}
.photo-ph .ph-plus { width: 54px; height: 54px; border-radius: 50%; background: var(--lime-500); color: var(--green-900); display: flex; align-items: center; justify-content: center; font-family: var(--font-wordmark); font-weight: 800; font-size: 2rem; }
.photo-ph .ph-label { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.photo-ph .ph-hint { font-size: 0.8rem; color: var(--text-muted); max-width: 30ch; }
.hero-photo.photo-ph { border-color: rgba(166,206,57,0.7); color: var(--cream-100); }
.hero-photo.photo-ph .ph-hint { color: rgba(244,241,232,0.7); }

/* Authority section */
.authority-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.dr-name { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 22px 0 24px; }
.dr-name strong { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--text-strong); }
.seal-list { display: flex; flex-direction: column; gap: 14px; }
.seal { display: flex; gap: 14px; align-items: flex-start; }
.seal .seal-plus { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--lime-500); color: var(--green-900); display: flex; align-items: center; justify-content: center; font-family: var(--font-wordmark); font-weight: 800; font-size: 1.2rem; margin-top: 1px; }
.seal-text strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text-strong); }
.seal-text span { font-size: 0.92rem; color: var(--text-muted); }
.closing-line { margin-top: 26px; font-style: italic; font-family: var(--font-display); font-weight: 500; color: var(--green-700); }
.authority-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; border: 3px solid var(--lime-500); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card .cap { position: absolute; inset: auto 0 0 0; padding: 28px 14px 12px; background: linear-gradient(to top, var(--green-950) 12%, transparent); color: var(--cream-100); font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; line-height: 1.25; }
.photo-card.photo-ph { aspect-ratio: 3/4; border-style: dashed; }

/* Blue CTA band variant */
.cta-band.blue { background: var(--blue-800); }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--whatsapp); color: #0B3D1E; font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 14px 20px; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg);
  transition: transform var(--dur-fast) var(--ease-soft), filter var(--dur) var(--ease-soft);
}
.wa-float:hover { filter: brightness(1.06); }
.wa-float:active { transform: scale(0.96); }
.wa-float svg { width: 1.4em; height: 1.4em; }

/* --- Instagram: nav icon button + floating button ------------------------ */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-800); color: var(--cream-100);
  transition: transform var(--dur-fast) var(--ease-soft), filter var(--dur) var(--ease-soft);
}
.icon-btn:hover { filter: brightness(1.08); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn.ig { background: linear-gradient(135deg, var(--blue-800), var(--green-700)); }

.ig-float {
  position: fixed; right: 20px; bottom: 88px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-800); color: var(--cream-100);
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-fast) var(--ease-soft), filter var(--dur) var(--ease-soft);
}
.ig-float:hover { filter: brightness(1.08); }
.ig-float:active { transform: scale(0.94); }
.ig-float svg { width: 26px; height: 26px; }

/* Instagram button (in-content) */
.btn-ig { background: var(--blue-800); color: var(--cream-100); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { max-width: 460px; margin-inline: auto; width: 100%; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .loc-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .authority-grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-float span { display: none; }
  .wa-float { padding: 16px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .rt-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-top { flex-direction: column; }

  /* Rhythm & type tuned for phones (primary surface — 95% of traffic) */
  .container { width: min(1180px, 100% - 32px); }
  .section { padding: 52px 0; }
  h1 { font-size: clamp(2.15rem, 1.3rem + 6vw, 2.8rem); line-height: 1.05; }
  h2 { font-size: clamp(1.7rem, 1.1rem + 4vw, 2.25rem); line-height: 1.1; }
  .lead { font-size: 1.07rem; line-height: 1.62; }
  .hero .lead, .section-head .lead { max-width: none; }
  .eyebrow { font-size: 0.8rem; }
  .section-head { margin-bottom: 30px; }

  /* Hero: photo leads, generous CTA */
  .hero-grid { padding: 36px 0 44px; gap: 28px; }
  .hero-photo { aspect-ratio: 4/5; border-width: 3px; }
  .hero-photo .seal-float { font-size: 0.76rem; left: 12px; right: 12px; top: 12px; padding: 7px 14px 7px 8px; }
  .hero-photo .seal-float .dot { width: 26px; height: 26px; }
  .hero-plus { width: 46px; height: 46px; font-size: 2.1rem; left: 16px; bottom: 16px; }

  /* Buttons: wrap, big tap targets, full-width primary CTAs */
  .btn { white-space: normal; text-align: center; }
  .btn-lg { padding: 1.15rem 1.5rem; font-size: 1.08rem; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .cta-band .btn { width: 100%; max-width: 460px; }
  .loc-info .btn { align-self: stretch !important; }
  .nav .btn { padding: 0.62rem 1rem; font-size: 0.92rem; }

  /* Cards & FAQ — comfortable touch */
  .card { padding: 24px; }
  .authority-photos { grid-template-columns: 1fr; }
  .photo-card { aspect-ratio: 16/10; }

  /* Nav compacto e sem estouro */
  .logo-word { font-size: 1.55rem; }
  .logo-tag { font-size: 0.4rem; }
  .nav .btn { padding: 0.58rem 0.9rem; font-size: 0.88rem; }
  .nav-actions { gap: 8px; }
  .icon-btn { width: 42px; height: 42px; }
  .icon-btn svg { width: 20px; height: 20px; }
  .wa-prefix { display: none; }

  /* FAQ confortável */
  .faq-item summary { padding: 18px 18px; font-size: 1rem; gap: 12px; }
  .faq-ico { width: 28px; height: 28px; font-size: 1.2rem; }
  .faq-a { padding: 2px 18px 18px; }
  .faq-a p { font-size: 0.98rem; }

  /* CTA final respira do botão flutuante */
  .cta-band { padding-bottom: 72px; }
  .cta-band h2 { font-size: clamp(1.55rem, 1.1rem + 4vw, 2.05rem); }

  /* Floating actions clear of iOS home bar */
  .wa-float { right: 14px; bottom: calc(16px + env(safe-area-inset-bottom)); padding: 15px; }

  /* Trust strip spacing */
  .trust-sub { gap: 6px 18px; font-size: 0.9rem; }
}
