/* =========================================================
   Desentupimentos 24h — folha de estilos
   Paleta: azul-marinho (confiança) + laranja (urgência)
   ========================================================= */

:root {
  --navy-950: #0b1524;
  --navy-900: #0f1e33;
  --navy-800: #16283f;
  --navy-700: #1f3552;
  --navy-100: #e7edf6;

  --orange-600: #e8590c;
  --orange-500: #f2711b;
  --orange-400: #ff8c3a;

  --white: #ffffff;
  --grey-50: #f7f8fa;
  --grey-100: #eef1f5;
  --grey-300: #d3dae3;
  --grey-500: #7c8a9e;
  --grey-700: #445269;

  --success-bg: #e6f7ee;
  --success-text: #1b7a43;

  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(15, 30, 51, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 30, 51, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 30, 51, 0.18);

  --container-w: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-950);
  line-height: 1.2;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; color: var(--grey-700); }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange-500);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--grey-300);
}
.btn--ghost:hover { border-color: var(--navy-900); }

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
}
.btn--whatsapp:hover { background: #1ebd5a; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--lg { padding: 15px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--navy-950);
  color: var(--grey-100);
  font-size: .85rem;
}
.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 24px;
}
.top-bar__inner p { margin: 0; display: flex; align-items: center; gap: 8px; }
.top-bar__phone { font-weight: 600; color: var(--orange-400); }

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #37d67a;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(55,214,122,.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(55,214,122,.6); }
  70% { box-shadow: 0 0 0 8px rgba(55,214,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(55,214,122,0); }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grey-100);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}

.logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); }
.logo__icon { font-size: 1.4rem; }
.logo__text { font-size: 1.15rem; font-weight: 600; color: var(--navy-950); }
.logo__text strong { color: var(--orange-500); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 500; font-size: .95rem; color: var(--navy-800); transition: color .15s; }
.nav a:hover { color: var(--orange-600); }
.nav-cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(242,113,27,.18), transparent 45%),
    linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: 72px 0 56px;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }

.badge {
  display: inline-block;
  background: rgba(242,113,27,.18);
  color: var(--orange-400);
  border: 1px solid rgba(242,113,27,.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 { font-size: clamp(2rem, 4vw, 2.85rem); color: var(--white); margin-bottom: .4em; }
.hero h1 span { color: var(--orange-400); }
.hero__lead { color: var(--grey-300); font-size: 1.05rem; max-width: 52ch; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 8px; }
.hero__trust li { color: var(--grey-100); font-size: .9rem; }

.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
}
.stat-card__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange-400);
}
.stat-card__label { font-size: .82rem; color: var(--grey-300); }

/* ---------- Sections (shared) ---------- */
.section { padding: 84px 0; }
.section--alt { background: var(--grey-50); }
.section__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section__head p { color: var(--grey-500); }
.section__lead { color: var(--grey-700); }

.eyebrow {
  display: inline-block;
  color: var(--orange-600);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.eyebrow--light { color: var(--orange-400); }

.grid { display: grid; gap: 28px; }
.grid--services { grid-template-columns: repeat(3, 1fr); }
.grid--split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.grid--testimonials { grid-template-columns: repeat(3, 1fr); }

/* ---------- Cards / services ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  font-size: 1.6rem;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-100);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.card h3 { font-size: 1.1rem; margin-bottom: .35em; }
.card p { font-size: .93rem; margin: 0; }

/* ---------- Feature list / how it works ---------- */
.feature-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.feature-list h4 { margin-bottom: .2em; font-size: 1rem; }
.feature-list p { margin: 0; font-size: .92rem; }

.how-it-works {
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.how-it-works h3 { color: var(--white); margin-bottom: 22px; }
.steps { display: flex; flex-direction: column; gap: 20px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps__num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}
.steps h4 { color: var(--white); font-size: .98rem; margin-bottom: .2em; }
.steps p { color: var(--grey-300); font-size: .88rem; margin: 0; }

/* ---------- Zones ---------- */
.zones { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.zone-pill {
  background: var(--navy-100);
  color: var(--navy-800);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .9rem;
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.testimonial__stars { color: var(--orange-500); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial p { font-style: italic; color: var(--navy-800); }
.testimonial__author { font-weight: 600; font-size: .88rem; color: var(--grey-500); }

/* ---------- Accordion / FAQ ---------- */
.accordion { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.accordion__item {
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .98rem;
  color: var(--navy-900);
  cursor: pointer;
}
.accordion__icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--orange-500);
  transition: transform .2s ease;
}
.accordion__item.is-open .accordion__icon { transform: rotate(45deg); }

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 20px;
}
.accordion__panel p { padding-bottom: 18px; margin: 0; font-size: .92rem; }

/* ---------- Contact ---------- */
.section--contact {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}
.section--contact h2 { color: var(--white); }
.section--contact p { color: var(--grey-300); }

.contact-list { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: .98rem; }
.contact-list a:hover { color: var(--orange-400); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: .85rem; font-weight: 600; color: var(--navy-800); }
.form-row input, .form-row textarea {
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--navy-900);
  resize: vertical;
  transition: border-color .15s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--orange-500);
}
.form-row.has-error input, .form-row.has-error textarea { border-color: #d64545; }
.form-error { font-size: .78rem; color: #d64545; min-height: 1em; }

.form-note { text-align: center; font-size: .8rem; color: var(--grey-500); margin: 12px 0 0; }
.form-success {
  margin-top: 16px;
  background: var(--success-bg);
  color: var(--success-text);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  text-align: center;
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: var(--grey-300); padding: 28px 0; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer__brand { display: flex; align-items: center; gap: 8px; }
.footer__brand .logo__text { color: var(--white); }
.footer__text { margin: 0; font-size: .85rem; }
.footer__links { display: flex; gap: 20px; }
.footer__links a { font-size: .85rem; color: var(--grey-300); }
.footer__links a:hover { color: var(--orange-400); }

/* ---------- Floating action buttons ---------- */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: transform .15s ease;
}
.fab:hover { transform: scale(1.08); }
.fab--whatsapp { background: #25d366; }
.fab--call { background: var(--orange-500); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .grid--split { grid-template-columns: 1fr; }
  .grid--services { grid-template-columns: repeat(2, 1fr); }
  .grid--testimonials { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .header__actions { display: none; }
  .nav-toggle { display: flex; }

  .header.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--grey-100);
    box-shadow: var(--shadow-md);
    gap: 16px;
  }

  .header.nav-open .nav-cta {
    display: inline-flex;
    margin-top: 4px;
  }

  .top-bar__inner { flex-direction: column; gap: 4px; text-align: center; }
  .hero { padding: 48px 0 40px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .grid--services { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .contact-form { padding: 24px 18px; }
}
