:root {
  --rc-ink: #073e46;
  --rc-deep: #0c4d54;
  --rc-teal: #078d91;
  --rc-aqua: #0bb8bb;
  --rc-aqua-dark: #078f95;
  --rc-surface: #f5f8f8;
  --rc-white: #ffffff;
  --rc-muted: #59757b;
  --rc-line: #d8e6e7;
  --rc-radius: 16px;
  --rc-shadow: 0 14px 34px rgba(4, 54, 60, 0.14);
}

html { scroll-padding-top: 96px; }
body { color: var(--rc-ink); background: var(--rc-surface); font-family: Inter, "Segoe UI", Arial, sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(11, 184, 187, .55); outline-offset: 3px; }

.primary, .header-cta, .plan-cta, .benefits-intro .primary, .cta-panel .primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 14px; min-height: 46px; padding: 12px 19px; font-weight: 800;
  text-decoration: none; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.primary, .benefits-intro .primary, .cta-panel .primary { background: var(--rc-aqua); color: var(--rc-white); box-shadow: 0 8px 20px rgba(3, 111, 116, .22); }
.primary:hover, .benefits-intro .primary:hover, .cta-panel .primary:hover { background: var(--rc-aqua-dark); transform: translateY(-2px); box-shadow: 0 12px 25px rgba(3, 111, 116, .28); }
.icon { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }

.site-header { transition: background-color .24s ease, box-shadow .24s ease; }
.nav-links a { position: relative; padding: 8px 0; transition: color .18s ease; }
.nav-links a::after { content: ""; position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; background: var(--rc-aqua); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: #73e6e5; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.site-header.scrolled .nav-links a:hover, .site-header.scrolled .nav-links a:focus-visible { color: var(--rc-teal); }
.header-cta { border-radius: 13px; }
.mobile-menu { border-radius: 10px; transition: background-color .18s ease, transform .18s ease; }
.mobile-menu:hover { background: rgba(255,255,255,.14); transform: scale(1.04); }
.site-header.scrolled .mobile-menu:hover { background: #e6f4f4; }

.hero-image img, .cta-panel { box-shadow: var(--rc-shadow); }
.benefit img { transition: transform .35s ease, filter .35s ease; }
.benefit:hover img { transform: translateY(-4px); filter: saturate(1.08); }
.benefit h3 { color: var(--rc-teal); }

.benefits-showcase .primary { border-radius: 14px; }
.benefit-check { border-radius: 12px; transition: transform .18s ease, box-shadow .18s ease; }
.benefit-check:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 53, 57, .16); }

