/* ==========================================================================
   Eletrodomésticos Rosa — Design System
   ========================================================================== */

:root {
  --orange-700: #9a3412;
  --orange-600: #c2410c;
  --orange-500: #e85d04;
  --orange-400: #f7941d;
  --orange-100: #fff2e6;

  --dark-900: #1a1c1f;
  --dark-800: #202226;
  --dark-700: #24262b;
  --dark-600: #34363c;

  --gray-700: #4b4f57;
  --gray-600: #5b5f66;
  --gray-400: #8b8f97;
  --gray-200: #e4e6ea;
  --gray-100: #f4f5f7;

  --white: #ffffff;
  --whatsapp: #12793d;

  --font-base: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

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

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

  --header-h: 120px;
  --container: 1180px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-base);
  color: var(--dark-700);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; color: var(--dark-800); }
input, textarea { font: inherit; }

@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;
  }
}

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--dark-800);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--gray-100); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-600);
  background: var(--orange-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 44px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 12px;
}
.section-head p { color: var(--gray-600); font-size: 1.05rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background-color 0.15s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--orange-600);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--orange-700); box-shadow: var(--shadow-md); }

.btn-dark {
  background: var(--dark-800);
  color: var(--white);
}
.btn-dark:hover { background: var(--dark-900); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--dark-800);
  border: 2px solid var(--gray-200);
}
.btn-outline:hover { border-color: var(--orange-500); color: var(--orange-600); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn-whatsapp:hover { background: #0d5c2e; box-shadow: var(--shadow-md); }

.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 0.92rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img { height: 88px; width: auto; }

.main-nav {
  display: none;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--dark-700);
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.main-nav a:hover,
.main-nav a:focus-visible { background: var(--orange-100); color: var(--orange-600); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-actions .btn-outline { display: none; }
.header-inner .header-actions .btn-whatsapp { display: none; }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 400;
  padding: 24px 20px 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.mobile-nav a {
  display: block;
  padding: 16px 14px;
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: 1px solid var(--gray-200);
  min-height: 48px;
}
.mobile-nav .header-actions { flex-direction: column; align-items: stretch; }
.mobile-nav .header-actions .btn { width: 100%; }
.mobile-nav .header-actions .btn-outline { display: inline-flex; }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .header-actions .btn-outline { display: inline-flex; }
  .header-inner .header-actions .btn-whatsapp { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--dark-900) 0%, var(--dark-800) 55%, #2a2115 100%);
  color: var(--white);
  padding: clamp(12px, 1.5vw, 20px) 0 clamp(28px, 4vw, 44px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 85% 15%, rgba(247, 148, 29, 0.35), transparent 60%),
    radial-gradient(500px 380px at 100% 100%, rgba(194, 65, 12, 0.3), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: start;
}
.hero-content { max-width: 640px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(247, 148, 29, 0.15);
  border: 1px solid rgba(247, 148, 29, 0.4);
  color: var(--orange-400);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 22px;
  max-width: 54ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--orange-400); flex-shrink: 0; }

.hero-media {
  position: relative;
  align-self: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.hero-media-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  background: rgba(20, 20, 25, 0.72);
  backdrop-filter: blur(6px);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* ==========================================================================
   Quem Somos
   ========================================================================== */
.about-grid {
  display: grid;
  align-items: center;
  gap: 40px;
}
.about-text p { color: var(--gray-700); margin-bottom: 16px; font-size: 1.02rem; }
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
}
.value-card svg { width: 26px; height: 26px; color: var(--orange-600); margin-bottom: 10px; }
.value-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.value-card p { color: var(--gray-600); font-size: 0.92rem; }

.brands-box {
  background: var(--dark-800);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.brands-box h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 6px; }
.brands-box p { color: rgba(255, 255, 255, 0.65); font-size: 0.92rem; margin-bottom: 18px; }
.brand-list { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1.4fr 1fr; }
}

/* ==========================================================================
   Serviços
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.06); }
.service-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-body h3 { font-size: 1.2rem; }
.service-body p { color: var(--gray-600); font-size: 0.95rem; }
.service-details {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin: 4px 0 6px;
}
.service-details li { display: flex; gap: 8px; align-items: flex-start; }
.service-details svg { width: 16px; height: 16px; color: var(--orange-600); flex-shrink: 0; margin-top: 3px; }
.service-details[hidden] { display: none; }
.service-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.service-actions .btn { flex: 1; min-width: 140px; }

.services-cta {
  margin-top: 44px;
  background: var(--orange-100);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.services-cta h3 { font-size: 1.3rem; margin-bottom: 6px; }
.services-cta p { color: var(--gray-700); }

/* ==========================================================================
   Área de Atendimento
   ========================================================================== */
.area-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.area-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.area-item.is-main { border-color: var(--orange-500); background: var(--orange-100); }
.area-item svg { width: 22px; height: 22px; color: var(--orange-600); flex-shrink: 0; }
.area-item strong { display: block; font-size: 0.98rem; }
.area-item span { display: block; font-size: 0.82rem; color: var(--gray-600); }
.area-note {
  margin-top: 18px;
  color: var(--gray-600);
  font-size: 0.92rem;
}

/* ==========================================================================
   Quiz CTA banner
   ========================================================================== */
.quiz-banner {
  background: linear-gradient(135deg, var(--dark-900), var(--dark-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  gap: 24px;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quiz-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 260px at 50% 0%, rgba(247, 148, 29, 0.28), transparent 70%);
}
.quiz-banner > * { position: relative; }
.quiz-banner h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; }
.quiz-banner p { color: rgba(255, 255, 255, 0.75); max-width: 46ch; margin-inline: auto; margin-bottom: 6px; }

/* ==========================================================================
   Contato
   ========================================================================== */
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
}
.contact-card h3 { font-size: 1.2rem; margin-bottom: 20px; }
.contact-line-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.contact-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px;
}
.contact-line svg { width: 22px; height: 22px; color: var(--orange-600); flex-shrink: 0; margin-top: 2px; }
.contact-line strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.contact-line span, .contact-line a { color: var(--gray-600); font-size: 0.92rem; }
.contact-line a:hover { color: var(--orange-600); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--dark-900);
  color: rgba(255, 255, 255, 0.8);
  padding: clamp(48px, 7vw, 72px) 0 28px;
}
.footer-grid {
  display: grid;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; color: rgba(255, 255, 255, 0.6); }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease);
}
.social-links a svg { width: 20px; height: 20px; }
.social-links a:hover { background: var(--orange-500); border-color: var(--orange-500); color: var(--white); transform: translateY(-2px); }
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col span { font-size: 0.92rem; color: rgba(255, 255, 255, 0.65); }
.footer-col a:hover { color: var(--orange-400); }
.footer-col li { display: flex; gap: 8px; }
.footer-col svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--orange-400); }

