:root {
  --navy: #09182f;
  --navy-soft: #18304d;
  --blue: #146cff;
  --blue-dark: #0055df;
  --sky: #eaf2ff;
  --paper: #fbfcfe;
  --line: #dce4ef;
  --muted: #5b6b80;
  --white: #fff;
  --radius: 1.25rem;
  --shell: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--navy); background: var(--paper); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { overflow-wrap: normal; word-break: normal; text-wrap: balance; }
:focus-visible { outline: 3px solid #63acff; outline-offset: 5px; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.section { padding: clamp(88px, 11vw, 150px) 0; }
.section-heading { max-width: 760px; margin-bottom: clamp(42px, 6vw, 72px); }
.section-heading h2, .method-lead h2, .projects h2, .discovery h2, .faq h2, .contact h2 { margin: 0; font-size: clamp(2.35rem, 4.3vw, 4.25rem); line-height: 1.06; letter-spacing: -.055em; }
.section-heading > p:last-child, .method-lead > p:last-child { max-width: 620px; margin: 24px 0 0; color: var(--muted); font-size: 1.12rem; line-height: 1.65; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1fr minmax(280px, .55fr); gap: 70px; align-items: end; }
.split-heading > p { margin: 0 0 4px !important; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: var(--navy); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 10; border-bottom: 1px solid rgba(9,24,47,.11); background: rgba(251,252,254,.95); }
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; margin-right: auto; }
.brand img { display: block; width: 212px; height: auto; }
.primary-nav { display: flex; gap: 26px; font-size: .88rem; font-weight: 700; }
.primary-nav a { text-decoration: none; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border: 1px solid var(--blue); border-radius: 999px; background: var(--blue); color: #fff; font-weight: 800; text-decoration: none; transition: background .2s, transform .2s; }
.button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.button-small { min-height: 42px; padding-inline: 18px; font-size: .85rem; }
.hero { position: relative; overflow: hidden; padding: clamp(76px, 10vw, 150px) 0 clamp(96px, 11vw, 170px); background: linear-gradient(150deg, #fff 0%, #fbfcfe 58%, #edf4ff 100%); }
.hero::before { content: ""; position: absolute; inset: auto auto 0 0; width: 36%; height: 1px; background: var(--blue); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: clamp(50px, 8vw, 110px); align-items: center; }
.eyebrow { margin: 0 0 20px; color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 800px; margin: 0; font-size: clamp(3.35rem, 7vw, 6.8rem); line-height: .92; letter-spacing: -.068em; }
.hero-lede { max-width: 670px; margin: 32px 0; color: var(--navy-soft); font-size: clamp(1.08rem, 1.65vw, 1.35rem); line-height: 1.55; }
.hero-signal { position: relative; width: 100%; aspect-ratio: 1; }
.hero-signal svg { width: 100%; height: 100%; overflow: visible; }
.hero-signal .signal-plane { fill: #e8f0fb; fill-opacity: .55; stroke: #a8bdd8; stroke-width: 1; }
.hero-signal .signal-guide { stroke: #bdcce0; stroke-width: 1; stroke-dasharray: 3 6; }
.hero-signal .signal-route { stroke: var(--blue); stroke-width: 4; stroke-linejoin: round; }
.hero-signal circle { fill: var(--paper); stroke: var(--blue); stroke-width: 3; }
.hero-signal circle:nth-of-type(2) { fill: var(--blue); }
.hero-signal strong, .hero-signal em, .hero-signal small { position: absolute; font-style: normal; font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hero-signal strong { top: 80%; left: 0; }
.hero-signal em { top: 60%; left: 47%; color: var(--blue); }
.hero-signal small { top: 9%; right: 0; max-width: 85px; line-height: 1.4; }

.intro { background: var(--white); }
.need-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--navy); border-left: 1px solid var(--line); }
.need-card { position: relative; min-height: 280px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--navy); text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.need-card > span { display: block; color: var(--blue); font-size: .73rem; font-weight: 800; letter-spacing: .1em; }
.need-card h3 { max-width: 290px; margin: 58px 0 14px; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.08; letter-spacing: -.035em; }
.need-card p { max-width: 290px; margin: 0; color: var(--muted); line-height: 1.55; }
.need-card b { position: absolute; top: 25px; right: 26px; color: var(--blue); font-size: 1.4rem; }
.need-card:hover, .need-card:focus-visible { z-index: 1; background: var(--blue); color: #fff; transform: translateY(-3px); outline: none; }
.need-card:hover > span, .need-card:hover p, .need-card:hover b, .need-card:focus-visible > span, .need-card:focus-visible p, .need-card:focus-visible b { color: #fff; }

.pillars-section { background: var(--navy); color: #fff; }
.pillars-section .eyebrow { color: #63acff; }
.pillars-section .section-heading > p:last-child { color: #aebdd0; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #40516a; }
.pillars article { min-height: 315px; padding: 32px 28px; border-right: 1px solid #40516a; }
.pillars article:last-child { border-right: 0; }
.pillars span { color: #63acff; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.pillars h3 { margin: 80px 0 18px; font-size: clamp(1.9rem, 3vw, 2.8rem); letter-spacing: -.045em; }
.pillars p { margin: 0; color: #b8c4d3; line-height: 1.6; }

.method { background: #eef4fb; }
.method-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(70px, 10vw, 150px); }
.method-lead { position: sticky; top: 125px; align-self: start; }
.method-list { margin: 0; padding: 0; list-style: none; }
.method-list li { display: grid; grid-template-columns: 70px 1fr; gap: 26px; padding: 8px 0 38px; margin-bottom: 32px; border-bottom: 1px solid #c4d1e0; }
.method-list li > span { color: var(--blue); font-size: .76rem; font-weight: 900; letter-spacing: .1em; }
.method-list h3 { margin: -5px 0 10px; font-size: clamp(2rem, 3.5vw, 3.4rem); letter-spacing: -.05em; }
.method-list p { max-width: 540px; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }

.projects { background: #fff; }
.projects-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 10vw, 140px); align-items: start; }
.projects-lede { max-width: 360px; color: var(--muted); font-size: 1.12rem; line-height: 1.65; margin-top: 26px; }
.project-types { border-top: 1px solid var(--navy); }
.project-types article { padding: 28px 0; border-bottom: 1px solid var(--line); }
.project-types span { color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .09em; }
.project-types h3 { margin: 16px 0 10px; font-size: 1.75rem; letter-spacing: -.035em; }
.project-types p { margin: 0; max-width: 480px; color: var(--muted); line-height: 1.65; }
.discovery { background: var(--sky); border-top: 1px solid #cfdef1; }
.discovery-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 100px); align-items: start; }
.discovery h2 { max-width: 590px; font-size: clamp(2.4rem, 4.1vw, 3.75rem); }
.discovery p:not(.eyebrow) { color: var(--navy-soft); font-size: 1.08rem; line-height: 1.7; }
.discovery-channels article { padding: 22px 0; border-top: 1px solid #b6c9df; }
.discovery-channels h3 { margin: 0 0 10px; font-size: 1.3rem; letter-spacing: -.025em; text-wrap: auto; }
.discovery-channels article p { margin: 0; }
.discovery-channels .discovery-note { font-size: .88rem; padding-top: 18px; border-top: 1px solid #b6c9df; }

.faq { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(70px, 10vw, 150px); }
.faq-list { border-top: 1px solid var(--navy); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 26px 50px 26px 0; cursor: pointer; list-style: none; font-size: 1.12rem; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 21px; color: var(--blue); font-size: 1.6rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 680px; margin: -5px 50px 28px 0; color: var(--muted); line-height: 1.65; }

.contact { background: var(--navy); color: #fff; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(70px, 10vw, 145px); }
.contact-copy { position: sticky; top: 125px; align-self: start; }
.contact-copy > p:not(.eyebrow) { max-width: 450px; margin: 28px 0; color: #b8c4d3; font-size: 1.1rem; line-height: 1.65; }
.contact-note { display: flex; align-items: center; gap: 16px; margin-top: 60px; color: #b8c4d3; }
.contact-note span { color: #63acff; font-size: 2rem; }
.contact-note p { margin: 0; font-size: .88rem; }
.form-panel { min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 24px; }
.field label { display: block; margin-bottom: 9px; font-size: .875rem; font-weight: 800; }
.field label span { color: #91a2b9; font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #4c607b; border-radius: 6px; background: #102440; color: #fff; padding: 15px 16px; outline: none; transition: border .2s, box-shadow .2s; }
.field input, .field select { min-height: 54px; }
.field textarea { resize: vertical; min-height: 145px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #63acff; box-shadow: 0 0 0 3px rgba(99,172,255,.18); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #ff8791; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.consent { display: flex; align-items: flex-start; gap: 12px; color: #d5deea; font-size: .88rem; line-height: 1.5; cursor: pointer; }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--blue); }
.privacy-note { margin: 16px 0 26px; color: #91a2b9; font-size: .77rem; line-height: 1.55; }
.submit-button { width: 100%; border: 0; }
.submit-button:disabled { cursor: wait; opacity: .65; transform: none; }
.form-status { min-height: 24px; margin: 14px 0 0; color: #ffb6bc; font-size: .88rem; line-height: 1.5; }
.success-message { padding: clamp(35px, 6vw, 65px); border: 1px solid #4c607b; color: #fff; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.3; letter-spacing: -.03em; }
.success-message[hidden] { display: none; }

.site-footer { padding: 45px 0; background: #071327; color: #91a2b9; }
.footer-inner { display: flex; align-items: center; gap: 30px; }
.footer-inner img { width: 130px; filter: brightness(0) invert(1); }
.footer-inner p { margin: 0 auto 0 0; font-size: .8rem; }
.footer-inner a { color: #fff; font-size: .8rem; font-weight: 800; text-decoration: none; }

@media (max-width: 880px) {
  .header-inner { flex-wrap: wrap; padding-block: 16px; }
  .primary-nav { order: 3; width: 100%; display: flex; gap: 20px; padding-top: 13px; border-top: 1px solid var(--line); overflow-x: auto; white-space: nowrap; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-signal { min-height: 280px; max-width: 480px; width: 100%; margin-inline: auto; }
  .split-heading, .method-grid, .projects-inner, .discovery-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .need-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillars article:nth-child(2) { border-right: 0; }
  .pillars article:nth-child(-n+2) { border-bottom: 1px solid #40516a; }
  .method-lead, .contact-copy { position: static; }
}
@media (max-width: 560px) {
  :root { --shell: min(100% - 28px, 1160px); }
  .header-inner { min-height: 72px; }
  .brand img { width: 172px; }
  .header-inner > .button { display: none; }
  .primary-nav { font-size: .875rem; gap: 12px 20px; flex-wrap: wrap; white-space: normal; overflow: visible; }
  h1 { font-size: clamp(3rem, 15.5vw, 5rem); }
  .hero { padding-top: 64px; }
  .hero-signal { min-height: 235px; }
  .need-grid, .pillars, .field-row { grid-template-columns: 1fr; }
  .need-card { min-height: 245px; }
  .pillars article { min-height: 270px; border-right: 0; border-bottom: 1px solid #40516a; }
  .pillars article:last-child { border-bottom: 0; }
  .method-list li { grid-template-columns: 45px 1fr; gap: 12px; }

  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Refinamento visual: hierarquia e acolhimento, sem alterar os controles. */
.method-grid, .faq-grid { grid-template-columns: .95fr 1.25fr; gap: clamp(48px, 7vw, 100px); }
.method-lead h2, .projects h2, .faq h2, .contact h2 { font-size: clamp(2.25rem, 3.5vw, 3.35rem); line-height: 1.1; letter-spacing: -.045em; }
.method-list h3 { font-size: clamp(1.8rem, 2.6vw, 2.6rem); }
.faq { padding-bottom: 100px; background: linear-gradient(#fff, #f3f6fa); }
.contact { padding-top: 95px; border-top: 5px solid #dbe8f8; background: #10233d; }
.contact-grid { grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 6vw, 85px); }
.contact .eyebrow { color: #82baff; }
.form-panel { padding: clamp(24px, 3vw, 40px); border: 1px solid #405570; border-radius: 18px; background: #192e49; }
.form-intro { margin: 0 0 30px; max-width: 420px; color: #e5edf7; font-size: 1.1rem; line-height: 1.6; }
.field input, .field select, .field textarea { background: #f8fafd; color: var(--navy); border-color: #c8d5e5; border-radius: 8px; }
.field label span, .privacy-note { color: #b9c8dc; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #c63446; }
.contact-note { margin-top: 36px; }
@media (max-width: 1080px) and (min-width: 881px) {
 .header-inner { gap: 20px; }.primary-nav { gap: 16px; }.brand img { width: 180px; }
 .method-lead h2 { font-size: 2.55rem; }
}
@media (max-width: 880px) {
 .method-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
 .hero-signal { max-width: 420px; min-height: 0; }
 .contact-copy { max-width: 600px; }
}
@media (max-width: 560px) {
 .hero-grid { gap: 48px; }.hero-signal { max-width: 340px; min-height: 0; }
 .method-lead h2 { font-size: clamp(2rem, 8.7vw, 2.75rem); }
 .contact { padding-top: 64px; }.form-panel { padding: 24px 18px; }
 .discovery-grid { gap: 36px; }
}

/* Página de presença no Google: composição sobre os componentes da Home. */
.google-page .service-prose { max-width: 760px; color: var(--navy-soft); font-size: 1.12rem; line-height: 1.7; }
.google-page .service-prose p { margin: 0 0 24px; }
.google-page .hero-lede { max-width: 760px; }
.google-page .hero .button { max-width: 100%; padding-block: 16px; text-align: center; }
.google-page .service-after { margin-top: 40px; }
.google-page .service-surfaces { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.google-page .service-surfaces span { padding: 20px 32px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--blue); font-weight: 800; }
.google-page .need-card:hover { z-index: auto; background: transparent; color: var(--navy); transform: none; }
.google-page .need-card:hover > span { color: var(--blue); }
.google-page .need-card:hover p { color: var(--muted); }
.google-page .pillars h3 { margin-top: 40px; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.google-page .pillars-section .service-prose { color: #b8c4d3; }

/* Link editorial e grade de seis frentes da página de presença local. */
.google-page .service-link { text-decoration-thickness: 1px; text-underline-offset: .18em; }
.google-page .service-link:hover { color: #63acff; }
@media (min-width: 881px) {
  .google-page .pillars-six { grid-template-columns: repeat(3, 1fr); }
  .google-page .pillars-six article:nth-child(3n) { border-right: 0; }
  .google-page .pillars-six article:nth-child(-n+3) { border-bottom: 1px solid #40516a; }
}
@media (min-width: 561px) and (max-width: 880px) {
  .google-page .pillars-six article:nth-child(2n) { border-right: 0; }
  .google-page .pillars-six article:nth-child(-n+4) { border-bottom: 1px solid #40516a; }
}
