/* ============================================================
   LUIZA CARVALHO — Design tokens
   Palette derived strictly from: #b6885d / #ebd288 / #73411f / #452815
   ============================================================ */
@font-face{
  font-family:'Saudagar';
  src: url('assets/fonts/Saudagar.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root{
  --bronze:        #b6885d;
  --champagne:     #ebd288;
  --umber:         #73411f;
  --espresso:      #452815;

  --cream:         #faf5ec;     /* tint of champagne, near-white */
  --cream-deep:    #f1e6d3;
  --ink:           #2a1810;     /* tint of espresso, used as text */
  --ink-soft:      #5c4332;

  --glass-light:   rgba(250, 245, 236, 0.55);
  --glass-border:  rgba(182, 136, 93, 0.25);
  --glass-dark:    rgba(42, 24, 16, 0.55);
  --glass-dark-bd: rgba(235, 210, 136, 0.12);

  --shadow-soft:   0 20px 60px -20px rgba(69, 40, 21, 0.25);
  --shadow-glow:   0 0 40px rgba(235, 210, 136, 0.25);

  --ease-lux: cubic-bezier(.16,.84,.32,1);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-weight:400;
  overflow-x:hidden;
  cursor:none;
}
@media (max-width: 900px){ body{ cursor:auto; } }

h1,h2,h3,h4, .font-display{
  font-family:'Saudagar', 'Cormorant Garamond', serif;
  font-weight:400;
  letter-spacing:0.01em;
  color: var(--espresso);
}

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

.container{ max-width:1280px; margin:0 auto; padding:0 6vw; }
@media (max-width:700px){ .container{ padding:0 6vw; } }

/* ---------- Logotype ---------- */
.logotype{
  font-family:'Manrope', sans-serif;
  letter-spacing:0.04em;
  font-size:1.05rem;
  white-space:nowrap;
}
.logotype .light{ font-weight:300; }
.logotype .bold{ font-weight:800; }
.logotype.on-dark .light, .logotype.on-dark .bold{ color: var(--cream); }
.logotype:not(.on-dark) .light, .logotype:not(.on-dark) .bold{ color: var(--espresso); }

/* ---------- Custom cursor ---------- */
#cursor-dot, #cursor-ring{
  position:fixed; top:0; left:0; pointer-events:none; z-index:9999;
  border-radius:50%;
  transform:translate(-50%,-50%);
  will-change: transform;
}
#cursor-dot{
  width:7px; height:7px;
  background: var(--umber);
  transition: background .35s var(--ease-lux), width .35s var(--ease-lux), height .35s var(--ease-lux);
}
#cursor-ring{
  width:34px; height:34px;
  border:1.5px solid rgba(182,136,93,.6);
  box-shadow: 0 0 18px rgba(235,210,136,.0);
  transition: width .4s var(--ease-lux), height .4s var(--ease-lux), border-color .4s var(--ease-lux), box-shadow .4s var(--ease-lux), background .4s var(--ease-lux);
}
body.cursor-on-dark #cursor-dot{ background: var(--champagne); }
body.cursor-on-dark #cursor-ring{ border-color: rgba(235,210,136,.7); }
#cursor-ring.grow{
  width:64px; height:64px;
  background: rgba(235,210,136,.12);
  border-color: rgba(182,136,93,.9);
  box-shadow: 0 0 28px rgba(235,210,136,.45);
}
#cursor-ring.image-hover{
  width:90px; height:90px;
  background: rgba(250,245,236,.18);
  border-color: rgba(250,245,236,.7);
}
@media (max-width:900px){ #cursor-dot,#cursor-ring{ display:none; } }

/* ---------- Nav ---------- */
#nav{
  position:fixed; top:18px; left:50%; transform:translateX(-50%);
  z-index:200; display:flex; align-items:center; gap:clamp(14px,3vw,40px);
  padding:10px 22px;
  background: var(--glass-light);
  border:1px solid var(--glass-border);
  border-radius:999px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow-soft);
  transition: top .4s var(--ease-lux), background .4s var(--ease-lux);
}
#nav .nav-icons{ display:flex; gap:14px; align-items:center; }
#nav .nav-icons a{
  width:30px; height:30px; display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  color: var(--umber);
  transition: transform .35s var(--ease-lux), background .35s var(--ease-lux), color .35s var(--ease-lux);
}
#nav .nav-icons a:hover{ background:rgba(182,136,93,.15); color:var(--espresso); transform:translateY(-2px); }
#nav .nav-icons svg{ width:15px; height:15px; }
#nav .nav-back{
  font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; color:var(--umber);
  border-left:1px solid var(--glass-border); padding-left:14px;
}

