/* =============================================
   FenixGarage.pt — Folha de Estilo Principal
   Design: clean / light / Google-style
   ============================================= */

/* --- Variáveis & Reset --- */
:root {
  --bg:          #ffffff;
  --bg-card:     #ffffff;
  --bg-section:  #f8f9fa;
  --bg-input:    #f1f3f4;
  --accent:      #e8711a;
  --accent-hover:#c9600e;
  --accent-dim:  rgba(232,113,26,0.08);
  --text:        #202124;
  --text-muted:  #5f6368;
  --text-dim:    #9aa0a6;
  --border:      #dadce0;
  --border-light:#e8eaed;
  --radius:      8px;
  --radius-lg:   12px;
  --shadow-sm:   0 1px 2px rgba(60,64,67,0.12), 0 1px 3px rgba(60,64,67,0.08);
  --shadow:      0 1px 3px rgba(60,64,67,0.15), 0 4px 12px rgba(60,64,67,0.10);
  --shadow-card: 0 1px 2px rgba(60,64,67,0.08), 0 2px 6px rgba(60,64,67,0.06);
  --nav-height:  64px;
  --max-width:   1200px;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* --- Tipografia --- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
h4 { font-size: 1rem; font-weight: 600; }

p { color: var(--text-muted); line-height: 1.65; }

.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) { .container { padding: 0 2rem; } }

.section      { padding: 4.5rem 0; }
.section-alt  { background: var(--bg-section); }

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 { margin-bottom: 0.6rem; }

.section-header p {
  max-width: 560px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* --- Botões --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 3px rgba(232,113,26,0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 2px 8px rgba(232,113,26,0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding-left: 0;
  padding-right: 0;
}

.btn-ghost:hover { color: var(--accent-hover); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 1px 3px rgba(37,211,102,0.25);
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  box-shadow: 0 2px 8px rgba(37,211,102,0.35);
  transform: translateY(-1px);
}

.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }
.btn-sm { padding: 0.45rem 0.9rem;  font-size: 0.8rem; }

/* --- Navegação --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  transition: box-shadow 0.2s ease;
}

.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo img { height: 38px; width: auto; }

.nav-links {
  display: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover { color: var(--text); }

.nav-links a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-cta { display: none; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta   { display: inline-flex; }
}

.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.25s ease;
  border-radius: 2px;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
  z-index: 99;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: color 0.15s;
}

.nav-mobile a:hover { color: var(--accent); }
.nav-mobile a:last-child { border-bottom: none; }

/* --- Hero (split layout — limpo) --- */
.hero {
  padding: calc(var(--nav-height) + 3.5rem) 0 3.5rem;
  background: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.hero-content {}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-img-wrap {
  position: relative;
}

.hero-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-img-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* --- Stats bar --- */
.stats-bar {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 0;
  background: var(--bg-section);
}

.stats-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  justify-content: center;
}

.stat-item { text-align: center; }

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* --- Cards de carros --- */
.carros-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px)  { .carros-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .carros-grid { grid-template-columns: repeat(3, 1fr); } }

.carro-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.carro-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.carro-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-section);
  display: block;
}

.carro-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.carro-card:hover .carro-card-img img { transform: scale(1.03); }

.carro-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.badge-disponivel  { background: #e6f4ea; color: #137333; border: 1px solid #c6e8ce; }
.badge-recuperacao { background: #fce8d5; color: #b45309; border: 1px solid #f8d0a8; }
.badge-reservado   { background: #e8eafd; color: #3c41c6; border: 1px solid #c5c9f5; }

.carro-card-body {
  padding: 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.carro-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.carro-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.carro-meta-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
}

.carro-card-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
  padding-top: 0.4rem;
}

.carro-card-price small {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-dim);
  display: block;
  margin-top: 0.1rem;
}

.carro-card-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 0.6rem;
}

.carro-card-footer .btn {
  flex: 1;
  justify-content: center;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
}

/* --- Filtros --- */
.filtros-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.filtro-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 130px;
}

.filtro-group label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.filtro-group select {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  font-size: 0.875rem;
  font-family: var(--font);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235f6368' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.75rem;
}

