:root{
  --azul-escuro:#000f22;
  --azul:#001f4a;
  --azul-card:#00142d;
  --dourado:#d6a63d;
  --claro:#f4f6fb;
  --branco:#ffffff;
  --texto:#132033;
  --sombra:0 20px 50px rgba(0,0,0,.10);
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  background:var(--claro);
  color:var(--texto);
  overflow-x:hidden;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

.hero{
  min-height:100vh;
  background:
    linear-gradient(rgba(0,15,40,.92),rgba(0,15,40,.92)),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1800&auto=format&fit=crop');
  background-size:cover;
  background-position:center;
  padding-bottom:80px;
}

.navbar{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:24px 8%;
}

.logo-area{
  display:flex;
  align-items:center;
  gap:15px;
  color:var(--branco);
  min-width:0;
}

.logo-area img{
  width:90px;
  height:90px;
  object-fit:contain;
  flex:0 0 auto;
  filter:drop-shadow(0 0 25px rgba(255,255,255,.2));
}

.logo-area h2{
  font-size:1.55rem;
  line-height:1.15;
  white-space:normal;
}

.logo-area p{
  color:var(--dourado);
  font-size:.95rem;
}

.menu{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:24px;
  flex-wrap:wrap;
}

.menu a{
  color:var(--branco);
  text-decoration:none;
  font-weight:600;
  padding:10px 4px;
  transition:.25s ease;
}

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

.menu a[href*="portal"]{
  background:var(--dourado);
  color:#00142d;
  padding:12px 20px;
  border-radius:999px;
  box-shadow:0 14px 32px rgba(0,0,0,.20);
}

.menu a[href*="portal"]:hover{
  transform:translateY(-2px);
  filter:brightness(1.05);
}

.hero-content{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,1fr);
  gap:60px;
  align-items:center;
  padding:50px 8% 0;
}

.hero-text{
  color:var(--branco);
  min-width:0;
}

.tag{
  background:var(--dourado);
  color:#00142d;
  padding:12px 24px;
  border-radius:50px;
  font-weight:700;
  display:inline-block;
  margin-bottom:30px;
  max-width:100%;
}

.hero-text h1{
  font-size:clamp(2.4rem,5vw,4rem);
  line-height:1.1;
  margin-bottom:25px;
  word-break:normal;
}

.hero-text h1 span{
  color:var(--dourado);
  display:block;
}

.hero-text p{
  font-size:1.1rem;
  line-height:1.8;
  max-width:650px;
}

.buttons{
  display:flex;
  gap:20px;
  margin-top:40px;
  flex-wrap:wrap;
}

.btn-primary,.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:16px 30px;
  border-radius:20px;
  text-decoration:none;
  font-weight:700;
  box-shadow:0 20px 45px rgba(0,0,0,.3);
  transition:.3s;
  text-align:center;
}

.btn-primary{
  background:var(--dourado);
  color:#00142d;
}

.btn-secondary{
  background:rgba(255,255,255,.05);
  border:2px solid rgba(255,255,255,.25);
  backdrop-filter:blur(10px);
  color:var(--branco);
}

.btn-primary:hover,.btn-secondary:hover{
  transform:translateY(-3px);
}

.hero-banner{
  display:flex;
  justify-content:center;
}

.hero-banner img{
  width:100%;
  max-width:650px;
  border-radius:35px;
  border:4px solid rgba(255,255,255,.15);
  box-shadow:0 40px 90px rgba(0,0,0,.55);
  object-fit:cover;
}

section{
  padding:90px 8%;
}

.section-logo{
  display:flex;
  justify-content:center;
  margin-bottom:20px;
}

.section-logo img{
  width:130px;
  filter:drop-shadow(0 15px 35px rgba(0,0,0,.2));
}

.title{
  text-align:center;
  margin-bottom:55px;
}

.title h2{
  font-size:clamp(2rem,4vw,3rem);
  color:var(--azul);
  margin-bottom:10px;
  line-height:1.15;
}

.title p{
  color:#526070;
  font-size:1.05rem;
}

.cards,.services-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:30px;
}

.card,.service-card{
  background:var(--branco);
  padding:35px;
  border-radius:28px;
  box-shadow:var(--sombra);
  min-height:190px;
}

.card h3,.service-card h3{
  color:var(--azul);
  font-size:1.35rem;
  margin-bottom:12px;
}

.card p,.service-card p{
  line-height:1.75;
}

.services{
  background:var(--azul-card);
}

.light h2,.light p{
  color:var(--branco);
}

.service-card{
  background:rgba(255,255,255,.97);
}

footer{
  background:var(--azul-escuro);
  color:var(--branco);
  text-align:center;
  padding:80px 20px;
}

