/* ============================================================
   RC HIDRÁULICA E GÁS — Design System & Landing Page
   ============================================================ */

/* — TOKENS — */
:root {
  /* Cores */
  --bg-base: #041434;
  --bg-surface-1: #061d45;
  --bg-surface-2: #0a2654;
  --bg-surface-3: #0f2f63;
  --bg-overlay: rgba(4, 20, 52, 0.92);
  --bg-light: #f0f6ff;
  --bg-light-surface: #e8f1fc;
  
  --text-primary: #ffffff;
  --text-secondary: #b8c5d6;
  --text-muted: #6b7b94;
  --text-inverse: #041434;
  --text-inverse-secondary: #3a4d6b;
  
  --accent: #00a8e8;
  --accent-hover: #33bef0;
  --accent-dark: #0077a8;
  --accent-subtle: rgba(0, 168, 232, 0.14);
  --accent-glow: rgba(0, 168, 232, 0.35);
  
  --secondary: #f47920;
  --secondary-hover: #ff944d;
  --secondary-dark: #c45a12;
  --secondary-subtle: rgba(244, 121, 32, 0.14);
  --secondary-glow: rgba(244, 121, 32, 0.35);
  
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #00a8e8;
  
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(0, 168, 232, 0.45);
  
  --border-light: rgba(4, 20, 52, 0.08);
  --border-light-strong: rgba(4, 20, 52, 0.16);
  
  /* Tipografia */
  --font-display: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;
  --text-4xl: 3rem;
  --text-5xl: 3.75rem;
  
  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.65;
  --leading-loose: 1.8;
  
  --tracking-tight: -0.03em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-widest: 0.12em;
  
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 800;
  
  /* Espaçamento */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-8: 48px;
  --space-10: 64px;
  --space-12: 80px;
  --space-16: 120px;
  
  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-accent: 0 0 0 1px var(--border-accent), 0 10px 40px var(--accent-glow);
  --shadow-glow: 0 0 40px var(--accent-glow);
  
  /* Animações */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 450ms;
  
  /* Z-index */
  --z-base: 0;
  --z-sticky: 100;
  --z-float: 200;
  --z-modal: 300;
}

/* — RESET — */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--text-primary);
}

/* — UTILITIES — */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: calc(var(--z-modal) + 10);
  background: var(--accent);
  color: var(--text-primary);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-weight: var(--weight-semibold);
  transition: top var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  top: var(--space-4);
}

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

.container--narrow {
  max-width: 720px;
}

.icon {
  flex-shrink: 0;
}

/* — BOTÕES — */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: 14px 24px;
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent);
  color: var(--text-primary);
  border: 2px solid var(--accent);
  box-shadow: 0 4px 20px rgba(0, 168, 232, 0.3);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: var(--secondary);
  color: var(--text-primary);
  border: 2px solid var(--secondary);
  box-shadow: 0 4px 20px rgba(244, 121, 32, 0.3);
}

.btn--secondary:hover {
  background: var(--secondary-hover);
  border-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(244, 121, 32, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-strong);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

.btn--light {
  background: var(--text-primary);
  color: var(--text-inverse);
  border: 2px solid var(--text-primary);
}

.btn--light:hover {
  background: transparent;
  color: var(--text-primary);
}

.btn--xl {
  padding: 18px 32px;
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn--sm {
  padding: 10px 18px;
  font-size: var(--text-xs);
}

/* — EYEBROW — */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.eyebrow--secondary {
  color: var(--secondary);
}

.eyebrow--secondary::before {
  background: var(--secondary);
}

/* — SECTIONS — */
.section {
  padding: var(--space-12) 0;
  position: relative;
}

.section--light {
  background: var(--bg-light);
  color: var(--text-inverse);
}

.section--light .section__title,
.section--light .section__subtitle,
.section--light h3,
.section--light p {
  color: var(--text-inverse);
}

.section--light .eyebrow {
  color: var(--accent-dark);
}

.section--light .eyebrow::before {
  background: var(--accent-dark);
}

.section__header {
  max-width: 720px;
  margin-bottom: var(--space-8);
}

.section__header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__header--center .eyebrow {
  justify-content: center;
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.section__subtitle {
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: var(--leading-loose);
}

/* — HEADER — */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(4, 20, 52, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: all var(--duration-base) var(--ease-out);
}

.header--scrolled {
  background: rgba(4, 20, 52, 0.95);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: var(--space-5);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__name {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  color: var(--text-primary);
  line-height: 1.2;
}

.logo__tagline {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: var(--tracking-wide);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--duration-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--duration-base) var(--ease-out);
}

.nav__link:hover,
.nav__link:focus {
  color: var(--text-primary);
}

.nav__link:hover::after,
.nav__link:focus::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.nav__burger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: background var(--duration-fast);
}

.nav__burger::before,
.nav__burger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--duration-base) var(--ease-out);
}

