:root {
  /* Backgrounds */
  --bg: #0a0d14;
  --bg-soft: #121826;

  /* Texto */
  --fg: #e5e7eb;        /* texto principal */
  --fg-muted: #9ca3af; /* texto secundário */

  /* Identidade */
--accent: #0eca7f; 
--accent-hover: #089f67;
--accent-active: #067d4f;
--accent-glow: rgba(14, 202, 127, 0.45);
--accent-soft: rgba(14, 202, 127, 0.15);

  /* Estados */
  --border: rgba(255, 255, 255, 0.08);
  --muted: #64748b;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* NAV */

.nav {
  background: #05080f;
  border-bottom: 1px solid #1f2937;
}

.nav-inner {
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(0, 153, 255, 0.25));
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand img:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

.menu a {
  margin-left: 1.2rem;
  font-size: .95rem;
  color: var(--muted);
}

.menu a:hover { color: var(--accent); }

/* INTRO */

.intro {
  padding: 4rem 0 2rem;
}

.intro h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.intro p {
  margin-top: .5rem;
  color: var(--muted);
}

/* BOOKS */

.books h2 {
  margin-bottom: 1.5rem;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.book {
  background: var(--bg-soft);
  border: 1px solid #1f2937;
  border-radius: 14px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
}

.cover {
  height: 450px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f172a, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  margin-bottom: 1rem;
}

.book h3 {
  margin-bottom: .4rem;
}

.book p {
  color: var(--muted);
  flex-grow: 1;
}

.buy {
  margin-top: 1.2rem;
  text-align: center;
  padding: .7rem;
  border-radius: 8px;
  background: var(--accent);
  color: #020617;
  font-weight: 500;
}

/* PATROCINIO */

.sponsors {
  margin-top: 4rem;
}

.sponsors h2 {
  margin-bottom: 1.2rem;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.sponsor {
  background: var(--bg-soft);
  border: 1px solid #1f2937;
  border-radius: 14px;
  padding: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border .2s, transform .2s;
}

.sponsor img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .85;
}

.sponsor:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.sponsor:hover img {
  filter: none;
  opacity: 1;
}

/** STORAGE **/
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  justify-items: center;
}

/* Tablet */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}


/********* FAQ *********/
.faq {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1rem;
}

.faq h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq details {
  background: var(--bg-soft);
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease;
 
}

.faq details[open] {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "\f078"; /* chevron-down */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: auto;
  transition: transform 0.2s ease;
  
}

.faq details[open] summary::after {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq p {
  margin-top: 0.8rem;
  color: color: var(--fg);;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 600px) {
  .faq summary {
    font-size: 0.95rem;
  }
}


/********** serviços ***********/
.service {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 2rem;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.icon-placeholder {
  font-size: 42px;
  color: #2b6cb0;
  margin-bottom: 1rem;
}

.service h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service h3 .plan {
  display: block;
  font-size: 0.9rem;
  color: #666;
}

.features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.features li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.features i {
  width: 22px;
  color: #2b6cb0;
}

.price {
  font-size: 1.2rem;
  margin: 1.5rem 0;
  font-weight: bold;
}

.price i {
  color: #38a169;
}

.contact-btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background: #2b6cb0;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.contact-btn i {
  margin-right: 6px;
}

.contact-btn:hover {
  background: #234e8c;
}


/* SERVICES (Serviços) */

.services {
  padding: 4rem 0; /* Adiciona espaçamento superior e inferior */
}

.services h2 {
  margin-bottom: 1.5rem;
}

.service-grid {
  margin-top: 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Layout responsivo com cards maiores */
  gap: 1.5rem;
}

.service {
  background: var(--bg-soft);
  border: 1px solid #1f2937;
  border-radius: 14px;
  padding: 1.8rem; /* Um pouco mais de padding */
  display: flex;
  flex-direction: column;
  transition: transform .3s ease; /* Transição para o efeito de hover */
}

.service:hover {
  transform: translateY(-5px); /* Efeito sutil ao passar o mouse */
  border-color: var(--accent); /* Destaca a borda no hover */
}

.icon-placeholder {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.1); /* Cor de fundo suave do accent */
  border-radius: 8px;
}

.service h3 {
  margin-bottom: .4rem;
  font-weight: 600;
}

.service p {
  color: var(--muted);
  flex-grow: 1; /* Garante que o parágrafo ocupe o espaço e alinhe o botão */
  margin-bottom: 1.5rem;
}

.contact {
  margin-top: auto; /* Empurra o botão para a parte inferior */
  text-align: center;
  padding: .8rem;
  border-radius: 8px;
  background: var(--accent);
  color: #020617;
  font-weight: 600; /* Um pouco mais de destaque no botão de contato */
  box-shadow: 0 4px 6px rgba(56, 189, 248, 0.3);
  transition: background .2s;
}

.contact:hover {
  background: var(--accent-hover); /* Cor um pouco mais clara no hover para o botão */
}


/* FOOTER */

.footer {
  margin-top: 4rem;
  border-top: 1px solid #1f2937;
}

.footer-inner {
  padding: 1.6rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--muted);
}

/* MOBILE */

@media (max-width: 700px) {
  .menu { display: none; }
  .footer-inner {
    flex-direction: column;
    gap: .5rem;
  }
}


/******* PROJETOS *******/
.projects {
  background: var(--bg);
  padding: 2rem;
  color: var(--fg);
}

.projects h2 {
  font-size: 1.8rem;
  margin-top: 2.0rem;
  margin-bottom: 1.6rem;
  color: var(--accent);
}


.projects .toggle {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  transition: transform 0.2s ease, color 0.2s ease;
}

.projects details[open] .toggle {
  transform: rotate(45deg);
  color: var(--accent-hover);
}

.projects details {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.projects summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--fg);
}

.projects summary::-webkit-details-marker {
  display: none;
}

.projects summary:hover {
  background: var(--accent-soft);
}

.projects .title {
  color: var(--fg);
}

.projects .hint {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.projects details[open] summary {
  color: var(--accent);
  box-shadow: inset 0 -1px 0 var(--border);
}

.projects .content {
  padding: 1rem 1.25rem 1.25rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