#planos { background: #f5f7f7; }
.plans-intro h2 { color: var(--rc-ink); }
.plans-intro p { color: var(--rc-teal); }
.pricing-card { border-radius: 22px; box-shadow: 0 10px 24px rgba(4, 54, 60, .1); transition: transform .22s ease, box-shadow .22s ease; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--rc-shadow); }
.pricing-card .tier, .pricing-card h3, .pricing-card .from, .price-line { font-family: Inter, "Segoe UI", Arial, sans-serif; }
.pricing-card .tier { letter-spacing: .02em; }
.pricing-card h3 { letter-spacing: .025em; }
.price-line span, .price-line small { font-weight: 650; }
.price-line strong { font-variant-numeric: tabular-nums; }
.pricing-card .plan-cta { width: min(100%, 250px); border-radius: 14px; min-height: 46px; font-size: 1rem; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease; }
.pricing-card .plan-cta:hover { background: #078f95; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 0, 0, .18); }

#duvidas { background: #f0f2f2; }
.faq-item { border-radius: var(--rc-radius); border: 1px solid transparent; }
.faq-item[open] { border-color: var(--rc-line); }
.faq-item summary { min-height: 68px; }
.faq-item summary::after { content: ""; width: 9px; height: 9px; margin-left: auto; border-right: 2px solid var(--rc-teal); border-bottom: 2px solid var(--rc-teal); background: transparent; transform: rotate(45deg) translateY(-3px); transition: transform .18s ease; }
.faq-item[open] summary::after { content: ""; transform: rotate(225deg) translate(-2px, -2px); }

.cta-panel { border-radius: 20px; }
.whatsapp { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #22c56f; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.whatsapp:hover { background: #18ae5c; transform: translateY(-4px) scale(1.03); box-shadow: 0 16px 30px rgba(0, 96, 48, .3); }
.whatsapp .icon { width: 27px; height: 27px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .56s ease, transform .56s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 700px) {
  .shell { padding-right: 20px; padding-left: 20px; }
  .hero-grid { padding-top: 95px; }
  .plans-board { gap: 16px; }
  .pricing-card { padding: 27px 24px 23px; }
  .pricing-card h3 { font-size: 1.55rem; }
  .price-line strong { font-size: 2.35rem; }
  .plan-benefits { font-size: .82rem; }
  .faq-list { gap: 10px; }
  .faq-item { border-radius: 14px; }
  .faq-item[open] { border-radius: 14px; }
  .cta-panel { border-radius: 16px; }
}

/* Layout final mobile-first: a versão em coluna é a base; grades entram só em telas maiores. */
.nav { height: 76px; gap: 10px; }
.brand img { width: 116px; }
.unit-name { min-width: 0; font-size: .52rem; }
.unit-name strong { font-size: .65rem; }
.nav-links, .header-cta { display: none; }
.mobile-menu { display: block; margin-left: auto; }
.hero-grid, .benefits-layout, .plans-board, .benefit-checks, .footer-grid { grid-template-columns: 1fr; }
.hero-grid { min-height: 0; padding-top: 94px; gap: 36px; }
.hero-image { height: 310px; max-width: none; }
.hero-image img { border-radius: 34px 0 34px 0; }
.benefits-layout { gap: 34px; }
.benefits-intro { padding-right: 0; }
.benefit-checks { gap: 10px; }
.footer-grid { gap: 24px; }

@media (min-width: 701px) {
  .plans-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 851px) {
  .nav { height: 86px; gap: 15px; }
  .brand img { width: 160px; }
  .site-header.scrolled .brand-scroll { width: 145px; }
  .unit-name { min-width: 145px; font-size: .67rem; }
  .unit-name strong { font-size: .78rem; }
  .nav-links { display: flex; }
  .header-cta { display: inline-flex; }
  .mobile-menu { display: none; }
  .hero-grid { grid-template-columns: 1.02fr .78fr; min-height: 758px; padding-top: 112px; gap: 74px; }
  .hero-image { height: 500px; max-width: 505px; }
  .hero-image img { border-radius: 62px 0 62px 0; }
  .benefits-layout { grid-template-columns: minmax(370px, 1.38fr) repeat(3, minmax(220px, .86fr)); gap: 26px; }
  .benefit-checks { grid-template-columns: repeat(4, 1fr); gap: 13px 18px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 35px; }
}

/* Hierarquia tipográfica, vínculo da unidade e ritmo entre seções. */
body, button, input, textarea, select { font-family: Inter, "Segoe UI", Arial, sans-serif; }
h1, h2, h3, h4, h5, h6, p, li, summary, .eyebrow, .tier, .from { font-family: inherit; }
.unit-name { border-left: 1px solid rgba(255, 255, 255, .42); padding-left: 12px; }
.site-header.scrolled .unit-name { border-left-color: #b7d6d8; }
.nav-links a { font-size: .76rem; font-weight: 750; }
.unit-name strong { font-size: .76rem; letter-spacing: -.01em; }
.unit-name span { font-size: .61rem; }
.cta-panel-wrap { padding: 64px 20px; background: #f0f2f2; }
#beneficios { padding: 68px 0; }
.benefits-showcase { padding: 86px 0; }
#planos { padding: 76px 0 82px; }
#duvidas { padding: 70px 0; }
.faq-heading { font-style: normal; letter-spacing: .03em; font-weight: 800; }
.footer { margin-top: 0; }

@media (max-width: 700px) {
  .unit-name { padding-left: 9px; }
  .unit-name strong { font-size: .67rem; }
  .unit-name span { font-size: .53rem; }
  .cta-panel-wrap { padding: 52px 16px; }
  #beneficios, #duvidas { padding: 58px 0; }
  .benefits-showcase { padding: 68px 0; }
  #planos { padding: 62px 0; }
}

@media (min-width: 851px) {
  .unit-name strong { font-size: .88rem; }
  .unit-name span { font-size: .66rem; }
  .nav-links a { font-size: .76rem; }
}

/* Hierarquia editorial compartilhada pelas seções institucionais. */
.benefits-showcase .eyebrow,
.plans-intro .eyebrow {
  margin: 0 0 1rem;
}

/* A imagem permanece visível, mas recebe a mesma base azul-petróleo do hero. */
.benefits-showcase {
  background-image: linear-gradient(90deg, rgba(3, 43, 49, .92) 0%, rgba(3, 43, 49, .88) 55%, rgba(3, 43, 49, .78) 100%), url("assets/consultation-family.webp");
}
.benefits-showcase::before { background: none; }

/* Rodapé: marca, unidade e atendimento com ações claramente identificáveis. */
.footer-grid {
  grid-template-columns: 1.45fr 1.05fr 1fr;
  align-items: start;
}
.footer-brand .brand { display: inline-block; }
.footer-brand .brand-slogan {
  max-width: 21rem;
  margin: 1rem 0 0;
  color: #c2dddb;
  font-size: 1rem;
  line-height: 1.5;
}
.footer h4 { margin: 0 0 .65rem; }
.unit-tagline {
  margin: 0 0 1rem;
  color: #a6c7c6;
  font-size: .9rem;
  line-height: 1.45;
}
.social-links {
  display: flex;
  gap: .65rem;
  margin-top: 1.15rem;
}
.social-links a {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(194, 221, 219, .38);
  border-radius: 10px;
  color: #c2dddb;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.social-links svg { width: 1.08rem; height: 1.08rem; fill: currentColor; }
.social-links svg[fill="none"] { fill: none; }
.social-links a:hover,
.social-links a:focus-visible {
  color: #043e43;
  border-color: var(--rc-aqua);
  background: var(--rc-aqua);
  transform: translateY(-2px);
  outline: none;
}
.footer-unit,
.footer-service { display: grid; align-content: start; }
.footer-unit { gap: .45rem; }
.footer-service { gap: .72rem; }
.footer-unit h4 { margin: 0; }
.footer-link,
.footer-meta {
  display: inline-flex;
  align-items: flex-start;
  gap: .58rem;
  width: fit-content;
  color: #a6c7c6;
  font-size: .9rem;
  line-height: 1.45;
}
.footer-link {
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--rc-aqua);
  transform: translateX(2px);
  outline: none;
}
.footer-icon {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: .12rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (max-width: 850px) {
  .footer { padding: 3rem 0 1.5rem; }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .footer-brand .brand-slogan { max-width: 27rem; }
  .footer-unit,
  .footer-service { max-width: 28rem; }
  .footer .copyright { margin-top: 2rem; }
}

@media (max-width: 500px) {
  .footer-brand .brand img { width: 8.9rem; }
  .footer-brand .brand-slogan { font-size: .95rem; }
  .footer-grid { gap: 1.75rem; }
  .footer-link,
  .footer-meta { width: 100%; font-size: .88rem; }
  .footer .copyright { font-size: .72rem; line-height: 1.5; }
}
.benefits-intro h2,
.benefits-showcase h2,
.plans-intro h2,
.cta-panel h2,
.faq-heading {
  font-size: clamp(2rem, 2.4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.benefits-showcase > .shell > p,
.benefits-intro p,
.cta-panel p {
  font-size: 1.05rem;
  line-height: 1.55;
}
.pricing-card h3 {
  /* Evita substituição de glifos por fonte de ícones no navegador. */
  font-family: Arial, "Helvetica Neue", sans-serif !important;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0;
  letter-spacing: .025em;
}

@media (max-width: 700px) {
  .benefits-intro h2,
  .benefits-showcase h2,
  .plans-intro h2,
  .cta-panel h2,
  .faq-heading { font-size: 1.9rem; }
  .benefits-showcase > .shell > p,
  .benefits-intro p,
  .cta-panel p { font-size: .94rem; }
}

/* Grade horizontal única: o mesmo respiro protege o conteúdo de todas as seções. */
:root {
  --page-gutter: clamp(1.25rem, 3vw, 3rem);
  --page-content-max: 82.5rem;
}

#sitePage .shell {
  width: min(100%, calc(var(--page-content-max) + var(--page-gutter) + var(--page-gutter)));
  max-width: none;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

/* O CTA não usa .shell no HTML, portanto recebe a mesma margem da grade. */
.cta-panel-wrap {
  padding-inline: var(--page-gutter);
}

.cta-panel {
  width: min(100%, var(--page-content-max));
  margin-inline: auto;
}

/* A grade já fornece as laterais; o hero mantém somente o espaçamento vertical. */
@media (min-width: 851px) {
  .hero-grid {
    padding-right: 0;
    padding-left: 0;
  }
}

/* Consentimento por categoria para as integrações opcionais de mensuração. */
.privacy-preferences {
  margin-left: .65rem;
  padding: .15rem .3rem;
  border: 0;
  border-bottom: 1px solid rgba(194, 221, 219, .45);
  background: transparent;
  color: #c2dddb;
  cursor: pointer;
  font: inherit;
  font-size: inherit;
}
.privacy-preferences:hover,
.privacy-preferences:focus-visible { color: var(--rc-aqua); border-bottom-color: var(--rc-aqua); outline: none; }
.privacy-consent {
  position: fixed;
  z-index: 1000;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: max(1rem, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, .8fr);
  gap: 1.15rem 1.5rem;
  width: min(100% - 2rem, 55rem);
  margin-inline: auto;
  padding: 1.25rem;
  border: 1px solid rgba(154, 214, 213, .26);
  border-radius: 16px;
  background: #073e46;
  color: #fff;
  box-shadow: 0 18px 48px rgba(0, 42, 46, .33);
}
.privacy-consent-copy { grid-row: span 2; }
.privacy-consent .eyebrow { margin: 0 0 .45rem; color: #71e0df; }
.privacy-consent h2 { margin: 0; color: #fff; font-size: 1.12rem; line-height: 1.25; }
.privacy-consent p:not(.eyebrow) { margin: .55rem 0 0; color: #d3e7e6; font-size: .88rem; line-height: 1.5; }
.privacy-consent-options { display: grid; gap: .55rem; align-content: start; }
.privacy-option { display: flex; align-items: flex-start; gap: .65rem; padding: .68rem .75rem; border: 1px solid rgba(206, 233, 232, .22); border-radius: 11px; color: #fff; cursor: pointer; }
.privacy-option input { width: 1rem; height: 1rem; margin-top: .08rem; accent-color: var(--rc-aqua); }
.privacy-option span { display: grid; gap: .14rem; }
.privacy-option strong { font-size: .84rem; }
.privacy-option small { color: #c8e0df; font-size: .75rem; line-height: 1.35; }
.privacy-consent-actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: flex-end; }
.privacy-button {
  min-height: 2.55rem;
  padding: .62rem .85rem;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font: inherit;
  font-size: .8rem;
  font-weight: 800;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.privacy-button:hover { transform: translateY(-1px); }
.privacy-button.primary { background: var(--rc-aqua); color: #043e43; }
.privacy-button.primary:hover { background: #63d7d6; }
.privacy-button.secondary { border-color: rgba(206, 233, 232, .42); background: transparent; color: #fff; }
.privacy-button.secondary:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.privacy-button.tertiary { padding-inline: .2rem; background: transparent; color: #bde1df; text-decoration: underline; text-underline-offset: 3px; }
.privacy-button.tertiary:hover { color: #fff; }

@media (max-width: 700px) {
  .privacy-consent { grid-template-columns: 1fr; gap: .95rem; padding: 1rem; }
  .privacy-consent-copy { grid-row: auto; }
  .privacy-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .privacy-button.primary { grid-column: span 2; }
  .privacy-button.tertiary { min-height: 2.55rem; padding-inline: .5rem; }
  .privacy-preferences { display: block; margin: .55rem auto 0; }
}
