/* ============================================
   Della Valentina Consultoria — style.css
   Paleta: navy #0c192c · creme #f7f5f0 · bronze #a08453
   ============================================ */
:root {
  --navy: #0c192c;
  --navy-soft: #16263f;
  --cream: #f7f5f0;
  --white: #ffffff;
  --bronze: #a08453;
  --bronze-dark: #8a7145;
  --text: #2a3342;
  --text-light: #5b6472;
  --border: #e5e1d8;
  --whatsapp: #25d366;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
a { color: var(--bronze-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1120px; margin: 0 auto;
}
.logo img { height: 46px; display: block; }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  color: var(--navy); font-size: .95rem; font-weight: 500;
  letter-spacing: .01em; text-decoration: none;
}
.main-nav a:hover, .main-nav a.active { color: var(--bronze-dark); }
.nav-cta {
  background: var(--navy); color: var(--white) !important;
  padding: 10px 22px; border-radius: 4px; font-weight: 600;
  transition: background .2s;
}
.nav-cta:hover { background: var(--navy-soft); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #13233c 70%, #1a2e4d 100%);
  color: var(--white); padding: 96px 0 104px; position: relative; overflow: hidden;
}
.hero::after {
  content: 'DV'; position: absolute; right: -40px; bottom: -80px;
  font-family: var(--serif); font-size: 22rem; color: rgba(255,255,255,.03);
  line-height: 1; pointer-events: none;
}
.hero h1 { color: var(--white); max-width: 720px; margin-bottom: 22px; }
.hero .lead { font-size: 1.18rem; color: #c9d2e0; max-width: 620px; margin-bottom: 36px; }
.hero .tagline {
  display: inline-block; font-size: .82rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--bronze); margin-bottom: 18px; font-weight: 600;
}

.btn {
  display: inline-block; padding: 15px 32px; border-radius: 4px;
  font-weight: 600; font-size: 1rem; text-decoration: none; transition: all .2s;
}
.btn-primary { background: var(--bronze); color: var(--navy); }
.btn-primary:hover { background: #b39661; text-decoration: none; }
.btn-outline { border: 1.5px solid rgba(255,255,255,.4); color: var(--white); margin-left: 12px; }
.btn-outline:hover { border-color: var(--white); text-decoration: none; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); text-decoration: none; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--cream); }
.section-navy { background: var(--navy); color: #c9d2e0; }
.section-navy h2 { color: var(--white); }
.kicker {
  display: block; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bronze-dark); font-weight: 600; margin-bottom: 12px;
}
.section-head { max-width: 680px; margin-bottom: 48px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 6px; padding: 34px 28px; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 12px 32px rgba(12,25,44,.09); transform: translateY(-3px); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-light); font-size: .95rem; margin-bottom: 14px; }
.card .card-link { font-weight: 600; font-size: .92rem; }
.card-num {
  font-family: var(--serif); font-size: 1.05rem; color: var(--bronze-dark);
  font-weight: 700; display: block; margin-bottom: 14px;
}

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; }
.post-meta { font-size: .82rem; color: var(--text-light); margin-bottom: 10px; letter-spacing: .02em; }
.post-tag {
  display: inline-block; background: var(--cream); color: var(--bronze-dark);
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 3px; margin-bottom: 14px; align-self: flex-start;
}

/* Artigo */
.article-header { background: var(--cream); padding: 72px 0 56px; }
.article-header h1 { max-width: 820px; }
.article-body { padding: 56px 0 40px; }
.article-body h2 { margin: 44px 0 16px; }
.article-body h3 { margin: 32px 0 12px; }
.article-body ul, .article-body ol { margin: 0 0 1.2rem 1.4rem; }
.article-body li { margin-bottom: .5rem; }
.article-body blockquote {
  border-left: 3px solid var(--bronze); background: var(--cream);
  padding: 18px 24px; margin: 24px 0; border-radius: 0 6px 6px 0;
  font-style: italic; color: var(--navy);
}
.article-cta {
  background: var(--navy); color: #c9d2e0; border-radius: 8px;
  padding: 36px; margin: 48px 0;
}
.article-cta h3 { color: var(--white); margin-bottom: 10px; }

/* ---------- FAQ / listas ---------- */
.check-list { list-style: none; margin: 0 0 1.2rem 0 !important; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 12px; }
.check-list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--bronze-dark); font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9aa7ba; padding: 64px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 16px; letter-spacing: .04em; }
.site-footer a { color: #c9d2e0; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.footer-logo img { height: 44px; margin-bottom: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 200;
  width: 58px; height: 58px; background: var(--whatsapp); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 20px 24px;
    border-bottom: 1px solid var(--border); gap: 18px; align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 64px 0 72px; }
  .btn-outline { margin-left: 0; margin-top: 12px; }
  .section { padding: 56px 0; }
}
