/* ==========================================================================
   Magilux — folha de estilos
   Paleta e tipografia extraídas do site original (magilux.com.br)
   ========================================================================== */

:root{
  --blue: #3960AD;
  --blue-dark: #2c4a87;
  --gold: #EEBF42;
  --gold-2: #EDC041;
  --coral: #EC4E5C;
  --orange: #EF7C50;
  --text: #484848;
  --text-light: #686868;
  --bg-light: #EEEEEE;
  --white: #ffffff;
  --font-heading: 'Barlow', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --container: 1200px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-light);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul{ list-style: none; margin: 0; padding: 0; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 25px;
}

h1, h2, h3, h4{
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 16px;
  line-height: 1.2;
}

.section-title{
  font-size: 42px;
  text-align: center;
}
.section-title.on-dark{ color: var(--white); }

.divider{
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 40px;
}
.divider.left{ margin: 0 0 30px; }

.eyebrow{
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--gold);
  font-size: 14px;
}

.btn{
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--blue-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  text-align: center;
}
.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,.15);
  background: var(--gold-2);
}
.btn.whatsapp{
  background: #25D366;
  color: #fff;
}
.btn.whatsapp:hover{ background: #1eb457; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blue);
  box-shadow: 0 10px 20px rgba(0,0,0,.1);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 90px;
}
.site-logo img{
  width: 140px;
  height: auto;
}
.main-nav ul{
  display: flex;
  gap: 28px;
}
.main-nav a{
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, opacity .2s ease;
}
.main-nav a:hover{ border-color: var(--gold); opacity: .9; }

