:root {
  --cream: #FBF4EC;
  --cream-dark: #F1E4D3;
  --brown-900: #34241C;
  --brown-700: #5A4133;
  --brown-500: #8A6A54;
  --terracotta: #B5623B;
  --terracotta-dark: #9A4E2C;
  --gold: #C9A15A;
  --white: #FFFFFF;
  --shadow: 0 10px 30px rgba(52, 36, 28, 0.12);
  --radius: 18px;
  --max-width: 1160px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--brown-900);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--brown-900);
}

p { margin: 0 0 1em; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(181, 98, 59, .35);
}
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--brown-900);
  border: 1.5px solid var(--brown-900);
}
.btn-outline:hover { background: var(--brown-900); color: var(--white); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 244, 236, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid rgba(52,36,28,.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--brown-900);
  letter-spacing: .5px;
}
.logo span { color: var(--terracotta); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  color: var(--brown-700);
}
.nav-links a:hover { color: var(--terracotta); }
.nav-cta { display: none; }
@media (min-width: 860px) { .nav-cta { display: inline-flex; } }
.nav-toggle {
  display: inline-flex;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}
@media (min-width: 860px) { .nav-toggle { display: none; } }
.nav-links { display: none; }
@media (min-width: 860px) { .nav-links { display: flex; } }
.nav-links.open {
  display: flex;
  position: absolute;
  top: 76px; left: 0; right: 0;
  background: var(--cream);
  flex-direction: column;
  padding: 20px 24px;
  gap: 18px;
  box-shadow: var(--shadow);
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 40px;
  display: grid;
  gap: 40px;
}
@media (min-width: 940px) {
  .hero { grid-template-columns: 1.05fr .95fr; align-items: center; padding: 90px 0 60px; }
}
.eyebrow {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--terracotta-dark);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.hero-lead { font-size: 1.15rem; color: var(--brown-700); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-trust { margin-top: 22px; font-size: .9rem; color: var(--brown-500); }
.hero-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--cream-dark), #e7d3ba);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .placeholder-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--brown-500); font-size: .95rem; text-align: center; padding: 20px;
}

/* ---------- Section shell ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--brown-700); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: 36px;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: .8fr 1.2fr; align-items: center; } }
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--cream-dark);
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Senses ---------- */
.senses-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.sense-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--terracotta);
}
.sense-card .sense-num {
  font-family: Georgia, serif;
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.sense-card h3 { font-size: 1.15rem; }
.sense-card p { color: var(--brown-700); font-size: .95rem; margin: 0; }

/* ---------- Bloco de notas (parágrafo + foto) ---------- */
.notes-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) and (max-width: 899px) { .notes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .notes-grid { grid-template-columns: repeat(3, 1fr); } }
.note-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.note-photo {
  position: relative;
  aspect-ratio: 4/5;            /* as 3 fotos sempre do mesmo tamanho */
  background: linear-gradient(160deg, var(--cream-dark), #ddc7a9);
  cursor: pointer;
  overflow: hidden;
}
.note-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.note-photo:hover img { transform: scale(1.04); }
.note-photo .ph-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--brown-500); font-size: .9rem;
}
.note-paper {
  flex: 1;                       /* cartões com a mesma altura */
  position: relative;
  padding: 22px 22px 26px 46px;
  background-color: #FFFDF8;
  background-image:
    linear-gradient(90deg, transparent 33px, rgba(181,98,59,.35) 33px, rgba(181,98,59,.35) 35px, transparent 35px),
    repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(138,106,84,.18) 27px, rgba(138,106,84,.18) 28px);
  background-position: 0 0, 0 22px;
  line-height: 28px;
}
.note-num {
  display: block;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gold);
  line-height: 28px;
}
.note-paper h3 {
  font-size: 1.12rem;
  line-height: 28px;
  margin: 0 0 28px;
  color: var(--brown-900);
}
.note-paper p {
  margin: 0;
  color: var(--brown-700);
  font-size: .98rem;
  line-height: 28px;
}

.lightbox {
  position: fixed; inset: 0;
  background: rgba(28, 18, 12, .88);
  display: none;
  align-items: center; justify-content: center;
  z-index: 200;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(90vw, 720px); max-height: 85vh; border-radius: 12px; }
.lightbox-close {
  position: absolute; top: 22px; right: 26px;
  background: none; border: none; color: var(--white); font-size: 2rem; cursor: pointer;
}

/* ---------- Curriculum / offer ---------- */
.curriculum-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.curriculum-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--cream-dark);
  border-radius: 14px;
  padding: 16px 18px;
}
.curriculum-list .check {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
}

.offer-card {
  background: var(--brown-900);
  color: var(--cream);
  border-radius: 28px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.offer-card h2 { color: var(--white); }
.offer-price { font-size: 2.6rem; font-family: Georgia, serif; color: var(--gold); margin: 12px 0; }
.offer-price small { font-size: 1rem; color: var(--cream-dark); font-weight: 400; }
.offer-guarantee { font-size: .9rem; color: var(--cream-dark); margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid rgba(52,36,28,.12);
  padding: 18px 0;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--brown-900);
  padding: 0;
}
.faq-question .icon { font-size: 1.4rem; color: var(--terracotta); transition: transform .2s ease; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--brown-700);
  transition: max-height .25s ease;
}
.faq-item.open .faq-answer { max-height: 260px; margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown-900);
  color: var(--cream-dark);
  padding: 48px 0 26px;
  font-size: .9rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  border-bottom: 1px solid rgba(251,244,236,.14);
  padding-bottom: 26px;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 0; }
.footer-links a { text-decoration: none; color: var(--cream-dark); }
.footer-links a:hover { color: var(--gold); }
.footer-note { color: rgba(251,244,236,.6); font-size: .8rem; }

/* ---------- Auth pages (cadastro/login) ---------- */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 100%);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 34px;
}
.auth-card .logo { display: block; text-align: center; margin-bottom: 6px; }
.auth-card h1 { font-size: 1.5rem; text-align: center; }
.auth-card .subtitle { text-align: center; color: var(--brown-700); font-size: .95rem; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.field input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid #E4D6C4;
  font-size: 1rem;
  background: var(--cream);
}
.field input:focus { outline: none; border-color: var(--terracotta); }
.field-hint { font-size: .8rem; color: var(--brown-500); margin-top: 6px; }
.form-message {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: .9rem;
  margin-bottom: 18px;
  display: none;
}
.form-message.show { display: block; }
.form-message.error { background: #FBE3DA; color: #8C3B1F; }
.form-message.success { background: #E4F2E1; color: #2E5E28; }
.auth-footer-link { text-align: center; margin-top: 18px; font-size: .92rem; }
.auth-footer-link a { color: var(--terracotta); font-weight: 600; text-decoration: none; }

/* ---------- Simple content pages (terms, privacy, 404) ---------- */
.content-page { padding: 64px 0 90px; }
.content-page h1 { margin-bottom: 8px; }
.content-page .updated { color: var(--brown-500); font-size: .9rem; margin-bottom: 32px; }
.content-page h2 { margin-top: 34px; font-size: 1.3rem; }
.content-page p, .content-page li { color: var(--brown-700); }
.content-page ul { padding-left: 20px; }

.page-404 {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
}

/* ---------- Dashboard (members area) ---------- */
.dashboard-wrap { min-height: 100vh; background: var(--cream); }
.dashboard-card {
  max-width: 560px;
  margin: 90px auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px 36px;
  text-align: center;
}
