:root {
  --orange: #ff6a00;
  --orange-light: #ff9b00;
  --orange-dark: #e65300;
  --blue: #2f2b96;
  --black: #080808;
  --text: #151515;
  --muted: #666;
  --line: #e8e8e8;
  --white: #fff;
  --shadow: 0 12px 30px rgba(0, 0, 0, .10);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* TOPO */

.topbar {
  background: #050505;
  color: #fff;
  font-size: 14px;
}

.topbar-content {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar span {
  color: #ffad00;
  font-weight: 700;
}

/* CABEÇALHO */

.header {
  position: relative;
  z-index: 50;
  background: #fff;
  box-shadow: 0 3px 16px rgba(0, 0, 0, .07);
}

.nav-wrap {
  min-height: 96px;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
}

/*
Para ficar igual à imagem de referência, use uma logo PNG transparente.
Exemplo: assets/logo-netfiber.png
*/
.brand img {
  width: 220px;
  height: 76px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 44px;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 37px 0 34px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 8px 8px 0 0;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .25s ease;
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.nav a.active {
  color: var(--orange);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(255, 106, 0, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(255, 106, 0, .30);
}

.button-header {
  white-space: nowrap;
}

.menu-toggle,
.menu-button {
  display: none;
}

/* BANNER PRINCIPAL */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 55%, rgba(255, 186, 0, .92) 0, rgba(255, 139, 0, .78) 38%, rgba(230, 82, 0, .95) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      116deg,
      transparent 0 65px,
      rgba(255,255,255,.08) 66px 68px
    );
  opacity: .35;
  pointer-events: none;
}

/*
IMPORTANTE:
A imagem atual hero-pessoa.jpg possui textos gravados.
Para ficar igual à referência, substitua por uma foto limpa da pessoa.
*/
.hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48%;
  background:
    url("assets/hero-pessoa.jpg") center 42% / cover no-repeat;
  filter: saturate(.75) contrast(1.02);
}

.hero-shade {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 60%;
  background:
    linear-gradient(
      90deg,
      #ef7900 0%,
      rgba(239, 121, 0, .67) 25%,
      rgba(239, 121, 0, .28) 60%,
      rgba(239, 121, 0, .10) 100%
    );
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 500px;
  display: grid;
  grid-template-columns: 1.05fr .86fr;
  align-items: center;
  gap: 68px;
  padding: 36px 0 34px;
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 1.7px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--orange);
}

