/* CybernetFX — folha de estilos do site.
   Base: layout aprovado (cybernetfx-homepage/app/globals.css), formatado.
   No final: componentes das páginas internas e das páginas legais. */

/* Inter (SIL Open Font License), hospedada no próprio site: fonts/inter-latin.woff2 */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Rev. 7: Arial com as métricas da Inter, usada até a Inter carregar (a troca de fonte não desloca o texto) */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("ArialMT");
  size-adjust: 107.06%;
  ascent-override: 90.49%;
  descent-override: 22.56%;
  line-gap-override: 0%;
}

:root {
  --navy: #081626;
  --navy2: #102a43;
  --blue: #0774af;
  --bright: #32baf0;
  --ink: #11243b;
  --muted: #526579;
  --line: #dce5ee;
  --ice: #f3f7fb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  font-family: Inter,'Segoe UI',Arial,sans-serif;
  color: var(--ink);
  background: white;
  font-size: 15px;
  line-height: 1.6;
}

button,input {
  font: inherit;
}

button,a,summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible {
  outline: 3px solid #48c2ef;
  outline-offset: 4px;
}

svg {
  width: 22px;
  height: 22px;
  flex: none;
  vertical-align: middle;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 1320px;
  width: calc(100% - 96px);
  margin: auto;
}

.header {
  background: var(--navy);
  color: #fff;
  position: relative;
  z-index: 5;
}

.topbar {
  border-bottom: 1px solid #ffffff19;
  background: #06121f;
  font-size: 12px;
  color: #b9c9db;
}

.top-inner,.top-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-inner {
  justify-content: space-between;
  min-height: 35px;
}

.top-links svg {
  width: 14px;
  height: 14px;
}

.top-link {
  border-left: 1px solid #ffffff30;
  padding-left: 16px;
}

.nav {
  height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  width: 208px;
  height: auto;
}

.brand {
  flex: none;
}

#nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 600;
}

#nav-menu a:hover,#nav-menu summary:hover {
  color: var(--bright);
}

.nav-group {
  position: relative;
}

.nav-group summary {
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

.nav-group summary::-webkit-details-marker,.faq-list summary::-webkit-details-marker {
  display: none;
}

.down {
  color: #9eb9d1;
  margin-left: 5px;
}

.dropdown {
  position: absolute;
  top: 35px;
  left: 0;
  min-width: 245px;
  padding: 9px;
  border: 1px solid #314860;
  background: #10243a;
  box-shadow: 0 15px 28px #0004;
  border-radius: 8px;
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 5px;
}

.dropdown a:hover {
  background: #ffffff10;
}

.mobile-toggle {
  display: none;
  background: none;
  color: white;
  border: 0;
  padding: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  line-height: 1.2;
  padding: 16px 23px;
  border: 1px solid transparent;
  border-radius: 7px;
  white-space: normal;
  transition: background .2s,transform .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.primary,.portal-btn {
  background: var(--blue);
  color: white;
}

.primary:hover,.portal-btn:hover {
  background: #096ba0;
}

.portal-btn {
  font-size: 13px;
  white-space: nowrap;
  padding: 13px 16px;
}

.outline {
  border-color: #ffffff8c;
  color: white;
  background: #0b1b2b33;
}

.outline:hover {
  background: #ffffff16;
}

.secondary {
  border-color: #087ebe;
  color: #086c9e;
  background: white;
}

.secondary:hover {
  background: #edf8ff;
}

.hero {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  background: #081626;
  color: white;
  display: flex;
  align-items: center;
}

.hero-images,.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0;
  transition: opacity .65s;
}

.hero-image.active {
  opacity: 1;
}

.hero-shade {
  background: linear-gradient(90deg,#061422f2 0%,#061422de 25%,#06142280 52%,#06142208 85%),linear-gradient(0deg,#06142277,transparent 22%);
}

.hero-wrap {
  position: relative;
  padding: 65px 30px 80px;
}

.slide[hidden] {
  display: none;
}

.slide {
  max-width: 690px;
}

.eyebrow {
  color: var(--blue);
  font-weight: 750;
  font-size: 12px;
  letter-spacing: 1.75px;
  display: block;
  margin-bottom: 15px;
}

.hero .eyebrow,.innovation .eyebrow,.contact .eyebrow {
  color: var(--bright);
}

h1,h2,h3,p {
  margin-top: 0;
}

h1,h2,h3 {
  letter-spacing: -.035em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(44px,4.55vw,72px);
  margin-bottom: 22px;
  line-height: 1.06;
  font-weight: 800;
}

.accent {
  color: var(--bright);
}

.slide p {
  font-size: 18px;
  color: #e0e9f1;
  max-width: 550px;
  margin-bottom: 29px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 39px;
  height: 39px;
  border: 1px solid #ffffff6b;
  border-radius: 50%;
  background: #07172699;
  color: white;
  display: grid;
  place-items: center;
}

.hero-arrow:hover {
  background: #087ebe;
}

.hero-arrow.prev {
  left: 15px;
}

.hero-arrow.prev svg {
  transform: rotate(180deg);
}

.hero-arrow.next {
  right: 15px;
}

.hero-controls {
  display: flex;
  gap: 10px;
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}

.dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 12px;
  background: #c8d8e2;
  padding: 0;
}

.dot.active {
  width: 30px;
  background: var(--bright);
}

.pause {
  background: none;
  color: white;
  border: 0;
  line-height: 1;
  font-size: 12px;
  padding: 5px;
}

.hero-number {
  position: absolute;
  bottom: 25px;
  right: 5%;
  font-size: 13px;
  color: #c2d1df;
  letter-spacing: 2px;
}

.trust-bar {
  background: #eef5fb;
  border-bottom: 1px solid #dce8f0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  padding: 23px 0;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-right: 12px;
  border-right: 1px solid #cddce8;
}

.trust-item:last-child {
  border: 0;
}

.trust-item svg {
  color: var(--blue);
  width: 32px;
  height: 32px;
}

.trust-item strong,.trust-item small {
  display: block;
  line-height: 1.45;
}

.trust-item strong {
  font-size: 14px;
}

.trust-item small {
  font-size: 12px;
  color: var(--muted);
}

.domain-section {
  padding: 48px 0 10px;
}

.domain-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 40px;
}

.domain-copy h2 {
  font-size: 30px;
  margin-bottom: 9px;
}

.domain-copy p {
  margin: 0;
  color: var(--muted);
}

.domain-copy .eyebrow {
  margin-bottom: 10px;
}

.domain-action form {
  display: flex;
  gap: 8px;
}

.domain-action input:not([type=hidden]) {
  min-width: 0;
  width: 100%;
  border: 1px solid #c4d6e4;
  border-radius: 7px;
  background: white;
  padding: 14px 16px;
  color: var(--ink);
}

