@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  --navy-950:#080f1e;
  --navy-900:#0b1729;
  --navy-800:#122139;
  --navy-700:#1a2f4d;
  --gold:#c6a35d;
  --gold-light:#e3caa0;
  --off-white:#f3efe6;
  --grey:#8996a8;
  --line: rgba(198,163,93,0.22);
}

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

body{
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(198,163,93,0.07), transparent 60%),
    var(--navy-950);
  color:var(--off-white);
  font-family:'Manrope', sans-serif;
  min-height:100vh;
}

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

@media (prefers-reduced-motion: no-preference){
  .reveal{opacity:0; transform:translateY(14px); animation:rise .7s ease forwards;}
  @keyframes rise{to{opacity:1; transform:translateY(0);}}
}

:focus-visible{outline:2px solid var(--gold); outline-offset:3px;}

.serif{font-family:'Cormorant Garamond', serif;}

/* ---------- Top bar / nav ---------- */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  max-width:1100px;
  margin:0 auto;
  padding:22px 24px 10px;
  flex-wrap:wrap;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.brand img{
  height:38px;
  width:auto;
}
.brand-text{
  font-family:'Cormorant Garamond', serif;
  font-weight:600;
  font-size:19px;
  letter-spacing:0.04em;
  color:var(--off-white);
}
.brand-text span{color:var(--gold);}

.nav{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  justify-content:center;
}
.nav a{
  text-decoration:none;
  font-size:12px;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:#c7cedb;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid transparent;
  transition:border-color .2s ease, color .2s ease, background .2s ease;
}
.nav a:hover{
  color:var(--gold-light);
  border-color:var(--line);
  background:rgba(198,163,93,0.06);
}
.nav a.active{
  color:var(--navy-950);
  background:linear-gradient(135deg, var(--gold-light), var(--gold));
  font-weight:800;
}

.topbar-actions{
  display:flex;
  gap:8px;
}
.icon-btn{
  width:36px;height:36px;
  border-radius:50%;
  border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;
  color:var(--gold-light);
  text-decoration:none;
  transition:border-color .2s ease, background .2s ease;
}
.icon-btn:hover{border-color:var(--gold); background:rgba(198,163,93,0.08);}
.icon-btn svg{width:16px;height:16px;}

hr.rule{
  border:none;
  height:1px;
  max-width:1100px;
  margin:6px auto 0;
  background:linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent);
}

/* ---------- Page shell ---------- */
.page{
  max-width:1100px;
  margin:0 auto;
  padding:40px 24px 80px;
}
.page-narrow{
  max-width:720px;
  margin:0 auto;
  padding:40px 24px 80px;
}

.eyebrow{
  font-size:11.5px;
  letter-spacing:0.28em;
  text-transform:uppercase;
  color:var(--gold);
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:16px;
}
.eyebrow::before{content:""; width:26px;height:1px;background:var(--line);}

h1.page-title{
  font-family:'Cormorant Garamond', serif;
  font-weight:600;
  font-size:clamp(30px, 5vw, 44px);
  color:var(--off-white);
  margin-bottom:14px;
  line-height:1.15;
}
p.lede{
  font-size:15px;
  line-height:1.7;
  color:#c7cedb;
  max-width:640px;
  margin-bottom:8px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:700;
  letter-spacing:0.03em;
  padding:12px 22px;
  border-radius:10px;
  text-decoration:none;
  transition:transform .2s ease, box-shadow .2s ease;
}
.btn-gold{
  color:var(--navy-950);
  background:linear-gradient(135deg, var(--gold-light), var(--gold));
}
.btn-gold:hover{transform:translateY(-2px); box-shadow:0 10px 24px -10px rgba(198,163,93,0.5);}
.btn-outline{
  color:var(--gold-light);
  border:1px solid var(--line);
  background:transparent;
}
.btn-outline:hover{border-color:var(--gold); background:rgba(198,163,93,0.06);}
.btn svg{width:12px;height:12px;}