.filtro-group select:focus { outline: none; border-color: var(--accent); }

/* --- Galeria lightbox --- */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (min-width: 600px)  { .galeria-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .galeria-grid { grid-template-columns: repeat(4, 1fr); } }

.galeria-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--bg-section);
  border: 1px solid var(--border-light);
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.galeria-item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(32,33,36,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.35rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  line-height: 1;
}

.lightbox-close:hover { background: rgba(255,255,255,0.25); }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.25); }

/* --- Slider antes/depois --- */
.slider-comparacao {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: ew-resize;
  user-select: none;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.slider-comparacao-wrap {
  position: relative;
  aspect-ratio: 4/3;
}

.slider-depois,
.slider-antes {
  position: absolute;
  inset: 0;
}

.slider-depois img,
.slider-antes img { width: 100%; height: 100%; object-fit: cover; }

.slider-antes { clip-path: inset(0 50% 0 0); }

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: #fff;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.slider-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.slider-handle::after {
  content: '⟵ ⟶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.slider-label {
  position: absolute;
  bottom: 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.slider-label-antes {
  left: 0.65rem;
  background: rgba(32,33,36,0.65);
  color: #fff;
}

.slider-label-depois {
  right: 0.65rem;
  background: rgba(232,113,26,0.85);
  color: #fff;
}

/* --- Página carro individual --- */
.carro-hero {
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 2.5rem;
}

.carro-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) { .carro-hero-grid { grid-template-columns: 1fr 360px; } }

.carro-thumb-main {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-section);
  border: 1px solid var(--border);
  cursor: pointer;
}

.carro-thumb-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.carro-thumb-main:hover img { transform: scale(1.02); }

.carro-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.carro-thumb {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s;
  background: var(--bg-section);
}

.carro-thumb.active { border-color: var(--accent); }

.carro-thumb img { width: 100%; height: 100%; object-fit: cover; }

.carro-info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
  box-shadow: var(--shadow-card);
}

.carro-info-preco {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
}

.carro-info-preco small {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-dim);
  display: block;
}

.carro-ficha {
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ficha-linha {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.875rem;
  gap: 1rem;
}

.ficha-linha dt { color: var(--text-muted); flex-shrink: 0; }
.ficha-linha dd { font-weight: 600; color: var(--text); text-align: right; }

.carro-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 0.25rem;
}

.carro-actions .btn { justify-content: center; width: 100%; }

/* --- Diário --- */
.diario-hero {
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-light);
}

.diario-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.diario-section:last-child { border-bottom: none; }

.timeline { display: flex; flex-direction: column; }

.timeline-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
}

.timeline-line {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
  flex-shrink: 0;
  margin-top: 5px;
}

.timeline-tail {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 4px;
}

.timeline-content { padding-bottom: 2rem; }

.timeline-date {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Processo steps --- */
.processo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 600px)  { .processo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .processo-grid { grid-template-columns: repeat(4, 1fr); } }

.processo-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.processo-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(232,113,26,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.processo-step h4 { font-size: 0.95rem; }
.processo-step p  { font-size: 0.82rem; }

/* --- Testemunhos --- */
.testimonios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px)  { .testimonios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .testimonios-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.testimonio-stars { color: #f9ab00; font-size: 0.85rem; letter-spacing: 2px; }

.testimonio-texto {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.testimonio-autor {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.testimonio-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1.5px solid rgba(232,113,26,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonio-autor-info strong { display: block; font-size: 0.85rem; }
.testimonio-autor-info span   { font-size: 0.72rem; color: var(--text-dim); }

/* --- Contacto --- */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) { .contacto-grid { grid-template-columns: 1fr 1fr; } }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-input);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-family: var(--font);
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

.contacto-info { display: flex; flex-direction: column; gap: 1.35rem; }

.contacto-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.contacto-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--accent-dim);
  border: 1px solid rgba(232,113,26,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contacto-item-text strong { display: block; font-size: 0.85rem; margin-bottom: 0.1rem; }
.contacto-item-text span   { font-size: 0.875rem; color: var(--text-muted); }

/* --- Investidores --- */
.oportunidade-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 1.25rem;
  transition: box-shadow 0.2s;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) { .oportunidade-card { grid-template-columns: 260px 1fr; } }

.oportunidade-card:hover { box-shadow: var(--shadow); }

.oportunidade-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-section); }