.newsletter-form { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.newsletter-form input[type="email"] {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 0.92rem;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.newsletter-note { font-size: 0.82rem; color: rgba(255, 255, 255, 0.45); min-height: 1.2em; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a:hover { color: var(--orange-400); }

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; }
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 600;
  transition: transform 0.2s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ==========================================================================
   Quiz Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 18, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 900;
}
.modal-overlay.is-open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
}
.modal-close svg { width: 18px; height: 18px; }
.modal-box h2 { font-size: 1.4rem; margin-bottom: 6px; padding-right: 40px; }
.modal-box > p { color: var(--gray-600); margin-bottom: 22px; font-size: 0.95rem; }
.quiz-step[hidden] { display: none; }
.quiz-progress { display: flex; gap: 6px; margin-bottom: 20px; }
.quiz-progress span { height: 5px; flex: 1; border-radius: 999px; background: var(--gray-200); }
.quiz-progress span.is-active { background: var(--orange-500); }
.quiz-step h3 { font-size: 1.02rem; margin-bottom: 14px; }
.quiz-options { display: grid; gap: 10px; margin-bottom: 22px; }
.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  min-height: 48px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.quiz-option:hover { border-color: var(--orange-400); background: var(--orange-100); }
.quiz-option.is-selected { border-color: var(--orange-600); background: var(--orange-100); color: var(--orange-700); }
.quiz-nav { display: flex; justify-content: space-between; gap: 10px; }
.quiz-result { text-align: center; }
.quiz-result svg { width: 52px; height: 52px; color: var(--whatsapp); margin-bottom: 14px; }
.quiz-result p { color: var(--gray-600); margin-bottom: 22px; }

/* ==========================================================================
   Cookie Consent Banner (generated by lgpd-consent.js)
   ========================================================================== */
.lgpd-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 520px;
  margin-inline: auto;
  background: var(--dark-800);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 800;
  transform: translateY(120%);
  transition: transform 0.3s var(--ease);
}
.lgpd-banner.is-visible { transform: translateY(0); }
.lgpd-banner p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.78); margin-bottom: 14px; }
.lgpd-banner a { color: var(--orange-400); text-decoration: underline; }
.lgpd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lgpd-actions button { flex: 1; min-width: 120px; }

@media (min-width: 640px) {
  .lgpd-banner { left: auto; right: 24px; bottom: 24px; }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .hero-ctas .btn,
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { width: 100%; }
}
