/* ============================================================
   GUINCHO LITORAL 24H — DESIGN SYSTEM
   Dark premium + amber accent
   Fonts: Outfit (headlines) + DM Sans (body)
   ============================================================ */

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-stretch: 88%; letter-spacing: -0.03em; line-height: 1.15; }

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  /* Cores */
  --bg: #0A0A0F;
  --bg-card: #12121A;
  --bg-card-hover: #1A1A26;
  --bg-elevated: #181824;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);

  --accent: #F5A623;
  --accent-glow: rgba(245,166,35,0.15);
  --accent-dark: #C47F0A;
  --accent-light: #FFD080;

  --green: #22D67A;
  --green-glow: rgba(34,214,122,0.15);

  --text: #F0F0F5;
  --text-secondary: #8A8A9A;
  --text-muted: #5A5A6A;

  --white: #FFFFFF;
  --black: #000000;

  /* Tipografia */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: clamp(2rem, 3vw, 2.5rem);
  --text-4xl: clamp(2.4rem, 4vw, 3.4rem);
  --text-5xl: clamp(2.8rem, 5.5vw, 4.6rem);
  --text-6xl: clamp(3.2rem, 7.5vw, 7rem);

  /* Faixa refletiva de sinalização: o separador estrutural deste site. */
  --stripe: repeating-linear-gradient(135deg, #F5A623 0 14px, #0A0A0F 14px 28px);

  /* Espaçamento */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Bordas */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px var(--accent-glow);
  --shadow-glow-green: 0 0 40px var(--green-glow);

  /* Transições */
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --duration-fast: 200ms;
  --duration-base: 400ms;
  --duration-slow: 700ms;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 900px;
  --header-height: 80px;
}

/* ── LAYOUT ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container--narrow {
  max-width: var(--container-narrow);
}

/* ── HEADER ────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              height var(--duration-base) var(--ease-out);
}
.header.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  height: 64px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-8);
}
.brand img {
  height: 48px;
  width: auto;
  transition: height var(--duration-base) var(--ease-out);
}
.header.scrolled .brand img {
  height: 36px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav > a,
.nav-trigger {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}
.nav > a:hover,
.nav-trigger:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}
.nav > a.active {
  color: var(--accent);
}

/* Dropdown */
.nav-group {
  position: relative;
}
.nav-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-body);
}
.nav-trigger span {
  font-size: 0.7em;
  transition: transform var(--duration-fast) var(--ease-out);
}
.nav-group.open .nav-trigger span {
  transform: rotate(180deg);
}
.dropdown {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  min-width: 220px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  box-shadow: var(--shadow-lg);
  transition: opacity var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              visibility var(--duration-fast);
  z-index: 100;
}
.nav-group.open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast), background var(--duration-fast);
}
.dropdown a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

/* Header Phone CTA */
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  transition: opacity var(--duration-fast);
}
.header-phone:hover { opacity: 0.8; }
.header-phone small {
  font-size: var(--text-xs);
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.header-phone strong {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-display);
}

/* Hamburger */
.menu-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}
.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-fast);
  transform-origin: center;
}
.menu-button.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-button.active span:nth-child(2) {
  opacity: 0;
}
.menu-button.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ──────────────────────────────────────────────────── */
.home-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10,10,15,0.6) 0%,
    rgba(10,10,15,0.3) 40%,
    rgba(10,10,15,0.85) 100%
  );
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
  pointer-events: none;
}
.hero-orb--one {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 10%;
  left: -10%;
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.hero-orb--two {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(34,214,122,0.08) 0%, transparent 70%);
  bottom: 10%;
  right: -5%;
  animation: orbFloat 15s ease-in-out infinite alternate-reverse;
}
@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.1); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-16) 0;
}
.hero-copy {
  max-width: 620px;
}

/* Live Badge */
.live {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: var(--accent-glow);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--space-6);
}
.live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: livePulse 2s ease-in-out infinite;
  display: inline-block;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { opacity: 0.6; box-shadow: 0 0 0 8px transparent; }
}

