/* ============================================
   FSPRATES SERVIÇOS EMPRESARIAIS — STYLE SHEET
   ============================================
   Como ler este arquivo (pra você ir pegando o jeito):
   1) :root guarda as "variáveis" — cor e espaçamento definidos 1x e usados em todo lugar.
      Se quiser mudar o tom do vinho do site inteiro, muda só aqui.
   2) Depois vêm os estilos "base" (aplicam pra tudo: body, títulos, links).
   3) Depois vêm os "componentes" (botão, card, header, footer) — peças reutilizáveis.
   4) No fim tem as MEDIA QUERIES — regras que só valem em telas pequenas (celular).
   ============================================ */

:root {
  /* Paleta extraída das imagens de referência */
  --wine-900: #3a0f1c;   /* vinho mais escuro — hero escuro, footer */
  --wine-800: #4a1522;   /* vinho escuro — cards, header do texto */
  --wine-700: #5c1c2c;   /* vinho médio — botões primários, hover */
  --gold-500: #c8963f;   /* dourado — destaques, ícones, eyebrow */
  --gold-300: #e0c48a;   /* dourado claro — bordas, detalhes sutis */
  --cream-50:  #faf6ee;  /* fundo geral do site */
  --cream-100: #f3ecdd;  /* fundo alternado de seção */
  --text-900: #2a1a15;   /* texto principal */
  --text-600: #6b5b52;   /* texto secundário */
  --white: #ffffff;
  --border: #e7dfd0;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, Helvetica, Arial, sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 10px 30px -12px rgba(58, 15, 28, 0.18);
  --shadow-card: 0 4px 18px -6px rgba(58, 15, 28, 0.12);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--wine-900);
  line-height: 1.15;
  font-weight: 700;
}

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

.accent { color: var(--gold-500); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 10px;
}
.eyebrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 46px; height: 3px;
  background: var(--gold-500);
}
.eyebrow.center { text-align: center; }
.eyebrow.center::after { left: 50%; transform: translateX(-50%); }

.section { padding: 96px 0; }
.section-alt { background: var(--cream-100); }
.section-title { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 16px; }
.section-lead { color: var(--text-600); font-size: 17px; max-width: 640px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--wine-800); color: var(--white); }
.btn-primary:hover { background: var(--wine-700); box-shadow: var(--shadow-soft); }
.btn-gold { background: var(--gold-500); color: var(--wine-900); }
.btn-gold:hover { background: #b6862f; box-shadow: var(--shadow-soft); }
.btn-outline { background: transparent; border-color: var(--wine-800); color: var(--wine-800); }
.btn-outline:hover { background: var(--wine-800); color: var(--white); }
.btn-outline.on-dark { border-color: var(--gold-300); color: var(--white); }
.btn-outline.on-dark:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--wine-900); }

/* ===== Header / navegação ===== */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 238, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container); margin: 0 auto;
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo img { height: 40px; width: auto; object-fit: contain; }
.logo .logo-fallback { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--wine-900); }
.logo .logo-sub { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-500); margin-top: 2px; }

nav.main-nav ul { display: flex; gap: 32px; list-style: none; }
nav.main-nav a {
  font-size: 14px; font-weight: 600; color: var(--text-900);
  text-transform: uppercase; letter-spacing: 0.5px;
  padding-bottom: 6px; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--wine-800); border-color: var(--gold-500); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.btn-nav { background: var(--wine-800); color: var(--white); padding: 12px 22px; border-radius: 8px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.btn-nav:hover { background: var(--wine-700); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 26px; height: 2px; background: var(--wine-900); display: block; }

/* ===== Breadcrumb ===== */
.breadcrumb { padding: 18px 0 0; font-size: 13px; color: var(--text-600); }
.breadcrumb a { color: var(--gold-500); font-weight: 600; }

/* ===== Trajetória / Formação (nossa-diretora) ===== */
.trajetoria-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }

/* ===== Hero interno (páginas internas) ===== */
.inner-hero { padding: 28px 0 80px; }
.inner-hero .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.inner-hero h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.inner-hero p.lead { font-size: 17px; color: var(--text-600); max-width: 480px; }
.inner-hero .hero-img-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4/3.1; position: relative; }
.inner-hero .hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Hero home ===== */
.home-hero { padding: 20px 0 0; }
.home-hero .grid-2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 70px; }
.home-hero h1 { font-size: clamp(34px, 4.4vw, 54px); margin-bottom: 20px; }
.home-hero p.lead { color: var(--text-600); font-size: 17px; max-width: 520px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.home-hero .hero-img-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4/3.3; }
.home-hero .hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Placeholder de imagem (regra fixa: img real + onerror) ===== */
.img-box { position: relative; width: 100%; height: 100%; background: var(--cream-100); }
.img-box img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-txt {
  display: none; position: absolute; inset: 0;
  align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(135deg, var(--wine-800), var(--wine-900));
  color: var(--gold-300); font-family: var(--font-display); font-size: 15px; padding: 20px; line-height: 1.5;
}

/* ===== Cards de valor / diferenciais (fundo escuro) ===== */
.value-strip { background: var(--wine-900); border-radius: var(--radius-lg); padding: 48px 24px; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.value-item { text-align: center; padding: 0 16px; }
.value-item .icon { width: 52px; height: 52px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--gold-500); border-radius: 50%; color: var(--gold-300); }
.value-item h3 { color: var(--white); font-size: 18px; margin-bottom: 8px; }
.value-item p { color: rgba(255,255,255,0.72); font-size: 14px; }

/* ===== Grid de serviços ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; margin-top: 48px; }
.services-grid-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.service-card { text-align: left; padding: 8px 4px; }
.service-card .icon { width: 56px; height: 56px; border-radius: 14px; background: var(--cream-100); border: 1px solid var(--gold-300); display: flex; align-items: center; justify-content: center; color: var(--wine-800); margin-bottom: 18px; }
.service-card h3 { font-size: 19px; margin-bottom: 6px; }
.service-card .rule { width: 30px; height: 2px; background: var(--gold-500); margin: 10px 0 12px; }
.service-card p { color: var(--text-600); font-size: 14.5px; }
.service-card a.link { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--wine-800); border-bottom: 1px solid var(--gold-500); }

/* ===== Founder / diretora split ===== */
.founder-split { display: grid; grid-template-columns: 0.9fr 1.1fr auto; gap: 40px; align-items: center; background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-card); }
.founder-split .founder-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; }
.founder-split .founder-img img { width: 100%; height: 100%; object-fit: cover; }
.founder-stats { display: flex; flex-direction: column; gap: 18px; border-left: 1px solid var(--border); padding-left: 32px; }
.founder-stats .stat { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--text-900); }
.founder-stats .stat .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); flex-shrink: 0; }

/* ===== Cards de artigo ===== */
.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.article-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .2s ease; }
.article-card:hover { transform: translateY(-4px); }
.article-card .thumb { aspect-ratio: 4/3; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card .body { padding: 20px; }
.article-card .date { font-size: 12px; color: var(--gold-500); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.article-card h3 { font-size: 16.5px; margin: 8px 0 8px; line-height: 1.3; }
.article-card p { font-size: 13.5px; color: var(--text-600); margin-bottom: 12px; }
.article-card a.read { font-size: 13px; font-weight: 700; color: var(--wine-800); }

/* ===== Destaques (conteúdo) ===== */
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.highlight-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; }
.highlight-card .bg { position: absolute; inset: 0; background: linear-gradient(180deg, var(--wine-800) 0%, var(--wine-900) 100%); }
.highlight-card .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.highlight-card .content { position: relative; z-index: 2; padding: 28px; color: var(--white); }
.highlight-card h3 { color: var(--white); font-size: 20px; margin-bottom: 10px; }
.highlight-card p { color: rgba(255,255,255,0.8); font-size: 14px; margin-bottom: 14px; }
.highlight-card a { color: var(--gold-300); font-weight: 700; font-size: 13.5px; }

/* ===== Temas / ícones em linha ===== */
.themes-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-top: 44px; text-align: center; }
.theme-item { flex: 1; min-width: 90px; }
.theme-item .icon { width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%; border: 1.5px solid var(--gold-500); display: flex; align-items: center; justify-content: center; color: var(--wine-800); }
.theme-item span { font-size: 13.5px; font-weight: 600; }