/* ---------- Hero (home) ---------- */
.hero{
  text-align:center;
  padding:10px 24px 30px;
  max-width:720px;
  margin:0 auto;
}
.hero-title{
  font-family:'Cormorant Garamond', serif;
  font-weight:600;
  font-size:clamp(32px, 6vw, 52px);
  line-height:1.15;
  margin:14px 0 16px;
}
.hero-title span{color:var(--gold);}
.hero-sub{
  font-size:15px;
  line-height:1.7;
  color:#c7cedb;
  margin-bottom:26px;
}
.hero-ctas{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

/* ---------- Featured tiles (home) ---------- */
.tiles{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:18px;
  max-width:820px;
  margin:44px auto 0;
  padding:0 24px;
}
@media (max-width:560px){ .tiles{grid-template-columns:1fr;} }

.tile{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  min-height:180px;
  display:flex;
  align-items:flex-end;
  text-decoration:none;
  border:1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8,15,30,0.15), rgba(8,15,30,0.92)),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
  transition:transform .25s ease, border-color .25s ease;
}
.tile:hover{transform:translateY(-4px); border-color:rgba(198,163,93,0.5);}
.tile-inner{
  padding:20px;
  width:100%;
}
.tile-icon{
  width:34px;height:34px;
  margin-bottom:10px;
  color:var(--gold);
}
.tile-label{
  font-family:'Cormorant Garamond', serif;
  font-weight:600;
  font-size:22px;
  color:var(--off-white);
}
.tile-desc{
  font-size:12px;
  color:var(--grey);
  margin-top:4px;
}

/* ---------- Cards (services, consultas, ebooks list) ---------- */
.grid-cards{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
  gap:16px;
  margin-top:28px;
}
.card{
  background:linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border:1px solid var(--line);
  border-radius:14px;
  padding:20px;
}
.card-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  font-size:14.5px;
  color:var(--off-white);
  margin-bottom:8px;
}
.card-title svg{width:16px;height:16px;color:var(--gold); flex-shrink:0;}
.card-body{
  font-size:13px;
  line-height:1.6;
  color:#b9c2d1;
}
.card-link{
  display:inline-flex;
  align-items:center;
  gap:5px;
  margin-top:12px;
  font-size:12px;
  font-weight:700;
  color:var(--gold-light);
  text-decoration:none;
}
.card-link:hover{color:var(--gold);}
.card-link svg{width:10px;height:10px;}