.footer-logo{
  width:130px;
  margin:0 auto 20px;
  filter:drop-shadow(0 15px 35px rgba(255,255,255,.15));
}

footer h2{
  font-size:clamp(1.6rem,4vw,2rem);
}

footer p{
  margin-top:8px;
}

.footer-contact{
  display:flex;
  justify-content:center;
  gap:20px;
  margin-top:30px;
  flex-wrap:wrap;
}

.footer-contact a{
  color:var(--dourado);
  text-decoration:none;
  font-weight:700;
  padding:10px 14px;
  border-radius:12px;
  overflow-wrap:anywhere;
}

@media(max-width:1100px){
  .navbar{
    padding:22px 6%;
  }

  .hero-content,
  section{
    padding-left:6%;
    padding-right:6%;
  }

  .hero-content{
    gap:40px;
  }
}

@media(max-width:900px){
  .hero{
    min-height:auto;
    padding-bottom:60px;
  }

  .navbar{
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:18px;
  }

  .logo-area{
    justify-content:center;
  }

  .menu{
    width:100%;
    justify-content:center;
    gap:10px;
  }

  .menu a{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    border-radius:999px;
    padding:10px 16px;
    font-size:.95rem;
  }

  .menu a[href*="portal"]{
    padding:10px 18px;
  }

  .hero-content{
    grid-template-columns:1fr;
    text-align:center;
    padding-top:35px;
  }

  .hero-text p{
    margin-left:auto;
    margin-right:auto;
  }

  .buttons{
    justify-content:center;
  }

  .hero-banner img{
    max-width:560px;
    border-radius:28px;
  }

  .cards,.services-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:600px){
  .navbar{
    padding:18px 20px;
  }

  .logo-area{
    gap:10px;
  }

  .logo-area img{
    width:68px;
    height:68px;
  }

  .logo-area h2{
    font-size:1.2rem;
  }

  .logo-area p{
    font-size:.82rem;
  }

  .menu{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .menu a{
    width:100%;
    text-align:center;
    font-size:.9rem;
    padding:10px 8px;
  }

  .hero-content{
    padding:28px 20px 0;
    gap:32px;
  }

  .tag{
    font-size:.82rem;
    padding:10px 16px;
    margin-bottom:22px;
  }

  .hero-text h1{
    font-size:2.25rem;
    line-height:1.08;
  }

  .hero-text p{
    font-size:1rem;
    line-height:1.7;
  }

  .buttons{
    flex-direction:column;
    gap:14px;
    margin-top:30px;
  }

  .btn-primary,.btn-secondary{
    width:100%;
    min-height:54px;
    padding:14px 22px;
    border-radius:16px;
  }

  .hero-banner img{
    border-radius:22px;
    border-width:3px;
  }

  section{
    padding:65px 20px;
  }

  .section-logo img,.footer-logo{
    width:105px;
  }

  .title{
    margin-bottom:35px;
  }

  .title h2{
    font-size:2rem;
  }

  .card,.service-card{
    padding:26px 22px;
    border-radius:22px;
    min-height:auto;
  }

  .card h3,.service-card h3{
    font-size:1.2rem;
  }

  footer{
    padding:65px 18px;
  }

  .footer-contact{
    flex-direction:column;
    align-items:center;
    gap:8px;
  }
}

@media(max-width:380px){
  .logo-area{
    flex-direction:column;
  }

  .hero-text h1{
    font-size:2rem;
  }

  .menu{
    grid-template-columns:1fr;
  }
}



/* Seção Instagram QR Code */
.instagram-qr-section {
  padding: 70px 20px;
  background: radial-gradient(circle at top left, rgba(229, 176, 55, 0.18), transparent 34%),
              linear-gradient(135deg, #061d38, #0b2d5c 58%, #071a32);
}

.instagram-qr-card {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 34px;
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.instagram-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #e5b037;
  color: #071a32;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.instagram-qr-text h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  font-weight: 800;
}

.instagram-qr-text p {
  max-width: 740px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.instagram-qr-frame {
  width: min(360px, 88vw);
  margin: 0 auto;
  padding: 18px;
  border-radius: 32px;
  background: linear-gradient(145deg, #ffffff, #f5f5f5);
  border: 8px solid rgba(229, 176, 55, 0.9);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34),
              inset 0 0 0 2px rgba(7, 26, 50, 0.12);
}

.instagram-qr-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.instagram-link {
  display: inline-flex;
  margin-top: 22px;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  color: #071a32;
  background: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instagram-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

@media (max-width: 768px) {
  .instagram-qr-section { padding: 44px 16px; }
  .instagram-qr-card { border-radius: 24px; }
  .instagram-qr-frame { padding: 12px; border-width: 6px; border-radius: 24px; }
  .instagram-qr-frame img { border-radius: 16px; }
}