.domain-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
  font-size: 13px;
}

.extensions {
  color: #3e6582;
  font-weight: 700;
  white-space: pre-wrap;
}

.domain-action small {
  color: var(--muted);
  font-size: 11px;
}

.text-link {
  color: #0876ac;
  font-weight: 700;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.text-link:hover {
  text-decoration: underline;
}

.text-link svg {
  width: 16px;
  height: 16px;
}

.section {
  padding: 78px 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.section-heading h2,.company-copy h2,.faq-intro h2,.innovation h2,.contact h2 {
  font-size: clamp(30px,3.2vw,46px);
  margin-bottom: 13px;
}

.section-heading p,.company-copy p,.faq-intro p {
  color: var(--muted);
  margin-bottom: 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.plan {
  border: 1px solid #d5e2ec;
  border-radius: 12px;
  padding: 32px;
  position: relative;
  background: white;
  box-shadow: 0 8px 26px #0d304709;
  display: flex;
  flex-direction: column;
}

.plan.featured {
  background: linear-gradient(145deg,#153a58,#071827);
  color: white;
  border: 1px solid #0eb0e8;
  box-shadow: 0 10px 30px #0b4f7530;
}


.plan h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.plan p {
  color: var(--muted);
  min-height: 48px;
  margin-bottom: 20px;
}

.plan.featured p,.plan.featured small {
  color: #c9dbe9;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
  color: #0a5784;
}

.price strong {
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -2px;
}

.currency {
  font-weight: 800;
  font-size: 18px;
}

.price small {
  color: #526579;
}

.featured .price {
  color: #42c7f6;
}

.plan-resources {
  padding: 15px 0;
  border-top: 1px solid #a9becb55;
  border-bottom: 1px solid #a9becb55;
  line-height: 1.8;
}

.plan ul {
  padding: 0;
  list-style: none;
  margin: 21px 0 25px;
  flex: 1;
}

.plan li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 9px 0;
  font-size: 14px;
}

.plan li svg {
  color: #087ebe;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.plan.featured li svg {
  color: #32baf0;
}

.plan .btn {
  width: 100%;
}

.plan-note {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: 20px 0 0;
}

.services-section {
  background: var(--ice);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 17px;
}

.service-card {
  padding: 25px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  background: #e6f4fc;
  color: var(--blue);
  border-radius: 10px;
  margin-bottom: 18px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3,.extra h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.service-card p,.extra p {
  font-size: 14px;
  color: var(--muted);
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
}

.service-link {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #e8eef3;
  padding: 11px 0;
}

.service-link svg {
  width: 15px;
  height: 15px;
  color: var(--blue);
}

.service-link:hover {
  color: var(--blue);
}

.extra-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 15px;
}

.extra {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 19px;
  display: flex;
  flex-direction: column;
}

.extra h3 {
  font-size: 17px;
  letter-spacing: -.02em;
}

.extra p {
  font-size: 13px;
  flex: 1;
}

.extra strong {
  font-size: 13px;
  margin-bottom: 9px;
}

.extra .text-link {
  font-size: 13px;
}

.innovation {
  background: #081626;
  color: white;
  overflow: hidden;
}

.innovation-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
}

.innovation-copy {
  padding: 60px 0;
}

.innovation-copy p {
  color: #c1d3e2;
  font-size: 16px;
  max-width: 520px;
}

.innovation img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: right;
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.company-copy p {
  margin-bottom: 18px;
}

.tech-card {
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
}

.since {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #d4e2ed;
  margin-bottom: 22px;
}

.since strong {
  font-size: 58px;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -3px;
}

.since span {
  font-size: 15px;
  max-width: 180px;
  color: var(--muted);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 9px;
}

.tech-pill {
  padding: 10px 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.faq-section {
  background: var(--ice);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 65px;
}

.faq-intro p {
  margin-bottom: 18px;
}

.faq-list {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 24px;
}

.faq-list details+details {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 650;
}

.plus {
  color: var(--blue);
  font-size: 23px;
  line-height: 1;
}

.faq-list details[open] .plus {
  transform: rotate(45deg);
}

.faq-list p {
  color: var(--muted);
  font-size: 14px;
  padding-right: 18px;
}

.contact {
  background: linear-gradient(110deg,#123d60,#081626);
  color: white;
  padding: 50px 0;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact h2 {
  margin-bottom: 9px;
}

.contact p {
  color: #c8d9e8;
  margin: 0;
}

.footer {
  background: #06121f;
  color: #aabed0;
  padding: 52px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(6,1fr);
  gap: 25px;
}

.footer h3 {
  font-size: 14px;
  color: white;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  font-size: 13px;
  margin-bottom: 9px;
}

.footer-link:hover {
  color: white;
}

.footer-brand p {
  font-size: 14px;
  margin: 14px 0 8px;
}

.footer-sub {
  font-size: 12px;
  color: #7895ae;
}

.footer-bottom {
  margin-top: 34px;
  border-top: 1px solid #ffffff19;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .wrap {
    width: calc(100% - 60px);
  }
  .nav {
    gap: 15px;
  }
  #nav-menu {
    gap: 12px;
    font-size: 12px;
  }
  .logo {
    width: 180px;
  }
  .extra-grid {
    grid-template-columns: repeat(3,1fr);
  }
  .hero-wrap {
    padding-left: 25px;
  }
  .service-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 980px) {
  .mobile-toggle {
    display: block;
    margin-left: auto;
  }
  .nav {
    height: 74px;
  }
  #nav-menu {
    display: none;
    position: absolute;
    top: 109px;
    left: 0;
    right: 0;
    background: #10243a;
    padding: 18px 25px;
    max-height: 75vh;
    overflow: auto;
  }
  #nav-menu.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  #nav-menu .nav-link,#nav-menu summary {
    display: block;
    padding: 12px 0;
    font-size: 14px;
  }
  .dropdown {
    position: static;
    border: 0;
    box-shadow: none;
    padding: 3px 12px;
  }
  .hero {
    min-height: 480px;
  }
  .hero-wrap {
    padding: 54px 15px 70px;
  }
  .hero-shade {
    background: linear-gradient(90deg,#061422f0,#061422b5 55%,#06142235);
  }
  .trust-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .trust-item:nth-child(2) {
    border: 0;
  }
  .plan {
    padding: 23px 20px;
  }
  .plan p {
    min-height: 68px;
  }
  .price strong {
    font-size: 36px;
  }
  .domain-box {
    padding: 28px;
    gap: 20px;
  }
  .company-grid {
    gap: 35px;
  }
  .footer-grid {
    grid-template-columns: repeat(3,1fr);
  }
  .tech-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .top-inner {
    min-height: 34px;
    justify-content: center;
  }
  .history,.top-link {
    display: none;
  }
  .top-links {
    font-size: 11px;
    gap: 7px;
  }
  .nav {
    height: 64px;
    gap: 8px;
  }
  .logo {
    width: 150px;
  }
  .portal-btn {
    padding: 10px;
    font-size: 11px;
    gap: 5px;
  }
  .portal-btn svg {
    width: 14px;
    height: 14px;
  }
  #nav-menu {
    top: 98px;
  }
  .mobile-toggle {
    padding: 5px;
  }
  .hero {
    min-height: 560px;
    align-items: flex-end;
  }
  .hero-image {
    object-position: 70% center;
  }
  .hero-shade {
    background: linear-gradient(0deg,#061422 0%,#061422ef 20%,#061422ba 57%,#06142240 100%);
  }
  .hero-wrap {
    padding: 120px 0 78px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .slide p {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 20px;
  }
  .hero .eyebrow {
    font-size: 10px;
  }
  .hero-arrow {
    top: 35%;
    width: 32px;
    height: 32px;
  }
  .hero-arrow.prev {
    left: 9px;
  }
  .hero-arrow.next {
    right: 9px;
  }
  .hero-number {
    display: none;
  }
  .hero-actions .btn {
    padding: 13px 14px;
    font-size: 13px;
  }
  .trust-grid {
    gap: 17px 12px;
    padding: 19px 0;
  }
  .trust-item {
    border: 0;
    gap: 9px;
    padding: 0;
  }
  .trust-item svg {
    width: 25px;
    height: 25px;
  }
  .trust-item strong {
    font-size: 12px;
  }
  .trust-item small {
    font-size: 11px;
  }
  .domain-section {
    padding: 30px 0 0;
  }
  .domain-box {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 22px;
  }
  .domain-copy h2 {
    font-size: 27px;
  }
  .domain-action form {
    gap: 6px;
  }
  .domain-action .btn {
    padding: 12px;
    font-size: 13px;
  }
  .domain-action .btn svg {
    display: none;
  }
  .domain-action input {
    font-size: 13px;
  }
  .domain-bottom {
    font-size: 12px;
    flex-wrap: wrap;
  }
  .section {
    padding: 52px 0;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .section-heading h2,.company-copy h2,.faq-intro h2,.innovation h2,.contact h2 {
    font-size: 33px;
  }
  .plans-grid,.service-grid,.extra-grid,.company-grid,.faq-grid,.innovation-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .plan {
    padding: 26px;
  }
  .plan p {
    min-height: 0;
  }
  .price strong {
    font-size: 46px;
  }
  .plan.featured {
    margin-top: 8px;
  }
  .service-card {
    padding: 22px;
  }
  .extra-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .extra {
    padding: 15px;
  }
  .innovation-copy {
    padding: 40px 0 10px;
  }
  .innovation img {
    min-height: 0;
    height: auto;
    max-height: 260px;
    margin-bottom: 22px;
    border-radius: 8px;
  }
  .company-grid,.faq-grid {
    gap: 28px;
  }
  .tech-card {
    padding: 22px;
  }
  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px 16px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }
  .eyebrow {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto!important;
    transition: none!important;
  }
}


/* ==========================================================================
   Additions for the multi-page site (same tokens and look as the prototype)
   ========================================================================== */

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

#nav-menu [aria-current="page"] {
  color: var(--bright);
}

/* Homepage carousel titles are h2 (one hidden h1 per page) */
.hero-title {
  font-size: clamp(44px, 4.55vw, 72px);
  margin-bottom: 22px;
  line-height: 1.06;
  font-weight: 800;
}

/* Inner-page hero */
.hero-page {
  min-height: 420px;
}

.hero-page h1 {
  font-size: clamp(34px, 3.6vw, 54px);
}

.hero-page .hero-wrap {
  padding: 52px 30px 64px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  font-size: 13px;
  color: #b9c9db;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: #7f9bb3;
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Section helpers */
.section-alt {
  background: var(--ice);
}

.service-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.service-grid.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card .card-title {
  font-size: 21px;
  margin-bottom: 10px;
}

.service-card > .btn,
.service-card > .text-link {
  margin-top: auto;
}

.card-price {
  display: block;
  font-weight: 800;
  color: #0a5784;
  margin: 2px 0 12px;
}

.note {
  font-size: 13px;
  color: var(--muted);
  background: #fff;
  border-left: 3px solid var(--blue);
  padding: 10px 14px;
  border-radius: 4px;
}

.service-card .note {
  background: var(--ice);
}

.note a,
.table-note a,
.legal-body a,
.legal-related a {
  color: #0876ac;
  text-decoration: underline;
}

.center-note {
  max-width: 760px;
  margin: 24px auto 0;
}

.center-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.plans-more {
  text-align: center;
  margin: 26px 0 0;
}

.spaced {
  margin-top: 18px;
}

.tech-strip {
  margin-top: 26px;
}

.tech-strip .tech-grid {
  grid-template-columns: repeat(8, 1fr);
}

a.price:hover strong {
  text-decoration: underline;
}

.innovation-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.innovation .text-link {
  color: var(--bright);
}

.since .since-small {
  font-size: 38px;
  letter-spacing: -1px;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

.steps.three {
  grid-template-columns: repeat(3, 1fr);
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 22px;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e6f4fc;
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Check list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check-list svg {
  color: var(--blue);
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.tech-card .card-title {
  font-size: 21px;
  margin-bottom: 16px;
}

/* Price table */
.table-wrap {
  max-width: 860px;
  margin: 0 auto;
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.price-table th,
.price-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table thead th {
  background: #eef5fb;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #3e6582;
}

.price-table tbody th {
  font-size: 16px;
  color: #0a5784;
}

.price-table td:last-child {
  font-weight: 700;
  white-space: nowrap;
}

.table-note {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 0;
}

/* Footer: headings are h2 for a correct outline; same look as the prototype's h3 */
.footer-title {
  font-size: 14px;
  color: white;
  letter-spacing: 0;
  margin: 0 0 16px;
}

/* Legal pages */
.legal-hero {
  background: linear-gradient(110deg, #123d60, #081626);
  color: #fff;
  padding: 44px 0 40px;
}

.legal-hero h1 {
  font-size: clamp(32px, 3.4vw, 48px);
  margin-bottom: 10px;
}

.legal-meta {
  color: #c8d9e8;
  font-size: 14px;
  margin: 0;
}

.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 46px 0 70px;
}

.legal-body h2 {
  font-size: 23px;
  margin: 40px 0 12px;
  letter-spacing: -.02em;
}

.legal-body p,
.legal-body li {
  color: #2c3e52;
  font-size: 15.5px;
  line-height: 1.75;
}

.legal-body ul {
  padding-left: 22px;
}

.legal-body li {
  margin-bottom: 6px;
}

.toc {
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0 10px;
}

.toc ol {
  columns: 2;
  column-gap: 32px;
  margin: 10px 0 0;
  padding-left: 22px;
  font-size: 14px;
}

.toc li {
  margin-bottom: 4px;
  break-inside: avoid;
}

.toc a {
  color: #0876ac;
}

.toc a:hover {
  text-decoration: underline;
}

.legal-related {
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.ph {
  background: #fff3c4;
  color: #6b4b00;
  padding: 0 4px;
  border-radius: 3px;
  font-weight: 600;
}

/* 404 */
.notfound {
  text-align: center;
}

.notfound h1 {
  font-size: clamp(34px, 3.6vw, 52px);
}

.notfound p {
  color: var(--muted);
}

.notfound ul {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 1180px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-strip .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 980px) {
  .service-grid.grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-page {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero .hero-title {
    font-size: 43px;
  }
  .hero-page {
    min-height: 0;
    align-items: center;
  }
  .hero-page .hero-wrap {
    padding: 44px 0 48px;
  }
  .hero-page h1 {
    font-size: 34px;
  }
  .service-grid.grid-3,
  .service-grid.grid-2,
  .steps,
  .steps.three {
    grid-template-columns: 1fr;
  }
  .tech-strip .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .toc ol {
    columns: 1;
  }
  .price-table th,
  .price-table td {
    padding: 12px;
  }
  .legal-body {
    padding: 34px 0 54px;
  }
  .innovation-links {
    gap: 14px;
  }
}

/* Lighthouse fixes (2026-11-27) ------------------------------------------- */

/* Carousel controls: every dot is the same 26x24 px button (touch target >= 24 px), so nothing moves
   when the active dot changes. The visible dot/pill is drawn with clip-path, which changes paint only
   (no layout shift): a 9 px circle when inactive, the prototype's 30 px pill when active. */
.hero-controls {
  gap: 0;
}

.dot {
  position: relative;
  width: 26px;
  height: 24px;
  background: transparent;
}

.dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 9px;
  border-radius: 5px;
  background: #c8d8e2;
  transform: translate(-50%, -50%);
  clip-path: inset(0 10.5px round 4.5px);
  transition: clip-path .3s ease, background-color .3s ease;
}

.dot.active {
  width: 26px;
  background: transparent;
}

.dot.active::before {
  background: var(--bright);
  clip-path: inset(0 0 round 4.5px);
}

.hero-number {
  font-variant-numeric: tabular-nums;
}

.pause {
  min-width: 24px;
  min-height: 24px;
}

/* Rev. 2 (2026-11-27) ----------------------------------------------------- */

/* Carousel: all slides share one grid cell, so the hero never changes height.
   Only the active slide is visible; it fades in. */
.hero-slides {
  display: grid;
}

.hero-slides > .slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility 0s linear .6s;
}

.hero-slides > .slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity .6s ease, visibility 0s;
}

/* Photos: the incoming photo fades in on top (z-index 2) while the outgoing one stays fully
   visible underneath (z-index 1) until the fade ends. .hero-images is its own stacking context. */
.hero-images {
  z-index: 0;
}

.hero-image {
  z-index: 0;
  /* Rev. 3.1: the outgoing photo fades out under the new one (invisible behind a full-width photo;
     needed behind the hosting photo, whose left side fades into the navy background). */
  transition: opacity .6s ease;
}

.hero-image.is-leaving {
  opacity: 1;
  z-index: 1;
}

.hero-image.active {
  opacity: 1;
  z-index: 2;
  transition: opacity .8s ease;
}

/* SSL highlight line under the plan cards and on ssl.html */
.ssl-upsell {
  text-align: center;
  margin: 18px 0 0;
}

.ssl-upsell a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 8px;
  background: #e6f4fc;
  color: #075d8c;
  font-weight: 700;
  font-size: 14px;
}

.ssl-upsell a:hover {
  text-decoration: underline;
}

.ssl-upsell svg {
  width: 16px;
  height: 16px;
}

.tech-card .btn {
  margin-top: 18px;
}

/* Phones (up to 640 px): every hero shows its whole photo at full width and natural ratio,
   with the text BELOW it on the navy background. Tablet and desktop are unchanged. */
@media (max-width: 640px) {
  .hero,
  .hero-page {
    display: block;
    min-height: 0;
  }
  .hero-images {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 1920 / 1072;
  }
  .hero-image {
    object-fit: contain;
    object-position: center;
  }
  .hero-shade {
    inset: auto;
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 1920 / 1072;
    background: linear-gradient(180deg, rgba(8, 22, 38, 0) 60%, #081626 100%);
  }
  .hero-wrap,
  .hero-page .hero-wrap {
    padding: 6px 0 30px;
  }
  .hero-arrow {
    top: calc(50vw * 1072 / 1920);
  }
  .hero-controls {
    position: static;
    transform: none;
    justify-content: center;
    margin: 0 auto;
    padding: 0 0 26px;
  }
}

/* Rev. 3 (2026-11-27) ----------------------------------------------------- */

/* Domains photo: the laptop starts at ~53% of the width, so the title wraps a little earlier
   and never runs over the laptop lid. */
@media (min-width: 981px) {
  .hero-photo-domains h1 {
    max-width: 620px;
  }
}

/* Rev. 3.1 (2026-11-27) --------------------------------------------------- */

/* Pause/play: a round 32 x 32 px button in the carousel-arrow style (same border, navy background,
   hover and focus), with 16 px filled white Material Symbols icons swapped by .is-paused. */
.pause {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: 8px;
  padding: 0;
  border: 1px solid #ffffff6b;
  border-radius: 50%;
  background: #07172699;
  color: #fff;
  cursor: pointer;
}

.pause:hover {
  background: #087ebe;
}

.pause svg {
  width: 16px;
  height: 16px;
  grid-area: 1 / 1;
}

.pause.is-paused .i-pause,
.pause:not(.is-paused) .i-play {
  display: none;
}

/* Hosting photo (technician): with object-fit: cover the hero showed only ~68% of its height at
   1440 px and cut his head. On tablet and desktop it is fitted to the hero height instead, right-aligned,
   and its left side fades into the navy background. Phones keep the full-width layout above. */
@media (min-width: 641px) {
  .hero-image[data-photo="hosting"] {
    left: auto;
    right: 0;
    width: auto;
    max-width: none;
    height: 100%;
    aspect-ratio: 1920 / 1072;
    object-fit: cover;
    object-position: right top;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%);
    mask-image: linear-gradient(90deg, transparent 0, #000 32%);
  }
}

/* Hosting heroes on tablets / small laptops (641-1180 px): the photo is narrower there, so the title
   wraps earlier and stays clear of the technician (servicos.html at 1024 px). */
@media (min-width: 641px) and (max-width: 1180px) {
  .hero-photo-hosting h1 {
    max-width: 620px;
  }
}

/* ==========================================================================
   Rev. 4: main menu (uppercase labels, no arrows) and header width fix
   NAVBP is replaced by build.py with common.NAV_BP: the narrowest width where the full desktop
   header fits (measured) plus 20 px of margin. Below it, the mobile header (menu button) is used.
   ========================================================================== */
#nav-menu > .nav-group > summary,
#nav-menu > .nav-link {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

#nav-menu summary::marker {
  content: "";
}

#nav-menu .nav-group.is-current > summary {
  color: var(--bright);
}

#nav-menu .dropdown a {
  font-size: 13px;
  font-weight: 600;
}

@media (min-width: 1034px) {
  /* Invisible bridge between the label and its dropdown, so the pointer can move down without
     leaving the group (the dropdown starts 35 px below the top of the label). */
  #nav-menu .dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -18px;
    height: 18px;
  }
}

@media (max-width: 1180px) {
  #nav-menu {
    gap: 14px;
    font-size: 13px;
  }
  .nav {
    gap: 14px;
  }
  .logo {
    width: 170px;
  }
  .portal-btn {
    padding: 12px 13px;
    gap: 8px;
  }
}

@media (max-width: 1033px) {
  .mobile-toggle {
    display: block;
    margin-left: auto;
  }
  .nav {
    height: 74px;
  }
  #nav-menu {
    display: none;
    position: absolute;
    top: 109px;
    left: 0;
    right: 0;
    background: #10243a;
    padding: 18px 25px;
    max-height: 75vh;
    overflow: auto;
  }
  #nav-menu.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  #nav-menu .nav-link,
  #nav-menu summary {
    display: block;
    padding: 12px 0;
    font-size: 14px;
  }
  #nav-menu .dropdown {
    position: static;
    border: 0;
    box-shadow: none;
    padding: 3px 12px;
  }
}

