/* ============================================================
   Porto Metabolic Health — styles.css
   ============================================================ */

/* ── LOCAL FONTS (GDPR — sem Google Fonts) ── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/frontend/assets/fonts/inter-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/frontend/assets/fonts/inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/frontend/assets/fonts/inter-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/frontend/assets/fonts/inter-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/frontend/assets/fonts/cormorant-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/frontend/assets/fonts/cormorant-400i.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/frontend/assets/fonts/cormorant-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/frontend/assets/fonts/cormorant-500i.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── CUSTOM PROPERTIES ── */
:root {
  --navy:        #0B1A2B;
  --bege:        #F2EFE8;
  --bege-dark:   #E8E2D3;
  --bege-sep:    #D8D2C4;
  --gold:        #B89968;
  --white:       #FFFFFF;
  --text-dark:   #1A1A1A;
  --text-mid:    #4A4A4A;
  --text-navy:   #C9CCD1;
  --text-navy-h: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bege);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
}

/* ── CONTAINER ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px;
}

/* ── EYEBROW ── */
.eyebrow {
  display: block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ── HEADINGS ── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
}

h1 {
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 40px;
  line-height: 1.15;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 80px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
}

/* Logo block */
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .logo-img { height: 38px; }
}

/* Nav */
.site-header nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-header nav a {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  white-space: nowrap;
}

.site-header nav a:hover {
  color: var(--white);
}

/* Header CTA */
.header-cta {
  display: inline-block;
  background: var(--white);
  color: var(--navy);
  border: none;
  padding: 12px 24px;
  border-radius: 2px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.header-cta:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--white);
}

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */
#mobileNav {
  display: none;
}

#mobileNav.open {
  display: block;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  padding: 40px 28px;
  overflow-y: auto;
  z-index: 99;
}

#mobileNav a {
  display: block;
  font-size: 17px;
  font-weight: 400;
  color: rgba(201, 204, 209, 0.85);
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

#mobileNav a:last-child {
  border-bottom: none;
}

#mobileNav .nav-cta-mobile {
  display: block;
  margin-top: 28px;
  text-align: center;
  padding: 14px 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 45fr 55fr;
  min-height: calc(90vh - 80px);
  background: var(--navy);
  padding-top: 80px;
}

.hero-text {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text h1 {
  color: var(--text-navy-h);
  font-size: 58px;
  font-weight: 400;
  line-height: 1.08;
}

.hero-text h1 em {
  font-style: italic;
}

.hero-gold-line {
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 28px 0;
}

.hero-text .hero-p1 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-navy);
}

.hero-text .hero-p2 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-navy);
  margin-top: 16px;
}

.hero-btn {
  display: inline-block;
  margin-top: 36px;
  background: var(--white);
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 2px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  width: fit-content;
  align-self: flex-start;
}

.hero-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

.hero-img {
  overflow: hidden;
  position: relative;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ============================================================
   SECTION — É FÁCIL SENTIR-SE PERDIDO
   ============================================================ */
.section-perdido {
  background: var(--bege);
  padding: 88px 0;
}

.section-perdido .section-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.section-perdido h2 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
  margin-top: 0;
}

.perdido-p {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-mid);
}

.perdido-p + .perdido-p {
  margin-top: 20px;
}

.section-sep {
  height: 1px;
  background: var(--bege-sep);
  border: none;
  margin: 0;
}

/* ============================================================
   SECTION — A DIABETES TIPO 2
   ============================================================ */
.section-padrao {
  background: var(--bege);
  padding: 80px 0;
}

.section-padrao .section-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.section-padrao h2 {
  font-size: 38px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
}

.padrao-intro {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 0;
}

/* Tags grid */
.tags-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 24px 0;
  background: var(--bege-sep);
}

.tag-item {
  background: var(--bege);
  padding: 16px 12px;
  text-align: center;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-mid);
}

.padrao-nota {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-mid);
  margin-top: 0;
}

.padrao-nota-bold {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-mid);
  margin-top: 12px;
}

/* ============================================================
   SECTION DUAL — AVALIAÇÃO / COMO PMH TRABALHA
   ============================================================ */
.section-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dual-light {
  background: var(--bege);
  padding: 80px 64px;
}

.dual-light h2 {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-dark);
  margin-top: 16px;
  margin-bottom: 0;
}

.dual-light .panel-p {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-mid);
  margin-top: 20px;
}

.dual-light .aval-nota {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  color: #6A6A6A;
  margin-top: 20px;
}

.dual-navy {
  background: var(--navy);
  padding: 80px 64px;
}

.dual-navy .eyebrow {
  color: var(--gold);
}

.dual-navy h2 {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-navy-h);
  margin-top: 16px;
  margin-bottom: 0;
}

/* PMH list */
.pmh-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 28px;
}

.pmh-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  color: var(--text-navy);
  line-height: 1.6;
}

.pmh-list li::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
  font-size: 15px;
  margin-top: 1px;
}

.pmh-fecho {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-navy);
  line-height: 1.6;
  margin-top: 8px;
}

/* ============================================================
   SECTION — EXPERIÊNCIA REAL
   ============================================================ */
.section-sobre {
  background: var(--bege);
  padding: 80px 0;
}

.section-sobre .section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.section-sobre h2 {
  font-size: 38px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
  margin-top: 0;
}

.sobre-p {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-mid);
}

.sobre-p + .sobre-p {
  margin-top: 20px;
}

.sobre-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

/* ============================================================
   CTA FINAL BLOCK
   ============================================================ */
.section-cta {
  background: var(--bege-dark);
  padding: 56px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.wheat-icon {
  flex-shrink: 0;
}

.cta-text-block .cta-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.2;
}

.cta-text-block .cta-sub {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  margin-top: 6px;
}

.cta-text-block .cta-para {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #6A6A6A;
  margin-top: 4px;
  max-width: 480px;
}

.cta-btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 2px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.cta-btn:hover {
  background: rgba(11, 26, 43, 0.85);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  padding: 56px 64px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 40px;
}

/* Footer brand col */
.footer-brand .header-logo {
  margin-bottom: 20px;
}

.footer-brand-desc {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
  margin-top: 0;
}

/* Footer nav cols */
.footer-col-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
  display: block;
}

.footer-col a {
  display: block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  line-height: 2.2;
}

.footer-col a:hover {
  color: var(--white);
}

/* Footer social icons */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  line-height: 1;
}

.footer-social a:hover {
  color: var(--white);
}

/* Footer contact email */
.footer-email {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  line-height: 2.2;
  display: block;
}

.footer-email:hover {
  color: var(--white);
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 900px) {
  .site-header nav,
  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-img {
    min-height: 56vw;
  }

  .section-perdido .section-grid,
  .section-sobre .section-grid {
    grid-template-columns: 1fr;
  }

  .section-padrao .section-grid {
    grid-template-columns: 1fr;
  }

  .section-dual {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* reduce padding */
  .section-perdido,
  .section-padrao,
  .section-sobre {
    padding-left: 0;
    padding-right: 0;
  }

  .section-perdido .container,
  .section-padrao .container,
  .section-sobre .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .dual-light,
  .dual-navy {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-cta {
    padding-left: 0;
    padding-right: 0;
  }

  .section-cta .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-text {
    padding: 60px 24px;
  }

  .site-header {
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 40px;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .tags-grid {
    grid-template-columns: 1fr 1fr;
  }
}