@media (min-width: 768px) { .oportunidade-img { aspect-ratio: auto; } }

.oportunidade-img img { width: 100%; height: 100%; object-fit: cover; }

.oportunidade-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.oportunidade-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(232,113,26,0.3);
  border-radius: 4px;
  padding: 0.18rem 0.55rem;
  background: var(--accent-dim);
}

.oportunidade-meta { display: flex; flex-wrap: wrap; gap: 1.25rem; }

.oportunidade-meta-item { display: flex; flex-direction: column; gap: 0.1rem; }

.oportunidade-meta-item small {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dim);
}

.oportunidade-meta-item strong { font-size: 0.95rem; color: var(--text); }

.oportunidade-historico {
  background: var(--bg-section);
  border-radius: var(--radius);
  padding: 0.85rem;
  font-size: 0.82rem;
}

.historico-label {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.historico-items { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.historico-badge {
  font-size: 0.72rem;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.historico-badge.positivo {
  background: #e6f4ea;
  color: #137333;
  border: 1px solid #c6e8ce;
}

.historico-badge.neutro {
  background: #e8eafd;
  color: #3c41c6;
  border: 1px solid #c5c9f5;
}

/* Dashboard */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) { .dashboard-stats { grid-template-columns: repeat(4, 1fr); } }

.dash-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  box-shadow: var(--shadow-card);
}

.dash-stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.dash-stat-value { font-size: 1.35rem; font-weight: 800; color: var(--text); }
.dash-stat-value.positivo { color: #137333; }
.dash-stat-value.accent   { color: var(--accent); }

/* --- Investir --- */
.investir-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) { .investir-steps { grid-template-columns: repeat(3, 1fr); } }

.investir-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: var(--shadow-card);
}

.investir-step-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
}

.aviso-legal {
  background: #fef9f0;
  border: 1px solid #fde8c8;
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.aviso-legal strong { color: #b45309; }

/* --- Sobre --- */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) { .sobre-grid { grid-template-columns: 1fr 1fr; } }

.sobre-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.sobre-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

.valores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 640px) { .valores-grid { grid-template-columns: repeat(3, 1fr); } }

.valor-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.valor-item span:first-child { font-size: 1.5rem; }
.valor-item strong { font-size: 0.85rem; }
.valor-item p { font-size: 0.78rem; }

/* --- WhatsApp flutuante --- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(37,211,102,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
}

.whatsapp-float svg { width: 26px; height: 26px; fill: #fff; }

/* --- Formulário feedback --- */
.form-feedback {
  display: none;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.75rem;
}

.form-feedback.success {
  display: block;
  background: #e6f4ea;
  border: 1px solid #c6e8ce;
  color: #137333;
}

/* --- Footer --- */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

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

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

.footer-brand img { height: 32px; margin-bottom: 0.85rem; }

.footer-brand p {
  font-size: 0.82rem;
  max-width: 260px;
  line-height: 1.65;
}

.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text);
  margin-bottom: 0.85rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-col ul li a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p,
.footer-bottom a { font-size: 0.75rem; color: var(--text-dim); }

.footer-bottom a:hover { color: var(--accent); }

/* --- Chips / badges utilitários --- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-section);
}

.chip.verde  { color: #137333; border-color: #c6e8ce; background: #e6f4ea; }
.chip.laranja{ color: #b45309; border-color: rgba(232,113,26,0.3); background: var(--accent-dim); }
.chip.roxo   { color: #3c41c6; border-color: #c5c9f5; background: #e8eafd; }

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

/* --- Tabela de peças --- */
.pecas-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }

.pecas-table th {
  text-align: left;
  padding: 0.55rem 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  background: var(--bg-section);
}

.pecas-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
}

.pecas-table tr:last-child td { border-bottom: none; }
.pecas-table tr:hover td { background: var(--bg-section); }

/* --- Fade-in animação --- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- Utilitários --- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

.divider { height: 1px; background: var(--border-light); margin: 2rem 0; }