/* ---------- Buttons ---------- */
.btn{
  position:relative; display:inline-flex; align-items:center; gap:10px;
  padding:16px 34px; border-radius:999px;
  font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; font-weight:600;
  background: var(--espresso); color: var(--cream);
  border:1px solid transparent;
  transition: transform .5s var(--ease-lux), box-shadow .5s var(--ease-lux), background .5s var(--ease-lux);
  box-shadow: 0 10px 30px -10px rgba(69,40,21,.5);
}
.btn:hover{ transform:translateY(-3px); box-shadow:0 18px 40px -10px rgba(69,40,21,.55); }
.btn-glass{
  background: var(--glass-light);
  color: var(--espresso);
  border:1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}
.btn-outline{
  background:transparent; color:var(--cream); border:1px solid rgba(250,245,236,.45);
  box-shadow:none;
}
.btn-outline:hover{ background:rgba(250,245,236,.1); }

/* ---------- Glass card ---------- */
.glass{
  background: var(--glass-light);
  border:1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--shadow-soft);
  border-radius:26px;
}
.glass-dark{
  background: var(--glass-dark);
  border:1px solid var(--glass-dark-bd);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius:26px;
}

/* ---------- Reveal animation ---------- */
.reveal{
  opacity:0; transform:translateY(36px) scale(.99);
  filter: blur(6px);
  transition: opacity 1.1s var(--ease-lux), transform 1.1s var(--ease-lux), filter 1.1s var(--ease-lux);
}
.reveal.in{ opacity:1; transform:translateY(0) scale(1); filter:blur(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; filter:none; transition:none; }
}

/* stagger helper */
.stagger > * { transition-delay: calc(var(--i, 0) * 110ms); }

/* ---------- AI placeholder image blocks ---------- */
.ai-ph{
  position:relative; overflow:hidden; border-radius:inherit;
  background: linear-gradient(135deg, var(--champagne), var(--bronze) 55%, var(--umber));
  isolation:isolate;
}
.ai-ph::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(69,40,21,.35), transparent 60%);
  mix-blend-mode:overlay;
}
.ai-ph .ai-tag{
  position:absolute; left:14px; bottom:14px; right:14px;
  font-size:.62rem; letter-spacing:.05em; line-height:1.4;
  color:rgba(250,245,236,.92);
  background:rgba(42,24,16,.45);
  border:1px solid rgba(250,245,236,.25);
  backdrop-filter:blur(8px);
  border-radius:12px; padding:8px 12px;
  font-family:'Manrope',sans-serif;
}
.ai-ph .ai-tag b{ display:block; font-size:.58rem; letter-spacing:.18em; text-transform:uppercase; color:var(--champagne); margin-bottom:2px; }

/* ---------- Real photo frame ---------- */
.photo-frame{ position:relative; border-radius:28px; overflow:hidden; box-shadow:var(--shadow-soft); }
.photo-frame img{ width:100%; height:100%; object-fit:cover; }
.photo-frame::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 60%, rgba(69,40,21,.35));
  pointer-events:none;
}

/* ---------- Misc ---------- */
.eyebrow{
  font-size:.72rem; letter-spacing:.22em; text-transform:uppercase; color:var(--bronze); font-weight:700;
}
.divider{ width:48px; height:1px; background:linear-gradient(90deg, var(--bronze), transparent); }
.section-pad{ padding:120px 0; }
@media (max-width:700px){ .section-pad{ padding:80px 0; } }

.float-soft{ animation: floaty 7s ease-in-out infinite; }
@keyframes floaty{ 0%,100%{ transform:translateY(0px); } 50%{ transform:translateY(-14px); } }

