/* ============================================================
   CONECT SOLUÇÕES COMERCIAIS — estilos
   Paleta: grafite (#2b3138) + laranja (#ea5520)
   ============================================================ */

:root {
  --charcoal: #2b3138;
  --charcoal-2: #20252b;
  --charcoal-3: #353d46;
  --accent: #ea5520;
  --accent-dark: #c8430f;
  --accent-soft: #fff1ea;
  --ink: #1c2127;
  --muted: #5d6772;
  --line: #e6e8eb;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -20px rgba(20, 25, 31, 0.28);
  --shadow-sm: 0 8px 24px -12px rgba(20, 25, 31, 0.25);
  --container: 1180px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-head: 'Poppins', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

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

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--lg { padding: 15px 34px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px var(--accent); }
.btn--accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--charcoal); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* fundo claro -> ghost escuro */
.section .btn--ghost { border-color: var(--line); color: var(--ink); }
.section .btn--ghost:hover { background: var(--bg-alt); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--font-head); }
.brand__text strong { font-size: 1.15rem; letter-spacing: 1px; color: var(--charcoal); }
.brand__text small { font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 26px; }
.nav__link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--charcoal);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.25s;
}
.nav__link:hover { color: var(--accent); }
.nav__link:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px; height: 2.5px;
  background: var(--charcoal);
  border-radius: 3px;
  transition: var(--transition);
}
.nav__toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(234,85,32,0.35), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(234,85,32,0.18), transparent 55%),
    linear-gradient(135deg, var(--charcoal-2) 0%, var(--charcoal) 55%, var(--charcoal-3) 100%);
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 720px; }
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  padding: 8px 16px;
  border: 1px solid rgba(234,85,32,0.45);
  border-radius: 50px;
  background: rgba(234,85,32,0.08);
  margin-bottom: 24px;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.hero__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero__subtitle strong { color: #fff; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero__stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero__stats span { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-top: 6px; }

.hero__scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll span {
  display: block;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  position: relative;
}
.hero__scroll span::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: #fff;
  border-radius: 4px;
  transform: translateX(-50%);
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 50% { opacity: 1; } 100% { opacity: 0; top: 22px; } }

/* ---------- Seções ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.section__lead { color: var(--muted); font-size: 1.05rem; }
.section__text { color: var(--muted); margin-bottom: 18px; font-size: 1.02rem; }
.section__text strong { color: var(--ink); }

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

/* ---------- Checklist ---------- */
.checklist { margin-top: 26px; display: grid; gap: 14px; }
.checklist li {
  position: relative;
  padding-left: 36px;
  font-weight: 500;
  color: var(--ink);
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0; top: -1px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---------- About media ---------- */
.about__media { position: relative; }
.about__img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}
.about__badge {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--charcoal);
  color: #fff;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  max-width: 230px;
}
.about__badge strong { display: block; font-family: var(--font-head); color: var(--accent); font-size: 1.25rem; }
.about__badge span { font-size: 0.82rem; color: rgba(255,255,255,0.8); }

/* ---------- Cards (serviços) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.card__icon svg { width: 30px; height: 30px; }
.card__title { font-family: var(--font-head); font-size: 1.3rem; color: var(--charcoal); margin-bottom: 12px; }
.card__text { color: var(--muted); font-size: 0.97rem; margin-bottom: 20px; }
.card__list { display: grid; gap: 10px; margin-bottom: 24px; }
.card__list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  color: var(--ink);
}
.card__list li::before {
  content: '';
  position: absolute;
  left: 4px; top: 9px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.card__link { font-family: var(--font-head); font-weight: 600; color: var(--accent); font-size: 0.95rem; }
.card__link:hover { color: var(--accent-dark); }

/* ---------- Features (diferenciais) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.feature__icon {
  font-size: 2rem;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: var(--bg-alt);
  border-radius: 14px;
  margin-bottom: 18px;
}
.feature h3 { font-family: var(--font-head); font-size: 1.15rem; color: var(--charcoal); margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(800px 400px at 90% -20%, rgba(234,85,32,0.35), transparent 60%),
    linear-gradient(135deg, var(--charcoal-2), var(--charcoal));
  color: #fff;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 64px 24px;
  flex-wrap: wrap;
}
.cta-band h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.78); }

/* ---------- Galeria ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery__item {
  position: relative;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #000;
  transition: var(--transition);
}
.gallery__item img { width: 100%; transition: transform 0.5s, opacity 0.3s; }
.gallery__item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.gallery__item:hover img { transform: scale(1.05); opacity: 0.85; }
.gallery__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(20,25,31,0.92));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  padding: 28px 18px 16px;
  text-align: left;
}

/* ---------- Contato ---------- */
.grid-2--contact { align-items: start; }
.contact-list { display: grid; gap: 22px; margin: 28px 0 30px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  border-radius: 12px;
  font-size: 1.2rem;
}
.contact-list strong { display: block; font-family: var(--font-head); color: var(--charcoal); margin-bottom: 2px; }
.contact-list span span,
.contact-list li > span:last-child { color: var(--muted); font-size: 0.95rem; }
.contact-list a { color: var(--accent); font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }
.contact__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Form ---------- */
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form__row { margin-bottom: 18px; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--charcoal);
  margin-bottom: 0;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-alt);
  transition: border-color 0.2s, background 0.2s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.form textarea { resize: vertical; }
.form__note { font-size: 0.8rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---------- Mapa ---------- */
.map {
  margin-top: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.map iframe { width: 100%; height: 360px; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--charcoal-2); color: rgba(255,255,255,0.72); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px 24px 48px;
}
.footer__brand img { width: 54px; border-radius: 10px; margin-bottom: 16px; }
.footer__brand p { font-size: 0.95rem; max-width: 320px; }
.footer h4 {
  font-family: var(--font-head);
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a, .footer__contact a { font-size: 0.95rem; transition: color 0.2s; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--accent); }
.footer__contact p { font-size: 0.95rem; margin-bottom: 10px; }
.footer__contact a { color: var(--accent); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; }
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,0.7);
  z-index: 90;
  transition: var(--transition);
  animation: pulse 2.5s infinite;
}
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 12px 28px -8px rgba(37,211,102,0.7), 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 12px 28px -8px rgba(37,211,102,0.7), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 12px 28px -8px rgba(37,211,102,0.7), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(15,18,22,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 32px;
}
.lightbox.open { display: flex; animation: fade 0.25s; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox__close {
  position: absolute;
  top: 22px; right: 30px;
  background: none; border: none;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 980px) {
  .cards, .features, .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav {
    position: fixed;
    top: 72px; right: 0;
    width: min(320px, 85vw);
    height: calc(100vh - 72px);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 28px;
    box-shadow: var(--shadow);
    transform: translateX(110%);
    transition: var(--transition);
  }
  .nav.open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 4px; width: 100%; }
  .nav__link { display: block; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 18px; width: 100%; }
  .nav__toggle { display: flex; z-index: 101; }

  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .about__badge { left: 16px; bottom: -16px; }
  .cta-band__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .cards, .features, .gallery { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .form__row--2 { grid-template-columns: 1fr; }
  .hero__stats { gap: 28px; }
  .hero__stats strong { font-size: 1.9rem; }
  .form { padding: 26px 20px; }
  .footer__bottom .container { flex-direction: column; }
}
