/* ==========================================================================
   Arbico BPO — Site Público
   Paleta placeholder (trocar quando logo/identidade visual for definida):
   --azul-marinho: cor institucional / confiança
   --laranja: cor de destaque / CTA
   ========================================================================== */

:root {
  --azul-marinho: #0b2545;
  --azul-marinho-claro: #13355e;
  --laranja: #ff7a1a;
  --laranja-escuro: #e0670f;
  --verde-whatsapp: #25d366;
  --verde-whatsapp-escuro: #1ebe57;
  --cinza-texto: #333333;
  --cinza-claro: #f5f6f8;
  --branco: #ffffff;
  --borda: #e2e5ea;

  --fonte-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container-max: 1160px;
  --radius: 8px;
  --sombra: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* ---------- Reset básico ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--fonte-base);
  color: var(--cinza-texto);
  line-height: 1.6;
  background: var(--branco);
}

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

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

ul { list-style: none; }

h1, h2, h3 { line-height: 1.25; color: var(--azul-marinho); }

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

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, transform 0.15s ease, color 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--verde-whatsapp);
  color: var(--branco);
}
.btn-primary:hover { background: var(--verde-whatsapp-escuro); }

.btn-outline {
  background: transparent;
  border-color: var(--azul-marinho);
  color: var(--azul-marinho);
}
.btn-outline:hover { background: var(--azul-marinho); color: var(--branco); }

.btn-ghost {
  background: transparent;
  color: var(--azul-marinho);
  padding: 10px 16px;
}
.btn-ghost:hover { color: var(--laranja); }

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-full { display: block; width: 100%; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--branco);
  box-shadow: var(--sombra);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--azul-marinho);
  white-space: nowrap;
}
.logo span { color: var(--laranja); }

.main-nav ul {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--azul-marinho);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  color: var(--laranja);
  border-color: var(--laranja);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Menu hambúrguer (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--azul-marinho);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--azul-marinho) 0%, var(--azul-marinho-claro) 100%);
  color: var(--branco);
  padding: 90px 0;
  text-align: center;
}

.hero h1 {
  color: var(--branco);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 820px;
  margin: 0 auto 20px;
}

.hero-subheadline {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 32px;
  color: #dbe4f0;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero .btn-outline {
  border-color: var(--branco);
  color: var(--branco);
}
.hero .btn-outline:hover { background: var(--branco); color: var(--azul-marinho); }

/* ---------- Seções genéricas ---------- */
.section {
  padding: 80px 0;
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  text-align: center;
  margin-bottom: 44px;
}

.services { background: var(--branco); }
.differentials { background: var(--cinza-claro); }
.about { background: var(--branco); }
.blog-preview { background: var(--cinza-claro); }

/* ---------- Cards grid ---------- */
.cards-grid {
  display: grid;
  gap: 24px;
}

.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--sombra);
  transition: transform 0.2s ease;
}

.card:hover { transform: translateY(-4px); }

.card-icon { font-size: 2rem; margin-bottom: 12px; }

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }

.card p { color: #555; font-size: 0.95rem; }

.card-blog { background: var(--branco); }

/* Diferenciais */
.diff-item {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--borda);
  position: relative;
}

.diff-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--laranja);
  color: var(--branco);
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 12px;
}

.diff-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.diff-item p { color: #555; font-size: 0.9rem; }

/* Sobre */
.about-inner {
  max-width: 780px;
  text-align: center;
}
.about-inner p { font-size: 1.05rem; color: #444; }

/* Contato / CTA final */
.contact-cta {
  background: var(--azul-marinho);
  color: var(--branco);
  text-align: center;
}
.contact-cta h2 { color: var(--branco); }
.contact-inner { max-width: 620px; }
.contact-details {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #dbe4f0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #071a30;
  color: #b7c3d6;
  padding: 40px 0 24px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer-nav a { font-size: 0.9rem; }
.footer-nav a:hover { color: var(--laranja); }

.footer-legal { font-size: 0.82rem; }
.footer-legal p { margin: 2px 0; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1100;
  background: var(--verde-whatsapp);
  color: var(--branco);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.whatsapp-float:hover {
  background: var(--verde-whatsapp-escuro);
  transform: translateY(-2px);
}

.whatsapp-float span:first-child { font-size: 1.3rem; }

/* ==========================================================================
   Responsivo
   ========================================================================== */

/* Tablet */
@media (max-width: 900px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--branco);
    box-shadow: var(--sombra);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.is-open { max-height: 400px; }

  .main-nav ul {
    flex-direction: column;
    padding: 16px 20px;
    gap: 0;
  }

  .main-nav li { border-bottom: 1px solid var(--borda); }
  .main-nav a { display: block; padding: 14px 0; }

  .header-actions .btn-ghost { display: none; }
  .header-actions .btn-primary { padding: 8px 14px; font-size: 0.85rem; }

  .nav-toggle { display: flex; }

  .hero { padding: 60px 0; }

  .section { padding: 56px 0; }

  .cards-3, .cards-4 { grid-template-columns: 1fr; }

  .whatsapp-float-text { display: none; }
  .whatsapp-float { padding: 14px; border-radius: 50%; }
}