.nav__burger::before {
  top: -8px;
}

.nav__burger::after {
  top: 8px;
}

.nav__toggle[aria-expanded="true"] .nav__burger {
  background: transparent;
}

.nav__toggle[aria-expanded="true"] .nav__burger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__burger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* — HERO — */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--space-12) + 80px) 0 var(--space-12);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(0, 168, 232, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 85% 75%, rgba(244, 121, 32, 0.14) 0%, transparent 45%),
    linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface-1) 100%);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.6;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
  align-items: center;
}

.hero__content {
  animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-5);
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, #80e0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-loose);
  max-width: 540px;
  margin-bottom: var(--space-6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--secondary);
}

.hero__visual {
  position: relative;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero__image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__image-wrapper img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.hero__image-wrapper::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, rgba(0, 168, 232, 0.2) 0%, rgba(244, 121, 32, 0.2) 100%);
  border-radius: calc(var(--radius-xl) + 20px);
  filter: blur(40px);
  z-index: 0;
}

.hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  z-index: 2;
  box-shadow: var(--shadow-md);
  animation: float 4s var(--ease-out) infinite;
}

.hero__badge--water {
  top: 10%;
  left: 0;
  background: rgba(0, 168, 232, 0.15);
  border: 1px solid rgba(0, 168, 232, 0.4);
  color: var(--accent);
  backdrop-filter: blur(10px);
}

.hero__badge--gas {
  bottom: 15%;
  right: 0;
  background: rgba(244, 121, 32, 0.15);
  border: 1px solid rgba(244, 121, 32, 0.4);
  color: var(--secondary);
  backdrop-filter: blur(10px);
  animation-delay: 1.5s;
}

/* — PROBLEMA — */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.problem__card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--duration-base) var(--ease-out);
}

.problem__card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.problem__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--secondary-subtle);
  color: var(--secondary);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
}

.problem__heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.problem__card p {
  color: var(--text-secondary);
  line-height: var(--leading-loose);
}

.problem__agitate {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-8);
  align-items: center;
  background: linear-gradient(135deg, var(--bg-surface-2) 0%, var(--bg-surface-1) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  overflow: hidden;
}

.problem__agitate-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.problem__agitate-visual img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.problem__agitate-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-5);
  background: linear-gradient(transparent, rgba(4, 20, 52, 0.95));
}

.problem__agitate-caption span {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.problem__agitate-text p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  line-height: var(--leading-loose);
}

.problem__turn {
  font-size: var(--text-xl) !important;
  color: var(--text-primary) !important;
  margin-bottom: 0 !important;
}

.problem__turn strong {
  color: var(--accent);
}

/* — SERVIÇOS — */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.service-card {
  background: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--duration-base) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(4, 20, 52, 0.12);
  border-color: var(--accent);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
}

.service-card__icon--water {
  background: rgba(0, 168, 232, 0.1);
  color: var(--accent-dark);
}

.service-card__icon--gas {
  background: rgba(244, 121, 32, 0.1);
  color: var(--secondary-dark);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-3);
  color: var(--text-inverse);
}

.service-card__text {
  color: var(--text-inverse-secondary);
  line-height: var(--leading-loose);
}

/* — VALUE STACK — */
.value__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-10);
  align-items: center;
}

