/* =========================================================================
   VesteCamila — shared design system (tokens, typography, navbar, footer,
   buttons). Linked by every page: `base.css` on home, `../base.css` on
   subpages. Page-specific section styles live in each page's styles.css.
   Design tokens & type scale taken verbatim from the Framer source.
   ========================================================================= */

:root {
  --vermelho: rgb(219, 74, 43);        /* /1 Vermelho  (#db4a2b) */
  --vermelho-80: rgba(219, 74, 43, 0.8);
  --offblack: rgb(43, 43, 43);         /* /2 Offblack  (#2b2b2b) */
  --offwhite: rgb(228, 226, 221);      /* /3 Offwhite  (#e4e2dd) */
  --texto: #333333;
  --bg: #faf9f6;
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--texto);
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
}

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

/* --- Type scale (Framer text styles) --------------------------------- */
h1, h2, h3, h4 {
  font-family: 'EB Garamond', serif;
  font-weight: 400;
  margin: 0;
  color: var(--offblack);
}
h1 { font-size: 60px; line-height: 1.2; }
h2 { font-size: 33px; line-height: 1.4; }
h3 { font-size: 36px; line-height: 1.2; }
h4 { font-size: 24px; line-height: 1.4; }
p  { margin: 0; font-size: 19px; line-height: 1.5; }

/* --- Layout helpers -------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.linha { width: 100px; height: 1px; background: var(--vermelho); flex: none; }

/* --- CTA button (Botão component) ------------------------------------ */
.btn-cta {
  display: inline-block;
  background: var(--vermelho-80);
  color: var(--offwhite);
  font-family: 'EB Garamond', serif;
  font-size: 24px;
  line-height: 1.4;
  padding: 6px 16px;
  border-radius: 10px;
  transition: transform .2s ease, background-color .2s ease;
}
.btn-cta:hover { transform: translateY(-2px); background: var(--vermelho); }

/* --- Navbar (Navigation component) -----------------------------------
   Transparent overlay over the page's hero, white logo + links (matches
   the Framer original). Every page opens with a dark hero image. */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  background: transparent;
}
.navbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 68px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo-img img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.logo-text { display: none; font-family: 'EB Garamond', serif; font-size: 26px; color: #fff; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-family: 'EB Garamond', serif;
  font-size: 17px;
  color: #fff;
  transition: opacity .15s ease;
}
.nav-links a:hover { opacity: .75; }
.nav-links a.active { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.btn-navbar {
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  background: var(--vermelho-80);
  color: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.btn-navbar:hover { background: var(--vermelho); }

/* Solid bege navbar variant used by inner pages (online, semipresencial):
   in normal flow, dark links, terracota logo, no CTA button. */
.navbar-solid {
  position: sticky;
  background: var(--offwhite);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.navbar-solid .logo-img img { filter: none; }
.navbar-solid .logo-text { color: var(--vermelho); }
.navbar-solid .nav-links a { color: var(--offblack); }
.navbar-solid .nav-links a:hover { color: var(--vermelho); opacity: 1; }
.navbar-solid .nav-links a.active { color: var(--vermelho); text-decoration: none; }
/* Inner pages that drop the CTA button (online, semipresencial). */
.navbar-nobtn .btn-navbar { display: none; }

/* --- Footer (Footer component) --------------------------------------- */
.footer {
  background: var(--offwhite);
  width: 100%;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 64px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-logo img { height: 30px; width: auto; }
.footer p { font-family: 'EB Garamond', serif; font-size: 18px; color: var(--offblack); }
.footer .credit { display: inline-flex; align-items: center; gap: 8px; }
.footer .credit img { height: 22px; width: auto; display: inline-block; }

/* --- Responsive ------------------------------------------------------ */
@media (max-width: 980px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  h3 { font-size: 30px; }
  .logo-img, .nav-links { display: none; }
  .logo-text { display: block; }
  .navbar-inner { justify-content: space-between; height: 60px; padding: 0 16px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 26px; }
  body { font-size: 17px; }
  .btn-navbar { font-size: 14px; padding: 7px 12px; }
}
