/* Reset rápido */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:"Poppins",sans-serif; line-height:1.6; color:#333; }

/* Paleta */
:root {
  --prim:#0d47a1;
  --prim-light:#5472d3;
  --sec:#ffb74d;
  --bg:#f5f7fa;
}

/* HERO */
.hero {
  min-height:100vh;
  background:linear-gradient(135deg,var(--prim) 0%,var(--prim-light) 100%);
  color:#fff;
  display:flex;
  flex-direction:column;
}
.navbar {
  display:flex; justify-content:space-between; align-items:center;
  padding:1rem 2rem;
}
.brand { font-size:1.8rem; font-weight:600; color:#fff; text-decoration:none; }
.brand span { color:var(--sec); }
.nav-links { list-style:none; display:flex; gap:1rem; }
.nav-links a { color:#fff; text-decoration:none; font-weight:500; }
.hamburger { display:none; font-size:1.8rem; background:none; border:0; color:#fff; }

.hero-content {
  flex:1;
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  text-align:center; padding:0 2rem;
}
.hero-content h1 { font-size:clamp(2.2rem,4vw,3.5rem); margin-bottom:1rem; }
.hero-content p { max-width:600px; margin-bottom:2rem; font-size:1.125rem; }
.btn-cta {
  background:var(--sec); color:#000; padding:0.9rem 2.5rem; border-radius:50px;
  font-weight:600; text-decoration:none; transition:transform .2s;
}
.btn-cta:hover { transform:translateY(-3px); }

/* FEATURES */
.features { background:var(--bg); padding:4rem 2rem; text-align:center; }
.section-title { font-size:2rem; margin-bottom:3rem; }
.cards { display:grid; gap:2rem; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); }
.card {
  background:#fff; border-radius:16px; padding:2rem 1.5rem; box-shadow:0 8px 20px rgba(0,0,0,.1);
  transition:transform .25s;
}
.card:hover { transform:translateY(-5px); }
.card .icon svg { width:48px; height:48px; fill:var(--prim); margin-bottom:1rem; }

/* SOBRE */
.sobre { padding:4rem 2rem; display:flex; justify-content:center; background:#fff; }
.sobre-text { max-width:800px; text-align:center; }
.sobre-text h2 { font-size:2rem; margin-bottom:1.5rem; }

/* FOOTER */
footer {
  background:var(--prim); color:#fff; text-align:center; padding:3rem 2rem;
}
footer h2 { font-size:1.6rem; margin-bottom:1rem; }
footer a { color:var(--sec); text-decoration:none; }
.social { list-style:none; display:flex; justify-content:center; gap:1.5rem; margin:1.5rem 0; }
.social img { width:28px; filter:invert(90%); transition:transform .25s; }
.social img:hover { transform:scale(1.2); }
.copy { font-size:.9rem; opacity:.8; }

/* RESPONSIVO */
@media (max-width:768px) {
  .nav-links { display:none; flex-direction:column; background:var(--prim-light); position:absolute;
               top:64px; right:0; width:200px; padding:1rem; border-radius:0 0 0 12px; }
  .nav-links a { padding:.6rem 0; }
  .hamburger { display:block; cursor:pointer; }
}

/* Animações */
.aparecer { opacity:0; transform:translateY(30px); transition:all .6s ease-out; }
.aparecer.visivel { opacity:1; transform:none; }
/* === Modal === */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease;
}

.fechar {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 1.8rem;
  color: #333;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
