/* ==========================================================================
   Metalrail – main.css
   Site: https://metalrail.com.br/site/
   ========================================================================== */

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */

:root {
  --color-primary: #DC2626;
  --color-primary-hover: #B91C1C;
  --color-accent: #FFC43D;
  --color-bg-dark: #0F0F10;
  --color-bg-dark-alt: #1C1C1E;
  --color-bg-light: #FFFFFF;
  --color-bg-light-alt: #F4F4F5;
  --color-text-on-dark: #F4F4F5;
  --color-text-on-light: #0F0F10;
  --color-text-muted: #52525B;
  --color-text-muted-on-dark: #A1A1AA;
  --color-border-light: #E4E4E7;
  --color-border-dark: #27272A;
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --max-width: 1200px;
  --max-width-narrow: 760px;
}

/* ==========================================================================
   1.1. Skip to content (acessibilidade WCAG 2.1)
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  font-weight: 600;
  text-decoration: none;
  border-bottom-right-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ==========================================================================
   2. Reset + Base Styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-on-light);
  background: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

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

input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  margin-block-end: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

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

.eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

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

.section {
  padding: var(--space-2xl) 0;
}

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

.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
  max-width: 720px;
  margin-inline: auto;
}

.section--dark .section__header p {
  color: var(--color-text-muted-on-dark);
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  border: 2px solid transparent;
  font-size: 1rem;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  color: white;
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.25);
}

.btn--outline-light {
  background: transparent;
  color: var(--color-text-on-dark);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn--outline-light:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.05);
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-text-on-light);
  border-color: var(--color-border-light);
}

.btn--accent {
  background: var(--color-accent);
  color: var(--color-bg-dark);
}

.btn--accent:hover {
  background: #f0b020;
}

.btn--full {
  width: 100%;
}

.btn--big {
  padding: 1.1rem 1.8rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   4. Topbar
   ========================================================================== */

.topbar {
  background: #080809;
  color: var(--color-text-muted-on-dark);
  font-size: 0.82rem;
  border-bottom: 1px solid var(--color-border-dark);
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-block: 0.5rem;
}

.topbar__item {
  color: inherit;
  white-space: nowrap;
  font-weight: 500;
}

.topbar__item--wa {
  color: var(--color-accent);
  font-weight: 700;
}

.topbar__item:hover {
  color: var(--color-text-on-dark);
  text-decoration: none;
}

@media (max-width: 768px) {
  .topbar {
    font-size: 0.72rem;
  }

  .topbar__inner {
    gap: 1rem;
    justify-content: center;
    padding-block: 0.4rem;
  }

  .topbar__item--loc {
    display: none;
  }
}

/* ==========================================================================
   5. Header
   ========================================================================== */

.header {
  background: rgba(15, 15, 16, 0.92);
  backdrop-filter: blur(8px);
  color: var(--color-text-on-dark);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border-dark);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.header__logo img {
  height: 38px;
  width: auto;
}

.nav {
  display: flex;
  gap: 2.5rem;
}

.nav a {
  color: var(--color-text-on-dark);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.nav-highlight {
  color: var(--color-accent) !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
}

.nav-highlight:hover {
  color: #FFA500 !important;
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  display: inline-block;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 196, 61, 0.6);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(255, 196, 61, 0);
  }
}

.header__cta {
  display: none;
}

@media (min-width: 900px) {
  .header__cta {
    display: inline-flex;
  }
}

.menu-toggle {
  display: none;
  color: white;
  padding: 0.4rem;
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }
}

/* ==========================================================================
   6. Mobile Menu
   ========================================================================== */

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 16, 0.98);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  color: var(--color-text-on-dark);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

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

.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: white;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   7. Hero
   ========================================================================== */

.hero {
  position: relative;
  color: var(--color-text-on-dark);
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/welding-450x800-1.jpg');
  background-size: cover;
  background-position: 60% center;
  filter: grayscale(0.2);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 15, 16, 0.97) 0%, rgba(15, 15, 16, 0.7) 55%, rgba(15, 15, 16, 0.35) 100%);
}

.hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 30%, rgba(220, 38, 38, 0.18), transparent 50%);
}

.hero__inner {
  position: relative;
  max-width: 760px;
  padding-block: 6rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: var(--color-bg-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 18ch;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted-on-dark);
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero__cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    min-height: 480px;
  }

  .hero__inner {
    padding-block: 4rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }
}

/* ==========================================================================
   8. Stats
   ========================================================================== */

.stats {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  border-block: 1px solid var(--color-border-dark);
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  padding-block: 2.5rem;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1;
  color: var(--color-accent);
}

.stat__label {
  font-size: 0.85rem;
  color: var(--color-text-muted-on-dark);
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .stats__inner {
    padding-block: 1.5rem;
  }
}

/* ==========================================================================
   9. Pitch (Posicionamento)
   ========================================================================== */

.pitch {
  text-align: center;
}

.pitch h2 {
  margin-bottom: 1.5rem;
}

.pitch p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   10. Services Grid
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: 18px;
  padding: 2.5rem;
  transition: all 0.2s ease;
  position: relative;
  overflow: visible;
}

.service-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.08);
}

.service-card--highlight {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, #fff 0%, #fff9ec 100%);
}

.service-card--highlight:hover {
  border-color: var(--color-accent);
  box-shadow: 0 12px 30px rgba(255, 196, 61, 0.15);
}

.service-card__badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--color-accent);
  color: var(--color-bg-dark);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ==========================================================================
   11. Laser Highlight Section
   ========================================================================== */

.laser-highlight {
  background: linear-gradient(135deg, #0F0F10 0%, #1C1C1E 100%);
  position: relative;
  overflow: hidden;
}

.laser-highlight::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at center, rgba(255, 196, 61, 0.18), transparent 65%);
  pointer-events: none;
}

.laser-highlight::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at center, rgba(220, 38, 38, 0.12), transparent 60%);
  pointer-events: none;
}

.laser-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.laser-content {
  position: relative;
  z-index: 1;
}

.laser-content h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--color-text-on-dark);
  line-height: 1.1;
}

.laser-accent {
  color: var(--color-accent);
  background: linear-gradient(90deg, var(--color-accent), #FFA500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.laser-content > p {
  color: var(--color-text-muted-on-dark);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  max-width: 520px;
}

.laser-benefits {
  list-style: none;
  margin-bottom: 2.5rem;
  padding: 0;
}

.laser-benefits li {
  color: var(--color-text-on-dark);
  padding: 0.45rem 0;
  font-size: 0.98rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.laser-benefits li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.laser-image {
  position: relative;
  z-index: 1;
}

.laser-image img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 196, 61, 0.1);
}

.laser-image::after {
  content: 'Solda a Laser · Metalrail';
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 2.5rem 1rem 0.5rem;
  border-radius: 0 0 18px 18px;
  pointer-events: none;
}

@media (max-width: 768px) {
  .laser-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .laser-image {
    order: -1;
  }

  .laser-image img {
    aspect-ratio: 16/10;
  }
}

/* ==========================================================================
   12. Steps (Como Funciona)
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.step {
  padding: 2.5rem;
  background: white;
  border-radius: 18px;
  border: 1px solid var(--color-border-light);
  transition: all 0.2s ease;
}

.step:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.step__num {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 0.92rem;
}

/* ==========================================================================
   13. Calculator
   ========================================================================== */

.calc {
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.calc__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.calc__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-text-on-light);
}

.calc__field select,
.calc__field input {
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  border: 2px solid var(--color-border-light);
  border-radius: 12px;
  background: white;
  color: var(--color-text-on-light);
  transition: border-color 0.2s ease;
  width: 100%;
}

