/* =========================================================
   AQUECEDORES FORTES — Design System
   Tema: Sol / Calor — amarelo-sol, laranja-chama, papel cru
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Karla:wght@400;500;600;700;800&display=swap');

:root {
  /* Cor — paleta do sol */
  --cream:        #FFFBF2;   /* fundo principal */
  --paper:        #FFF3DD;   /* fundo alternado / cartões */
  --paper-line:   #F0DDB8;   /* bordas suaves */
  --sun:          #FFB627;   /* amarelo-sol — cor de destaque primária */
  --sun-deep:     #F59B15;   /* amarelo mais profundo (hover) */
  --flame:        #E8590C;   /* laranja-chama — CTAs, ícones */
  --flame-deep:   #C7430A;   /* laranja escuro (hover de CTA) */
  --ember:        #B23A1B;   /* acento mais escuro, usado com moderação */
  --charcoal:     #3A2A18;   /* texto principal (marrom-carvão, não preto puro) */
  --charcoal-soft:#6E5A42;   /* texto secundário */
  --white:        #FFFFFF;

  /* Tipografia */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 30px -12px rgba(58, 42, 24, 0.18);
  --shadow-lift: 0 18px 40px -14px rgba(232, 89, 12, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 700; }

p { margin: 0 0 1em; color: var(--charcoal-soft); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flame-deep);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--flame);
  border-radius: 2px;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sun-deep);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   BOTÕES
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--flame), var(--ember));
  color: var(--white);
  box-shadow: var(--shadow-lift);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -14px rgba(232,89,12,0.4); }
.btn-secondary {
  background: var(--white);
  color: var(--flame-deep);
  border: 2px solid var(--paper-line);
}
.btn-secondary:hover { border-color: var(--flame); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  padding: 10px 4px;
  font-weight: 700;
  border-bottom: 2px solid var(--sun);
  border-radius: 0;
}
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* =========================================================
   TOPO — barra de contato
   ========================================================= */
.topbar {
  background: var(--charcoal);
  color: #F4E8D6;
  font-size: 0.82rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info strong { color: var(--sun); font-weight: 700; }
.topbar a.whatsapp-link { color: #F4E8D6; font-weight: 700; }
.topbar a.whatsapp-link:hover { color: var(--sun); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
header.site-header {
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--paper-line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--charcoal);
}
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand span.small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--flame-deep); }

nav.main-nav { display: flex; align-items: center; gap: 30px; }
nav.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
nav.main-nav a.nav-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
}
nav.main-nav a.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--flame);
  transition: width 0.2s ease;
}
nav.main-nav a.nav-link:hover::after,
nav.main-nav a.nav-link.active::after { width: 100%; }
nav.main-nav a.nav-link.active { color: var(--flame-deep); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--charcoal);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.25s ease;
}