/* The two blocks above come after the prototype's phone rules, so the phone values are repeated here. */
@media (max-width: 640px) {
  .nav {
    height: 64px;
    gap: 8px;
  }
  #nav-menu {
    top: 98px;
  }
  .logo {
    width: 150px;
  }
  .portal-btn {
    padding: 10px;
    gap: 5px;
  }
}

/* Rev. 4 helpers (layout only; they reuse the existing cards and colors) */
.extra-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.innovation .extra-grid {
  margin: 0 0 60px;
}

.spaced-block {
  margin-top: 34px;
}

.sub-title {
  font-size: 21px;
  text-align: center;
  margin: 0 0 18px;
}

.services-section .tech-card,
.section-alt .tech-card {
  background: #fff;
}

.service-card .check-list {
  margin: 0 0 14px;
  font-size: 13px;
}

.tech-card .table-note + .table-note {
  margin-top: 6px;
}

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

/* Rev. 4 QA fixes found by the header-width test (site-docs/qa/rev4-header-test.cjs) */
/* 641–720 px: rev. 4 shrank the plan cards here because three did not fit side by side. Rev. 5 shows the four
   FX plans 2 x 2 at these widths, so that workaround was removed (see the rev. 5 block at the end). */

/* <= 360 px: logo, menu button and "Área do Cliente" did not fit in the header (320 px overflowed by 19 px).
   The button keeps its text; only its icon is hidden and the spacing is tighter. */
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .nav {
    gap: 6px;
  }
  .logo {
    width: 132px;
  }
  .portal-btn svg {
    display: none;
  }
  .portal-btn {
    padding: 10px 9px;
  }
}