/* ===== Timeline numerada (passos reais e sequenciais) ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 48px; position: relative; }
.step-item { text-align: center; position: relative; }
.step-item .num { width: 48px; height: 48px; border-radius: 50%; background: var(--wine-800); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 0 auto 16px; }
.step-item h3 { font-size: 16px; margin-bottom: 6px; }
.step-item p { font-size: 13.5px; color: var(--text-600); }

/* ===== Faixa de citação ===== */
.quote-banner { background: var(--wine-900); border-radius: var(--radius-lg); padding: 52px 48px; display: flex; align-items: center; gap: 32px; }
.quote-banner .icon { flex-shrink: 0; width: 64px; height: 64px; border: 1.5px solid var(--gold-500); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold-300); }
.quote-banner p { color: var(--white); font-size: 19px; line-height: 1.55; font-family: var(--font-display); }
.quote-banner .accent-line { color: var(--gold-300); }

/* ===== Blockquote com nome ===== */
.quote-box { background: var(--cream-100); border-left: 3px solid var(--gold-500); border-radius: 0 var(--radius) var(--radius) 0; padding: 36px 40px; }
.quote-box .mark { font-family: var(--font-display); font-size: 48px; color: var(--gold-500); line-height: 1; }
.quote-box p { font-size: 18px; color: var(--text-900); margin: 12px 0 18px; line-height: 1.6; }
.quote-box strong { display: block; font-size: 15px; }
.quote-box span { font-size: 13px; color: var(--text-600); }

/* ===== CTA final ===== */
.cta-strip { background: var(--wine-900); border-radius: var(--radius-lg); padding: 46px 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-strip h2 { color: var(--white); font-size: 24px; max-width: 520px; }

/* ===== Formulário de contato ===== */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; margin-top: 20px; }
.contact-info-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-info-item .icon { width: 46px; height: 46px; border-radius: 50%; background: var(--wine-900); color: var(--gold-300); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-600); margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: 16px; font-weight: 600; }

form.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-600); }
.form-field input, .form-field textarea {
  border: 1.5px solid var(--border); border-radius: 8px; padding: 13px 14px; font-family: var(--font-body); font-size: 14.5px; background: var(--cream-50);
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--gold-500); outline-offset: 1px; border-color: var(--gold-500); }
.form-check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-600); margin-bottom: 20px; }
.form-check a { color: var(--wine-800); font-weight: 700; }

/* ===== Footer ===== */
footer.site-footer { background: var(--wine-900); color: rgba(255,255,255,0.78); padding: 64px 0 0; margin-top: 100px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand .logo-fallback { color: var(--white); font-family: var(--font-display); font-size: 24px; }
.footer-brand .logo-sub { color: var(--gold-300); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 240px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.footer-social a:hover { background: var(--gold-500); border-color: var(--gold-500); }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; }
.footer-col a:hover { color: var(--gold-300); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-bottom: 12px; }
.footer-bottom { display: flex; justify-content: space-between; padding: 22px 0; font-size: 12.5px; flex-wrap: wrap; gap: 8px; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Utilidades */
.mt-lg { margin-top: 64px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ============ RESPONSIVO — mobile-first obrigatório ============ */
@media (max-width: 900px) {
  .inner-hero .grid-2, .home-hero .grid-2, .two-col, .trajetoria-grid { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse { direction: ltr; }
  .value-grid, .steps-grid, .article-grid, .highlight-grid, .services-grid-3col { grid-template-columns: repeat(2, 1fr); }
  .founder-split { grid-template-columns: 1fr; text-align: center; }
  .founder-stats { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; align-items: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.main-nav { display: none; }
  nav.main-nav.open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream-50); border-bottom: 1px solid var(--border); padding: 8px 24px 20px;
  }
  nav.main-nav.open ul { flex-direction: column; gap: 4px; }
  nav.main-nav.open a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .menu-toggle { display: flex; }
  .header-actions .btn-nav { padding: 8px 12px; font-size: 12px; gap: 4px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .value-grid, .article-grid, .highlight-grid, .steps-grid, .services-grid-3col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .quote-banner { flex-direction: column; text-align: center; padding: 36px 24px; }
  .cta-strip { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .themes-row { justify-content: center; }
  .theme-item { min-width: 76px; flex: 0 0 40%; }
}

@media (max-width: 480px) {
  .btn { width: 100%; justify-content: center; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  form.contact-form { padding: 24px; }
  .founder-split { padding: 24px; }
  .quote-box { padding: 24px; }
  body { overflow-x: hidden; }
}
