:root {
  --google-blue: #1a73e8;
  --google-blue-dark: #0b57d0;
  --google-red: #ea4335;
  --google-yellow: #fbbc04;
  --google-green: #34a853;
  --navy: #071a3d;
  --ink: #10213f;
  --muted: #60708c;
  --surface: #f5f8ff;
  --line: #dce6f5;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.top-note {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 20px;
  color: white;
  background: linear-gradient(90deg, var(--google-blue-dark), var(--google-blue), var(--google-green));
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  position: relative;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(220,230,245,.9);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.05rem; font-weight: 700; white-space: nowrap; }
.brand strong { color: var(--google-blue); }
.brand-mark { display: grid; grid-template-columns: repeat(2, 10px); grid-template-rows: repeat(2, 10px); gap: 3px; transform: rotate(45deg); }
.brand-mark i { display: block; border-radius: 3px; }
.brand-mark .blue { background: var(--google-blue); }
.brand-mark .red { background: var(--google-red); }
.brand-mark .yellow { background: var(--google-yellow); }
.brand-mark .green { background: var(--google-green); }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; color: #43516b; font-size: .9rem; font-weight: 700; }
.desktop-nav a { transition: color .2s ease; }
.desktop-nav a:hover { color: var(--google-blue); }
.menu-button { display: none; padding: 7px; border: 0; background: transparent; color: var(--navy); font-size: 1.5rem; cursor: pointer; }
.mobile-nav { display: none; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 0;
  font-size: .96rem;
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg { flex: 0 0 auto; width: 19px; height: 19px; }
.button-primary { color: white; background: var(--google-blue); box-shadow: 0 12px 26px rgba(26,115,232,.24); }
.button-primary:hover { background: var(--google-blue-dark); box-shadow: 0 16px 30px rgba(26,115,232,.3); }
.button-whatsapp { color: white; background: #14a55a; box-shadow: 0 14px 30px rgba(20,165,90,.28); }
.button-whatsapp:hover { background: #0b914b; }
.button-white { color: var(--google-blue-dark); background: white; box-shadow: 0 12px 28px rgba(0,0,0,.15); }
.button-small { min-height: 43px; padding: 10px 17px; border-radius: 10px; color: white; background: var(--google-blue); font-size: .84rem; }

.hero {
  min-height: 700px;
  display: flex;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(90deg, rgba(5,20,50,.99) 0%, rgba(5,20,50,.94) 37%, rgba(5,20,50,.30) 68%, rgba(5,20,50,.12) 100%),
    linear-gradient(0deg, rgba(4,18,45,.7), rgba(4,18,45,0) 45%),
    url('assets/nilson-hero.webp');
  background-size: cover;
  background-position: center 32%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--google-blue) 0 25%, var(--google-red) 25% 50%, var(--google-yellow) 50% 75%, var(--google-green) 75%);
}
.hero-content { display: flex; align-items: center; padding-block: 76px 84px; }
.hero-copy { width: min(690px, 62%); color: white; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--google-blue-dark);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.eyebrow.light { color: #b9d6ff; }
.hero h1 { max-width: 680px; margin: 18px 0 20px; font-size: clamp(2.65rem, 5.2vw, 4.65rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { display: block; margin-top: 8px; color: var(--google-yellow); }
.hero-lead { max-width: 650px; margin: 0; color: #dbe8ff; font-size: 1.12rem; line-height: 1.7; }
.offer-row { display: flex; align-items: center; gap: 30px; margin: 30px 0; }
.price-card { min-width: 244px; padding: 16px 21px; border: 1px solid rgba(255,255,255,.22); border-radius: 16px; background: rgba(255,255,255,.1); backdrop-filter: blur(12px); }
.price-card span, .price-card em { display: block; color: #cfe0ff; font-size: .76rem; font-style: normal; }
.price-card strong { display: block; margin: 2px 0; color: white; font-size: 3.15rem; line-height: 1; letter-spacing: -.06em; }
.price-card small { font-size: 1.25rem; letter-spacing: 0; }
.hero-checks { display: grid; gap: 9px; padding: 0; margin: 0; list-style: none; font-weight: 700; }
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.hero-checks svg { width: 19px; color: var(--google-green); stroke-width: 3; }
.hero-actions { display: flex; align-items: center; gap: 22px; }
.hero-actions .button { max-width: 430px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; }
.light-link { color: white; }
.result-note { max-width: 620px; margin: 18px 0 0; color: #9db0d2; font-size: .75rem; }

.trust-strip { position: relative; z-index: 3; background: white; box-shadow: 0 10px 30px rgba(21,50,94,.08); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { min-height: 96px; display: flex; align-items: center; gap: 13px; padding: 18px 22px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid svg { width: 27px; color: var(--google-blue); }
.trust-grid span { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.trust-grid strong { display: block; color: var(--ink); font-size: .95rem; }

.section { padding: 100px 0; }
.section-heading { max-width: 790px; margin-bottom: 46px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .section-copy h2 { margin: 13px 0 17px; color: var(--navy); font-size: clamp(2.1rem, 4vw, 3.35rem); line-height: 1.06; letter-spacing: -.045em; }
.section-heading p, .section-copy > p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.split-layout, .credentials-layout, .reputation-layout { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 78px; }
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin: 30px 0; }
.mini-grid div { padding: 17px 18px; border-left: 4px solid var(--google-blue); border-radius: 8px; background: var(--surface); }
.mini-grid div:nth-child(2) { border-color: var(--google-red); }
.mini-grid div:nth-child(3) { border-color: var(--google-yellow); }
.mini-grid div:nth-child(4) { border-color: var(--google-green); }
.mini-grid strong, .mini-grid span { display: block; }
.mini-grid span { color: var(--muted); font-size: .84rem; }
.portrait-card { height: 620px; position: relative; overflow: hidden; border-radius: 28px; background: #eef4ff; box-shadow: 0 24px 70px rgba(24,65,128,.16); }
.portrait-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(5,23,55,.5), transparent 38%); pointer-events: none; }
.portrait-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait-badge { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; display: flex; align-items: center; gap: 13px; padding: 15px 18px; border-radius: 14px; color: white; background: rgba(7,26,61,.88); backdrop-filter: blur(10px); }
.portrait-badge svg { color: var(--google-yellow); }
.portrait-badge span, .portrait-badge strong { display: block; }
.portrait-badge span { font-size: .81rem; }
.portrait-badge strong { font-size: .98rem; }

.protocol-section { background: var(--surface); }
.protocol-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.protocol-card { min-height: 270px; padding: 25px 21px; border: 1px solid var(--line); border-radius: 18px; background: white; transition: transform .2s ease, box-shadow .2s ease; }
.protocol-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(38,77,137,.1); }
.protocol-card:nth-child(2) .step-number { color: var(--google-red); }
.protocol-card:nth-child(3) .step-number { color: #d99800; }
.protocol-card:nth-child(4) .step-number { color: var(--google-green); }
.step-number { color: var(--google-blue); font-size: 2rem; font-weight: 900; letter-spacing: -.05em; }
.protocol-card h3, .service-card h3 { margin: 19px 0 8px; color: var(--navy); font-size: 1.1rem; line-height: 1.3; }
.protocol-card p, .service-card p { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.65; }
.center-action { display: flex; justify-content: center; margin-top: 40px; }

.reputation-section { color: white; background: var(--navy); overflow: hidden; }
.reputation-layout { grid-template-columns: .82fr 1.18fr; }
.reputation-image { height: 610px; overflow: hidden; border-radius: 28px; box-shadow: 0 25px 70px rgba(0,0,0,.25); }
.reputation-image img { width: 100%; height: 100%; object-fit: cover; }
.reputation-section .section-copy h2 { color: white; }
.reputation-section .section-copy > p { color: #c3d3ed; }
.check-list { display: grid; gap: 13px; padding: 0; margin: 28px 0 32px; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 10px; }
.check-list svg { width: 20px; color: var(--google-green); stroke-width: 3; }
.light-list { color: #e6efff; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 12px 30px rgba(29,66,125,.06); }
.service-card:nth-child(2) .service-icon, .service-card:nth-child(6) .service-icon { color: var(--google-red); background: #fff0ee; }
.service-card:nth-child(3) .service-icon, .service-card:nth-child(5) .service-icon { color: var(--google-green); background: #edfaef; }
.service-card:nth-child(4) .service-icon { color: #b77d00; background: #fff8df; }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; color: var(--google-blue); background: #eaf2ff; }
.service-icon svg { width: 25px; }
.tech-feature { margin-top: 28px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 50px; padding: 34px 40px; border-radius: 22px; color: white; background: linear-gradient(125deg, var(--google-blue-dark), var(--google-blue)); }
.tech-feature h3 { margin: 5px 0; font-size: 2rem; letter-spacing: -.03em; }
.tech-feature p { margin: 0; color: #dbe9ff; }
.small-label { font-size: .72rem; font-weight: 900; letter-spacing: .11em; }
.feature-flow { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.feature-flow > svg { width: 16px; opacity: .65; }
.feature-flow span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.13); font-size: .78rem; font-weight: 800; }
.feature-flow span svg { width: 17px; }

.brazil-section { background: var(--surface); }
.carousel-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.carousel-heading .section-heading { margin-bottom: 35px; }
.carousel-buttons { display: flex; gap: 9px; margin-bottom: 40px; }
.carousel-buttons button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); background: white; cursor: pointer; }
.carousel-buttons button:hover { color: white; background: var(--google-blue); }
.location-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 245px; gap: 15px; overflow-x: auto; padding: 3px 2px 19px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #9dbcec transparent; }
.location-card { min-height: 210px; padding: 24px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 18px; background: white; }
.location-top { display: flex; justify-content: space-between; color: var(--google-blue); }
.location-top span { color: #a7b3c6; font-size: .76rem; font-weight: 800; }
.location-card h3 { margin: 28px 0 0; color: var(--navy); font-size: 1.35rem; }
.location-card > strong { color: var(--google-blue); font-size: .85rem; }
.location-card p { margin: 10px 0 0; color: var(--muted); font-size: .85rem; }
.swipe-hint { margin: 10px 0 0; color: var(--muted); font-size: .79rem; text-align: center; }

.credentials-layout { grid-template-columns: .8fr 1.2fr; }
.credentials-image { height: 540px; overflow: hidden; border-radius: 28px; background: #eaf2ff; box-shadow: 0 24px 60px rgba(24,65,128,.14); }
.credentials-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.credential-box { display: flex; align-items: center; gap: 15px; margin: 27px 0; padding: 18px; border: 1px solid #bcd5fa; border-radius: 15px; background: #eef5ff; }
.credential-box > svg { flex: 0 0 auto; color: var(--google-blue); }
.credential-box strong, .credential-box span { display: block; }
.credential-box span { color: var(--muted); font-size: .82rem; }

.offer-section { padding-top: 40px; }
.offer-box { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px; padding: 54px 60px; border-radius: 28px; color: white; background:
  radial-gradient(circle at 92% 15%, rgba(52,168,83,.55), transparent 23%),
  radial-gradient(circle at 58% 120%, rgba(234,67,53,.35), transparent 35%),
  linear-gradient(130deg, var(--navy), var(--google-blue-dark));
}
.offer-copy h2 { margin: 8px 0 15px; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.045em; }
.offer-copy p { margin: 0; color: #c7d8f3; }
.light-label { color: var(--google-yellow); }
.offer-price { padding-left: 45px; border-left: 1px solid rgba(255,255,255,.2); }
.offer-price > span { display: block; color: #c7d8f3; }
.offer-price > strong { display: block; margin: 2px 0 20px; font-size: 4.8rem; line-height: 1; letter-spacing: -.06em; }
.offer-price > strong small { font-size: 1.5rem; }
.offer-price .button { width: 100%; }

.faq-section { padding-bottom: 110px; }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 21px 0; cursor: pointer; color: var(--navy); font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--google-blue); font-size: 1.3rem; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -6px 0 22px; color: var(--muted); }

footer { padding: 58px 0 26px; color: #c4d2ea; background: #04132f; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 60px; }
.footer-brand { color: white; }
.footer-grid p { max-width: 360px; color: #91a4c5; font-size: .9rem; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid > div:not(:first-child) strong { margin-bottom: 5px; color: white; }
.footer-grid a:not(.brand):hover { color: white; }
.footer-bottom { margin-top: 42px; padding-top: 22px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.1); color: #7e92b5; font-size: .7rem; }

.floating-whatsapp { position: fixed; right: 22px; bottom: 20px; z-index: 80; min-height: 52px; display: flex; align-items: center; gap: 9px; padding: 13px 17px; border-radius: 999px; color: white; background: #14a55a; box-shadow: 0 12px 35px rgba(8,80,42,.36); font-size: .82rem; font-weight: 900; }
.floating-whatsapp svg { width: 22px; }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .protocol-grid { grid-template-columns: repeat(3, 1fr); }
  .protocol-card:nth-child(4), .protocol-card:nth-child(5) { grid-column: span 1; }
  .feature-flow { flex-wrap: wrap; }
  .feature-flow > svg { display: none; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 30px, 680px); }
  .site-header { height: 70px; padding: 0 18px; }
  .header-cta { display: none; }
  .menu-button { display: grid; margin-left: auto; place-items: center; }
  .mobile-nav { position: absolute; top: 70px; left: 14px; right: 14px; display: none; flex-direction: column; gap: 5px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 22px 55px rgba(12,34,72,.18); }
  .mobile-nav.open { display: flex; }
  .mobile-nav > a:not(.button) { padding: 10px 5px; font-weight: 700; }
  .hero { min-height: auto; }
  .hero-bg { background-image: linear-gradient(0deg, rgba(5,20,50,.99) 0%, rgba(5,20,50,.95) 50%, rgba(5,20,50,.22) 100%), url('assets/nilson-hero.webp'); background-position: center top; }
  .hero-content { align-items: flex-end; min-height: 760px; padding: 320px 0 60px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .offer-row { align-items: stretch; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { max-width: none; width: 100%; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 76px 0; }
  .split-layout, .credentials-layout, .reputation-layout, .faq-layout { grid-template-columns: 1fr; gap: 50px; }
  .portrait-card { height: 570px; }
  .protocol-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reputation-image { height: auto; max-height: 690px; }
  .tech-feature, .offer-box { grid-template-columns: 1fr; }
  .feature-flow { justify-content: flex-start; }
  .carousel-heading { align-items: flex-start; }
  .credentials-image { height: auto; }
  .offer-box { padding: 44px 34px; gap: 30px; }
  .offer-price { padding: 25px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .faq-layout .section-heading { margin-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .top-note { font-size: .72rem; }
  .brand { font-size: .94rem; }
  .brand-mark { grid-template-columns: repeat(2, 8px); grid-template-rows: repeat(2, 8px); }
  .hero-content { min-height: 760px; padding-top: 290px; }
  .hero h1 { font-size: 2.75rem; }
  .offer-row { flex-direction: column; gap: 16px; }
  .price-card { min-width: 0; }
  .hero-checks { grid-template-columns: repeat(2, 1fr); font-size: .82rem; }
  .button { width: 100%; padding-inline: 16px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { min-height: 80px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .mini-grid, .protocol-grid, .services-grid { grid-template-columns: 1fr; }
  .portrait-card { height: 530px; }
  .protocol-card { min-height: 0; }
  .reputation-layout { gap: 38px; }
  .reputation-image { border-radius: 20px; }
  .tech-feature { padding: 28px 23px; gap: 28px; }
  .tech-feature h3 { font-size: 1.65rem; }
  .feature-flow { display: grid; grid-template-columns: repeat(2, 1fr); }
  .feature-flow span { justify-content: center; }
  .carousel-buttons { display: none; }
  .location-carousel { grid-auto-columns: 78%; }
  .credentials-image { border-radius: 20px; }
  .offer-box { width: calc(100% - 24px); padding: 38px 22px; border-radius: 22px; }
  .offer-price > strong { font-size: 4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .floating-whatsapp { left: 12px; right: 12px; bottom: 10px; justify-content: center; }
}

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