/* The white cards inside the dark "Aplicativos e IA" band keep the normal dark text. */
.innovation .extra {
  color: var(--ink);
}

.innovation .extra .text-link {
  color: var(--blue);
}

/* Rev. 5 (2026-11-28) ----------------------------------------------------- */

/* Four FX plan cards: 4 columns from 1181 px, 2 x 2 from 641 to 1180 px, 1 column on phones */
.plans-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.plans-grid.four .plan {
  padding: 28px 22px;
}

.plans-grid.four .plan h3 {
  font-size: 24px;
}

.plans-grid.four .price strong {
  font-size: 40px;
}

.price {
  flex-wrap: wrap;
  row-gap: 2px;
  margin-bottom: 12px;
}

.price .price-cycle {
  flex-basis: 100%;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.plan.featured .price .price-cycle {
  color: #c9dbe9;
}

.plan ul.plan-cycles {
  flex: none;
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
}

.plan ul.plan-cycles li {
  display: block;
  margin: 3px 0;
  font-size: 13px;
}

.plan.featured ul.plan-cycles {
  color: #c9dbe9;
}

.plans-grid.four .plan-resources {
  font-size: 14px;
  line-height: 1.75;
}

.plans-grid.four ~ .plan-note {
  margin: 10px auto 0;
  max-width: 820px;
}

.plans-grid.four + .plan-note {
  margin-top: 24px;
}

.plan-note a {
  color: var(--blue);
  text-decoration: underline;
}

@media (max-width: 1180px) {
  .plans-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plans-grid.four .plan {
    padding: 28px 26px;
  }
}

@media (max-width: 640px) {
  .plans-grid.four {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .plans-grid.four .plan {
    padding: 26px 22px;
  }
}

/* Paid add-ons (hospedagem.html #recursos-adicionais) */
.addons-card {
  max-width: 760px;
  margin: 0 auto;
}

/* Parking card under the domain price table (dominios.html #precos) */
.extra-grid.parking-grid {
  grid-template-columns: minmax(0, 440px);
  justify-content: center; /* rev. 9: centred in its section at every width, same size as before */
  margin-top: 28px;
}

.parking-grid .extra .btn {
  align-self: flex-start;
}

/* Back-to-top button (all pages). Hidden until main.js adds .is-visible; <noscript> keeps it visible. */
#topo:focus {
  outline: none;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px #0b4f7540;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s, background .2s, transform .2s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.to-top svg {
  width: 24px;
  height: 24px;
}

.to-top:hover {
  background: #096ba0;
  transform: translateY(-2px);
}

.to-top:focus-visible {
  outline: 3px solid #48c2ef;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .to-top {
    right: 16px;
    bottom: 16px;
  }
  /* the footer's last line ends above the button when the page is scrolled to the end */
  .footer-bottom {
    padding-bottom: 64px;
  }
}