.value__image {
  position: relative;
}

.value__image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.value__experience {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--secondary);
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  box-shadow: 0 12px 40px rgba(244, 121, 32, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.value__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  line-height: 1;
}

.value__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  line-height: 1.4;
  margin-top: 4px;
}

.value__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.value__item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5);
  background: var(--bg-surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--duration-base) var(--ease-out);
}

.value__item:hover {
  border-color: var(--border-accent);
  transform: translateX(8px);
}

.value__bullet {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--accent-subtle);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  flex-shrink: 0;
}

.value__item h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.value__item p {
  color: var(--text-secondary);
  line-height: var(--leading-loose);
}

/* — DEPOIMENTOS — */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.testimonial {
  background: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  transition: all var(--duration-base) var(--ease-out);
}

.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(4, 20, 52, 0.1);
}

.testimonial__stars {
  color: var(--secondary);
  font-size: var(--text-lg);
  letter-spacing: 2px;
  margin-bottom: var(--space-4);
}

.testimonial__text {
  flex: 1;
  color: var(--text-inverse-secondary);
  line-height: var(--leading-loose);
  font-size: var(--text-base);
  margin-bottom: var(--space-5);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-top: 1px solid var(--border-light);
  padding-top: var(--space-4);
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg-light-surface);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
}

.testimonial__author cite {
  font-style: normal;
  font-weight: var(--weight-bold);
  color: var(--text-inverse);
  display: block;
}

.testimonial__author span {
  font-size: var(--text-sm);
  color: var(--text-inverse-secondary);
}

.testimonials__note {
  text-align: center;
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-inverse-secondary);
}

/* — TRANSFORMATION / TIMELINE — */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  z-index: 0;
}

.timeline__item {
  position: relative;
  z-index: 1;
  text-align: center;
}

.timeline__number {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-2);
  border: 2px solid var(--accent);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: var(--text-lg);
  margin: 0 auto var(--space-5);
  box-shadow: 0 0 30px var(--accent-glow);
}

.timeline__content h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.timeline__content p {
  color: var(--text-secondary);
  line-height: var(--leading-loose);
  font-size: var(--text-sm);
}

/* — QUOTE FORM — */
.quote__card {
  background: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 80px rgba(2, 8, 23, 0.35);
  overflow: hidden;
}

.quote__card-head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6);
  background: linear-gradient(135deg, var(--bg-base) 0%, var(--bg-surface-1) 100%);
  border-bottom: 1px solid var(--border-light);
}

.quote__avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--secondary);
  color: var(--text-primary);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.quote__card-head h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: 2px;
}

.quote__card-head p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.quote__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-6);
}

.quote__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.quote__field label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--text-inverse-secondary);
}

.quote__input-wrap,
.quote__select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.quote__field input,
.quote__field select,
.quote__field textarea {
  font-family: inherit;
  font-size: var(--text-base);
  padding: 15px 16px 15px 46px;
  border: 1px solid var(--border-light-strong);
  border-radius: var(--radius-md);
  background: var(--bg-light);
  color: var(--text-inverse);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast), background var(--duration-fast);
  width: 100%;
}

.quote__field textarea {
  padding-left: 16px;
  resize: vertical;
  min-height: 96px;
}

.quote__field input:focus,
.quote__field select:focus,
.quote__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--text-primary);
  box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.12);
}

.quote__field input::placeholder,
.quote__field textarea::placeholder {
  color: var(--text-inverse-secondary);
  opacity: 0.55;
}

.quote__input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-inverse-secondary);
  pointer-events: none;
}

.quote__input-icon--select {
  left: 16px;
}

.quote__select-wrapper select {
  appearance: none;
  padding-right: 44px;
  color: var(--text-inverse);
}

.quote__select-wrapper select:invalid {
  color: var(--text-inverse-secondary);
}

.quote__select-arrow {
  position: absolute;
  right: 16px;
  color: var(--text-inverse-secondary);
  pointer-events: none;
}

.quote__actions {
  padding-top: var(--space-2);
}

