/*
  Design reminder — Certeza Estrutural: azul cobalto + branco, precisão editorial, assimetria e linhas de perímetro.
  Todo detalhe deve reforçar confiança serena; evitar néon, cartões arredondados genéricos e layouts excessivamente centrados.
*/
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600&display=swap");

:root {
  --background: #f9fbff;
  --foreground: #10233f;
  --navy: #08234c;
  --navy-deep: #061936;
  --cobalt: #1463d9;
  --blue-pale: #edf5ff;
  --blue-mist: #f4f8fe;
  --ink-muted: #526985;
  --line: #cfddf0;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: "Source Sans 3", sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.site-shell { overflow: clip; }

.site-header { position: relative; z-index: 20; height: 78px; padding: 0 clamp(1.25rem, 4vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 36px; height: 36px; object-fit: contain; }
.brand-name { color: var(--navy); font-family: "Manrope", sans-serif; font-size: .83rem; font-weight: 800; letter-spacing: .105em; line-height: 1.05; white-space: nowrap; }
.brand-name small { display: block; color: var(--cobalt); font-size: .52rem; font-weight: 700; letter-spacing: .28em; margin-top: 4px; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.35rem, 3vw, 2.9rem); margin-left: auto; margin-right: clamp(1.3rem, 3.8vw, 4.5rem); }
.desktop-nav a, .header-cta { font-family: "Manrope", sans-serif; font-size: .73rem; font-weight: 700; letter-spacing: .03em; }
.desktop-nav a { color: #385171; position: relative; padding: 9px 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: 3px; height: 2px; width: 0; background: var(--cobalt); transition: width 220ms var(--ease-out); }
.desktop-nav a:hover::after { width: 100%; }
.header-cta { color: var(--navy); display: inline-flex; gap: 8px; align-items: center; }
.header-cta svg { width: 16px; height: 16px; color: var(--cobalt); transition: transform 180ms var(--ease-out); }
.header-cta:hover svg { transform: translate(2px, -2px); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--navy); padding: 9px; margin-right: -9px; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
.close-icon { display: none; }
.mobile-nav { display: none; }

.hero { position: relative; min-height: min(675px, calc(100vh - 78px)); display: flex; align-items: center; color: #fff; background: var(--navy-deep); isolation: isolate; }
.hero-image, .hero-scrim, .hero-grid { position: absolute; inset: 0; }
.hero-image { z-index: -3; background-image: url("assets/blue-shield-hero.jpg"); background-size: cover; background-position: right center; opacity: .14; filter: grayscale(1) contrast(.9); mix-blend-mode: screen; }
.hero-scrim { z-index: -2; background: linear-gradient(90deg, #061936 0%, #08234c 52%, #0a2b5b 100%); }
.hero-grid { z-index: -1; opacity: .18; background-image: linear-gradient(rgba(157,207,255,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(157,207,255,.28) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg, #000 0%, transparent 100%); }
.hero-geometry { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-geometry::before { content: ""; position: absolute; top: 0; bottom: 0; right: 18%; width: 1px; background: rgba(165,208,255,.25); }
.hero-geometry::after { content: ""; position: absolute; right: 0; top: 16%; width: 34%; height: 62%; border: 1px solid rgba(166,210,255,.25); border-right: 0; clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%, 0 19%); }
.hero-geometry img { position: absolute; right: clamp(7rem, 13vw, 16rem); top: 50%; width: clamp(7.8rem, 12vw, 13rem); height: auto; opacity: .15; filter: grayscale(1) brightness(5); transform: translateY(-50%); }
.geometry-rule { position: absolute; height: 2px; background: #56a1ff; opacity: .8; }
.geometry-rule-a { top: 23%; left: 55%; right: 0; }
.geometry-rule-b { bottom: 16%; left: 42%; width: 23%; }
.geometry-square { position: absolute; border: 1px solid rgba(166,210,255,.31); }
.geometry-square-a { width: 88px; height: 88px; left: 51%; top: 32%; }
.geometry-square-b { width: 36px; height: 36px; right: 23%; bottom: 20%; background: rgba(51,133,234,.18); }
.hero-content { width: min(755px, 62vw); margin-left: clamp(1.25rem, 11.5vw, 12.5rem); padding: 7.5rem 0 8rem; }
.hero-eyebrow, .section-kicker { color: #5fa6ff; font-family: "Manrope", sans-serif; font-size: .68rem; font-weight: 800; letter-spacing: .17em; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; }
.hero-eyebrow span { display: inline-block; width: 28px; height: 2px; background: #5fa6ff; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
.hero h1 { max-width: 730px; margin: 20px 0 22px; font-size: clamp(2.9rem, 5.2vw, 5.35rem); font-weight: 700; letter-spacing: -.065em; line-height: 1.03; }
.hero-content > p { max-width: 530px; color: #cedff5; font-size: clamp(1.08rem, 1.45vw, 1.28rem); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 23px; margin-top: 36px; }
.button-primary, .button-light { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 23px; font-family: "Manrope", sans-serif; font-size: .77rem; font-weight: 800; letter-spacing: .015em; transition: transform 160ms var(--ease-out), background 160ms var(--ease-out), color 160ms var(--ease-out); }
.button-primary { background: #fff; color: var(--navy); }
.button-primary:hover { background: #d8ebff; transform: translateY(-2px); }
.button-primary:active, .button-light:active { transform: scale(.97); }
.text-link { display: inline-flex; align-items: center; gap: 2px; font-family: "Manrope", sans-serif; font-size: .78rem; font-weight: 700; }
.light-link { color: #fff; border-bottom: 1px solid rgba(255,255,255,.52); padding-bottom: 5px; }
.light-link svg { width: 17px; height: 17px; transition: transform 180ms var(--ease-out); }
.light-link:hover svg { transform: translateX(4px); }
.hero-note { position: absolute; right: clamp(1.25rem, 4vw, 4.5rem); bottom: 52px; width: 238px; border-left: 2px solid #69adff; padding: 2px 0 0 18px; }
.hero-note svg { width: 24px; height: 24px; color: #a8d4ff; margin-bottom: 10px; }
.hero-note p { margin: 0; color: #d6e9fb; font-size: .94rem; line-height: 1.45; }
.hero-index { position: absolute; right: clamp(1.25rem, 4vw, 4.5rem); top: 35px; color: #cfe5fc; font-family: "Manrope", sans-serif; font-size: .72rem; letter-spacing: .11em; }
.hero-index span { color: #5fa6ff; margin: 0 4px; }

.statement-section { position: relative; padding: clamp(5rem, 10vw, 9.5rem) clamp(1.25rem, 12vw, 12.5rem) clamp(4.75rem, 8vw, 7.5rem); background: #fff; }
.statement-rule { width: min(128px, 20vw); height: 4px; margin-bottom: 26px; background: var(--cobalt); }
.statement-section .section-kicker { color: var(--cobalt); margin-bottom: 20px; }
.statement-copy { max-width: 930px; color: var(--navy); font-family: "Manrope", sans-serif; font-size: clamp(1.75rem, 3.25vw, 3.4rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.18; }

.services-section { position: relative; display: grid; grid-template-columns: minmax(250px, .68fr) minmax(0, 1.5fr); gap: clamp(3rem, 8vw, 10rem); padding: clamp(5rem, 9vw, 8.4rem) clamp(1.25rem, 8vw, 8.6rem); background: var(--blue-mist); border-top: 1px solid #deebf9; }
.section-perimeter { position: absolute; display: flex; align-items: center; gap: 10px; color: var(--cobalt); font-family: "Manrope", sans-serif; font-size: .62rem; font-weight: 800; letter-spacing: .11em; }
.section-perimeter i { display: block; height: 1px; width: 56px; background: currentColor; }
.services-perimeter { top: 30px; left: clamp(1.25rem, 8vw, 8.6rem); }
.section-kicker { color: var(--cobalt); margin-bottom: 19px; }
.section-intro { padding-top: 8px; }
.section-intro h2, .method-content h2, .assurance-copy h2, .contact-content h2 { color: var(--navy); font-size: clamp(2rem, 3.1vw, 3.1rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.12; }
.section-description { max-width: 450px; color: var(--ink-muted); font-size: 1.05rem; line-height: 1.58; }
.services-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: #c8dcf3; border: 1px solid #c8dcf3; align-self: start; }
.service-card { min-height: 342px; display: flex; flex-direction: column; padding: 25px 23px 22px; background: #fff; transition: background 230ms var(--ease-out), transform 230ms var(--ease-out); }
.service-card:hover { background: #e9f3ff; transform: translateY(-6px); }
.service-topline { display: flex; justify-content: space-between; color: var(--cobalt); font-family: "Manrope", sans-serif; font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.service-topline svg { width: 23px; height: 23px; stroke-width: 1.55; }
.service-card h3 { margin: auto 0 12px; color: var(--navy); font-size: 1.22rem; letter-spacing: -.035em; line-height: 1.25; }
.service-card p { color: var(--ink-muted); font-size: .98rem; line-height: 1.52; }
.service-card a { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 17px; color: var(--cobalt); font-family: "Manrope", sans-serif; font-size: .7rem; font-weight: 800; letter-spacing: .015em; border-top: 1px solid #c8dcf3; }
.service-card a svg { width: 16px; height: 16px; transition: transform 180ms var(--ease-out); }
.service-card a:hover svg { transform: translate(2px,-2px); }

.method-section { position: relative; display: grid; grid-template-columns: minmax(0, .93fr) minmax(420px, .86fr); gap: clamp(3rem, 7.4vw, 10rem); align-items: center; padding: clamp(5.5rem, 10vw, 9.5rem) clamp(1.25rem, 8vw, 8.6rem); background: #fff; }
.method-perimeter { top: 30px; right: clamp(1.25rem, 8vw, 8.6rem); }
.method-visual { position: relative; min-height: 560px; overflow: hidden; background: #d8e8fa; border-left: 5px solid var(--cobalt); }
.method-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(4,29,64,.7)); }
.method-visual img, .assurance-image { width: 100%; height: 100%; display: block; object-fit: cover; }
.method-visual img { position: absolute; inset: 0; }
.visual-caption { position: absolute; z-index: 1; bottom: 0; left: 0; right: 0; display: flex; align-items: center; gap: 8px; padding: 26px 30px; color: #fff; font-family: "Manrope", sans-serif; font-size: .73rem; font-weight: 700; letter-spacing: .03em; }
.visual-caption svg { width: 17px; height: 17px; }
.method-content { max-width: 580px; }
.method-content .section-description { max-width: 550px; margin-bottom: 32px; }
.method-steps { border-top: 1px solid var(--line); }
.method-step { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.method-step > span { color: var(--cobalt); font-family: "Manrope", sans-serif; font-size: .68rem; font-weight: 800; letter-spacing: .08em; padding-top: 4px; }
.method-step h3 { margin-bottom: 3px; color: var(--navy); font-size: 1.02rem; letter-spacing: -.025em; }
.method-step p { margin-bottom: 0; color: var(--ink-muted); font-size: .94rem; }

.assurance-section { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); min-height: 600px; background: #fff; border-top: 1px solid var(--line); }
.assurance-perimeter { top: 29px; left: clamp(1.25rem, 8vw, 8.6rem); }
.assurance-copy { padding: clamp(6.1rem, 10vw, 8.6rem) clamp(1.25rem, 8vw, 8.6rem) clamp(5rem, 9vw, 8rem); color: var(--foreground); background: var(--blue-mist); }
.assurance-copy .section-kicker { color: var(--cobalt); }
.assurance-copy h2 { color: var(--navy); max-width: 570px; }
.assurance-copy > p { max-width: 505px; color: var(--ink-muted); font-size: 1.07rem; line-height: 1.6; }
.assurance-copy ul { display: grid; gap: 13px; margin: 31px 0 0; padding: 0; list-style: none; color: var(--navy); font-family: "Manrope", sans-serif; font-size: .85rem; font-weight: 600; }
.assurance-copy li { display: flex; align-items: center; gap: 10px; }
.assurance-copy li svg { width: 16px; height: 16px; color: var(--cobalt); }
.assurance-image-wrap { position: relative; min-height: 450px; overflow: hidden; }
.assurance-image { position: absolute; inset: 0; filter: saturate(.55) contrast(.95); }
.assurance-image-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,35,76,.52), transparent 58%), linear-gradient(0deg, rgba(8,35,76,.3), transparent 55%); }
.assurance-image-wrap::before { content: ""; position: absolute; z-index: 1; left: 12%; top: 0; width: 1px; height: 100%; background: rgba(191,224,255,.58); }
.assurance-badge { position: absolute; z-index: 2; left: 34px; bottom: 31px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px; color: #fff; background: rgba(6,25,54,.74); border-left: 3px solid #58a1ff; font-family: "Manrope", sans-serif; font-size: .69rem; font-weight: 700; letter-spacing: .05em; }
.assurance-badge svg { width: 18px; height: 18px; }

.contact-section { position: relative; display: grid; grid-template-columns: minmax(170px,.5fr) minmax(0,1.15fr); gap: clamp(2rem, 8vw, 9rem); padding: clamp(6.1rem, 10vw, 8.8rem) clamp(1.25rem, 12vw, 12.5rem); background: var(--navy-deep); color: #fff; overflow: hidden; }
.contact-section::before { content: ""; position: absolute; width: 660px; height: 660px; right: -225px; top: -425px; border: 1px solid rgba(161,208,255,.2); clip-path: polygon(50% 0, 100% 28%, 100% 100%, 0 100%, 0 28%); box-shadow: 0 0 0 56px rgba(255,255,255,.025), 0 0 0 112px rgba(255,255,255,.018); pointer-events: none; }
.contact-perimeter { color: #62a8ff; top: 30px; left: clamp(1.25rem, 12vw, 12.5rem); }
.contact-lockup { display: flex; align-items: flex-start; gap: 17px; position: relative; z-index: 1; padding-top: 4px; }
.contact-lockup img { width: 48px; height: 48px; object-fit: contain; filter: grayscale(1) brightness(5); }
.contact-line { flex: 1; max-width: 118px; height: 2px; margin-top: 23px; background: #62a8ff; opacity: .9; }
.contact-content { position: relative; z-index: 1; max-width: 670px; }
.contact-content .section-kicker { color: #6eafff; }
.contact-content h2 { color: #fff; margin-bottom: 18px; font-size: clamp(2.3rem, 4.1vw, 4.1rem); }
.contact-content > p { max-width: 500px; color: #c7dcf3; font-size: 1.08rem; }
.button-light { margin-top: 23px; background: #fff; color: var(--navy); border-left: 4px solid #62a8ff; }
.button-light:hover { background: #d9ecff; transform: translateY(-2px); }

.site-footer { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 25px clamp(1.25rem, 4vw, 4.5rem); background: #fff; color: #627693; border-bottom: 4px solid var(--cobalt); font-size: .83rem; }
.site-footer p { margin: 0; }
.footer-brand .brand-mark { width: 31px; height: 31px; }
.site-footer > p:nth-of-type(1) { padding-left: 29px; border-left: 1px solid var(--line); }

@media (max-width: 1024px) {
  .hero-content { width: min(720px, 75vw); margin-left: clamp(1.25rem, 8vw, 6rem); }
  .services-section { grid-template-columns: 1fr; }
  .section-intro { max-width: 620px; }
  .method-section { grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: 3.5rem; }
  .method-visual { min-height: 490px; }
}

@media (max-width: 760px) {
  .site-header { height: 68px; padding: 0 20px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: .73rem; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .mobile-nav { position: absolute; z-index: 19; top: 68px; left: 0; right: 0; display: grid; padding: 14px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 25px rgba(11,48,94,.12); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: 12px 0; color: var(--navy); font-family: "Manrope", sans-serif; font-size: .85rem; font-weight: 700; border-bottom: 1px solid #e5eef9; }
  .mobile-nav a:last-child { border-bottom: 0; }
  .hero { min-height: 655px; }
  .hero-image { background-position: 62% center; }
  .hero-scrim { background: linear-gradient(90deg, #061936, #08234c 75%, #0a2b5b); }
  .hero-grid { background-size: 34px 34px; }
  .hero-content { width: auto; margin: 0; padding: 7.2rem 24px 10rem; }
  .hero h1 { font-size: clamp(2.65rem, 11.3vw, 4rem); }
  .hero-note { right: 24px; bottom: 30px; width: 238px; }
  .hero-index { right: 24px; top: 24px; }
  .hero-geometry::before { right: 17%; }
  .hero-geometry img { right: 17%; opacity: .12; }
  .geometry-rule-a { left: 41%; }
  .geometry-square-a { left: 54%; }
  .statement-section { padding: 5.2rem 24px 4.7rem; }
  .statement-copy { font-size: clamp(1.72rem, 7.4vw, 2.45rem); }
  .services-section { padding: 5rem 24px; gap: 2.6rem; }
  .services-list { grid-template-columns: 1fr; }
  .service-card { min-height: 270px; padding: 23px; }
  .service-card h3 { margin-top: 52px; }
  .method-section { grid-template-columns: 1fr; padding: 5.5rem 24px; gap: 3.3rem; }
  .method-visual { min-height: 390px; }
  .assurance-section { grid-template-columns: 1fr; }
  .assurance-copy { padding: 5.5rem 24px 4.5rem; }
  .assurance-image-wrap { min-height: 370px; }
  .contact-section { grid-template-columns: 1fr; padding: 5rem 24px; gap: 2.4rem; }
  .contact-perimeter { left: 24px; }
  .contact-lockup { max-width: 170px; }
  .site-footer { grid-template-columns: 1fr; gap: 15px; padding: 28px 24px; }
  .site-footer > p:nth-of-type(1) { padding: 15px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content, .hero-note, .statement-section, .section-intro, .services-list, .method-visual, .method-content, .assurance-copy, .assurance-image-wrap, .contact-content { animation: rise-in 650ms var(--ease-out) both; }
  .hero-note { animation-delay: 120ms; }
  .statement-section, .section-intro, .method-content, .assurance-copy, .contact-content { animation-delay: 80ms; }
  .services-list { animation-delay: 130ms; }
  .method-visual, .assurance-image-wrap { animation-delay: 120ms; }
  @keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}
