/* ==========================================================================
   Cristiane Maluhy Gebara — identidade visual
   Paleta e tipografia extraídas do index original (one-page)
   ========================================================================== */

:root {
  --cream: #F5F1EA;
  --green: #0E4A45;
  --green-dark: #0B3A36;
  --gold: #C2A35B;
  --gold-light: #d4b876;
  --sage: #7FA38C;
  --ink: #20302E;
  --text: #4A5754;
  --muted: #5A6763;
  --soft: #7C8A85;
  --faint: #9AA39E;
  --border: #ECE5D8;
  --border-2: #E7E0D3;
  --sage-bg: rgba(127, 163, 140, .16);
  --footer-text: #B6C8C0;
  --footer-soft: #8FB3A8;
  --footer-faint: #6E938A;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--sage); color: #fff; }
img { max-width: 100%; display: block; }
input::placeholder, textarea::placeholder { color: var(--faint); }

@keyframes cmgPulse {
  0% { box-shadow: 0 0 0 0 rgba(127,163,140,.55); }
  70% { box-shadow: 0 0 0 16px rgba(127,163,140,0); }
  100% { box-shadow: 0 0 0 0 rgba(127,163,140,0); }
}
@keyframes cmgFloat {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

/* ============ HEADER ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: rgba(245,241,234,.82);
  border-bottom: 1px solid rgba(14,74,69,.08);
  transition: background .3s, border-color .3s;
}
.site-header.scrolled { background: rgba(245,241,234,.94); border-bottom-color: rgba(14,74,69,.12); }
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 13px clamp(20px, 5vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.logo-img { height: 38px; width: auto; display: block; }
.logo-img-footer { height: 38px; width: auto; display: block; filter: brightness(0) invert(1); opacity: .92; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center; flex: none;
  font-family: var(--serif); font-weight: 500; font-size: 15px;
  letter-spacing: .03em; color: var(--green);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--serif); font-weight: 500; font-size: 17px; color: var(--green); letter-spacing: .01em; }
.logo-sub { font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--sage); margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a {
  font-size: 14.5px; font-weight: 500; color: #34433F;
  text-decoration: none; transition: color .2s; white-space: nowrap;
}
.main-nav > a:hover { color: var(--green); }
.main-nav > a.active { color: var(--green); border-bottom: 2px solid var(--gold); padding-bottom: 3px; }
.nav-cta {
  display: inline-flex; align-items: center;
  font-size: 14px; font-weight: 600;
  background: var(--green); color: var(--cream) !important;
  padding: 11px 22px; border-radius: 999px;
  text-decoration: none; transition: background .25s;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--green-dark); }

.burger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(14,74,69,.18);
  background: rgba(255,255,255,.5); border-radius: 10px;
  cursor: pointer; color: var(--green);
}
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 8px clamp(20px, 5vw, 48px) 22px;
  background: rgba(245,241,234,.98);
  border-top: 1px solid rgba(14,74,69,.08);
}
.mobile-menu a {
  font-size: 16px; font-weight: 500; color: var(--ink);
  text-decoration: none; padding: 11px 0;
  border-bottom: 1px solid rgba(14,74,69,.07);
}
.mobile-menu a.mobile-cta {
  margin-top: 12px; text-align: center; font-size: 15px; font-weight: 600;
  background: var(--green); color: var(--cream);
  padding: 14px; border-radius: 999px; border-bottom: none;
}
@media (max-width: 940px) {
  .main-nav { display: none; }
  .burger { display: inline-flex; }
  .mobile-menu.open { display: flex; }
}

/* ============ TIPOGRAFIA / SEÇÕES ============ */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--sage);
  margin: 0 0 18px; display: flex; align-items: center; gap: 12px;
}
.eyebrow .dash { width: 28px; height: 1.5px; background: var(--gold); display: inline-block; }
.section-dark .eyebrow, .eyebrow.gold { color: var(--gold); }