.header-contacts{
  display: flex;
  gap: 18px;
}
.header-contacts a{
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-contacts svg{ width: 18px; height: 18px; fill: #25D366; }

.menu-toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span{
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
}

/* ==========================================================================
   Hero slider
   ========================================================================== */
.hero{
  position: relative;
  height: 82vh;
  min-height: 480px;
  max-height: 768px;
  overflow: hidden;
  color: #fff;
}
.hero-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,30,50,.65) 0%, rgba(20,30,50,.25) 55%, rgba(20,30,50,.1) 100%);
}
.hero-slide.active{ opacity: 1; }
.hero-content{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 25px;
}
.hero-content h1{
  color: #fff;
  font-size: clamp(34px, 5.5vw, 64px);
  margin-bottom: 18px;
  font-weight: 500;
  text-shadow: 0 4px 18px rgba(0,0,0,.35);
}
.hero-content p{
  font-size: clamp(18px, 2.4vw, 26px);
  max-width: 640px;
  margin: 0;
  font-weight: 400;
}
.hero-content mark{
  background: var(--blue);
  color: var(--gold);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero-dots{
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero-dots button{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.hero-dots button.active{ background: var(--gold); border-color: var(--gold); }

/* ==========================================================================
   Intro strip
   ========================================================================== */
.intro-strip{
  padding: 40px 0;
  border-bottom: 1px solid #eee;
}
.intro-strip .container{
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
}
.intro-strip .intro-icon{
  font-size: 34px;
  color: var(--blue);
}
.intro-strip h4{
  margin: 0;
  font-size: 20px;
}
.intro-strip h4 + span{
  display: block;
  color: var(--text-light);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
}
.intro-strip .intro-text p{ margin: 0; color: var(--text-light); }
.intro-strip .intro-arrow{
  font-size: 22px;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Generic section paddings & gradient backgrounds
   ========================================================================== */
.section{ padding: 100px 0; }
.section.tight{ padding: 60px 0; }

.bg-gradient-1{ background: linear-gradient(180deg, var(--blue) 10%, var(--coral) 100%); color: #fff; }
.bg-gradient-2{ background: linear-gradient(180deg, var(--orange) 10%, var(--gold-2) 100%); color: #fff; }
.bg-gradient-3{ background: linear-gradient(180deg, var(--coral) 0%, var(--orange) 100%); color: #fff; }
.bg-blue{ background: var(--blue); color: #fff; }
.bg-light{ background: var(--bg-light); }
.bg-white{ background: #fff; }

.bg-gradient-1 h2, .bg-gradient-2 h2, .bg-gradient-3 h2, .bg-blue h2{ color: #fff; }
.bg-gradient-1 p, .bg-gradient-2 p, .bg-gradient-3 p, .bg-blue p{ color: rgba(255,255,255,.9); }

/* ==========================================================================
   A Construtora
   ========================================================================== */
.construtora-grid{
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.construtora-grid img{
  border-radius: 6px;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.construtora-copy .m-mark{
  width: 140px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.25));
}
.construtora-copy p{ text-align: center; }

/* ==========================================================================
   Piratuba / vídeo
   ========================================================================== */
.piratuba-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.video-wrapper{
  position: relative;
  padding-top: 56.25%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
}
.video-wrapper iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Diferenciais — ícones
   ========================================================================== */
.icon-features{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  text-align: center;
}
.icon-feature .icon{
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(57,96,173,.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.icon-feature p{
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text);
  font-size: 16px;
  margin: 0;
}

/* ==========================================================================
   Cards com foto (diferenciais em destaque)
   ========================================================================== */
.feature-cards{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
}
.feature-card{
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}
.feature-card h4{
  color: #fff;
  font-size: 16px;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.feature-card.photo{
  background-size: cover;
  background-position: center;
  position: relative;
}
.feature-card.photo::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,30,50,.45);
}
.feature-card.color-1{ background: var(--blue); }
.feature-card.color-2{ background: var(--coral); }
.feature-card.color-3{ background: var(--orange); }
.feature-card.color-4{ background: var(--gold-2); }

/* ==========================================================================
   Empreendimento — Dubai Home Club
   ========================================================================== */
.empreendimento-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}
.empreendimento-list{
  margin-top: 20px;
}
.empreendimento-list li{
  padding: 6px 0 6px 28px;
  position: relative;
  color: #fff;
}
.empreendimento-list li::before{
  content: "›";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 20px;
}
.gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery a{
  display: block;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery a:hover img{ transform: scale(1.08); }
.gallery-caption{
  text-align: center;
  color: rgba(255,255,255,.85);
  margin-top: 16px;
  font-size: 14px;
}

/* lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 30px;
}
.lightbox.open{ display: flex; }
.lightbox img{ max-width: 90vw; max-height: 85vh; border-radius: 4px; }
.lightbox-close{
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 36px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.lightbox-prev, .lightbox-next{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox-prev{ left: 24px; }
.lightbox-next{ right: 24px; }

/* ==========================================================================
   Formulário CTA sobre foto
   ========================================================================== */
.lead-section{
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.lead-section::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.69);
}
.lead-section .container{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.lead-section h2{ color: #fff; font-size: 34px; }

.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid .full{ grid-column: 1 / -1; }
.form-field{
  width: 100%;
  padding: 14px 16px;
  border-radius: 4px;
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  background: #fff;
  color: var(--text);
}
.form-field:focus{ outline: 2px solid var(--gold); }
textarea.form-field{ resize: vertical; min-height: 110px; }
.form-note{
  font-size: 13px;
  margin-top: 10px;
  opacity: .85;
}
.form-success{
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(37,211,102,.15);
  border: 1px solid #25D366;
  border-radius: 4px;
  color: inherit;
}
.form-success.show{ display: block; }

/* ==========================================================================
   Vantagens
   ========================================================================== */
.advantages-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 60px;
}
.advantages-grid .advantage h2{ font-size: 26px; }
.advantages-grid .full{ grid-column: 1 / -1; }

/* ==========================================================================
   Depoimentos
   ========================================================================== */
.testimonials{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.testimonial{
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,.08);
  text-align: center;
}
.testimonial p{
  font-style: italic;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 20px;
}
.testimonial-meta{
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.testimonial-meta img{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-name{
  font-weight: 700;
  color: var(--blue);
  text-align: left;
}
.testimonial-job{
  font-size: 13px;
  color: var(--text-light);
  text-align: left;
}

/* ==========================================================================
   Infraestrutura
   ========================================================================== */
.infra-columns{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 80px;
  max-width: 700px;
  margin: 0 auto;
}
.infra-columns li{
  padding: 8px 0 8px 26px;
  position: relative;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 500;
}
.infra-columns li::before{
  content: "›";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 20px;
}

/* ==========================================================================
   Contato
   ========================================================================== */
.contato-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contato-grid h2{ font-size: 30px; }
.map-frame{
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,.12);
}
.map-frame iframe{ width: 100%; height: 300px; border: 0; }

/* ==========================================================================
   CTA WhatsApp
   ========================================================================== */
.whatsapp-cta .container{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}
.whatsapp-cta h2{ color: #fff; font-size: 30px; margin-bottom: 10px; }
.whatsapp-cta p{ margin-bottom: 20px; }
.whatsapp-numbers{
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}
.whatsapp-numbers a{
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 500;
}
.whatsapp-numbers svg{ width: 20px; height: 20px; fill: #25D366; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background: #22345c;
  color: rgba(255,255,255,.8);
  padding: 28px 0;
}
.site-footer .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.social-icons{
  display: flex;
  gap: 10px;
}
.social-icons a{
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.social-icons a:hover{ background: var(--gold); }
.social-icons svg{ width: 18px; height: 18px; fill: #fff; }

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie-banner{
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 15px 50px rgba(0,0,0,.25);
  padding: 20px 24px;
  display: none;
  align-items: center;
  gap: 20px;
  z-index: 2000;
  flex-wrap: wrap;
}
.cookie-banner.show{ display: flex; }
.cookie-banner p{ margin: 0; flex: 1; min-width: 220px; color: var(--text); font-size: 14px; }

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.whatsapp-float{
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,.3);
  z-index: 900;
}
.whatsapp-float svg{ width: 28px; height: 28px; fill: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px){
  .construtora-grid{ grid-template-columns: 1fr; text-align: center; }
  .construtora-grid img{ margin: 0 auto; max-width: 320px; }
  .piratuba-grid, .empreendimento-grid, .advantages-grid, .testimonials, .contato-grid{
    grid-template-columns: 1fr;
  }
  .lead-section .container{ grid-template-columns: 1fr; }
  .icon-features{ grid-template-columns: repeat(3, 1fr); }
  .feature-cards{ grid-template-columns: repeat(3, 1fr); }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
  .intro-strip .container{ grid-template-columns: 1fr; text-align: center; }
  .whatsapp-cta .container{ grid-template-columns: 1fr; text-align: center; }
  .whatsapp-numbers{ justify-content: center; }
}

@media (max-width: 768px){
  .main-nav, .header-contacts{ display: none; }
  .menu-toggle{ display: block; }
  .site-header.nav-open .main-nav{
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    flex-direction: column;
    padding: 20px 25px;
  }
  .site-header.nav-open .main-nav ul{ flex-direction: column; gap: 14px; }
  .icon-features{ grid-template-columns: repeat(2, 1fr); }
  .feature-cards{ grid-template-columns: repeat(2, 1fr); }
  .infra-columns{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
  .section{ padding: 60px 0; }
  .section-title{ font-size: 30px; }
}