.quote__actions .btn {
  width: 100%;
  box-shadow: 0 8px 24px rgba(244, 121, 32, 0.35);
}

.quote__actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(244, 121, 32, 0.45);
}

.quote__note {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-inverse-secondary);
  margin-top: calc(var(--space-2) * -1);
}

/* Layout de duas colunas para o formulário no desktop */
@media (min-width: 769px) {
  .quote__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }
  .quote__field--full {
    grid-column: span 2;
  }
  .quote__actions,
  .quote__note {
    grid-column: span 2;
  }
}

/* — GALLERY — */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: var(--space-4);
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}

.gallery__item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.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.05);
}

.gallery__item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-5) var(--space-4) var(--space-4);
  background: linear-gradient(transparent, rgba(4, 20, 52, 0.92));
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  transform: translateY(8px);
  opacity: 0.9;
  transition: transform var(--duration-base) var(--ease-out), opacity var(--duration-base);
}

.gallery__item:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}

.gallery__item--large {
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

/* Tags da Galeria */
.gallery__tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background-color: var(--accent);
  color: var(--text-primary);
  padding: 6px 12px;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  border-radius: var(--radius-sm);
  z-index: 2;
  box-shadow: var(--shadow-sm);
  pointer-events: none;
  line-height: 1;
}

.gallery__tag--gas {
  background-color: var(--secondary);
}

.gallery__tag--water {
  background-color: var(--accent-dark);
}

.gallery__tag--sauna {
  background-color: #7c3aed; /* Roxo para destacar */
}

.gallery__tag--boiler {
  background-color: #db2777; /* Rosa escuro para destacar */
}

.gallery__item {
  cursor: pointer;
}

/* — LIGHTBOX MODAL — */
.lightbox {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(15px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-base) var(--ease-out), visibility var(--duration-base);
}

.lightbox:not([aria-hidden="true"]) {
  opacity: 1;
  visibility: visible;
}

.lightbox__close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  color: var(--text-primary);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--duration-fast);
  z-index: 10;
}

.lightbox__close:hover,
.lightbox__close:focus {
  color: var(--secondary);
}

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  animation: fadeInUp 0.4s var(--ease-out);
}

.lightbox__content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-strong);
}

.lightbox__content p {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  text-align: center;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* — FAQ — */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  background: var(--bg-surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast), background var(--duration-fast);
}

.faq__item:hover {
  border-color: var(--border-accent);
  background: var(--bg-surface-2);
}

.faq__item[open] {
  background: var(--bg-surface-2);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  transition: color var(--duration-fast);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--accent-subtle);
  color: var(--accent);
  position: relative;
  transition: transform var(--duration-base) var(--ease-spring), background var(--duration-fast);
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--duration-base) var(--ease-out);
}

.faq__icon::before {
  width: 10px;
  height: 2px;
}

.faq__icon::after {
  width: 2px;
  height: 10px;
}

.faq__item[open] .faq__icon {
  background: var(--secondary-subtle);
  color: var(--secondary);
  transform: rotate(135deg);
}

.faq__item[open] .faq__icon::after {
  transform: rotate(90deg);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-slow) var(--ease-out);
}

.faq__item[open] .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer > * {
  overflow: hidden;
}

.faq__answer p {
  padding: 0 var(--space-5) var(--space-4);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.faq__answer a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: var(--weight-semibold);
}

/* — FINAL CTA — */
.final-cta {
  position: relative;
  padding: var(--space-12) 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(0, 168, 232, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, var(--bg-surface-2) 0%, var(--bg-surface-1) 50%, var(--bg-base) 100%);
  border-top: 1px solid var(--border);
}

.final-cta__inner {
  max-width: 800px;
  text-align: center;
}

.final-cta__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
}

.final-cta__subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-6);
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.final-cta__small {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* — FOOTER — */
.footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding: var(--space-10) 0 var(--space-6);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer__brand img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.footer__brand p {
  color: var(--text-secondary);
  line-height: var(--leading-loose);
  font-size: var(--text-sm);
}

.footer__links h3 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  transition: color var(--duration-fast);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-6);
}

.footer__credits {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-5);
}