/* ---------- Ebook catalog list ---------- */
.list{
  width:100%;
  max-width:460px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.ebook-card{
  display:flex;
  gap:16px;
  align-items:stretch;
  background:linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  text-decoration:none;
  color:inherit;
  transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ebook-card:hover{
  transform:translateY(-3px);
  border-color:rgba(198,163,93,0.55);
  box-shadow:0 14px 30px -14px rgba(0,0,0,0.6);
}
.ebook-cover{
  width:72px; min-width:72px; height:96px;
  border-radius:6px; overflow:hidden;
  background:var(--navy-700);
  box-shadow:0 6px 16px rgba(0,0,0,0.45);
}
.ebook-cover img{width:100%;height:100%;object-fit:cover;}
.ebook-body{flex:1; display:flex; flex-direction:column; justify-content:center; min-width:0;}
.ebook-eyebrow{font-size:10px; letter-spacing:0.16em; text-transform:uppercase; color:var(--gold); margin-bottom:5px;}
.ebook-title{font-size:15px; font-weight:700; line-height:1.3; color:var(--off-white); margin-bottom:10px;}
.ebook-cta{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12px; font-weight:700; letter-spacing:0.03em;
  color:var(--navy-950);
  background:linear-gradient(135deg, var(--gold-light), var(--gold));
  padding:7px 13px; border-radius:8px; width:fit-content;
}
.ebook-cta svg{width:11px;height:11px; transition:transform .2s ease;}
.ebook-card:hover .ebook-cta svg{transform:translateX(3px);}

/* ---------- Ebook detail page ---------- */
.ebook-detail{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:40px;
  align-items:start;
  margin-top:20px;
}
@media (max-width:720px){ .ebook-detail{grid-template-columns:1fr; gap:26px;} }

.ebook-detail-cover{
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 24px 50px -20px rgba(0,0,0,0.65);
}

.ebook-detail-desc{
  font-size:15px;
  line-height:1.8;
  color:#c7cedb;
  margin:18px 0 26px;
}

.video-slot{
  margin-top:36px;
  border:1px dashed var(--line);
  border-radius:14px;
  padding:28px;
  text-align:center;
  font-size:12.5px;
  color:var(--grey);
}

/* ---------- Footer ---------- */
.footer{
  max-width:1100px;
  margin:60px auto 0;
  padding:36px 24px 40px;
  border-top:1px solid var(--line);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  text-align:center;
}
.footer-shield{width:26px;height:26px;opacity:0.85;}
.footer-name{
  font-family:'Cormorant Garamond', serif;
  font-weight:600;
  font-size:15px;
  color:var(--gold-light);
}
.footer-note{font-size:11px; color:var(--grey); max-width:380px; line-height:1.6;}
.footer-policies{
  display:flex; gap:14px; flex-wrap:wrap; justify-content:center;
  margin-top:6px;
  font-size:10.5px;
  color:#5c6577;
}
.footer-policies a{text-decoration:none; color:#5c6577;}
.footer-policies a:hover{color:var(--gold-light);}

/* ---------- Stub / em construção ---------- */
.stub{
  margin-top:30px;
  border:1px dashed var(--line);
  border-radius:14px;
  padding:40px 24px;
  text-align:center;
  color:var(--grey);
  font-size:13.5px;
}

/* ---------- Contact form ---------- */
.form{
  margin-top:24px;
  display:flex;
  flex-direction:column;
  gap:12px;
  max-width:480px;
}
.form label{
  font-size:11px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:4px;
  display:block;
}
.form input, .form textarea{
  width:100%;
  background:var(--navy-800);
  border:1px solid var(--line);
  border-radius:8px;
  padding:11px 13px;
  color:var(--off-white);
  font-family:'Manrope', sans-serif;
  font-size:13.5px;
}
.form input:focus, .form textarea:focus{border-color:var(--gold); outline:none;}
.form textarea{resize:vertical; min-height:110px;}

.info-list{
  display:flex; flex-direction:column; gap:10px;
  margin:22px 0 6px;
}
.info-row{
  display:flex; align-items:center; gap:10px;
  font-size:13.5px; color:#c7cedb;
}
.info-row svg{width:16px;height:16px; color:var(--gold); flex-shrink:0;}
.info-row a{text-decoration:none; color:inherit;}
.info-row a:hover{color:var(--gold-light);}

/* ---------- Back button ---------- */
.btn-back{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:12px;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--gold-light);
  text-decoration:none;
  padding:9px 16px;
  border:1px solid var(--line);
  border-radius:999px;
  margin-bottom:24px;
  transition:border-color .2s ease, background .2s ease;
}
.btn-back:hover{border-color:var(--gold); background:rgba(198,163,93,0.06);}
.btn-back svg{width:12px;height:12px;}

/* ---------- Zoomable cover ---------- */
.ebook-detail-cover{
  cursor:zoom-in;
  position:relative;
}
.zoom-hint{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  color:var(--grey);
  margin-top:10px;
}
.zoom-hint svg{width:13px;height:13px; color:var(--gold);}

.lightbox{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(3,6,14,0.92);
  z-index:999;
  align-items:center;
  justify-content:center;
  padding:30px;
  cursor:zoom-out;
}
.lightbox.open{display:flex;}
.lightbox img{
  max-width:min(560px, 90vw);
  max-height:88vh;
  border-radius:10px;
  box-shadow:0 30px 70px -20px rgba(0,0,0,0.8);
}
.lightbox-close{
  position:absolute;
  top:22px; right:26px;
  width:38px;height:38px;
  border-radius:50%;
  border:1px solid var(--line);
  background:rgba(8,15,30,0.6);
  color:var(--gold-light);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
}
.lightbox-close svg{width:16px;height:16px;}