h1, .h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.06; letter-spacing: -.015em; color: var(--green);
}
h2, .h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12; letter-spacing: -.01em; color: var(--green);
}
h3, .h3 { font-family: var(--serif); font-weight: 500; color: var(--green); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--cream); }

.lead { font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.72; color: var(--text); }
p { line-height: 1.72; }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-white { background: #fff; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--green); color: var(--cream); }
.section-dark p { color: #CBD9D3; }

/* Hero interno (páginas internas) */
.page-hero { background: var(--green); color: var(--cream); padding: clamp(140px, 18vw, 190px) 0 clamp(56px, 7vw, 84px); }
.page-hero .lead { color: #CBD9D3; max-width: 720px; }

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  letter-spacing: .01em; padding: 16px 30px; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: none;
  transition: background .25s, transform .25s, border-color .25s;
}
.btn-primary { background: var(--green); color: var(--cream); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--green); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--green); border: 1.5px solid rgba(14,74,69,.22); padding: 15px 26px; }
.btn-outline:hover { border-color: var(--green); background: rgba(14,74,69,.04); }
.btn-outline-light { background: transparent; color: var(--cream); border: 1.5px solid rgba(245,241,234,.34); padding: 15px 26px; }
.btn-outline-light:hover { border-color: var(--cream); background: rgba(245,241,234,.06); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: var(--green);
  text-decoration: none; border-bottom: 1.5px solid var(--gold);
  padding-bottom: 4px; transition: gap .25s;
}
.link-arrow:hover { gap: 14px; }

/* ============ CARDS ============ */
.card {
  background: #fff; border-radius: 14px; padding: 30px 28px;
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -28px rgba(14,74,69,.34); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--sage-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); margin-bottom: 20px; flex: none;
}
.chip {
  font-size: 13.5px; font-weight: 500; color: var(--green);
  background: var(--cream); border: 1px solid var(--border-2);
  padding: 9px 16px; border-radius: 999px; display: inline-block;
}

