/* ============================================================
   Dra. Renata Mendes · Saúde Bucal em Foco
   Paleta: azul vibrante, teal, branco frio — acolhedor e clean
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;1,400&family=Nunito:wght@300;400;500;600&display=swap');

:root {
  /* ── BRAND PALETTE ── */
  --blue:       #1B9DC2;   /* azul principal */
  --blue-dark:  #1565A0;   /* azul escuro texto/fundos */
  --teal:       #2AACB8;   /* acento turquesa */
  --blue-light: #E3F4F9;   /* fundo suave azulado */
  --blue-mid:   #B8E0EE;   /* divisores, bordas */
  --ink:        #1A2E3B;   /* texto principal */
  --mid:        #5A7A8A;   /* texto secundário */
  --white:      #FAFCFE;   /* branco frio */
  --bg:         #F4F9FC;   /* background geral */
  --cream:      #EBF5FA;   /* seções alternadas */

  --font-display: 'Lora', Georgia, serif;
  --font-body:    'Nunito', sans-serif;
  --nav-h: 66px;
  --max-w: 1180px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img { display:block; max-width:100%; }
a { text-decoration:none; color:inherit; }

::-webkit-scrollbar { width:4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue-mid); border-radius:2px; }

/* ── NAV ── */
.nav {
  position: fixed; top:0; left:0; right:0; z-index:1000;
  height: var(--nav-h);
  background: rgba(250,252,254,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--blue-mid);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem,5vw,4rem);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(27,157,194,.1); }

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 500;
  color: var(--blue-dark); line-height: 1.2;
}
.nav-logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--teal);
  font-weight: 600;
}

.nav-links { display:flex; align-items:center; gap:2.2rem; list-style:none; }
.nav-links a {
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 600; color: var(--mid); transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }

.nav-cta {
  padding: 0.6rem 1.5rem;
  background: var(--blue); color: var(--white);
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; border-radius: 2px; transition: all .25s;
}
.nav-cta:hover { background: var(--blue-dark); }

.nav-burger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:4px; }
.nav-burger span { display:block; width:24px; height:1.5px; background:var(--ink); transition:all .3s; }

/* ── MOBILE MENU ── */
.mobile-menu {
  display:none; position:fixed;
  top:var(--nav-h); left:0; right:0; bottom:0;
  background: var(--white); z-index:999;
  flex-direction:column; align-items:center; justify-content:center; gap:2rem;
}
.mobile-menu.open { display:flex; }
.mobile-menu a {
  font-size:1.4rem; font-family:var(--font-display);
  color:var(--ink);
}
.mobile-menu a:hover { color:var(--blue); }

/* ── UTILS ── */
.container { max-width:var(--max-w); margin:0 auto; padding:0 clamp(1.5rem,5vw,4rem); }
.section { padding: clamp(4rem,8vw,7rem) 0; }
.section-alt { background: var(--white); }
.section-blue { background: var(--blue-light); }
.section-dark { background: var(--blue-dark); }

.eyebrow {
  font-size: 0.62rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.8rem; display: block;
  font-weight: 600;
}
.eyebrow-light { color: var(--blue-mid); }

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

.display-xl { font-size: clamp(2.8rem,5vw,4.8rem); }
.display-lg { font-size: clamp(2rem,3.5vw,3.2rem); }
.display-md { font-size: clamp(1.6rem,2.8vw,2.4rem); }
.display-sm { font-size: clamp(1.3rem,2vw,1.8rem); }

.body-lg { font-size:1rem; line-height:1.85; color:var(--mid); }
.body-md { font-size:0.9rem; line-height:1.8; color:var(--mid); }