@media print {
  .to-top {
    display: none !important;
  }
}

/* Rev. 5.1: the product line under the OV / EV price (ssl.html #tipos) keeps a gap before the description */
.service-card .card-price + .table-note {
  margin: 4px 0 12px;
}

/* Rev. 6 (2026-11-28) ----------------------------------------------------- */

/* hospedagem.html: in-page anchor menu right under the hero. Not sticky; the links reuse .tech-pill
   (and the global focus-visible ring); the strip only lays them out and wraps on narrow screens. */
.page-anchors {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.page-anchors ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-anchors a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--navy);
  text-decoration: none;
}

.page-anchors a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* hospedagem.html #recursos-exclusivos: check lists inside the cards */
.tools-grid .check-list {
  margin: 0;
}

/* ssl.html hero (Google Flow image): the shield sits at 60-78% of the photo width and 27-70% of its height.
   With the default object-fit: cover the shield moved under the title on tablets and its top was cut on very
   wide screens. Measured with site-docs/qa/rev6-hero.cjs (shield vs. text, every 8 px from 320 to 1920 px).
   Phones (<= 640 px) keep the full-width photo above the text. */
/* 641-980 px: the text takes the left half and the photo, scaled to the hero height, is cropped at 55%
   so the shield sits in the right half. */