/* Foto com moldura dourada (padrão do hero) */
.framed-photo { position: relative; }
.framed-photo::before {
  content: ""; position: absolute; inset: 20px -20px -20px 20px;
  border: 1.5px solid var(--gold); border-radius: 8px; z-index: 0;
}
.framed-photo .photo {
  position: relative; z-index: 1; border-radius: 8px; overflow: hidden;
  box-shadow: 0 36px 70px -34px rgba(14,74,69,.5);
}
.framed-photo .photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============ CONGRESSOS (produção científica) ============ */
.congressos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.congresso-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.congresso-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -28px rgba(14,74,69,.34); }
.congresso-card .foto { aspect-ratio: 16/10; overflow: hidden; background: var(--sage-bg); }
.congresso-card .foto img { width: 100%; height: 100%; object-fit: cover; }
.congresso-card .info { padding: 22px 24px 26px; }
.ano-badge {
  display: inline-block; font-family: var(--serif); font-weight: 600; font-size: 14px;
  color: var(--green); background: rgba(194,163,91,.18); border: 1px solid rgba(194,163,91,.45);
  border-radius: 999px; padding: 4px 14px; margin-bottom: 12px;
}
.congresso-card h3 { font-size: 18.5px; margin-bottom: 8px; line-height: 1.3; }
.congresso-card .palestra { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.medalha { font-size: 15px; }

/* ============ NA MÍDIA ============ */
.midia-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.midia-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.midia-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -28px rgba(14,74,69,.34); border-color: var(--sage); }
.midia-thumb { aspect-ratio: 16/9; overflow: hidden; position: relative; background: var(--cream); }
.midia-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.midia-card:hover .midia-thumb img { transform: scale(1.04); }
.midia-thumb .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.midia-thumb .play span {
  width: 54px; height: 54px; border-radius: 50%; background: rgba(14,74,69,.82);
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,.5);
}
.midia-info { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.midia-info h3 { font-size: 17.5px; line-height: 1.35; font-weight: 500; }
.midia-info .tipo { font-size: 12px; color: var(--soft); letter-spacing: .06em; text-transform: uppercase; margin-top: auto; }

/* Marcas dos veículos (wordmarks tipográficos) */
.brand {
  display: inline-flex; align-items: center; align-self: flex-start;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  padding: 5px 12px; border-radius: 6px; line-height: 1;
}
.brand-ecycle { background: #E8F4E4; color: #3E7C3A; font-family: var(--sans); }
.brand-jusp { background: #FFF3D6; color: #B07E0A; font-family: var(--serif); font-weight: 600; }
.brand-claudia { background: #FCE4EF; color: #D0166C; font-family: var(--serif); font-weight: 600; letter-spacing: .18em; }
.brand-nam { background: #FDE3E3; color: #C11414; font-family: var(--sans); }
.brand-veja { background: #FDE3E3; color: #D0021B; font-family: var(--sans); letter-spacing: .1em; }
.brand-galileu { background: #E3ECFA; color: #1A56A8; font-family: var(--serif); font-style: italic; font-weight: 600; }
.brand-estadao { background: #E4E9F0; color: #002745; font-family: var(--serif); font-weight: 600; }
.brand-folha { background: #EDEDED; color: #111; font-family: var(--serif); font-weight: 700; }
.brand-uol { background: #FFF0DC; color: #E8710A; font-family: var(--sans); font-weight: 800; }
.brand-gazeta { background: #E3F0FA; color: #0B6BB2; font-family: var(--sans); }
.brand-record { background: #FDE3E3; color: #C11414; font-family: var(--sans); }
.brand-cbn { background: #FDE3E3; color: #B00000; font-family: var(--sans); letter-spacing: .14em; }
.brand-cctv { background: #FDE3E3; color: #C11414; font-family: var(--sans); letter-spacing: .1em; }
.brand-youtube { background: #FDE3E3; color: #C4302B; font-family: var(--sans); }

/* Placeholder de thumbnail aguardando imagem da cliente */
.thumb-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, rgba(127,163,140,.14), rgba(194,163,91,.14));
}
.thumb-placeholder .wordmark { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--green); }
.thumb-placeholder .nota { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }

/* ============ FORMULÁRIO ============ */
.form-card { background: var(--cream); border: 1px solid var(--border); border-radius: 18px; padding: clamp(26px, 3vw, 38px); }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.form-field input, .form-field textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid #E2DCD0; border-radius: 9px;
  padding: 13px 15px; outline: none; transition: border-color .2s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--sage); }
.form-field textarea { resize: vertical; min-height: 110px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--green-dark); color: var(--footer-text); padding: clamp(56px, 7vw, 80px) 0 36px; }
.footer-top {
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between;
  padding-bottom: 44px; border-bottom: 1px solid rgba(245,241,234,.12);
}
.footer-title { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.footer-nav { display: flex; flex-direction: column; gap: 11px; }
.footer-nav a { font-size: 14px; color: var(--footer-text); text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: var(--cream); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 24px; }
.footer-bottom span { font-size: 12.5px; color: var(--footer-faint); }

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px);
  z-index: 120; width: 58px; height: 58px; border-radius: 50%;
  background: var(--sage); color: #fff;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(14,74,69,.5);
  animation: cmgPulse 2.8s infinite, cmgFloat .5s ease-out;
  transition: background .25s, transform .25s;
}
.wa-float:hover { background: var(--green); transform: scale(1.06); }

/* ============ UTILITÁRIOS ============ */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(36px, 6vw, 80px); }
.split > div { flex: 1 1 380px; min-width: 300px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 20px; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-1 { margin-bottom: 12px; } .mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.center { text-align: center; }

/* Aviso de conteúdo pendente (para revisão da cliente) */
.pendente {
  background: rgba(194,163,91,.12); border: 1px dashed var(--gold);
  border-radius: 10px; padding: 14px 18px;
  font-size: 13.5px; color: #8A6D2F; line-height: 1.6;
}