.blue-rule { width:44px; height:3px; background:var(--teal); margin:1.2rem 0; border-radius:2px; }
.blue-rule-center { margin:1.2rem auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items:center; gap:0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body); font-size:0.68rem;
  letter-spacing:0.2em; text-transform:uppercase; font-weight:600;
  border-radius:2px; transition:all .3s; cursor:pointer; border:none;
}
.btn-blue { background:var(--blue); color:var(--white); }
.btn-blue:hover { background:var(--blue-dark); }
.btn-outline { border:2px solid var(--blue); color:var(--blue); background:transparent; }
.btn-outline:hover { background:var(--blue); color:var(--white); }
.btn-teal { background:var(--teal); color:var(--white); }
.btn-teal:hover { background:#239aA5; }
.btn-white { background:var(--white); color:var(--blue-dark); }
.btn-white:hover { background:var(--blue-light); }
.btn-arrow::after { content:'→'; font-size:1rem; transition:transform .3s; }
.btn-arrow:hover::after { transform:translateX(4px); }

/* ── FOOTER ── */
.footer { background:var(--blue-dark); padding:4rem 0 0; color:var(--white); }
.footer-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
  gap:3rem; padding-bottom:3rem;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.footer-brand-name { font-family:var(--font-display); font-size:1.4rem; margin-bottom:0.3rem; }
.footer-brand-sub { font-size:0.58rem; letter-spacing:0.35em; text-transform:uppercase; color:var(--teal); margin-bottom:1.2rem; font-weight:600; }
.footer-tagline { font-size:0.82rem; line-height:1.75; color:rgba(255,255,255,.55); max-width:280px; }
.footer-col-title { font-size:0.6rem; letter-spacing:0.3em; text-transform:uppercase; color:var(--teal); margin-bottom:1.2rem; font-weight:600; }
.footer-links { list-style:none; }
.footer-links li { margin-bottom:0.6rem; }
.footer-links a { font-size:0.82rem; color:rgba(255,255,255,.55); transition:color .2s; }
.footer-links a:hover { color:var(--blue-mid); }
.footer-bottom {
  display:flex; justify-content:space-between; align-items:center;
  padding:1.2rem 0; font-size:0.7rem; color:rgba(255,255,255,.35);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}
.anim-1 { animation:fadeUp .7s .1s ease both; }
.anim-2 { animation:fadeUp .7s .25s ease both; }
.anim-3 { animation:fadeUp .7s .4s ease both; }
.anim-4 { animation:fadeUp .7s .55s ease both; }

.reveal { opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── POST CARD ── */
.post-card { display:flex; flex-direction:column; cursor:pointer; }
.post-card-img {
  aspect-ratio:16/9; overflow:hidden; background:var(--blue-light);
  margin-bottom:1.1rem; position:relative;
}
.post-card-img-inner {
  width:100%; height:100%;
  background:linear-gradient(135deg,var(--blue-light) 0%,var(--blue-mid) 100%);
  display:flex; align-items:center; justify-content:center;
  transition:transform .5s ease;
  font-size:0.65rem; letter-spacing:0.12em; color:var(--mid); text-transform:uppercase;
}
.post-card:hover .post-card-img-inner { transform:scale(1.03); }
.post-card-cat { font-size:0.6rem; letter-spacing:0.3em; text-transform:uppercase; color:var(--teal); margin-bottom:0.4rem; font-weight:600; }
.post-card-title { font-family:var(--font-display); font-weight:400; line-height:1.3; color:var(--ink); margin-bottom:0.5rem; }
.post-card-title.lg { font-size:clamp(1.4rem,2.2vw,1.9rem); }
.post-card-title.md { font-size:clamp(1.1rem,1.6vw,1.45rem); }
.post-card-excerpt { font-size:0.84rem; line-height:1.75; color:var(--mid); margin-bottom:0.6rem; }
.post-card-meta { font-size:0.65rem; letter-spacing:0.1em; color:var(--blue); font-weight:500; }

/* ── RESPONSIVE ── */
@media (max-width:900px) {
  .nav-links, .nav-cta { display:none; }
  .nav-burger { display:flex; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:2rem; }
}
@media (max-width:600px) {
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; gap:.5rem; text-align:center; }
}