@media (min-width: 641px) and (max-width: 980px) {
  .hero-image[data-photo="ssl"] {
    object-position: 55% center;
  }
  .hero-photo-ssl .slide {
    max-width: 50%;
  }
}
/* 981-1180 px: the photo is fitted to the hero height and right-aligned (its left side fades into the navy
   background, as on the hosting photo), and the title wraps earlier. */
@media (min-width: 981px) and (max-width: 1180px) {
  .hero-image[data-photo="ssl"] {
    left: auto;
    right: 0;
    width: auto;
    max-width: none;
    height: 100%;
    aspect-ratio: 1920 / 1072;
    object-fit: cover;
    object-position: right center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%);
    mask-image: linear-gradient(90deg, transparent 0, #000 30%);
  }
  .hero-photo-ssl h1 {
    max-width: 560px;
  }
  .hero-photo-ssl .slide p {
    max-width: 520px;
  }
}
/* From 1761 px: the photo box stops at 1760 px (right-aligned, left edge faded), so the cover crop never cuts
   the top of the shield on wide, short heroes. */
@media (min-width: 1761px) {
  .hero-image[data-photo="ssl"] {
    left: auto;
    right: 0;
    max-width: 1760px;
    object-position: right 48%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 15%);
    mask-image: linear-gradient(90deg, transparent 0, #000 15%);
  }
}

/* ==========================================================================
   Rev. 7: Ken Burns zoom on every hero photo
   - transform (scale) on the <img> only; .hero-images clips it, so nothing else moves (CLS 0, no scroll);
   - carousel: 1 -> 1.06 over the slide's 8 s, restarted by main.js each time a slide becomes active;
     the pause button adds .kb-paused to the carousel, which pauses the zoom (animation-play-state);
     inactive photos are paused at their current frame, so the outgoing photo never jumps during the fade;
   - inner pages: one 1 -> 1.05 zoom over 5 s on load, then it holds the last frame (never loops, WCAG 2.2.2);
   - prefers-reduced-motion: reduce -> no animation at all (scale 1). Works without JavaScript too.
   transform-origin per photo keeps the subject clear of the text at the first and the last frame
   (measured with site-docs/qa/rev7-hero.cjs).
   Rev. 10.3: both zooms carry a tiny, constant rotate(0.02deg) (invisible). Without it Firefox snaps the scaled
   photo to whole pixels on each frame, so it trembled during the zoom; with it the photo is filtered smoothly
   (version B of site-docs/qa/firefox-kb-test.html, picked by Patty). Chrome and Edge render it as before.
   ========================================================================== */
.hero-images {
  overflow: hidden;
}

@keyframes kb-zoom-slide {
  from {
    transform: scale(1) rotate(0.02deg);
  }
  to {
    transform: scale(1.06) rotate(0.02deg);
  }
}

