/* =========================================================
   WiFi Design Conectividade — estilos institucionais
   Paleta e tipografia conforme Manual de Marca v1.0
   ========================================================= */

:root {
  /* Primárias */
  --conexao: #1B7FB3;   /* Azul Conexão — rótulos, numeração, destaques */
  --petroleo: #0B5E74;  /* Azul Petróleo — títulos e capas */
  /* Destaque (usar com parcimônia) */
  --ciano: #14B4DE;     /* Ciano Sinal — ondas e pequenos acentos */
  /* Base */
  --grafite: #262C30;
  /* Apoio */
  --ardosia: #5B6770;   /* texto de apoio */
  --ceu: #9FD3EC;       /* grafismos */
  --linha: #D5E2E7;     /* divisórias */
  --nevoa: #EEF4F6;     /* fundos */
  --branco: #FFFFFF;

  --font: "Lexend", Arial, Helvetica, sans-serif;
  --radius: 14px;
  --container: 1180px;
  --shadow: 0 10px 30px -12px rgba(11, 94, 116, .25);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--grafite);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--petroleo); }
h3 { font-size: 1.2rem; font-weight: 500; }
p  { margin: 0 0 1em; }
strong { font-weight: 500; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--petroleo); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 8px; }

/* Rótulo "01 · SEÇÃO" */
.eyebrow {
  font-size: .78rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--conexao); margin-bottom: 14px;
}
.eyebrow--light { color: var(--ceu); }

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

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--ciano); outline-offset: 3px; }
.btn--primary { background: var(--petroleo); color: #fff; }
.btn--primary:hover { background: var(--conexao); }
.btn--cyan { background: var(--ciano); color: var(--grafite); }
.btn--cyan:hover { background: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { padding: 11px 18px; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- Ondas de sinal (grafismo da marca) ---------- */
.waves { position: absolute; pointer-events: none; width: 900px; height: 900px; right: -300px; top: -260px; }
.waves span {
  position: absolute; border-radius: 50%; inset: 0; margin: auto;
  border: 46px solid var(--ciano);
}
.waves span:nth-child(1) { width: 300px; height: 300px; opacity: .45; }
.waves span:nth-child(2) { width: 560px; height: 560px; opacity: .22; }
.waves span:nth-child(3) { width: 820px; height: 820px; opacity: .12; }
.waves--left { right: auto; left: -460px; top: auto; bottom: -480px; }
.waves--footer { right: -420px; top: -420px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-scrolled { border-color: var(--linha); box-shadow: 0 4px 20px -14px rgba(38,44,48,.4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.header__logo img { width: 168px; height: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 400; font-size: .95rem; color: var(--grafite);
  position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--conexao); transition: width .2s ease;
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { width: 100%; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--grafite); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--petroleo); color: #fff;
  padding: 88px 0 96px;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 22px; }
.hero__lead { font-size: 1.12rem; color: rgba(255,255,255,.85); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 44px; }
.hero__facts {
  list-style: none; padding: 26px 0 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero__facts strong { display: block; font-weight: 500; font-size: .98rem; }
.hero__facts span { font-size: .86rem; color: var(--ceu); }

.hero__photo { margin: 0; position: relative; }
.hero__photo img {
  border-radius: 22px; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 12% 30%;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45);
}
.hero__photo::before {
  content: ""; position: absolute; left: -18px; bottom: -18px; width: 120px; height: 120px;
  border: 10px solid var(--ciano); border-radius: 50%; border-right-color: transparent; border-top-color: transparent;
  transform: rotate(0deg); opacity: .9;
}

/* ---------- Seções ---------- */
.section { padding: 104px 0; position: relative; }
.section--mist { background: var(--nevoa); }
.section--dark { background: var(--petroleo); color: #fff; overflow: hidden; }
.section--dark h2 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__intro { color: var(--ardosia); font-size: 1.08rem; }
.section--dark .section__intro { color: rgba(255,255,255,.8); }

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  position: relative; background: #fff; border: 1px solid var(--linha); border-radius: var(--radius);
  padding: 30px 26px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service__num { position: absolute; top: 26px; right: 26px; font-weight: 600; font-size: .85rem; color: var(--conexao); }
.service__icon {
  width: 46px; height: 46px; padding: 10px; border-radius: 12px; margin-bottom: 22px;
  background: var(--nevoa); color: var(--petroleo);
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.service h3 { color: var(--grafite); margin-bottom: 10px; }
.service p { font-size: .95rem; color: var(--ardosia); margin: 0; }
.service--cta { background: var(--grafite); border-color: var(--grafite); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.service--cta h3 { color: #fff; }
.service--cta p { color: rgba(255,255,255,.75); margin-bottom: 20px; }
.service--cta .btn { align-self: flex-start; }

/* ---------- A empresa ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about__photo { margin: 0; }
.about__photo img { border-radius: 22px; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 20% 50%; }
.about__text > p:not(.eyebrow) { color: var(--ardosia); }
.about__text strong { color: var(--grafite); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 32px 0 0; padding-top: 28px; border-top: 1px solid var(--linha); }
.pillars dt { font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--conexao); margin-bottom: 6px; }
.pillars dd { margin: 0; font-size: .95rem; font-weight: 400; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 72px; }
.values article { background: #fff; border-radius: var(--radius); padding: 28px 26px; }
.values span { font-weight: 600; font-size: .85rem; color: var(--conexao); }
.values h3 { font-size: 1.4rem; font-weight: 600; color: var(--petroleo); margin: 34px 0 8px; }
.values p { margin: 0; font-size: .93rem; color: var(--ardosia); }

/* ---------- Processo ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps li { position: relative; padding: 46px 28px 0 0; }
.steps li::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(255,255,255,.2);
}
.steps li::after {
  content: ""; position: absolute; top: -7px; left: 0; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ciano); box-shadow: 0 0 0 6px rgba(20,180,222,.2);
}
.steps__label { display: block; font-size: .75rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ceu); margin-bottom: 10px; }
.steps h3 { font-size: 1.35rem; font-weight: 600; color: #fff; }
.steps p { color: rgba(255,255,255,.78); font-size: .97rem; }

/* ---------- Quem atendemos ---------- */
.segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.segment { padding: 28px 0 0; border-top: 3px solid var(--conexao); }
.segment h3 { color: var(--petroleo); font-weight: 600; }
.segment p { color: var(--ardosia); font-size: .95rem; }

.quote { margin-top: 80px; padding: 44px 48px; border-radius: 22px; background: var(--nevoa); border-left: 6px solid var(--ciano); }
.quote p { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 500; color: var(--grafite); line-height: 1.35; margin-bottom: 12px; }
.quote span { color: var(--ardosia); font-size: .95rem; }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__info > p:not(.eyebrow) { color: var(--ardosia); font-size: 1.05rem; }
.channels { list-style: none; padding: 0; margin: 32px 0 0; }
.channels li { display: grid; grid-template-columns: 190px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--linha); align-items: baseline; }
.channels__label { font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--conexao); }
.channels a { font-weight: 500; text-decoration: none; color: var(--petroleo); }
.channels a:hover { text-decoration: underline; }
.channels li > span:last-child { font-weight: 400; }

.form { background: #fff; border-radius: 22px; padding: 38px; box-shadow: var(--shadow); }
.form h3 { font-size: 1.4rem; font-weight: 600; color: var(--petroleo); margin-bottom: 4px; }
.form__hint { color: var(--ardosia); font-size: .9rem; margin-bottom: 24px; }
.form label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 18px; }
.form input[type="text"], .form input[type="tel"], .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 13px 14px;
  font: 400 1rem var(--font); color: var(--grafite);
  background: var(--nevoa); border: 1.5px solid transparent; border-radius: 10px;
  transition: border-color .15s ease, background-color .15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--conexao); background: #fff; }
.form textarea { resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.form legend { font-size: .88rem; font-weight: 500; margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: .85rem; font-weight: 400;
  border: 1.5px solid var(--linha); transition: all .15s ease;
}
.chips input:checked + span { background: var(--petroleo); border-color: var(--petroleo); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--ciano); outline-offset: 2px; }
.form__error { color: #C0392B; font-size: .9rem; font-weight: 400; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--petroleo); color: rgba(255,255,255,.82); padding: 80px 0 0; }
.footer__inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer__brand img { width: 210px; height: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 320px; font-size: .95rem; }
.footer h4 { color: #fff; font-size: .78rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.footer li { padding: 4px 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ciano); }
.footer__bottom {
  position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem;
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service { transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .values, .segments { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 24px 24px; border-bottom: 1px solid var(--linha);
    transform: translateY(-120%); visibility: hidden; transition: transform .25s ease, visibility .25s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--linha); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; }

  .hero { padding: 56px 0 72px; }
  .hero__inner, .about, .contact { grid-template-columns: 1fr; gap: 44px; }
  .hero__photo { max-width: 460px; }
  .about__photo { order: 2; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .section { padding: 80px 0; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .services, .values, .segments, .steps, .pillars { grid-template-columns: 1fr; }
  .hero__facts { grid-template-columns: 1fr; gap: 12px; }
  .hero__cta .btn { width: 100%; }
  .channels li { grid-template-columns: 1fr; gap: 2px; }
  .form { padding: 26px 20px; }
  .quote { padding: 30px 24px; }
  .footer__inner { grid-template-columns: 1fr; }
  .waves { transform: scale(.6); transform-origin: top right; }
  .waves--left { transform-origin: bottom left; }
}