.calc__field select:focus,
.calc__field input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.calc__result {
  text-align: center;
  padding: 2.5rem;
  background: var(--color-bg-light-alt);
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
}

.calc__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.calc__badge--ok {
  background: #16A34A;
  color: white;
}

.calc__badge--analyze {
  background: var(--color-accent);
  color: var(--color-bg-dark);
}

.calc__badge--outside {
  background: #F97316;
  color: white;
}

.calc__result p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .calc__row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   14. Setores (Sector Cards)
   ========================================================================== */

.setores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.setor-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  color: white;
  transition: transform 0.25s ease;
}

.setor-card:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.setor-card__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.setor-card:hover .setor-card__image {
  transform: scale(1.06);
}

.setor-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 15, 16, 0.92) 100%);
}

.setor-card__label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   15. Architecture Gallery
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: brightness(0.9);
}

.gallery img:hover {
  transform: scale(1.03);
  filter: brightness(1);
}

.arquitetura-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ==========================================================================
   16. Pillars (Por que Metalrail)
   ========================================================================== */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pillar {
  position: relative;
  padding: 2.5rem;
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.pillar:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.pillar::before {
  content: '';
  position: absolute;
  left: 2.5rem;
  top: 0;
  height: 4px;
  width: 56px;
  background: var(--color-primary);
}

.pillar__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--color-border-light);
  line-height: 1;
  margin-top: 1rem;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.pillar h3 {
  margin-bottom: 1rem;
}

.pillar p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ==========================================================================
   17. Clients Logos
   ========================================================================== */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.clients-grid img {
  max-height: 60px;
  width: auto;
  margin: 0 auto;
  filter: grayscale(1);
  opacity: 0.65;
  transition: all 0.25s ease;
}

.clients-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .clients-grid img {
    max-height: 48px;
  }
}

/* ==========================================================================
   18. FAQ
   ========================================================================== */

.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  padding: 1.5rem 2.5rem;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--color-primary);
}

.faq-item summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.25rem;
  color: var(--color-text-on-light);
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--color-primary);
  font-weight: 300;
  transition: transform 0.25s ease;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 1rem;
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   19. CTA Section
   ========================================================================== */

.cta-section {
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 1.5rem;
}

.cta-section > .container > p {
  color: var(--color-text-muted-on-dark);
  margin-bottom: 2.5rem;
}

.contact-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-block: 2.5rem 1.5rem;
}

.contact-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted-on-dark);
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.contact-note a {
  color: var(--color-accent);
}

/* ==========================================================================
   20. Footer
   ========================================================================== */

.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-muted-on-dark);
  padding-block: 4rem 2.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__brand img.brand-logo {
  width: 180px;
  margin-bottom: 1.5rem;
}

.footer__brand p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.footer__seal {
  width: 90px;
  opacity: 0.85;
}

.footer h4 {
  color: var(--color-text-on-dark);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul a {
  color: var(--color-text-muted-on-dark);
  font-size: 0.9rem;
}

.footer ul a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.footer__bottom {
  border-top: 1px solid var(--color-border-dark);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

.footer__contact p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer__contact strong {
  color: var(--color-text-on-dark);
  display: block;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   21. WhatsApp Float
   ========================================================================== */

.wa-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.08);
  text-decoration: none;
}

/* ==========================================================================
   22. Cookie Banner (LGPD)
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1C1C1E;
  color: #F4F4F5;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  z-index: 999;
  border-top: 1px solid #27272A;
  font-size: 0.88rem;
}

.cookie-banner p {
  margin: 0;
  max-width: 760px;
  color: #A1A1AA;
}

.cookie-banner p a {
  color: var(--color-accent);
}

.cookie-banner__btns {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner__btns .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
}

.cookie-banner.hidden {
  display: none;
}

/* ==========================================================================
   23. Reveal on Scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   24. Main Responsive
   ========================================================================== */

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .container {
    padding-inline: 1rem;
  }
}