@keyframes kb-zoom-page {
  from {
    transform: scale(1) rotate(0.02deg);
  }
  to {
    transform: scale(1.05) rotate(0.02deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-carousel] .hero-image {
    animation: kb-zoom-slide 8s ease-out both paused;
  }
  [data-carousel] .hero-image.active {
    animation-play-state: running;
    will-change: transform;
  }
  [data-carousel].kb-paused .hero-image.active {
    animation-play-state: paused;
  }
  .hero-page .hero-image {
    animation: kb-zoom-page 5s ease-out both;
    will-change: transform;
  }
  .hero-page .hero-image.kb-done {
    will-change: auto;
  }
}

/* Zoom origin per photo (the point that stays still), chosen with site-docs/qa/rev7-hero.cjs so the zoom never
   moves a subject under the text or out of the photo. The text is on the left, so the origins sit on the subject's
   side; photos whose subject is close to the top of a wide, short hero zoom from their top edge (the technician's
   head is never cut). */
.hero-image {
  transform-origin: right center;
}

.hero-image[data-photo="hosting"] {
  transform-origin: 60% top;
}

.hero-image[data-photo="development"] {
  transform-origin: 70% top;
}

.hero-image[data-photo="ai"] {
  transform-origin: 85% top;
}

.hero-image[data-photo="ecommerce"] {
  transform-origin: 55% center;
}

.hero-image[data-photo="ssl"] {
  transform-origin: 65% top;
}

.hero-image[data-photo="domains"] {
  transform-origin: 45% top;
}

.hero-image[data-photo="loja-hero"] {
  transform-origin: 43% 56%;
}

.hero-image[data-photo="apps-hero"] {
  transform-origin: 40% 54%;
}

/* Rev. 7: loja-virtual.html (laptop + phone, 43-95% of the photo width, 27-85% of its height) and
   aplicativos.html (laptop, ring with "AI" and robotic hand, 40-100% x 19-88%). Both subjects are about half the
   photo, so a full-width cover photo always put them under the text on tablet and desktop
   (measured with site-docs/qa/rev7-hero.cjs, every 8 px from 320 to 1920 px).
   - up to 980 px: the phone layout (whole photo above the text) is used for these two heroes;
   - from 981 px: the text column is at most min(600px, 44vw) and the photo is a right-aligned box whose width
     is computed from the hero (container query units): as wide as the space right of the text allows, and at
     most as tall as the subject needs; its left, top and bottom edges fade into the navy background. */
@media (min-width: 641px) and (max-width: 980px) {
  .hero-photo-loja-hero,
  .hero-photo-apps-hero {
    display: block;
    min-height: 0;
  }
  .hero-photo-loja-hero .hero-images,
  .hero-photo-apps-hero .hero-images {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 1920 / 1072;
  }
  .hero-photo-loja-hero .hero-image,
  .hero-photo-apps-hero .hero-image {
    object-fit: contain;
    object-position: center;
  }
  .hero-photo-loja-hero .hero-shade,
  .hero-photo-apps-hero .hero-shade {
    inset: auto;
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 1920 / 1072;
    background: linear-gradient(180deg, rgba(8, 22, 38, 0) 60%, #081626 100%);
  }
  .hero-photo-loja-hero .hero-wrap,
  .hero-photo-apps-hero .hero-wrap {
    padding: 8px 0 40px;
  }
}

@media (min-width: 981px) {
  .hero-photo-loja-hero .slide,
  .hero-photo-apps-hero .slide {
    max-width: min(600px, 44vw);
  }
  .hero-photo-loja-hero .hero-images,
  .hero-photo-apps-hero .hero-images {
    container-type: size;
  }
  .hero-photo-loja-hero .hero-image,
  .hero-photo-apps-hero .hero-image {
    /* space right of the text: hero width - text start (wrap margin + 30 px padding) - text column - 40 px gap */
    --kb-room: calc(100cqw - max(48px, (100cqw - 1320px) / 2) - 30px - min(600px, 44cqw + 8px) - 40px);
    top: calc(50cqh - var(--kb-w) * var(--kb-cy) * 1072 / 1920);
    bottom: auto;
    left: auto;
    right: 0;
    width: var(--kb-w);
    height: auto;
    max-width: none;
    aspect-ratio: 1920 / 1072;
    object-fit: cover;
    object-position: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
  /* width = min(room / share of the photo right of the subject's left edge, height limit) */
  .hero-photo-loja-hero .hero-image {
    --kb-w: min(var(--kb-room) / 0.57, 269cqh);
    --kb-cy: 0.56;
  }
  .hero-photo-apps-hero .hero-image {
    --kb-w: min(var(--kb-room) / 0.60, 227cqh);
    --kb-cy: 0.535;
  }
}

/* Rev. 7: metric-matched fallback (see build.py) between Inter and the system fonts */
body {
  font-family: Inter, "Inter Fallback", "Segoe UI", Arial, sans-serif;
}

/* ==========================================================================
   Rev. 8 (2026-11-28)
   ========================================================================== */

/* "Mais popular" ribbon on the featured plan (FX 2). .plan-ribbon fills the card's padding box and clips the band
   to its rounded corner (12 px radius minus the 1 px border), so the card's own border, shadow and the focus rings of
   its links are never cut. Rev. 9: bigger and easier to read (12 px bold text, 26 px band, longer band with at least
   10 px of padding at each end of the text). The band's centre line crosses the corner 102 px from it (x + y = 102 px,
   from the top right corner); its inner edge stays at x + y < 121 px. The plan name sits at the top left, and the
   lines of the description next to it are shortened by a triangular float (--ribbon-clear) so they end before the band; checked
   every 8 px from 320 to 1920 px by site-docs/qa/rev8-ribbon.cjs. Navy on orange: 6.5:1. */
.plan-ribbon {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 11px;
  overflow: hidden;
  pointer-events: none;
}

.plan-ribbon span {
  position: absolute;
  top: 38px;
  right: -44px;
  width: 190px;
  height: 26px;
  transform: rotate(45deg);
  background: #f97316;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  line-height: 26px;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
  text-indent: .06em;
  white-space: nowrap;
  box-shadow: 0 2px 6px #0000002e;
}

.plan.featured {
  --ribbon-clear: 40px;
}

/* A 45° triangle floated at the top right of the description: each line ends before the band (the lines follow the
   band's diagonal); flow-root keeps the float inside the paragraph, so it never pushes the price */
.plan.featured .plan-ribbon + p {
  display: flow-root;
}

.plan.featured .plan-ribbon + p::before {
  content: "";
  float: right;
  width: var(--ribbon-clear);
  height: var(--ribbon-clear);
  shape-outside: polygon(0 0, 100% 0, 100% 100%);
}

/* ssl.html #tipos: 7 certificate cards. From 1181 px, 4 + 3 with the last row centred (8-column grid, 2 columns per
   card). From 641 to 1180 px, 2 columns, and the 7th card (EV) spans both, so no card sits alone beside an empty
   cell. Phones: 1 column. */
.service-grid.ssl-types {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.service-grid.ssl-types > * {
  grid-column: span 2;
}

.service-grid.ssl-types > :nth-child(5) {
  grid-column: 2 / span 2;
}

@media (max-width: 1180px) {
  .service-grid.ssl-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-grid.ssl-types > *,
  .service-grid.ssl-types > :nth-child(5) {
    grid-column: auto;
  }
  .service-grid.ssl-types > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .service-grid.ssl-types {
    grid-template-columns: 1fr;
  }
}

/* The one installation line under the certificate cards */
.ssl-install-note {
  margin: 22px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ssl.html: certificate brand logos, right under the hero (rev. 8; rev. 9: no label, no pause button, GeoTrust added,
   same optical height for every logo). Without JavaScript, or with reduced motion, the logos are a static, centred,
   wrapping row. main.js adds .is-marquee (and the aria-hidden copies) only when motion is allowed: then the row
   scrolls slowly (transform only, one set width per cycle) and pauses while the mouse is over it.
   Sharpness: each logo sits in a box the size of its visible artwork (rev. 9.1: a multiple of 4 CSS px on desktop,
   so a whole number of device pixels at 1x, 1.25x, 1.5x and 2x; whole CSS px on phones), the set width is whole too;
   the moving track advances in steps of one device pixel (main.js sets --brand-timing); main.js aligns every logo
   to the window's device-pixel grid (rev. 9.1); and every logo is a bitmap rendered for its exact box and DPR
   (rev. 9.1), so nothing is ever resampled. */
.brand-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}

/* Rev. 9.2: with the 48 px desktop logos the set is 1344 px wide (five boxes + four 64 px gaps); the strip's container is
   that wide (a multiple of 4 px), so the static row (reduced motion, no JS) stays on one line from 1440 px. The strip is
   full-width white, so its container's edges are not visible. */
.brand-strip .wrap {
  max-width: 1344px;
}

.brand-viewport {
  position: relative; /* rev. 9.1: main.js aligns it to the device-pixel grid with left / top */
  min-width: 0;
}

.brand-set {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 64px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

/* The box is the artwork; the file's own transparent margins overflow it on both sides (centred), which keeps the
   clearspace even: 64 px between logos on desktop, 40 px on phones, and 30 px above and below. */
.brand-item {
  position: relative; /* rev. 9.1: main.js aligns each logo to the device-pixel grid with left / top */
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
}

.brand-item picture {
  display: contents;
}

/* Rev. 9.1: each logo is a bitmap made for its box (brands.py): the box sizes below are the file sizes / DPR, so the
   browser draws the file 1:1 (the file itself keeps the source's proportions) */
.brand-logo {
  display: block;
  flex: none;
  max-width: none;
}

.brand-item-sectigo {
  width: 228px;
  height: 48px;
}

.brand-item-sectigo .brand-logo {
  width: 356px;
  height: 128px;
}

.brand-item-positivessl {
  width: 276px;
  height: 48px;
}

.brand-item-positivessl .brand-logo {
  width: 276px;
  height: 56px;
}

.brand-item-rapidssl {
  width: 228px;
  height: 48px;
}

.brand-item-rapidssl .brand-logo {
  width: 236px;
  height: 56px;
}

.brand-item-geotrust {
  width: 192px;
  height: 48px;
}

.brand-item-geotrust .brand-logo {
  width: 208px;
  height: 64px;
}

.brand-item-thawte {
  width: 164px;
  height: 48px;
}

.brand-item-thawte .brand-logo {
  width: 180px;
  height: 64px;
}

@media (max-width: 640px) {
  .brand-item-sectigo {
    width: 151px;
    height: 32px;
  }

  .brand-item-sectigo .brand-logo {
    width: 237px;
    height: 84px;
  }

  .brand-item-positivessl {
    width: 181px;
    height: 32px;
  }

  .brand-item-positivessl .brand-logo {
    width: 183px;
    height: 36px;
  }

  .brand-item-rapidssl {
    width: 149px;
    height: 32px;
  }

  .brand-item-rapidssl .brand-logo {
    width: 155px;
    height: 36px;
  }

  .brand-item-geotrust {
    width: 127px;
    height: 32px;
  }

  .brand-item-geotrust .brand-logo {
    width: 137px;
    height: 44px;
  }

  .brand-item-thawte {
    width: 105px;
    height: 32px;
  }

  .brand-item-thawte .brand-logo {
    width: 119px;
    height: 40px;
  }
}

.brand-strip.is-marquee .brand-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.brand-strip.is-marquee .brand-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: brand-scroll var(--brand-duration, 36s) var(--brand-timing, linear) infinite;
}

.brand-strip.is-marquee .brand-set {
  flex-wrap: nowrap;
  margin: 0;
  padding-right: 64px;
}

/* .is-paused: set by main.js while the mouse is over the strip */
.brand-strip.is-marquee.is-paused .brand-track {
  animation-play-state: paused;
}

/* The same marquee layout from the first paint, before main.js runs, whenever scripting is on and motion is allowed,
   so switching to .is-marquee moves no logo (CLS 0). The animation itself only runs on .is-marquee. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .brand-strip .brand-viewport {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }
  .brand-strip .brand-track {
    display: flex;
    width: max-content;
  }
  .brand-strip .brand-set {
    flex-wrap: nowrap;
    margin: 0;
    padding-right: 64px;
  }
}

@keyframes brand-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--brand-shift, 50%)), 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-strip.is-marquee .brand-track {
    animation: none;
  }
}

@media (max-width: 640px) {
  .brand-strip {
    padding: 24px 0;
  }
  .brand-set {
    gap: 20px 40px;
  }
  .brand-strip.is-marquee .brand-set {
    padding-right: 40px;
  }
}

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) and (max-width: 640px) {
  .brand-strip .brand-set {
    padding-right: 40px;
  }
}

/* Rev. 9: trademark line at the bottom of ssl.html, before the footer (small print) */
.trademark-note {
  padding: 18px 0 20px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.trademark-note p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.trademark-note a {
  color: inherit;
  text-decoration: underline;
}

/* Scroll reveal (all pages except the legal pages and 404). main.js marks the elements with data-rv and only then
   adds .rv-on to <html>, so without JavaScript nothing is ever hidden; elements already on screen get .rv-in first and
   never hide. With reduced motion main.js does nothing and these rules never apply. Opacity and transform only
   (CLS 0). Sections clip the sideways slides horizontally (overflow-x: clip does not create a scroll container). */
@media (prefers-reduced-motion: no-preference) {
  html.rv-on [data-rv] {
    opacity: 0;
    transition: opacity .6s ease-out var(--rv-delay, 0ms), transform .6s ease-out var(--rv-delay, 0ms),
      translate .2s ease-out, box-shadow .2s ease-out; /* rev. 9: the card hover keeps its own timing */
  }
  html.rv-on [data-rv="up"] {
    transform: translate3d(0, 32px, 0);
  }
  html.rv-on [data-rv="fade"] {
    transform: translate3d(0, 16px, 0);
  }
  html.rv-on [data-rv="left"] {
    transform: translate3d(-32px, 0, 0);
  }
  html.rv-on [data-rv="right"] {
    transform: translate3d(32px, 0, 0);
  }
  html.rv-on [data-rv].rv-in {
    opacity: 1;
    transform: none;
  }
  html.rv-on [data-rv].rv-now {
    transition: translate .2s ease-out, box-shadow .2s ease-out; /* rev. 9: no reveal transition, hover kept */
  }
  html.rv-on main > section,
  html.rv-on main > div {
    overflow-x: clip;
  }
}

@supports not (overflow: clip) {
  html.rv-on main {
    overflow-x: hidden;
  }
}

@media print {
  html.rv-on [data-rv] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Rev. 9: a price never breaks across lines ("R$", the amount, "/ano" or "/mês" and an opening "(" stay together;
   build.py wraps them in span.nowrap and joins "R$" and the amount with a non-breaking space) */
.nowrap {
  white-space: nowrap;
}

/* Rev. 9: cards lift about 6 px with a slightly stronger shadow on mouseover (only on devices that can hover), and
   when a link or button inside them has keyboard focus. The lift uses the independent "translate" property, so it
   adds to the scroll reveal's "transform" instead of replacing it: a card that is still revealing never jumps.
   translate moves the painted box only (no layout shift), and none of the cards' parents clips it. With reduced
   motion: the shadow only, no movement. */
.plan,
.service-card,
.tech-card,
.extra,
.step {
  transition: translate .2s ease-out, box-shadow .2s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .plan:hover,
  .service-card:hover,
  .tech-card:hover,
  .extra:hover,
  .step:hover {
    translate: 0 -6px;
    box-shadow: 0 14px 30px #0d304724;
  }
  .plan.featured:hover {
    box-shadow: 0 16px 36px #0b4f7552;
  }
}

.plan:focus-within:has(:focus-visible),
.service-card:focus-within:has(:focus-visible),
.tech-card:focus-within:has(:focus-visible),
.extra:focus-within:has(:focus-visible),
.step:focus-within:has(:focus-visible) {
  translate: 0 -6px;
  box-shadow: 0 14px 30px #0d304724;
}

.plan.featured:focus-within:has(:focus-visible) {
  box-shadow: 0 16px 36px #0b4f7552;
}

@media (prefers-reduced-motion: reduce) {
  .plan,
  .service-card,
  .tech-card,
  .extra,
  .step {
    transition: box-shadow .2s ease-out;
  }
  .plan:hover,
  .service-card:hover,
  .tech-card:hover,
  .extra:hover,
  .step:hover,
  .plan:focus-within,
  .service-card:focus-within,
  .tech-card:focus-within,
  .extra:focus-within,
  .step:focus-within {
    translate: none;
  }
}