.footer__credits p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: 0 !important;
}

.footer__agency {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--duration-fast);
}

.footer__agency:hover {
  color: #ffffff;
}

.footer__agency svg {
  width: 90px;
  height: auto;
  display: block;
}

.footer__disclaimer {
  text-align: center;
  font-size: var(--text-xs) !important;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* — WHATSAPP FLOAT — */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  z-index: var(--z-float);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: #25d366;
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--duration-base) var(--ease-out);
  animation: pulse 2s var(--ease-out) infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

/* — BACK TO TOP — */
.back-to-top {
  position: fixed;
  bottom: calc(var(--space-5) + 80px); /* Fica acima do botão do WhatsApp */
  right: var(--space-5);
  z-index: var(--z-float);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration-base) var(--ease-out);
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}

.back-to-top svg {
  transition: transform var(--duration-fast);
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* — COOKIE CONSENT — */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-modal);
  background: var(--bg-surface-1);
  border-top: 1px solid var(--border);
  padding: var(--space-4) 0;
  transform: translateY(100%);
  transition: transform var(--duration-slow) var(--ease-out);
}

.cookie-consent--visible {
  transform: translateY(0);
}

.cookie-consent__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.cookie-consent__content p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.cookie-consent__content a {
  color: var(--accent);
  text-decoration: underline;
}

/* — ANIMAÇÕES — */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
  }
}

/* — SCROLL REVEAL — */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .js .reveal--visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* — REDUCED MOTION — */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero__badge,
  .whatsapp-float {
    animation: none;
  }
}

/* — RESPONSIVIDADE — */
@media (max-width: 1024px) {
  :root {
    --text-5xl: 3rem;
    --text-4xl: 2.5rem;
    --text-3xl: 2rem;
  }
  
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero__content {
    order: 2;
  }
  
  .hero__visual {
    order: 1;
    margin-bottom: var(--space-6);
  }
  
  .hero__subtitle,
  .hero__trust {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero__actions {
    justify-content: center;
  }
  
  .hero__image-wrapper img {
    max-width: 360px;
  }
  
  .value__layout {
    grid-template-columns: 1fr;
  }
  
  .value__image {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline::before {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.75rem;
    --text-2xl: 1.5rem;
  }
  
  .header__cta {
    display: none;
  }
  
  .nav__toggle {
    display: flex;
  }
  
  .nav__menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--duration-base) var(--ease-out);
  }
  
  .nav__menu--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav__link {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
  }
  
  .problem__grid,
  .services__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
  
  .problem__agitate {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .problem__agitate-visual img {
    aspect-ratio: 16 / 9;
  }
  
  .quote__form {
    padding: var(--space-5);
  }
  
  .quote__card-head {
    padding: var(--space-5);
  }
  
  .quote__avatar {
    width: 44px;
    height: 44px;
  }
  
  .faq__item summary {
    font-size: var(--text-sm);
    padding: var(--space-4);
  }
  
  .faq__answer p {
    padding: 0 var(--space-4) var(--space-4);
  }
  
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  
  .gallery__item--large {
    grid-row: span 2;
  }
  
  .gallery__item--wide {
    grid-column: span 2;
  }
  
  .timeline {
    grid-template-columns: 1fr;
  }
  
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
  
  .footer__credits {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: var(--space-3);
  }
  
  .cookie-consent__content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero__actions,
  .final-cta__actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn--xl {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  .hero {
    padding: calc(var(--space-10) + 80px) 0 var(--space-10);
  }
  
  .hero__badge {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
  }
  
  .hero__badge svg {
    width: 18px;
    height: 18px;
  }
  
  .section {
    padding: var(--space-10) 0;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
  }
  
  .value__experience {
    bottom: -16px;
    right: -8px;
    padding: var(--space-4);
  }
  
  .value__number {
    font-size: var(--text-2xl);
  }
}

/* — HIGH CONTRAST — */
@media (prefers-contrast: more) {
  .btn--outline {
    border-width: 3px;
  }
  
  .nav__link::after {
    height: 3px;
  }
}
