
:root {
  --navy-950: #01071a;
  --navy-900: #020a25;
  --navy-850: #071330;
  --navy-800: #0b1937;
  --ivory: #fff1d1;
  --ivory-soft: #fff9ec;
  --paper: #fbfcff;
  --white: #ffffff;
  --ink: #15223a;
  --muted: #536179;
  --muted-dark: #bdc8dc;
  --teal: #1fd1c2;
  --blue: #2582ff;
  --coral: #ff665c;
  --coral-light: #ff8176;
  --violet: #9256ed;
  --line: rgba(21, 34, 58, .12);
  --line-dark: rgba(255, 241, 209, .15);
  --shadow: 0 22px 70px rgba(0, 5, 20, .28);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.narrow { max-width: 860px; }

.skip-link {
  position: fixed;
  z-index: 2000;
  top: .75rem;
  left: .75rem;
  transform: translateY(-180%);
  padding: .8rem 1rem;
  color: var(--navy-900);
  background: var(--ivory);
  border-radius: 10px;
  font-weight: 900;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--ivory); outline-offset: 4px; }
.light :focus-visible, .soft :focus-visible, .content-section :focus-visible { outline-color: var(--blue); }

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  color: var(--ivory);
  background: rgba(2, 10, 37, .96);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 144px; display: block; }
