/* ==========================================================================
   RICEL ASSISTÊNCIA TÉCNICA - Apple-Style Premium Design System
   Modern, Ultra-Fast, Responsive & High-Converting
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --font-primary: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Cores Estilo Apple - High Contrast & Premium Glow */
  --color-apple-black: #000000;
  --color-apple-midnight: #080d1a;
  --color-apple-dark: #0f172a;
  --color-apple-slate: #1e293b;
  
  --color-primary: #1e3a8a;       /* Deep Royal Blue */
  --color-primary-light: #2563eb; /* Vibrant Electric Blue */
  --color-primary-cyan: #06b6d4;  /* Tech Cyan Glow */
  
  --color-accent: #0d9488;       /* Electric Emerald Teal */
  --color-accent-light: #14b8a6;
  
  --color-amber: #f59e0b;        /* Warm Gold Star */
  --color-whatsapp: #22c55e;     /* WhatsApp Emerald */
  --color-whatsapp-hover: #16a34a;
  
  --color-bg-light: #f8fafc;
  --color-bg-card: #ffffff;
  --color-text-main: #0f172a;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;

  /* Sombras & Efeitos Vidro Glassmorphic */
  --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 12px -2px rgba(0, 0, 0, 0.06), 0 3px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 15px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);

  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-full: 9999px;

  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

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

a:hover {
  color: var(--color-primary);
}

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

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Topo Informativo com Status da Loja */
.top-bar {
  background: var(--color-apple-midnight);
  color: #f1f5f9;
  padding: 0.5rem 0;
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-info span, .top-bar-info a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #cbd5e1;
  font-weight: 500;
}

.top-bar-info a:hover {
  color: #ffffff;
}

.store-status-badge.status-open .status-indicator-text {
  color: #4ade80;
  font-weight: 600;
}

.store-status-badge.status-closed .status-indicator-text {
  color: #f87171;
  font-weight: 600;
}

/* Header & Navegação Estilo Apple Translúcido */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0.5rem 0;
  gap: 1rem;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-heading);
}

.logo-brand .brand-name {
  font-weight: 900;
  letter-spacing: -0.8px;
  color: var(--color-apple-midnight);
}

.logo-brand .badge-ricel {
  background: linear-gradient(135deg, #2563eb, #0d9488);
  color: #ffffff;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.35rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-weight: 600;
  color: #334155;
  font-size: 0.925rem;
  padding: 0.4rem 0;
  white-space: nowrap;
  display: inline-block;
  position: relative;
  transition: var(--transition-fast);
}

.main-nav a:hover, .main-nav a.active {
  color: var(--color-primary-light);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
}

.header-cta-btn {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.88rem;
  padding: 0.65rem 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  text-align: center;
  font-family: var(--font-heading);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.45);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #ffffff;
  border-color: var(--color-whatsapp);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-whatsapp::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23ffffff' d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.btn-whatsapp:hover {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

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

.btn-outline:hover {
  background: var(--color-primary-light);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--color-text-main);
  cursor: pointer;
}

/* HERO SHOWCASE - ESTILO APPLE PRODUCT LAUNCH */
.hero-section {
  background: linear-gradient(180deg, rgba(8, 13, 26, 0.92) 0%, rgba(15, 23, 42, 0.85) 100%), url('/assets/img/assistencia-tecnica-celular-campinas.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 5rem 0 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(13, 148, 136, 0.15) 50%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.hero-title span.highlight {
  background: linear-gradient(135deg, #60a5fa 0%, #34d399 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: #94a3b8;
  margin-bottom: 2.25rem;
  line-height: 1.7;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
}

/* Card de Orçamento Hero Glassmorphic */
.hero-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  color: var(--color-text-main);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--color-apple-midnight);
}

.hero-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #334155;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  background: #f8fafc;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

/* Seções Gerais com Espaçamento Estilo Apple */
.section-padding {
  padding: 5.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-apple-midnight);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  font-weight: 400;
}

/* Cards de Serviço Minimalistas Apple */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

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

.card-service {
  background: var(--color-bg-card);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
}

.card-service:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -10px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.35);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(13, 148, 136, 0.12));
  color: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1.35rem;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--color-apple-midnight);
}

.card-text {
  color: var(--color-text-muted);
  font-size: 0.975rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

/* Callout Alert / Transparência Técnica */
.alert-box {
  background: #fffbeb;
  border-left: 4px solid var(--color-amber);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  margin: 2rem 0;
  color: #78350f;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}

.alert-box h4 {
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: #92400e;
}

/* FAQ Accordion Estilo Apple Clean */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.4);
}

.faq-question {
  width: 100%;
  padding: 1.35rem;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-apple-midnight);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
}

.faq-answer {
  padding: 0 1.35rem 1.35rem 1.35rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Breadcrumb Styling */
.breadcrumbs-wrapper {
  background: #f1f5f9;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.breadcrumb-item a {
  color: var(--color-primary-light);
  font-weight: 600;
}

.breadcrumb-item.active span {
  color: var(--color-text-main);
  font-weight: 700;
}

/* Bairros Grid Tags */
.neighborhood-tag {
  display: inline-block;
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--color-apple-midnight);
  transition: var(--transition-fast);
  margin: 0.4rem;
  box-shadow: var(--shadow-sm);
}

.neighborhood-tag:hover {
  background: var(--color-primary-light) !important;
  color: #ffffff !important;
  border-color: var(--color-primary-light) !important;
  transform: translateY(-2px);
}

/* Floating WhatsApp Button Mobile */
.floating-whatsapp {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  background: var(--color-whatsapp);
  color: #ffffff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.45);
  transition: var(--transition-normal);
}

.floating-whatsapp:hover {
  transform: scale(1.12);
  color: #ffffff;
}

/* Footer Dark Apple Style */
.site-footer {
  background: var(--color-apple-midnight);
  color: #94a3b8;
  padding: 4.5rem 0 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.35rem;
  font-weight: 800;
}

.footer-col p {
  font-size: 0.925rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col ul a {
  color: #94a3b8;
  font-size: 0.925rem;
}

.footer-col ul a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
}

/* Responsividade Mobile & Tablet */
@media (max-width: 1080px) {
  .main-nav ul {
    gap: 0.85rem;
  }
  .main-nav a {
    font-size: 0.875rem;
  }
  .hero-title {
    font-size: 2.6rem;
  }
}

@media (max-width: 960px) {
  .top-bar-content {
    justify-content: center;
    text-align: center;
  }
  .top-bar-info {
    justify-content: center;
    font-size: 0.8rem;
  }
  .mobile-toggle {
    display: block;
  }
  .header-cta-btn {
    display: none;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--color-border);
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
  }
  .main-nav a {
    font-size: 1.05rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding: 3.5rem 0;
  }
  .hero-title {
    font-size: 1.95rem;
  }
}
