/* ============================
   C. Brum Metalúrgica – Styles
   ============================ */

:root {
  --primary: #f5c418;
  --primary-dark: #d4a800;
  --primary-light: #ffd53d;
  --navy: #1e2d60;
  --navy-dark: #131e45;
  --navy-light: #263580;
  --dark: #0d1120;
  --dark-2: #111827;
  --dark-3: #1a2336;
  --dark-4: #222d44;
  --gray: #6b6b6b;
  --gray-light: #a0a0a0;
  --border: #2a3550;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --text: #dde4f0;
  --text-muted: #8a9ab8;

  --font: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
  --transition: 0.25s ease;
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ========== CONTAINER ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--primary);
  color: var(--navy-dark);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,196,24,0.40);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

/* ========== HEADER ========== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  background: rgba(13,17,32,0.97);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
  border-bottom: 1px solid rgba(245,196,24,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 82px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height var(--transition);
}
#header.scrolled .logo-img {
  height: 44px;
}

#nav { margin-left: auto; }
#nav ul { display: flex; gap: 4px; }
#nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}
#nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }

.header-cta { flex-shrink: 0; }

#menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  margin-left: auto;
}
#menu-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

/* Mosaico de imagens no fundo do hero */
.hero-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  z-index: 0;
  pointer-events: none;
}
.hero-mosaic__item {
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  mix-blend-mode: luminosity;
  filter: grayscale(30%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,17,32,0.1) 0%,
    transparent 50%,
    rgba(13,17,32,0.85) 100%
  );
  pointer-events: none;
}

/* Pattern overlay for visual interest */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(245,196,24,0.04) 40px,
      rgba(245,196,24,0.04) 41px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(245,196,24,0.04) 40px,
      rgba(245,196,24,0.04) 41px
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding-top: 120px;
  padding-bottom: 100px;
  min-height: 100vh;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,196,24,0.15);
  border: 1px solid rgba(245,196,24,0.40);
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.stat span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* Phones dentro do hero */
.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 660px;
}
.hero-phones::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(245,196,24,0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ========== SECTION COMMONS ========== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

/* ========== PORTAS DE ENROLAR ========== */
.section-portas {
  padding: 100px 0 80px;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
}

.portas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 64px;
}

.porta-card {
  position: relative;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: var(--transition);
  overflow: hidden;
}
.porta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.porta-card:hover { border-color: rgba(245,196,24,0.40); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.porta-card:hover::before { transform: scaleX(1); }

.porta-card__badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 100px;
}
.porta-card__badge--dark {
  background: var(--dark-4);
  border: 1px solid var(--border);
  color: var(--gray-light);
}

.porta-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(245,196,24,0.12);
  border: 1px solid rgba(245,196,24,0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.porta-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.3;
}
.porta-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.porta-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.porta-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.porta-features li i {
  color: var(--primary);
  font-size: 0.8rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Frase de esclarecimento Porta x Portão */
.portas-clarify {
  max-width: 760px;
  margin: 16px auto 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.portas-clarify strong { color: var(--white); }

/* Linha de uso dentro do card */
.porta-card__use {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 16px;
}

/* Sub-bloco de diferenciais do portão industrial */
.porta-extra {
  margin-bottom: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.porta-extra__title {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 14px;
}
.porta-extra .porta-features { margin-bottom: 0; }

/* Diferenciais */
.portas-diferenciais {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.diferencial {
  text-align: center;
  padding: 20px 16px;
}
.diferencial i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 14px;
}
.diferencial h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.diferencial p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== BANNER CTA ========== */
.banner-cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  border-top: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  padding: 60px 0;
}
.banner-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.banner-cta h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.banner-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
}
.banner-cta .btn-primary {
  background: var(--primary);
  color: var(--navy-dark);
  font-size: 1rem;
}
.banner-cta .btn-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 6px 20px rgba(245,196,24,0.35);
}

/* ========== SERVIÇOS ========== */
.section-servicos {
  padding: 100px 0;
  background: var(--dark);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.servico-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}
.servico-card:hover {
  border-color: rgba(245,196,24,0.30);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.servico-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(245,196,24,0.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 18px;
}
.servico-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.servico-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== SOBRE NÓS ========== */
.section-sobre {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-top: 1px solid rgba(245,196,24,0.2);
  border-bottom: 1px solid rgba(245,196,24,0.2);
}
.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sobre-content .section-label { margin-bottom: 12px; }
.sobre-content h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.2;
}
.sobre-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.sobre-content p strong { color: var(--white); }

.sobre-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.sobre-stat strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.sobre-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.sobre-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sobre-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  transition: var(--transition);
}
.sobre-card:hover { border-color: rgba(245,196,24,0.4); background: rgba(255,255,255,0.09); }
.sobre-card i {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.sobre-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.sobre-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.sobre-card--highlight {
  background: rgba(245,196,24,0.12);
  border-color: rgba(245,196,24,0.40);
}

/* ========== CONTATO ========== */
.section-contato {
  padding: 100px 0;
  background: var(--dark);
}
.section-header--light h2 { color: var(--white); }
.section-label--light { color: var(--primary); }

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contato-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.contato-item__icon {
  width: 56px;
  height: 56px;
  background: rgba(245,196,24,0.10);
  border: 1px solid rgba(245,196,24,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
}
.contato-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.contato-item a {
  color: var(--primary-light);
  font-size: 1.2rem;
  font-weight: 700;
}
.contato-item a:hover { color: var(--white); }
.contato-item p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.contato-social {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.contato-social a {
  width: 52px;
  height: 52px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gray-light);
  transition: var(--transition);
}
.contato-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Form */
.contato-form {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--dark-3); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ========== FOOTER ========== */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links h4,
.footer-contato h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--primary); }