.menu-toggle {
  display: none;
  min-height: 44px;
  padding: .65rem .9rem;
  color: var(--ivory);
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
}
.site-nav ul { display: flex; align-items: center; gap: .15rem .65rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: inline-flex; min-height: 44px; align-items: center; padding: .55rem .7rem; color: rgba(255,241,209,.82); border-radius: 10px; text-decoration: none; font-weight: 720; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ivory); background: rgba(255,255,255,.07); }
.site-nav .nav-cta { color: var(--navy-900); background: var(--coral); padding-inline: 1rem; }
.site-nav .nav-cta:hover { color: var(--navy-900); background: var(--coral-light); }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--ivory);
  background:
    radial-gradient(circle at 83% 25%, rgba(146,86,237,.13), transparent 30%),
    radial-gradient(circle at 12% 12%, rgba(31,209,194,.12), transparent 27%),
    var(--navy-900);
}
.hero::after { content: ""; position: absolute; inset: auto -15% -40% 35%; height: 70%; background: radial-gradient(ellipse, rgba(255,102,92,.10), transparent 65%); pointer-events: none; }
.hero-grid { min-height: 680px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); gap: clamp(2.2rem, 5vw, 5.4rem); align-items: center; padding-block: clamp(4.5rem, 8vw, 7rem); }
.hero-copy, .hero-brand { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 1rem; color: var(--teal); font-size: .9rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.light .eyebrow, .soft .eyebrow, .content-section .eyebrow { color: #08756c; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; text-wrap: balance; }
h1 { max-width: 760px; margin-bottom: 1.25rem; font-size: clamp(2.65rem, 6vw, 5.5rem); letter-spacing: -.05em; }
.hero-lead { max-width: 690px; margin: 0; color: rgba(255,241,209,.84); font-size: clamp(1.08rem, 2vw, 1.32rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .78rem 1.18rem; border: 2px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 900; }
.button-primary { color: var(--navy-900); background: var(--coral); }
.button-primary:hover { background: var(--coral-light); }
.button-secondary { color: var(--ivory); border-color: rgba(255,241,209,.58); background: transparent; }
.button-secondary:hover { border-color: var(--ivory); background: rgba(255,255,255,.05); }
.button-dark { color: var(--ivory); background: var(--navy-900); }
.button-dark:hover { background: var(--navy-800); }
.trust-strip { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; margin: 1.55rem 0 0; padding: 0; list-style: none; color: rgba(255,241,209,.72); font-size: .94rem; }
.trust-strip li { position: relative; padding-left: 1.15rem; }
.trust-strip li::before { content: ""; position: absolute; left: 0; top: .55em; width: .48rem; height: .48rem; border-radius: 50%; background: var(--teal); }
.hero-brand { padding: .7rem; border: 1px solid rgba(255,255,255,.10); border-radius: 30px; background: rgba(0,0,0,.16); box-shadow: var(--shadow); }
.hero-brand img { display: block; width: 100%; border-radius: 23px; }

.section { padding-block: clamp(4.25rem, 8vw, 7rem); }
.light { background: var(--ivory-soft); }
.soft { background: #f2f5fa; }
.dark { color: var(--ivory); background: var(--navy-850); }
.section-header { max-width: 820px; margin-bottom: 2.5rem; }
.section-header.center { margin-inline: auto; text-align: center; }
.section h2, .page-hero h1 { margin-bottom: .85rem; font-size: clamp(2.05rem, 4.3vw, 3.6rem); letter-spacing: -.04em; }
.section-intro, .section-lead { margin: 0; color: var(--muted); font-size: 1.12rem; }
.dark .section-intro, .dark .section-lead { color: var(--muted-dark); }
.split-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.brand-promise { margin: 1.4rem 0 0; padding: 1rem 1.1rem; border-left: 5px solid var(--coral); background: white; border-radius: 0 14px 14px 0; font-weight: 850; }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.feature-card, .pillar-card { min-width: 0; padding: 1.55rem; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 14px 40px rgba(20,36,64,.07); }
.feature-card h3, .pillar-card h3 { margin: .9rem 0 .55rem; font-size: 1.28rem; }
.feature-card p, .pillar-card p { margin: 0; color: var(--muted); }
.feature-icon { width: 3rem; height: 3rem; display: inline-grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--teal), var(--blue)); }
.feature-icon::before { color: white; font-size: 1.3rem; font-weight: 950; }
.icon-image::before { content: "▣"; }
.icon-video::before { content: "▶"; }
.icon-document::before { content: "≡"; }
.icon-choice::before { content: "✓"; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.step-card { padding: 1.5rem; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md); background: rgba(255,255,255,.045); }
.step-number { width: 2.7rem; height: 2.7rem; display: inline-grid; place-items: center; margin-bottom: 1rem; color: var(--navy-900); background: var(--ivory); border-radius: 50%; font-weight: 950; }
.step-card h3 { margin-bottom: .55rem; font-size: 1.3rem; }
.step-card p { margin: 0; color: var(--muted-dark); }

.whatsapp-grid, .privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.check-list { margin: 1.5rem 0 1.7rem; padding: 0; list-style: none; }
.check-list li { position: relative; margin: .75rem 0; padding-left: 1.8rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #159f73; font-weight: 950; }
.conversation { max-width: 450px; margin-inline: auto; padding: 1.2rem; background: #edf3ef; border: 8px solid #17223b; border-radius: 2rem; box-shadow: var(--shadow); }
.conversation-head { display: flex; gap: .75rem; align-items: center; margin-bottom: 1rem; padding: .7rem; color: white; background: #176f52; border-radius: .9rem; }
.conversation-head img { width: 48px; height: 48px; border-radius: 50%; }
.conversation-head strong, .conversation-head span { display: block; }
.conversation-head span { font-size: .78rem; opacity: .85; }
.message { max-width: 88%; margin: .75rem 0; padding: .75rem .9rem; border-radius: 1rem; box-shadow: 0 5px 12px rgba(0,0,0,.06); }
.message p { margin: 0; }
.message span { display: block; margin-top: .4rem; color: #66716c; font-size: .78rem; }
.user-message { margin-left: auto; background: #d9fdd3; }
.pai-message { background: white; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.pillar-card.featured { transform: translateY(-8px); border-color: rgba(255,102,92,.35); }
.letter { width: 3.3rem; height: 3.3rem; display: inline-grid; place-items: center; border-radius: 15px; color: white; font-size: 1.65rem; font-weight: 950; }
.p-letter { background: linear-gradient(135deg, var(--teal), var(--blue)); }
.a-letter { color: var(--navy-900); background: var(--coral); transform: scale(1.08); }
.i-letter { background: linear-gradient(135deg, var(--violet), var(--blue)); }

.legal-links { display: grid; gap: .75rem; }
.legal-links a { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; color: var(--ivory); text-decoration: none; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.045); border-radius: 14px; font-weight: 850; }
.legal-links a:hover { background: rgba(255,255,255,.08); }

.cta-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding: clamp(1.6rem, 5vw, 3rem); color: var(--ivory); background: linear-gradient(135deg, var(--navy-900), #101e43); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.cta-panel h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
.cta-panel p { color: var(--muted-dark); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.text-link { color: var(--ivory); font-weight: 800; text-underline-offset: .25em; }

.faq details { margin: .75rem 0; padding: 1rem 1.15rem; background: white; border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; font-weight: 850; }
.faq details p { color: var(--muted); }

.page-hero { padding-block: 4rem 3.2rem; color: var(--ivory); background: linear-gradient(180deg, var(--navy-900), var(--navy-850)); }
.page-hero p { max-width: 780px; margin: 0; color: var(--muted-dark); font-size: 1.1rem; }
.content-section { background: #f7f9fc; }
.prose { max-width: 880px; margin-inline: auto; padding-block: 3.5rem 6rem; }
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.5rem, 3vw, 2.15rem); }
.prose h3 { margin-top: 1.8rem; }
.prose p, .prose li { color: #39475e; }
.prose a:not(.button) { color: #154fc4; font-weight: 750; }
.updated { color: var(--muted); }
.summary-box, .notice { margin-block: 1.4rem; padding: 1.15rem 1.25rem; background: white; border: 1px solid var(--line); border-left: 5px solid var(--coral); border-radius: var(--radius-sm); }
.notice { border-left-color: var(--teal); }
.contact-options { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.5rem 0 2.5rem; }
.contact-option { padding: 1rem; color: var(--ink) !important; text-decoration: none; background: white; border: 1px solid var(--line); border-radius: 14px; }
.contact-option strong, .contact-option span { display: block; }
.contact-option span { margin-top: .3rem; color: var(--muted); }
.contact-option:hover { border-color: var(--blue); }
address { font-style: normal; }

.site-footer { padding-block: 3rem 1.5rem; color: rgba(255,241,209,.76); background: var(--navy-950); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.2rem; }
.footer-logo { display: inline-flex; width: 145px; }
.footer-logo img { width: 100%; }
.footer-brand p { margin: .5rem 0; }
.footer-grid h2 { margin: 0 0 .65rem; color: var(--ivory); font-size: 1rem; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: .45rem 0; }
.footer-links a { color: rgba(255,241,209,.78); text-underline-offset: .22em; }
.footer-links a:hover { color: var(--ivory); }
.footer-bottom { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-dark); font-size: .86rem; }
.footer-bottom p { margin: .35rem 0; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; padding: .75rem 1rem 1rem; background: var(--navy-900); border-bottom: 1px solid var(--line-dark); }
  .site-nav[hidden] { display: none; }
  .site-nav ul { align-items: stretch; flex-direction: column; gap: .2rem; }
  .site-nav a { display: flex; padding: .8rem 1rem; }
  .site-nav .nav-cta { justify-content: center; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-brand { max-width: 720px; }
  .split-intro, .whatsapp-grid, .privacy-grid, .cta-panel { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps, .pillars { grid-template-columns: 1fr; }
  .pillar-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 981px) { .site-nav { display: block !important; } }
@media (max-width: 620px) {
  .container { width: min(calc(100% - 1.25rem), var(--container)); }
  .brand img { width: 118px; }
  .hero-grid { padding-block: 3.3rem 4rem; }
  .actions { display: grid; }
  .button { width: 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .trust-strip { display: grid; }
  .conversation { padding: .8rem; border-width: 6px; }
  .contact-options { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .site-footer, .skip-link, .menu-toggle, .actions { display: none !important; }
  body, .dark, .page-hero { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}

/* Ajustes da versão oficial para Meta */
.hero h1 { font-size: clamp(2.35rem, 5.2vw, 4.75rem); max-width: 850px; }
.footer-heading { margin: 0 0 .65rem; color: var(--ivory); font-size: 1rem; font-weight: 850; }
.company-data { max-width: 1050px; }
.footer-bottom a { color: var(--ivory); text-underline-offset: .22em; }
.back-to-top { font-weight: 850; }
#titulo-principal:focus { outline: none; }
@media (max-width: 620px) { .hero h1 { font-size: clamp(2rem, 11vw, 3.1rem); } }

/* Conteúdo específico do PAI Audiodescrição */
.icon-details::before { content: "•••"; letter-spacing: -.18em; transform: translateX(-.08em); }
.icon-caption::before { content: "CC"; font-size: .9rem; letter-spacing: -.06em; }
.interaction-note {
  margin-top: 1rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(37,130,255,.22);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 14px 40px rgba(20,36,64,.05);
}
.interaction-note h3 { margin-bottom: .4rem; font-size: 1.3rem; }
.interaction-note p { margin: 0; color: var(--muted); }
.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.mode-card {
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.045);
}
.mode-card h3 { margin-bottom: .8rem; font-size: 1.3rem; }
.mode-card ul { margin: 0; padding-left: 1.2rem; }
.mode-card li { margin: .65rem 0; color: var(--muted-dark); }
.conversation[aria-label] { position: relative; }

@media (max-width: 980px) {
  .mode-grid { grid-template-columns: 1fr; }
}

/* Classes aplicadas pelo painel local de preferências visuais */
html.a11y-spacing body {
  line-height: 1.75 !important;
  letter-spacing: .12em !important;
  word-spacing: .16em !important;
}
html.a11y-spacing p,
html.a11y-spacing li,
html.a11y-spacing summary,
html.a11y-spacing a,
html.a11y-spacing button,
html.a11y-spacing h1,
html.a11y-spacing h2,
html.a11y-spacing h3 {
  line-height: 1.6 !important;
}
html.a11y-spacing p { margin-bottom: 2em; }
html.a11y-underline-links a:not(.button):not(.brand):not(.footer-logo):not(.a11y-launcher) {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: .2em !important;
}
html.a11y-grayscale body > *:not(.pai-a11y-widget) { filter: grayscale(1); }
html.a11y-reduced-motion { scroll-behavior: auto !important; }
html.a11y-reduced-motion *,
html.a11y-reduced-motion *::before,
html.a11y-reduced-motion *::after {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .01ms !important;
  scroll-behavior: auto !important;
}
html.a11y-big-cursor,
html.a11y-big-cursor body,
html.a11y-big-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M4 3v29l7-7 5 12 6-3-5-11h10z' fill='%23fff' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") 4 3, auto !important;
}
html.a11y-high-contrast body,
html.a11y-high-contrast .light,
html.a11y-high-contrast .soft,
html.a11y-high-contrast .content-section,
html.a11y-high-contrast .site-footer,
html.a11y-high-contrast .site-header,
html.a11y-high-contrast .hero,
html.a11y-high-contrast .dark,
html.a11y-high-contrast .page-hero {
  color: #fff !important;
  background: #000 !important;
  background-image: none !important;
}
html.a11y-high-contrast .feature-card,
html.a11y-high-contrast .pillar-card,
html.a11y-high-contrast .interaction-note,
html.a11y-high-contrast .faq details,
html.a11y-high-contrast .summary-box,
html.a11y-high-contrast .notice,
html.a11y-high-contrast .contact-option,
html.a11y-high-contrast .conversation,
html.a11y-high-contrast .cta-panel,
html.a11y-high-contrast .step-card,
html.a11y-high-contrast .mode-card,
html.a11y-high-contrast .legal-links a {
  color: #fff !important;
  background: #000 !important;
  border-color: #fff !important;
  box-shadow: none !important;
}
html.a11y-high-contrast p,
html.a11y-high-contrast li,
html.a11y-high-contrast .section-intro,
html.a11y-high-contrast .section-lead,
html.a11y-high-contrast .feature-card p,
html.a11y-high-contrast .pillar-card p,
html.a11y-high-contrast .step-card p,
html.a11y-high-contrast .mode-card li,
html.a11y-high-contrast .prose p,
html.a11y-high-contrast .prose li,
html.a11y-high-contrast .contact-option span,
html.a11y-high-contrast .footer-links a,
html.a11y-high-contrast .site-footer {
  color: #fff !important;
}
html.a11y-high-contrast a { color: #ffeb3b !important; }
html.a11y-high-contrast .button,
html.a11y-high-contrast .nav-cta {
  color: #000 !important;
  background: #ffeb3b !important;
  border-color: #ffeb3b !important;
}
html.a11y-high-contrast :focus-visible { outline-color: #00ffff !important; }
html.a11y-high-contrast .message { color: #000 !important; background: #fff !important; }
html.a11y-high-contrast .message p,
html.a11y-high-contrast .message span { color: #000 !important; }
html.a11y-high-contrast .conversation-head { color: #fff !important; background: #000 !important; border: 2px solid #fff; }
html.a11y-high-contrast .brand-promise { color: #000 !important; background: #fff !important; }

/* Resiliência a ampliação de texto e palavras longas */
.hero-grid > *,
.split-intro > *,
.whatsapp-grid > *,
.privacy-grid > *,
.cta-panel > *,
.footer-grid > *,
.feature-grid > *,
.steps > *,
.mode-grid > * { min-width: 0; }
h1, h2, h3, p, li, a, button, summary { overflow-wrap: break-word; }
@media (max-width: 620px) {
  .section h2,
  .page-hero h1,
  .button,
  .legal-links a,
  .footer-bottom,
  .cta-panel { overflow-wrap: anywhere; }
}


/* Resumo profissional de privacidade */
.privacy-facts {
  display: grid;
  gap: .8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.privacy-facts li {
  padding: .95rem 1rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}
.privacy-facts strong,
.privacy-facts span { display: block; }
.privacy-facts strong { color: var(--ivory); }
.privacy-facts span { margin-top: .25rem; color: var(--muted-dark); }
.privacy-summary h2 { margin: 0 0 .6rem; font-size: 1.5rem; }
.privacy-summary ul { margin-bottom: 0; }
.privacy-inline {
  padding: .9rem 1rem;
  border-left: 4px solid var(--teal);
  background: #fff;
  border-radius: 0 12px 12px 0;
}