.bg-noise-dark{ background: radial-gradient(120% 120% at 20% 0%, #5b3420 0%, var(--espresso) 55%, #2c1809 100%); }

::selection{ background:var(--champagne); color:var(--espresso); }

/* scrollbar */
::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background:var(--cream); }
::-webkit-scrollbar-thumb{ background:var(--bronze); border-radius:10px; }


/* ============================================================
   MOBILE — all rules scoped to ≤768px, desktop untouched
   ============================================================ */
@media (max-width: 768px) {

  /* ---- NAV ---- */
  #nav {
    top: 12px !important;
    padding: 8px 14px !important;
    gap: 10px !important;
    max-width: calc(100vw - 48px);
  }
  #nav .logotype { font-size: .78rem; }
  #nav .nav-icons { gap: 10px; }
  #nav .nav-icons svg { width: 14px; height: 14px; }
  #home-fab {
    width: 40px !important; height: 40px !important;
    top: 12px !important; left: 12px !important;
  }

  /* ---- GLOBAL ---- */
  .section-pad { padding: 64px 0 !important; }
  .container { padding: 0 5vw !important; }

  /* ---- HERO INDEX — stack vertically ---- */
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    text-align: center !important;
    padding-top: 0 !important;
  }
  .hero-grid .divider { margin: 14px auto 22px !important; }
  .hero-grid h1 { font-size: clamp(2.2rem, 10vw, 3rem) !important; }
  .hero-grid > div:first-child p { margin-left: auto !important; margin-right: auto !important; }
  .hero-grid > div:first-child { order: 2; }
  .hero-photo { order: 1; max-width: 320px; margin: 0 auto; }
  .hero-photo .photo-frame { aspect-ratio: 3/4 !important; }
  header.section-pad { padding-top: 110px !important; min-height: auto !important; }

  /* ---- 4 BIG CARDS — 2×2 ---- */
  .cards-4 {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .cards-4 a {
    min-height: 160px !important;
    padding: 20px 16px !important;
    gap: 10px !important;
  }
  .cards-4 h3 { font-size: .88rem !important; }
  .cards-4 p  { font-size: .78rem !important; }
  .cards-4 svg { width: 22px !important; height: 22px !important; }

  /* ---- SOBRE — stack ---- */
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    text-align: center !important;
  }
  .about-photo {
    max-width: 260px !important;
    margin: 0 auto !important;
    aspect-ratio: 3/4 !important;
  }
  .about-grid .divider { margin-left: auto !important; margin-right: auto !important; }

  /* ---- VIDEO — adjust ratio for mobile ---- */
  .glass-dark[style*="aspect-ratio:21/9"] {
    aspect-ratio: 16/9 !important;
  }

  /* ---- COMMUNITY BLOCK ---- */
  .community-block {
    padding: 36px 22px !important;
    border-radius: 20px !important;
  }
  .community-block h2 { font-size: clamp(1.4rem, 5.5vw, 1.9rem) !important; }
  .community-block .btn { font-size: .68rem !important; padding: 13px 18px !important; }

  /* ---- FOOTER ---- */
  footer { padding: 50px 0 28px !important; }

  /* ======== MENTORIA PAGE ======== */

  /* hero */
  header .container[style*="max-width:960px"] h1 {
    font-size: clamp(3rem, 16vw, 5.5rem) !important;
    line-height: .92 !important;
  }

  /* gallery 2×2 */
  .gallery-4 {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .ba-card { border-radius: 16px !important; }

  /* diferencial atenção block */
  section .glass-dark[style*="padding:clamp"] {
    padding: 32px 22px !important;
    border-radius: 20px !important;
  }

  /* para quem é / não é — stack */
  .for-whom-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* conteúdo lista */
  .content-list { gap: 10px !important; }
  .content-item-head { padding: 14px 16px !important; gap: 12px !important; }
  .content-item-head h4 { font-size: .92rem !important; }
  .content-item-head p  { font-size: .78rem !important; }
  .content-item:hover .content-item-body,
  .content-item.open .content-item-body {
    max-height: 500px !important;
  }
  .content-item-body { padding: 0 16px !important; }
  .content-item:hover .content-item-body,
  .content-item.open .content-item-body {
    padding: 0 16px 18px !important;
  }

  /* quem sou eu — stack */
  .quem-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    text-align: center !important;
  }
  .quem-photo {
    max-width: 260px !important;
    margin: 0 auto !important;
  }
  .quem-grid .divider { margin-left: auto !important; margin-right: auto !important; }

  /* bônus lista */
  .bonus-list { gap: 10px !important; }
  .bonus-list > div { padding: 14px 16px !important; font-size: .84rem !important; }

  /* CTA final */
  section .glass[style*="max-width:760px"] {
    padding: 36px 22px !important;
    border-radius: 20px !important;
  }
}

/* ---- Extra small (≤ 420px) ---- */
@media (max-width: 420px) {
  .cards-4 { grid-template-columns: 1fr !important; }
  .gallery-4 { grid-template-columns: 1fr !important; }
  #nav .logotype { display: none; }
  #nav { gap: 8px !important; }
  .hero-grid h1 { font-size: clamp(1.9rem, 9vw, 2.4rem) !important; }
  header .container[style*="max-width:960px"] h1 {
    font-size: clamp(2.6rem, 13vw, 4rem) !important;
  }
}

/* ---- Mobile-logo: hidden on desktop, shown on mobile ---- */
.mobile-logo { display: none; }

@media (max-width: 768px) {

  /* Show logotype inside hero on mobile, hide nav logotype */
  .mobile-logo {
    display: block !important;
    font-size: 1.4rem;
    text-align: center;
    order: 0;
  }
  #nav .logotype { visibility: hidden; width: 0; overflow: hidden; padding: 0; margin: 0; }

  /* Hero: single column, logo → eyebrow → h1 → p → btn → photo */
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 28px !important;
    padding-top: 0 !important;
  }
  .hero-text-col {
    order: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-text-col .divider { margin: 14px auto 22px !important; }
  .hero-text-col p:not(.eyebrow) { margin-left: auto !important; margin-right: auto !important; }
  .hero-text-col h1 { font-size: clamp(2.2rem, 9.5vw, 3rem) !important; }
  .hero-photo {
    order: 2;
    width: 85% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }
  header.section-pad {
    min-height: auto !important;
    padding-top: 100px !important;
    padding-bottom: 60px !important;
    align-items: flex-start !important;
  }

  /* Mentoria gallery: force 2x2 */
  .gallery-4 {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
}

@media (max-width: 420px) {
  .mobile-logo { font-size: 1.2rem; }
  .hero-photo { width: 92% !important; }
}