.hero-copy h1 {
  font-size: var(--text-5xl);
  color: var(--text);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-copy > p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 520px;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.hero-micro {
  display: flex;
  gap: var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.hero-micro span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.hero-micro .check {
  color: var(--accent);
  font-weight: 700;
}

/* Hero Card */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.hero-card h2 {
  font-size: var(--text-xl);
  color: var(--text);
  margin-bottom: var(--space-2);
}
.hero-card > p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}
.hero-card-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.hero-card-step {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.hero-card-step .step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  border: 1px solid rgba(245,166,35,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-display);
}
.hero-card-step .step-info strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.hero-card-step .step-info span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.hero-card .btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-4);
  background: var(--accent);
  color: var(--black);
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: var(--radius-lg);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}
.hero-card .btn-call:hover {
  background: var(--accent-light);
  transform: scale(0.98);
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--accent);
  color: var(--black);
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover {
  background: var(--accent-light);
  box-shadow: 0 0 60px var(--accent-glow);
}

.btn--whatsapp {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-glow-green);
}
.btn--whatsapp:hover {
  background: #2AE888;
  box-shadow: 0 0 60px var(--green-glow);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.03);
}

.btn--ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hover);
}

.btn--sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
}

/* ── BADGE ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: var(--accent-glow);
  border: 1px solid rgba(245,166,35,0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* ── SECTION DEFAULTS ──────────────────────────────────────── */
.section {
  padding: var(--space-24) 0;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-16);
}
.section-header .badge {
  margin-bottom: var(--space-4);
}
.section-header h2 {
  font-size: var(--text-4xl);
  color: var(--text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}
.section-header p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
}

/* ── FEATURES BAR ──────────────────────────────────────────── */
.features-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-10) 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  border: 1px solid rgba(245,166,35,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.feature-item strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.feature-item span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ── SITUATION CARDS ───────────────────────────────────────── */
.situations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.situation-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: border-color var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.situation-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-green);
}
.situation-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--green-glow);
  border: 1px solid rgba(34,214,122,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.situation-card h3 {
  font-size: var(--text-lg);
  color: var(--text);
}
.situation-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  flex-grow: 1;
}
.situation-card .card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green);
  transition: gap var(--duration-fast) var(--ease-out);
}
.situation-card:hover .card-cta {
  gap: var(--space-3);
}

/* ── SERVICES GRID ─────────────────────────────────────────── */
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.service-main {
  grid-row: span 2;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 460px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-out);
}
.service-main:hover {
  border-color: var(--accent);
}
.service-main .badge { margin-bottom: var(--space-6); }
.service-main h3 {
  font-size: var(--text-3xl);
  color: var(--text);
  margin-bottom: var(--space-4);
}
.service-main p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  max-width: 400px;
}
.service-main .service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--duration-fast) var(--ease-out);
}
.service-main:hover .service-link { gap: var(--space-3); }

.services-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: border-color var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.service-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  border: 1px solid rgba(245,166,35,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.service-card h4 {
  font-size: var(--text-base);
  color: var(--text);
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ── AREAS SERVED ──────────────────────────────────────────── */
.areas-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-8);
}
.area-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text);
  transition: all var(--duration-base) var(--ease-out);
}
.area-pill:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--accent);
}
.area-pill .pin {
  font-size: 1rem;
}
.areas-cta {
  text-align: center;
}
.areas-cta a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--green);
  transition: gap var(--duration-fast) var(--ease-out);
}
.areas-cta a:hover { gap: var(--space-3); }

