/* =========
   Base
========= */
:root{
  --bg: #0b0f17;
  --bg-alt: #0f1626;
  --text: #e7eefc;
  --muted: #aab6d6;

  --card: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.12);

  --primary: #5b8cff;   /* depois a gente troca as cores aqui */
  --primary-2: #2dd4bf;
  --shadow: 0 12px 30px rgba(0,0,0,0.35);

  --radius: 18px;
  --container: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% 10%, rgba(91,140,255,0.18), transparent 55%),
              radial-gradient(900px 500px at 80% 10%, rgba(45,212,191,0.12), transparent 55%),
              var(--bg);
  color: var(--text);
}

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

.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{ left: 16px; }

/* =========
   Header
========= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11,15,23,0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand-logo{
  height: 28px;
  width: auto;
  display: block;
}

.nav{
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}
.nav a{
  padding: 8px 10px;
  border-radius: 12px;
}
.nav a:hover{
  background: rgba(255,255,255,0.06);
  text-decoration: none;
  color: var(--text);
}

/* =========
   Buttons
========= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  box-shadow: none;
  cursor: pointer;
  font-weight: 600;
}
.btn:hover{ text-decoration: none; }

.btn-primary{
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: transparent;
  color: #07101a;
}
.btn-secondary{
  background: rgba(255,255,255,0.04);
}

/* =========
   Sections
========= */
.section{
  padding: 72px 0;
}
.section-alt{
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header{
  margin-bottom: 28px;
}
.section-header h2{
  margin: 0 0 8px;
  font-size: 34px;
}
.section-header p{
  margin: 0;
  color: var(--muted);
}

/* =========
   Hero
========= */
.hero{
  padding: 78px 0 54px;
}
.hero-inner{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: center;
}
.badge{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--muted);
  margin: 0 0 12px;
}
.hero h1{
  margin: 0 0 12px;
  font-size: 46px;
  line-height: 1.05;
}
.lead{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-media img{
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,0.03);
}

/* =========
   Grid + Cards
========= */
.grid{
  display: grid;
  gap: 16px;
}
.cards{ grid-template-columns: repeat(3, 1fr); }
.portfolio{ grid-template-columns: repeat(2, 1fr); }
.services{ grid-template-columns: repeat(2, 1fr); }
.testimonials{ grid-template-columns: repeat(3, 1fr); }

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: none;
}

.card h3{ margin: 0 0 8px; }
.card p{ margin: 0; color: var(--muted); line-height: 1.6; }

.card-media{
  padding: 0;
  overflow: hidden;
}
.card-media img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border);
}
.card-body{
  padding: 16px 18px 18px;
}

/* =========
   Testimonials
========= */
.testimonial .stars{
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 10px;
}
.testimonial blockquote{
  margin: 0 0 14px;
  color: var(--text);
  line-height: 1.6;
}
.person{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.person img{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  object-fit: cover;
}
.person span{
  display: block;
  color: var(--muted);
  font-size: 14px;
}

/* =========
   Form
========= */
.form{
  max-width: 760px;
}
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
label{
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
input, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  outline: none;
}
textarea{ resize: vertical; }
.form-hint{
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

/* =========
   Accordion
========= */
.accordion{
  display: grid;
  gap: 10px;
  max-width: 920px;
}
.accordion-item{
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
}
.accordion-item summary{
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}
.accordion-item p{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

/* =========
   Footer
========= */
.site-footer{
  padding: 40px 0 18px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.15);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.8fr 0.8fr;
  gap: 16px;
}
.footer-col h3{
  margin: 0 0 10px;
  font-size: 16px;
}
.footer-col p, .footer-links{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.footer-links{
  list-style: none;
  padding: 0;
}
.footer-links li{ margin: 6px 0; }

.ceo{
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: start;
}
.ceo img{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid var(--border);
  object-fit: cover;
}

.footer-bottom{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

/* =========
   Cookie banner
========= */
.cookie-banner{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(15,22,38,0.92);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow);
}
.cookie-banner p{
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  max-width: 900px;
}
.cookie-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========
   Responsive
========= */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .portfolio{ grid-template-columns: 1fr; }
  .testimonials{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .nav{ display: none; } /* depois podemos colocar um menu mobile */
}
@media (max-width: 640px){
  .form-row{ grid-template-columns: 1fr; }
  .hero h1{ font-size: 38px; }
}