.hero h1 {
  margin: 0;
  color: #171717;
  font-size: clamp(40px, 4vw, 59px);
  line-height: .98;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.hero h2 {
  max-width: 620px;
  margin: 20px 0 17px;
  font-size: clamp(27px, 2.8vw, 40px);
  line-height: 1.08;
  text-transform: uppercase;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 25px;
  padding: 4px 0 14px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-whatsapp {
  display: flex;
  align-items: center;
  gap: 13px;
}

.whatsapp-icon {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #10ae61;
  border: 4px solid #fff;
  font-size: 27px;
  box-shadow: 0 8px 20px rgba(0,0,0,.20);
}

.hero-whatsapp small {
  display: block;
  margin-bottom: 3px;
  color: #161616;
  font-weight: 900;
}

.hero-whatsapp a {
  display: block;
  color: var(--blue);
  font-size: clamp(28px, 3vw, 41px);
  line-height: 1;
  font-weight: 900;
  -webkit-text-stroke: 1px #fff;
  text-shadow: 0 2px 0 #fff;
}

/* PLANOS DO BANNER */

.hero-plans {
  width: 100%;
  max-width: 390px;
  margin-left: auto;
  display: grid;
  gap: 10px;
}

.hero-plans > p {
  margin: 3px 0 0;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  text-shadow: 0 2px 5px rgba(0,0,0,.18);
}

.compact-plan {
  min-height: 68px;
  display: grid;
  grid-template-columns: 49% 51%;
  background: #fff;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: 0 9px 22px rgba(0,0,0,.14);
}

.speed {
  color: #070707;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.speed strong {
  font-size: 48px;
  line-height: 1;
  letter-spacing: -4px;
}

.speed span {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #ff9c00;
  font-size: 13px;
  font-weight: 900;
}

.price {
  background: linear-gradient(135deg, #ffae00, #ff7500);
  color: #070707;
  display: grid;
  grid-template-columns: auto auto;
  align-content: center;
  justify-content: center;
  column-gap: 3px;
  padding: 3px 10px 4px;
}

.price > small:first-child {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
}

.price > span {
  font-size: 42px;
  line-height: .88;
  font-weight: 900;
  letter-spacing: -3px;
}

.price sup {
  font-size: 13px;
  letter-spacing: 0;
  margin-right: 3px;
}

.price em {
  font-size: 21px;
  font-style: normal;
  letter-spacing: -1px;
}

.price > small:last-child {
  align-self: end;
  padding-bottom: 5px;
  font-size: 10px;
  font-weight: 900;
}

/* DIFERENCIAIS */

.feature-strip {
  position: relative;
  z-index: 3;
  padding: 20px 0;
  background: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-grid article {
  min-height: 100px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--line);
}

.feature-grid article:last-child {
  border-right: 0;
}

.feature-icon {
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 38px;
  font-weight: 900;
}

.feature-grid h3 {
  margin: 0 0 5px;
  font-size: 15px;
}

.feature-grid p {
  margin: 0;
  color: #555;
  font-size: 12px;
  line-height: 1.42;
}

/* PLANOS */

.plans-section {
  padding: 12px 0 48px;
  background: linear-gradient(#fff, #fafafa);
}

.section-heading {
  margin-bottom: 20px;
  text-align: center;
}

.section-heading p {
  display: none;
}

.section-heading h2 {
  margin: 0;
  font-size: 24px;
  text-transform: uppercase;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin: 7px auto 0;
  background: var(--orange);
}

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

.plan-card {
  position: relative;
  padding: 23px 24px 20px;
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
}

.plan-card.featured {
  transform: none;
  border: 1px solid #ededed;
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
}

.tag {
  display: none;
}

.plan-card h3 {
  margin: 0 0 9px;
  color: var(--orange);
  text-align: center;
  font-size: 19px;
}

.card-price {
  margin: 0 0 12px;
  text-align: center;
  font-size: 27px;
  font-weight: 900;
}

.card-price span,
.card-price small {
  font-size: 13px;
  font-weight: 700;
}

.plan-card ul {
  list-style: none;
  padding: 12px 0;
  margin: 0;
  border: 0;
}

.plan-card li {
  padding: 4px 0;
  font-size: 12px;
}

.plan-card li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 900;
  margin-right: 7px;
}

.plan-card .button {
  width: 100%;
  min-height: 40px;
  margin-top: 8px;
  padding: 9px 15px;
  font-size: 13px;
}

/* SUPORTE */

.support {
  padding: 65px 0;
  background: #121212;
  color: #fff;
}

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

.support h2 {
  margin: 5px 0 12px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
}

.support p:last-child {
  max-width: 600px;
  color: #c9c9c9;
}

.button-large {
  min-height: 56px;
  padding-inline: 32px;
  font-size: 17px;
  white-space: nowrap;
}

/* CONTATO */

.contact {
  padding: 65px 0;
  background: #f7f7f7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .75fr;
  align-items: center;
  gap: 65px;
}

.contact h2 {
  margin: 5px 0 12px;
  font-size: clamp(32px, 4vw, 50px);
}

.contact p {
  color: #5f5f5f;
}

.contact-card {
  display: grid;
  gap: 7px;
  padding: 26px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card strong {
  color: var(--orange);
}

.contact-card a {
  color: var(--blue);
  font-size: 29px;
  font-weight: 900;
}

.contact-card span {
  color: var(--muted);
}

/* RODAPÉ */

.footer {
  background: #050505;
  color: #fff;
}

.footer-content {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.footer-content span:first-child {
  color: #ffad00;
  font-weight: 800;
}

/* TABLET */

@media (max-width: 980px) {
  .nav-wrap {
    grid-template-columns: 210px 1fr auto;
    gap: 16px;
  }

  .brand img {
    width: 190px;
  }

  .nav {
    gap: 22px;
  }

  .hero-grid {
    grid-template-columns: 1fr .76fr;
    gap: 32px;
  }

  .hero-photo {
    width: 52%;
    opacity: .70;
  }

  .hero-shade {
    width: 68%;
  }

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

  .feature-grid article:nth-child(2) {
    border-right: 0;
  }

  .feature-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

/* CELULAR */

@media (max-width: 760px) {
  .container {
    width: min(100% - 26px, 1180px);
  }

  .topbar-content {
    min-height: 42px;
    font-size: 12px;
  }

  .nav-wrap {
    min-height: 78px;
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 175px;
    height: 60px;
  }

  .button-header {
    display: none;
  }

  .menu-button {
    width: 42px;
    height: 42px;
    display: grid;
    align-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .menu-button span {
    width: 27px;
    height: 3px;
    background: #111;
    border-radius: 5px;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    display: none;
    padding: 10px 20px 20px;
    background: #fff;
    box-shadow: 0 12px 20px rgba(0,0,0,.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav a {
    padding: 15px 4px;
    border-bottom: 1px solid #eee;
  }

  .nav a::after {
    display: none;
  }

  .menu-toggle:checked ~ .nav {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-photo {
    width: 100%;
    opacity: .25;
    background-position: 65% center;
  }

  .hero-shade {
    width: 100%;
    background: rgba(231, 100, 0, .72);
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0 38px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero-whatsapp a {
    font-size: 30px;
  }

  .hero-plans {
    max-width: 100%;
    margin: 0;
  }

  .compact-plan {
    min-height: 66px;
  }

  .speed strong {
    font-size: 43px;
  }

  .price > span {
    font-size: 39px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-grid article:last-child {
    border-bottom: 0;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .support-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-content {
    padding: 18px 0;
    flex-direction: column;
    text-align: center;
  }
}

/* CELULARES PEQUENOS */

@media (max-width: 430px) {
  .topbar-content span {
    display: none;
  }

  .topbar-content {
    justify-content: center;
  }

  .brand img {
    width: 155px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero h2 {
    font-size: 23px;
  }

  .hero-features {
    font-size: 12px;
    gap: 9px 14px;
  }

  .whatsapp-icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }

  .hero-whatsapp a {
    font-size: 25px;
  }

  .compact-plan {
    grid-template-columns: 46% 54%;
  }

  .speed strong {
    font-size: 37px;
  }

  .speed span {
    width: 33px;
    height: 33px;
    font-size: 11px;
  }

  .price > span {
    font-size: 35px;
  }

  .price em {
    font-size: 18px;
  }

  .contact-card a {
    font-size: 23px;
  }
}
/* ==================================================
   AJUSTE: PLANOS À ESQUERDA E PESSOA À DIREITA
================================================== */

@media (min-width: 981px) {

    /* Mantém a fotografia somente do lado direito */
    .hero-photo {
        width: 47%;
        right: 0;

        /*
        Desloca o enquadramento da foto para a direita.
        Assim, o rosto fica afastado dos planos.
        */
        background-position: 72% 42%;
    }

    /* Degradê entre o fundo laranja e a fotografia */
    .hero-shade {
        width: 55%;
        right: 0;

        background: linear-gradient(
            90deg,
            #ef7900 0%,
            rgba(239, 121, 0, 0.72) 20%,
            rgba(239, 121, 0, 0.28) 50%,
            rgba(239, 121, 0, 0.06) 100%
        );
    }

    /*
    O HTML possui duas colunas:
    1ª coluna: títulos
    2ª coluna: planos
    */
    .hero-grid {
        grid-template-columns: minmax(500px, 1fr) 370px;
        column-gap: 34px;
    }

    /* Puxa os planos para a esquerda */
    .hero-plans {
        width: 370px;
        max-width: 370px;
        margin-left: 0;
        margin-right: auto;
        position: relative;
        left: -105px;
    }

    /* Planos um pouco mais compactos */
    .compact-plan {
        min-height: 68px;
    }

    .speed strong {
        font-size: 46px;
    }

    .price > span {
        font-size: 40px;
    }
}