/* ── STEPS (Como Funciona) ─────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  counter-reset: step;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  position: relative;
  counter-increment: step;
}
.step-card::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--accent);
  opacity: 0.2;
  margin-bottom: var(--space-4);
  line-height: 1;
}
.step-card h3 {
  font-size: var(--text-lg);
  color: var(--text);
  margin-bottom: var(--space-2);
}
.step-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ── GALLERY (Nosso Trabalho) ──────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.gallery-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  transition: transform var(--duration-base) var(--ease-out);
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.08); }

/* ── CTA SECTION ───────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-24) 0;
  text-align: center;
}
.cta-section h2 {
  font-size: var(--text-4xl);
  color: var(--text);
  margin-bottom: var(--space-4);
}
.cta-section p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-4);
  max-width: 280px;
  line-height: 1.7;
}
.footer-brand img {
  height: 40px;
  width: auto;
}
.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}
.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding: var(--space-1) 0;
  transition: color var(--duration-fast);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.footer-legal {
  display: flex;
  gap: var(--space-6);
}
.footer-legal a {
  font-size: var(--text-xs);
  color: var(--text-muted);
  transition: color var(--duration-fast);
}
.footer-legal a:hover { color: var(--text); }

/* ── WHATSAPP FLOAT ────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(34,214,122,0.4);
  transition: transform var(--duration-base) var(--ease-spring),
              box-shadow var(--duration-base) var(--ease-out);
  animation: floatPulse 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(34,214,122,0.5);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(34,214,122,0.4); }
  50% { box-shadow: 0 4px 30px rgba(34,214,122,0.6); }
}

/* ── INTERNAL PAGE HERO ────────────────────────────────────── */
.page-hero {
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.page-hero .hero-orb--one {
  width: 300px;
  height: 300px;
  top: -10%;
  left: -5%;
}
.page-hero .hero-orb--two {
  width: 200px;
  height: 200px;
  bottom: -10%;
  right: -5%;
}
.page-hero .badge { margin-bottom: var(--space-6); }
.page-hero h1 {
  font-size: var(--text-4xl);
  color: var(--text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}
.page-hero > .container > p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
}
.page-hero .hero-actions {
  margin-top: var(--space-8);
}

/* ── CONTENT SECTIONS (internal pages) ─────────────────────── */
.content-section {
  padding: var(--space-16) 0;
}
.content-section h2 {
  font-size: var(--text-3xl);
  color: var(--text);
  margin-bottom: var(--space-6);
}
.content-section p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  line-height: 1.8;
  max-width: 700px;
}
.content-section ul {
  margin-bottom: var(--space-6);
}
.content-section li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
  line-height: 1.7;
}
.content-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── CONTACT CARDS ─────────────────────────────────────────── */
/* Eram três colunas para dois filhos: a terceira ficava vazia e as duas reais
   espremidas em 368px, com 536px de nada à direita. Medido em 1440. */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--space-10);
  align-items: start;
  margin-bottom: var(--space-16);
}
/* O cartão deixa de ser um bloco alto e centralizado: vira uma linha, com o ícone à
   esquerda, como as situações da home. Lê-se em diagonal e ocupa o que precisa. */
.contact-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  column-gap: var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(245,166,35,.5);
  border-radius: 12px;
  padding: var(--space-5) var(--space-6);
  text-align: left;
  transition: border-color var(--duration-base) var(--ease-out);
}
.contact-card + .contact-card { margin-top: 10px; }
.contact-card:hover { border-color: var(--border-hover); border-left-color: var(--accent); }
.contact-card .card-icon {
  width: 52px; height: 52px; margin: 0;
  border-radius: var(--radius-lg);
  background: var(--accent-glow);
  border: 1px solid rgba(245,166,35,0.12);
  display: flex; align-items: center; justify-content: center;
}
/* O cartão do WhatsApp é verde por inteiro: assim o verde pertence a ele em vez de
   aparecer como um botão estranho dentro de uma caixa âmbar. */
.contact-card--zap { border-left-color: rgba(34,214,122,.55); }
.contact-card--zap:hover { border-left-color: var(--green); }
.contact-card--zap .card-icon {
  background: var(--green-glow); border-color: rgba(34,214,122,.16);
}
.contact-card--zap .card-icon svg { stroke: var(--green); }
.contact-card--zap .btn {
  grid-column: 2; margin-top: var(--space-4); justify-self: start;
  box-shadow: none;
}
.contact-card h3 {
  font-size: var(--text-lg);
  color: var(--text);
  margin-bottom: var(--space-2);
}
.contact-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.contact-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.contact-card span {
  display: block;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--text-secondary);
}
/* `:not(.btn)` porque esta regra nasceu para link de texto solto e vencia o botão do
   WhatsApp pela especificidade: ele ficava âmbar sobre verde, contraste 1,1:1. */
.contact-card a:not(.btn) {
  color: var(--accent);
  font-weight: 600;
}

/* ── FORM ──────────────────────────────────────────────────── */
.contact-form { max-width: none; }
.form-group {
  margin-bottom: var(--space-4);
}
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--space-2);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: var(--text-base);
  transition: border-color var(--duration-fast);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ── SERVICE PAGE GRID ─────────────────────────────────────── */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin: var(--space-12) 0;
}
.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}
.detail-card h3 {
  font-size: var(--text-base);
  color: var(--text);
  margin-bottom: var(--space-2);
}
.detail-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: 0;
  max-width: none;
}

/* ── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .hero-card {
    max-width: 480px;
  }
  .services-layout {
    grid-template-columns: 1fr;
  }
  .service-main { min-height: 300px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.25rem;
    --text-4xl: 1.875rem;
    --text-3xl: 1.5rem;
    --header-height: 64px;
  }

  .container { padding: 0 var(--space-4); }

  /* Mobile Nav */
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(10,10,15,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--duration-base) var(--ease-out),
                visibility var(--duration-base);
    z-index: 999;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav > a,
  .nav-trigger {
    font-size: var(--text-xl);
    padding: var(--space-3) var(--space-6);
  }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: auto;
    display: none;
  }
  .nav-group.open .dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: none;
  }
  .dropdown a {
    font-size: var(--text-base);
    text-align: center;
  }

  .menu-button {
    display: flex;
    z-index: 1001;
  }
  .header-phone { display: none; }

  /* Mobile Hero */
  .hero-grid {
    /* O zero horizontal apagava o padding do .container e o texto encostava na borda
       da tela: medido em 390px, margem 0 dos dois lados. */
    padding: var(--space-8) var(--space-6);
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn { width: 100%; }
  .hero-micro {
    flex-direction: column;
    gap: var(--space-2);
  }

  /* Mobile Grids */
  .features-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .situations-grid { grid-template-columns: 1fr; }
  .services-mini { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
  .footer-legal { justify-content: center; }

  .section { padding: var(--space-16) 0; }
  .section-header { margin-bottom: var(--space-10); }

  /* WhatsApp float smaller on mobile */
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: var(--space-4);
    right: var(--space-4);
  }
  .whatsapp-float svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
}

/* ── LEGAL PAGES ───────────────────────────────────────────── */
.legal-content {
  padding: var(--space-16) 0;
  max-width: 700px;
}
.legal-content h2 {
  font-size: var(--text-2xl);
  color: var(--text);
  margin: var(--space-10) 0 var(--space-4);
}
.legal-content h3 {
  font-size: var(--text-xl);
  color: var(--text);
  margin: var(--space-8) 0 var(--space-3);
}
.legal-content p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  line-height: 1.8;
}


/* ── Ícone dentro de botão ─────────────────────────────────────────────────
   Emoji é desenhado pelo sistema de quem visita: três aparelhos, três desenhos,
   e nenhum é a marca. Traço é nosso e é igual em todo lugar. */
.btn-ico {
  width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -3px; margin-right: 8px;
}
.card-icon svg, .feature-icon svg {
  width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ── Lista de contexto local (páginas de cidade) ───────────────────────────
   Não é uma lista de vantagens: é o que quem está parado naquela cidade
   precisa saber. Por isso cada item respira e o marcador é discreto. */
.local-list {
  list-style: none; margin: var(--space-6) 0 0; padding: 0;
  display: grid; gap: var(--space-5); max-width: 70ch;
}
.local-list li {
  position: relative; padding-left: var(--space-6);
  color: var(--text-secondary); line-height: 1.65;
}
.local-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 10px; height: 2px; background: var(--accent);
}
.local-list li strong { color: var(--text); font-weight: 600; }

/* Ícone antes do título de um card de detalhe: fica na linha do texto, no tamanho
   da letra, para não virar enfeite solto acima da frase. */
.h3-ico {
  display: inline-grid; place-items: center;
  width: 1.15em; height: 1.15em; vertical-align: -.18em; margin-right: .5em;
}
.h3-ico svg {
  width: 100%; height: 100%;
  fill: none; stroke: var(--accent); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

/* O select nativo desenha a própria seta e o próprio fundo no macOS e no Windows;
   sem isso a caixa volta a ser branca por cima do estilo acima. */
.form-group select {
  appearance: none; -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5A623' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}
.form-group select option { background: var(--bg-card); color: var(--text); }

/* Texto do botão do WhatsApp: branco sobre o verde da marca dá 1,75:1 — abaixo de
   qualquer piso de leitura. O escuro do site dá 10,9:1 no mesmo verde. */
.btn--whatsapp { color: var(--bg); font-weight: 700; }
.btn--whatsapp:hover { color: var(--bg); }
