/* ═══════════════════════════════════════════════════════════════════
   CAFAZ Corretora — base.css
   Design system: tokens, reset, tipografia, container, utilitários
   Tema: claro, confiável (azul + verde) com acento romântico (vermelho)
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* Marca */
  --blue: #1B75BB;
  --blue-deep: #0E4E80;
  --blue-ink: #0A2540;
  --green: #3AAA35;
  --green-deep: #2B8429;

  /* Acento sazonal — Dia dos Namorados */
  --red: #E63946;
  --red-deep: #C42A37;
  --rose-soft: #FFF0F1;

  /* WhatsApp */
  --wpp: #25D366;
  --wpp-deep: #1EBE5A;

  /* Superfícies */
  --bg: #FFFFFF;
  --bg-soft: #F5F8FB;
  --bg-blue: #EEF5FC;
  --surface: #FFFFFF;

  /* Texto */
  --ink: #0A2540;
  --text: #41505F;
  --text-dim: #6B7888;
  --text-mute: #9AA7B4;

  --border: #E4EAF1;
  --border-soft: #EFF3F8;
  --star: #F5A623;

  /* Gradientes */
  --grad-brand: linear-gradient(120deg, var(--blue) 0%, var(--green) 100%);
  --grad-blue: linear-gradient(135deg, #1B75BB 0%, #0E4E80 100%);
  --grad-romance: linear-gradient(135deg, #0E4E80 0%, #1B75BB 45%, #E63946 130%);
  --grad-hero: radial-gradient(1100px 600px at 75% 10%, rgba(230,57,70,0.10) 0%, transparent 55%),
               radial-gradient(900px 700px at 10% 90%, rgba(27,117,187,0.10) 0%, transparent 55%);

  /* Tipografia */
  --font-display: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Espaçamento */
  --section-py: 110px;
  --section-py-sm: 68px;
  --container: 1180px;
  --container-narrow: 920px;

  /* Raio */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Sombras */
  --shadow-sm: 0 4px 16px -8px rgba(10, 37, 64, 0.18);
  --shadow-card: 0 24px 50px -28px rgba(10, 37, 64, 0.30);
  --shadow-blue: 0 18px 40px -18px rgba(27, 117, 187, 0.45);
  --shadow-wpp: 0 16px 34px -14px rgba(37, 211, 102, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease), opacity .2s var(--ease); }
ul, ol { list-style: none; }
::selection { background: var(--blue); color: #fff; }

/* ─── Tipografia ─── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { color: var(--text); font-size: 1.0625rem; line-height: 1.65; }
strong, b { color: var(--ink); font-weight: 600; }

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container.narrow { max-width: var(--container-narrow); }

/* ─── Seção ─── */
section { padding-block: var(--section-py); position: relative; }
.bg-soft { background: var(--bg-soft); }
.bg-blue { background: var(--bg-blue); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.eyebrow.romance { color: var(--red); }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 1.125rem; color: var(--text-dim); }

/* ─── Botões ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 19px; height: 19px; transition: transform .25s var(--ease); }

.btn-wpp { background: var(--wpp); color: #fff; box-shadow: var(--shadow-wpp); }
.btn-wpp:hover { background: var(--wpp-deep); transform: translateY(-2px); box-shadow: 0 22px 44px -14px rgba(37,211,102,.6); }

.btn-blue { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-blue:hover { background: var(--blue-deep); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--bg-soft); }

.btn-lg { padding: 18px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ─── Fade-up ─── */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fade-up.in { opacity: 1; transform: translateY(0); }
.fade-up.d-1 { transition-delay: .08s; }
.fade-up.d-2 { transition-delay: .16s; }
.fade-up.d-3 { transition-delay: .24s; }
.fade-up.d-4 { transition-delay: .32s; }
.fade-up.d-5 { transition-delay: .40s; }

/* ─── Utilitários ─── */
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.red-text { color: var(--red); }
.blue-text { color: var(--blue); }

/* ─── Responsivo ─── */
@media (max-width: 768px) {
  :root { --section-py: var(--section-py-sm); }
  .container { padding-inline: 20px; }
  .section-head { margin-bottom: 40px; }
}