.footer-contato { display: flex; flex-direction: column; gap: 12px; }
.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #25d366;
  font-weight: 600;
  font-size: 1rem;
}
.footer-whatsapp:hover { color: #1ebe5d; }
.footer-contato p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-contato p i { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* Logo light variant */
.logo--light .logo-text { color: var(--white); }

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
.whatsapp-float__tooltip {
  position: absolute;
  right: 72px;
  background: var(--dark-3);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }

/* ========== ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .sobre-inner { grid-template-columns: 1fr; gap: 48px; }
  .contato-grid { grid-template-columns: 1fr; }
  .portas-diferenciais { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Header mobile */
  #nav {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark-2);
    border-left: 1px solid var(--border);
    padding: 80px 32px 32px;
    transition: right var(--transition);
    z-index: 999;
  }
  #nav.open { right: 0; }
  #nav ul { flex-direction: column; gap: 4px; }
  #nav a { display: block; padding: 12px 16px; font-size: 1rem; }

  #menu-toggle { display: flex; }
  .header-cta { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 110px;
    padding-bottom: 80px;
    gap: 0;
    min-height: 100vh;
    align-items: center;
  }
  .hero-phones { display: none; }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-stats { gap: 24px; }

  .portas-grid { grid-template-columns: 1fr; }
  .portas-diferenciais { grid-template-columns: 1fr; padding: 28px; }

  .banner-cta__inner { flex-direction: column; text-align: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .contato-form { padding: 24px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .sobre-stats { gap: 20px; }
  .hero-content h1 { font-size: 1.8rem; }
}

/* ========== SEÇÃO VÍDEOS + PHONE MOCKUP ========== */
.section-videos {
  padding: 100px 0;
  background: var(--dark-2);
  overflow: hidden;
}

.videos-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.videos-text h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.videos-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.videos-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.videos-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}
.videos-checklist li i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.videos-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 660px;
}

.phone {
  position: absolute;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.6));
}
.phone--main {
  z-index: 2;
  transform: rotate(-4deg) translateX(40px);
}
.phone--secondary {
  z-index: 1;
  transform: rotate(6deg) translateX(-100px) translateY(28px) scale(0.88);
  opacity: 0.75;
}

.phone__frame {
  width: 280px;
  background: #0a0a14;
  border-radius: 40px;
  border: 6px solid #2a2a3a;
  box-shadow: inset 0 0 0 2px #3a3a50, 0 0 0 1px #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.phone__notch {
  width: 80px;
  height: 22px;
  background: #0a0a14;
  border-radius: 0 0 16px 16px;
  margin-top: -1px;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
}
.phone__notch::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #1a1a2a;
  border-radius: 50%;
  border: 1px solid #333;
}

.phone__screen {
  width: 100%;
  flex: 1;
  background: #000;
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone__screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.phone__screen-placeholder {
  width: 100%;
  height: 100%;
  min-height: 480px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  text-align: center;
  padding: 20px;
}
.phone__screen-placeholder i {
  font-size: 2.5rem;
  color: rgba(245,196,24,0.4);
}

.phone__home {
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  margin: 10px auto;
  flex-shrink: 0;
}

.videos-phones::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(245,196,24,0.12) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 900px) {
  .videos-inner { grid-template-columns: 1fr; gap: 48px; }
  .videos-phones { height: 460px; order: -1; }
}

@media (max-width: 480px) {
  .phone--main { transform: rotate(-3deg) translateX(20px); }
  .phone--secondary { transform: rotate(5deg) translateX(-60px) translateY(16px) scale(0.82); }
  .phone__frame { width: 180px; }
  .phone__screen { min-height: 300px; }
  .phone__screen-placeholder { min-height: 300px; }
  .videos-phones { height: 380px; }
}

/* ========== GRADE DE VÍDEOS ========== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}


.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark-3);
  border: 1px solid var(--border);
  aspect-ratio: 9/16;
  position: relative;
  transition: var(--transition);
}
.video-card:hover {
  border-color: rgba(245,196,24,0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.videos-cta {
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .video-card:nth-child(4),
  .video-card:nth-child(5) { grid-column: auto; }
}

@media (max-width: 600px) {
  .videos-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ========== MAPAS ========== */
.contato-mapas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.mapa-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.mapa-card:hover {
  border-color: rgba(245,196,24,0.35);
}

.mapa-card__info {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
}
.mapa-card__info .contato-item__icon {
  flex-shrink: 0;
}
.mapa-card__info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.mapa-card__info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.mapa-card iframe {
  display: block;
  filter: invert(90%) hue-rotate(180deg) brightness(0.85) contrast(0.9);
}

@media (max-width: 768px) {
  .contato-mapas { grid-template-columns: 1fr; }
}