@media (max-width: 940px) {
  nav.main-nav {
    position: fixed;
    inset: 0 0 0 30%;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -20px 0 40px rgba(0,0,0,0.1);
  }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav ul { flex-direction: column; gap: 22px; width: 100%; }
  .nav-actions { flex-direction: column; align-items: flex-start; margin-top: 30px; width: 100%; }
  .nav-actions .btn { width: 100%; }
  .nav-toggle { display: block; }
  .topbar-info span:nth-child(3) { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 90px;
  background: radial-gradient(circle at 82% 20%, #FFE9BE 0%, var(--cream) 55%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.hero-copy p.lead { font-size: 1.12rem; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.hero-stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--flame-deep);
}
.hero-stats .stat span {
  font-size: 0.8rem;
  color: var(--charcoal-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* Sol decorativo — elemento de assinatura */
.sun-graphic {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 460px;
  margin: 0 auto;
}
.sun-core {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FFD873, var(--sun) 45%, var(--flame) 100%);
  box-shadow: 0 30px 60px -20px rgba(232, 89, 12, 0.55);
}
.sun-rays {
  position: absolute;
  inset: 0;
  animation: spin 40s linear infinite;
}
.sun-rays .ray {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 18%;
  background: linear-gradient(var(--sun), transparent);
  border-radius: 6px;
  transform-origin: 50% 250%;
  opacity: 0.85;
}
@keyframes spin { from { transform: rotate(0deg);} to { transform: rotate(360deg);} }

/* =========================================================
   SEÇÕES GENÉRICAS
   ========================================================= */
section { padding: 84px 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 680px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Cards de serviço / produto */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.card .icon-badge { margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 14px; }
.card a.card-link { font-weight: 800; color: var(--flame-deep); font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.04em; }

.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFE3AD, #FFC888);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--flame-deep);
}
.icon-badge svg { width: 26px; height: 26px; }

/* História / imagem-texto */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.frame-art {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, #FFD873, var(--flame));
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.frame-art svg { width: 55%; height: 55%; opacity: 0.92; }

/* Marcas */
.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.brand-pill {
  border: 1.5px solid var(--paper-line);
  background: var(--white);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--charcoal);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.brand-pill:hover { border-color: var(--flame); color: var(--flame-deep); }

/* Depoimentos */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--paper-line);
}
.testimonial .stars { color: var(--sun-deep); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial .who { margin-top: 16px; font-weight: 800; color: var(--charcoal); font-size: 0.9rem; }
.testimonial .who span { display: block; font-weight: 500; color: var(--charcoal-soft); font-size: 0.82rem; }

/* CTA faixa */
.cta-band {
  background: linear-gradient(120deg, var(--flame) 0%, var(--ember) 100%);
  color: var(--white);
  border-radius: 24px;
  padding: 56px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: #FFE3C3; margin-bottom: 0; }
.cta-band .btn-primary { background: var(--white); color: var(--flame-deep); box-shadow: none; }
.cta-band .btn-primary:hover { background: #FFF4E0; }

/* Listas com check */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.check-list li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--flame); margin-top: 3px; }

/* Formulário */
.form-card {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 34px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--paper-line);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--flame);
  outline: none;
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.82rem; color: var(--charcoal-soft); margin-top: 10px; }
#form-feedback { margin-top: 14px; font-weight: 700; display: none; }
#form-feedback.show { display: block; }

/* Mapa / unidade */
.unit-card {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.unit-card iframe { width: 100%; height: 260px; border: 0; display: block; filter: grayscale(0.15) sepia(0.08); }
.unit-card .unit-body { padding: 24px 26px; }
.unit-card h3 { margin-bottom: 12px; }
.unit-card p { margin-bottom: 6px; font-size: 0.94rem; }
.unit-card strong { color: var(--charcoal); }

/* Breadcrumb / page hero interno */
.page-hero {
  background: linear-gradient(180deg, #FFE9BE, var(--cream));
  padding: 54px 0 44px;
  border-bottom: 1px solid var(--paper-line);
}
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero p { max-width: 620px; }

/* Accordion (FAQ / serviços) */
.accordion-item {
  border-bottom: 1px solid var(--paper-line);
}
.accordion-item button.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 20px;
}
.accordion-item .accordion-icon { flex-shrink: 0; transition: transform 0.25s ease; color: var(--flame); font-size: 1.4rem; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-item.open .accordion-panel { max-height: 320px; }
.accordion-panel .inner { padding-bottom: 22px; color: var(--charcoal-soft); }

/* Tabela de marcas atendidas dentro de produto */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--charcoal-soft);
}

/* =========================================================
   FOOTER
   ========================================================= */
footer.site-footer {
  background: var(--charcoal);
  color: #E7D8C2;
  padding-top: 64px;
}
footer.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
footer.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
footer.site-footer p { color: #C9B79C; font-size: 0.92rem; }
footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer ul li { margin-bottom: 10px; }
footer.site-footer ul li a { color: #E7D8C2; font-size: 0.92rem; }
footer.site-footer ul li a:hover { color: var(--sun); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 0.82rem;
  color: #A9977C;
  flex-wrap: wrap;
  gap: 10px;
}

/* Botão flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.35);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .sun-graphic { order: -1; max-width: 280px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  footer.site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px 28px; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .topbar .container { justify-content: center; text-align: center; }
  footer.site-footer .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { text-align: center; justify-content: center; }
}
