 :root{
  --bg:#f6f2ec;
  --card:#ffffff;
  --primary:#1F5B7A; /* azul principal */ 
  --muted:#3f3b38;
  --radius:12px;
  --maxw:1120px;
  --serif:"Georgia","Times New Roman",serif;
}

/* 📍 Fundo com degradê azul nas laterais */
body{
  margin:0;
  background:linear-gradient( 
    90deg,
    #dbe9f1 0%,
    #f6f2ec 20%,
    #f6f2ec 80%,
    #dbe9f1 100%
  );
  color:var(--muted);
  font-family:var(--serif);
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
}

*{box-sizing:border-box}
p{margin:0 0 0.8em;}
.muted{
  color:var(--muted);
  font-size:0.98rem;
}

.wrap{
  max-width:var(--maxw);
  margin:20px auto;
  padding:20px;
}

.card{
  background:linear-gradient(180deg,#f9f5ee 0%,#eaf2f7 100%);
  border-radius:var(--radius);
  padding:26px;
  box-shadow:0 10px 30px rgba(0,0,0,0.07);
}

/* 🔹 MENU SUPERIOR */
.top-nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;        /* no mobile quebra bonito */
  justify-content:center;
  margin-bottom:22px;
  padding-bottom:6px;
}

/* Aparência dos botões do menu */
.top-nav a{
  background:rgba(31,91,122,0.10);
  color:var(--primary);
  padding:8px 14px;
  border-radius:40px;
  font-weight:600;
  font-size:.93rem;
  text-decoration:none;
  transition:.25s ease;
  border:1px solid rgba(31,91,122,0.18);
}

.top-nav a:hover{
  background:rgba(31,91,122,0.16);
  transform:translateY(-2px);
  box-shadow:0 4px 10px rgba(0,0,0,.08);
}

/* 🌍 DESKTOP — MENU EM UMA LINHA (7 ITENS) */
@media (min-width:900px){
  .top-nav{
    display:grid;
    grid-auto-flow:column;     /* coloca todos lado a lado */
    grid-auto-columns:1fr;     /* cada item ocupa 1 fração */
    gap:16px;
    justify-content:center;
    align-items:center;
  }
  .top-nav a{
    width:100%;
    text-align:center;
    white-space:nowrap;        /* evita quebrar o texto do botão */
  }
}

/* HERO -------------------------------------------------- */
.hero{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  align-items:center;
}

.hero h1{
  margin:0;
  font-size:2.1rem;
  color:var(--primary);
  text-align:center;
}

.lead{
  margin-top:10px;
  font-size:1.02rem;
  text-align:center;
}
.meta{
  margin-top:12px;
  font-size:0.98rem;
  text-align:center;
}

.hero-photo{
  width:100%;
  height:60vh;
  max-height:640px;
  border-radius:12px;
  object-fit:cover;
  object-position:center top;
  box-shadow:0 12px 30px rgba(0,0,0,0.08);
}

/* BOTÕES ------------------------------------------------ */
.hero-cta,
.section-cta{
  text-align:center;
  margin-top:16px;
}
.cta-btn{
  display:inline-block;
  padding:10px 20px;
  border-radius:999px;
  background:var(--primary);
  color:#fff;
  font-weight:600;
  font-size:.95rem;
  text-decoration:none;
  box-shadow:0 6px 18px rgba(0,0,0,.18);
}
.cta-btn:hover{
  filter:brightness(1.05);
}

/* SEÇÕES ------------------------------------------------ */
.section{
  margin-top:22px;
}
h2{
  color:var(--primary);
  margin:0 0 8px;
  font-size:1.12rem;
}

.two-col{
  display:flex;
  gap:20px;
  align-items:flex-start;
}
.side-photo{
  width:320px;
  height:260px;
  object-fit:cover;
  object-position:center top;
  border-radius:10px;
  box-shadow:0 8px 18px rgba(0,0,0,0.06);
}

/* Instagram --------------------------------------------- */
.instagram-btn{
  display:inline-block;
  margin-top:10px;
  padding:8px 14px;
  border-radius:8px;
  background:#fdf9f3;
  color:var(--primary);
  border:1px solid rgba(0,0,0,0.06);
  font-size:.95rem;
  text-decoration:none;
}
.instagram-btn:hover{
  text-decoration:underline;
}

/* Modalidades ------------------------------------------- */
.services{
  display:grid;
  gap:12px;
  margin-top:10px;
}
details.service{
  background:#fdf9f3;
  border-radius:12px;
  padding:10px 14px;
  box-shadow:0 4px 10px rgba(0,0,0,0.04);
}
details.service summary{
  cursor:pointer;
  font-weight:700;
  color:var(--primary);
}
details.service summary::-webkit-details-marker{
  display:none;
}

/* Galeria ----------------------------------------------- */
.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:14px;
}
.gimg{
  width:100%;
  height:250px;
  border-radius:12px;
  overflow:hidden;
  background:#f0eeeb;
  display:flex;
  align-items:center;
  justify-content:center;
}
.gimg img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 18%;
}

/* BOTÃO PADRÃO PARA E-BOOKS (formação + loja) ---------- */
.ebook-link-btn{
  display:inline-block;
  padding:8px 16px;
  border-radius:999px;
  background:var(--primary);
  color:#fff;
  text-decoration:none;
  font-weight:600;
  font-size:0.9rem;
  box-shadow:0 5px 14px rgba(0,0,0,0.15);
  margin-top:8px;
}
.ebook-link-btn:hover{
  filter:brightness(1.05);
}

}

/* Faça sua Matrícula ------------------------------------ */
.ebook-actions{
  margin-top:10px;
}


/* E-book da formação ------------------------------------ */
.ebook-actions{
  margin-top:10px;
}
.ebook-note{
  margin-top:6px;
  font-size:0.9rem;
  color:#666;
}

/* LOJA DE E-BOOKS (GRID) ------------------------------- */
.ebook-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:16px;
}

.ebook-card{
  background:#fdf9f3;
  border-radius:12px;
  padding:14px;
  box-shadow:0 6px 14px rgba(0,0,0,0.04);
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.ebook-cover{
  width:100%;
  max-width:180px;   /* capa discreta */
  height:auto;
  border-radius:10px;
  box-shadow:0 6px 14px rgba(0,0,0,0.12);
  margin-bottom:10px;
}

.ebook-card h3{
  margin:8px 0 4px;
  font-size:0.96rem;
  color:var(--primary);
}

.ebook-card .muted{
  font-size:0.9rem;
}

/* PODCAST ------------------------------------------------ */
.podcast-cover{
  width:320px;
  max-width:100%;
  border-radius:12px;
  box-shadow:0 8px 18px rgba(0,0,0,0.06);
  object-fit:cover;
}

/* Analista reativo -------------------------------------- */
.ar-box{
  background:#fdf9f3;
  border-radius:12px;
  padding:18px;
  display:flex;
  gap:18px;
  align-items:flex-start;
  border:1px solid rgba(0,0,0,0.06);
}
.ar-img{
  width:220px;
  border-radius:10px;
  box-shadow:0 6px 18px rgba(0,0,0,.1);
}

/* Rodapé ------------------------------------------------ */
footer{
  text-align:center;
  margin-top:28px;
  font-size:.95rem;
}

/* MOBILE ------------------------------------------------ */
@media(max-width:768px){
  .hero{
    grid-template-columns:1fr;
  }
  .hero-photo{
    height:40vh;
  }
  .two-col{
    flex-direction:column;
  }
  .side-photo{
    width:100%;
    height:auto;
    max-height:320px;
    object-fit:contain;
  }
  .gallery{
    grid-template-columns:repeat(2,1fr);
  }
  .gimg img{
    object-fit:contain;
    object-position:center;
  }
  .ar-box{
    flex-direction:column;
  }
  .ar-img{
    width:100%;
    max-width:260px;
    margin:auto;
  }

  /* Loja de e-books em 2 colunas no celular */
  .ebook-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .podcast-cover{
    width:100%;
    height:auto;
    max-height:320px;
    object-fit:contain;
  }
}

/* 🔒 Modal de privacidade ------------------------------- */
.modal-backdrop{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:999;
}
.modal{
  display:none;
  position:fixed;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(920px,94%);
  background:#fff;
  border-radius:10px;
  padding:20px;
  box-shadow:0 20px 60px rgba(0,0,0,0.25);
  z-index:1000;
}

/* YARA -------------------------------------------------- */
.iara-hint{
  display:none;
  position:fixed;
  right:16px;
  bottom:95px;
  background:var(--primary);
  color:#fff;
  font-size:.82rem;
  padding:6px 10px;
  border-radius:20px;
  box-shadow:0 4px 10px rgba(0,0,0,.25);
  z-index:99999;
}
@media(max-width:768px){
  .iara-hint{
    display:block;
  }
}
