/* ============================================
   DUTRA 100 — Extintores e Equipamentos de Incêndio
   Design System — Versão 3.0 (Motion, Autêntico e Premium)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Oswald:wght@700&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --red:          #B91C1C;
  --red-dark:     #7F1D1D;
  --red-light:    #EF4444;
  --red-faint:    #FEF2F2;
  --navy:         #0F172A;
  --navy-800:     #1E293B;
  --navy-700:     #334155;
  --gray-50:      #F8FAFC;
  --gray-100:     #F1F5F9;
  --gray-200:     #E2E8F0;
  --gray-300:     #CBD5E1;
  --gray-400:     #94A3B8;
  --gray-500:     #64748B;
  --gray-600:     #475569;
  --gray-700:     #334155;
  --white:        #FFFFFF;
  --whatsapp:     #25D366;
  --whatsapp-dk:  #128C7E;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.05);
  --shadow-md:  0 4px 20px rgba(0,0,0,.06);
  --shadow-lg:  0 20px 48px rgba(15,23,42,.08);
  --shadow-xl:  0 32px 72px rgba(15,23,42,.12);
  --shadow-red: 0 8px 24px rgba(185,28,28,.2);

  --ease-out:   cubic-bezier(.16,1,0.3,1);
  --ease-in-out:cubic-bezier(.4,0,.2,1);
  --duration:   .5s;

  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --font: 'Inter', -apple-system, sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,*::before,*::after{ margin:0; padding:0; box-sizing:border-box; }

html{
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body{
  font-family: var(--font);
  color: var(--gray-700);
  line-height: 1.75;
  background: var(--white);
  overflow-x: hidden;
}

img{ max-width:100%; height:auto; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }

.container{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section{ padding: 120px 0; position: relative; overflow: hidden; }

/* ============================================
   SECTION HEADERS (General)
   ============================================ */
.section-header{
  margin-bottom: 64px;
}

.section-header h2{
  font-size: 42px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-header p{
  font-size: 18px;
  color: var(--gray-500);
  max-width: 580px;
  line-height: 1.75;
}

.divider{
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  border-radius: 2px;
  margin-top: 24px;
}

/* ============================================
   BUTTONS (Premium Custom Design)
   ============================================ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              background var(--duration) var(--ease-in-out),
              color var(--duration) var(--ease-in-out);
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.btn:active{ transform: scale(.96) !important; }

.btn-primary{
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover{
  background: var(--red-dark);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(185,28,28,.3);
}

.btn-outline{
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover{
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-4px);
}

.btn-white{
  background: var(--white);
  color: var(--red);
  border: 2px solid var(--white);
}
.btn-white:hover{
  background: transparent;
  color: var(--white);
  transform: translateY(-4px);
}

.btn-whatsapp{
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,.2);
}
.btn-whatsapp:hover{
  background: var(--whatsapp-dk);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(37,211,102,.35);
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar{
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.top-bar .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a{
  color: rgba(255,255,255,.7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.top-bar a:hover{ color: var(--white); }
.top-bar svg{ width:14px; height:14px; flex-shrink:0; }

.top-bar-left, .top-bar-right{
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-loc{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   HEADER
   ============================================ */
.header{
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--duration) var(--ease-in-out),
              height var(--duration) var(--ease-out);
}

.header.scrolled{
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  transition: height var(--duration) var(--ease-out);
}

.header.scrolled .container{
  height: 80px;
}

/* Logo - MUCH LARGER for readability */
.logo{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.logo img{
  height: 88px;
  width: auto;
  object-fit: contain;
  transition: height var(--duration) var(--ease-out);
}

.header.scrolled .logo img{
  height: 68px;
}

.header.scrolled .logo img {
  height: 68px !important;
}

.logo-tagline {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray-400);
  font-weight: 500;
}

/* Header Actions & Social */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(241, 245, 249, 0.7);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  margin-right: 4px;
}

.header-social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: var(--gray-600);
  transition: background 0.25s var(--ease-out),
              color 0.25s var(--ease-out),
              transform 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out);
}

.header-social-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease-out);
}

.header-social-link:hover {
  color: var(--white);
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeB 90%);
  box-shadow: 0 4px 12px rgba(214, 36, 159, 0.35);
  transform: scale(1.08);
}

/* Nav Menu */
.nav-menu{
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a{
  font-size: 15px;
  font-weight: 550;
  color: var(--gray-600);
  position: relative;
  padding: 6px 2px;
  white-space: nowrap;
  transition: color .25s;
}

.nav-menu a::after{
  content:'';
  position:absolute;
  bottom: -2px; left: 0;
  width:0; height:2px;
  background: var(--red);
  transition: width .28s var(--ease-out);
}

.nav-menu a:hover,
.nav-menu a.active{ color: var(--red); }

.nav-menu a:hover::after,
.nav-menu a.active::after{ width:100%; }

/* Mobile Menu Elements */
.mobile-toggle{
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 1001;
}

.mobile-toggle span{
  width: 26px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s var(--ease-in-out);
}

.mobile-toggle.open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2){ opacity: 0; transform: scaleX(0); }
.mobile-toggle.open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

.mobile-overlay{
  display: none;
  position: fixed; inset:0;
  background: rgba(15,23,42,.6);
  z-index: 998;
  backdrop-filter: blur(4px);
}

.mobile-overlay.active{ display: block; }

/* ============================================
   HERO CAROUSEL
   ============================================ */
.hero{
  position: relative;
  height: 70vh;
  min-height: 480px;
  max-height: 680px;
  overflow: hidden;
  background: var(--navy);
}

.hero-slide{
  position: absolute; inset:0;
  opacity: 0;
  transition: opacity 1.4s var(--ease-in-out);
}

.hero-slide.active{ opacity:1; }

.hero-slide img{
  width:100%; height:100%;
  object-fit: cover;
  transform: none;
  transition: opacity 0.5s var(--ease-in-out);
}

.hero-slide.active img{
  transform: none;
}

.hero-overlay{
  position:absolute; inset:0;
  background: 
    /* Top transition shadow (fades top of the hero image to blend with header) */
    linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 15%),
    /* Bottom transition shadow (fades bottom of the hero image to blend with section) */
    linear-gradient(to top, rgba(0,0,0,0.32) 0%, transparent 15%),
    /* Left dark overlay to ensure readability of white text */
    linear-gradient(
      110deg,
      rgba(15,23,42,.6) 0%,
      rgba(15,23,42,.4) 50%,
      rgba(15,23,42,.1) 100%
    );
  z-index: 1;
}

.hero-content{
  position: absolute; inset:0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
  z-index: 2;
}

/* Floating vertical social sidebar on hero */
.hero-social{
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: socialFadeIn 1s var(--ease-out) 1.2s both;
}

@keyframes socialFadeIn{
  from{ opacity:0; transform: translateY(calc(-50% + 16px)); }
  to{   opacity:1; transform: translateY(-50%); }
}

.hero-social-link{
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(15,23,42,.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,.8);
  transition: background .25s, border-color .25s, color .25s,
              transform .25s var(--ease-out);
}

.hero-social-link:hover{
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: scale(1.1);
}

.hero-social-link svg{ width:18px; height:18px; }

.hero-social-line{
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.25), transparent);
}

/* Hero tag — clean rectangular label, no AI pill style */
.hero-tag{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  border-left: 3px solid var(--red-light);
  padding: 4px 0 4px 16px;
  margin-bottom: 28px;
  width: fit-content;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .7s var(--ease-out) .2s,
              transform .7s var(--ease-out) .2s;
}

.hero-slide.active .hero-tag{ opacity:1; transform:translateX(0); }

.hero-tag-dot{
  width: 5px; height: 5px;
  background: var(--red-light);
  border-radius: 50%;
  flex-shrink: 0;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink{
  0%,100%{ opacity:1; }
  50%{ opacity:.3; }
}

.hero-content h1{
  font-size: 60px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  max-width: 720px;
  letter-spacing: -1.5px;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease-out) .4s,
              transform .8s var(--ease-out) .4s;
}

.hero-slide.active .hero-content h1{ opacity:1; transform:translateY(0); }

.hero-content p{
  font-size: 19px;
  color: rgba(255,255,255,.8);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out) .55s,
              transform .8s var(--ease-out) .55s;
}

.hero-slide.active .hero-content p{ opacity:1; transform:translateY(0); }

.hero-buttons{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease-out) .7s,
              transform .8s var(--ease-out) .7s;
}

.hero-slide.active .hero-buttons{ opacity:1; transform:translateY(0); }

/* Indicators */
.hero-indicators{
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-indicator{
  width: 32px; height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background .3s, width .3s var(--ease-out);
}

.hero-indicator.active{
  background: var(--white);
  width: 56px;
}

/* Hero Progress */
.hero-progress{
  position: absolute;
  bottom: 0; left:0;
  height: 4px;
  background: var(--red);
  width: 0%;
  transition: width 6s linear;
  z-index: 4;
}
.hero-progress.running{ width:100%; }

/* ============================================
   ABOUT / EMPRESA — Cleaned, large typography focus (NO IA cards)
   ============================================ */
.about{
  background: var(--white);
  position: relative;
  z-index: 10;
  box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.06), 0 -2px 6px rgba(15, 23, 42, 0.03);
}

.about-inner{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.about-text h2{
  font-size: 52px;
  font-weight: 850;
  color: var(--navy);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 28px;
}

.about-text h2 span{
  color: var(--red);
  display: block;
}

.about-text p{
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-cta{ margin-top: 36px; }

/* Elegant minimalist bullet layout instead of generic shadow badges */
.about-benefits{
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-left: 2px solid var(--gray-200);
  padding-left: 40px;
}

.benefit-item{
  position: relative;
}

.benefit-item h4{
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefit-item h4::before{
  content: '';
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
}

.benefit-item p{
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================
   SERVICES — Asymmetric / Split Layout (Title Left, List Right)
   ============================================ */
.services{
  background: var(--gray-50);
}

.services-split{
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 80px;
  align-items: start;
}

.services-left-sticky{
  position: sticky;
  top: 140px;
}

.services-left-sticky h2{
  font-size: 58px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.services-left-sticky h2 span{
  color: var(--red);
  display: block;
}

.services-left-sticky p{
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* Service row items - NO IA cards, highly authentic scroll-active list */
.services-list{
  display: flex;
  flex-direction: column;
}

.svc-item{
  display: flex;
  gap: 36px;
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: transform var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-in-out);
  align-items: flex-start;
}

.svc-item:first-child{
  border-top: 1px solid var(--gray-200);
  padding-top: 0;
}

.svc-item:hover{
  border-bottom-color: var(--red);
}

.svc-item-num{
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  padding-top: 4px;
  opacity: 0.8;
}

.svc-item-content{
  flex: 1;
}

.svc-item-content h3{
  font-size: 22px;
  font-weight: 750;
  color: var(--navy);
  margin-bottom: 10px;
  transition: color var(--duration) var(--ease-out);
}

.svc-item:hover .svc-item-content h3{
  color: var(--red);
}

.svc-item-content p{
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.75;
}

/* Minimalist arrow link */
.svc-item-arrow{
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  display: flex; align-items:center; justify-content:center;
  color: var(--gray-400);
  transition: all var(--duration) var(--ease-out);
  flex-shrink: 0;
  margin-top: 6px;
}

.svc-item:hover .svc-item-arrow{
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateX(6px) rotate(-45deg);
}

.svc-item-arrow svg{
  width: 18px; height: 18px;
  stroke-width: 2.5;
}

/* Split Services Styling */
.services-subsection-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red);
  margin: 32px 0 16px 0;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 8px;
}

.services-list .services-subsection-title:first-child {
  margin-top: 0;
}

.svc-featured {
  background: linear-gradient(90deg, rgba(185, 28, 28, 0.02) 0%, transparent 100%);
  border-left: 3px solid var(--red) !important;
  padding-left: 20px !important;
  border-bottom: 1px solid var(--gray-200);
}

.svc-featured .svc-item-num {
  color: var(--red);
  font-size: 1.25rem;
  opacity: 1;
}

.other-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.other-svc-box {
  padding: 20px;
  border-left: 2px solid var(--red);
  background: var(--gray-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              background var(--duration) var(--ease-out);
}

.other-svc-box:hover {
  transform: translateX(4px);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.other-svc-box h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.other-svc-box p {
  font-size: 0.825rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

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

/* ============================================
   PRODUCTS — Authentic alternating / asymmetrical layout
   ============================================ */
.products{
  background: var(--white);
}

.products-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 40px 0;
}

.products-grid .prod-card{
  min-width: 0;
  max-width: none;
  width: 100%;
  flex-shrink: 1;
}

@media (max-width: 1024px){
  .products-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px){
  .products-grid{
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ─────────────────────────────────────────────
   PRODUCT CARDS — Catalog-entry horizontal style
   No icon-box, no generic shadow card look.
   ───────────────────────────────────────────── */
.prod-card{
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
  cursor: default;
  display: flex;
  flex-direction: column;
}

/* Style Odd: white card, red left-accent strip */
.prod-card.style-odd{
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--red);
  box-shadow: 0 2px 8px rgba(15,23,42,0.03);
}
.prod-card.style-odd:hover{
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}

/* Style Even: dark card, inverted palette */
.prod-card.style-even{
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.06);
  border-left: 4px solid var(--red-light);
  box-shadow: 0 4px 12px rgba(15,23,42,0.08);
}
.prod-card.style-even:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(15,23,42,0.2);
}

.prod-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
}
.style-even .prod-img {
  border-bottom-color: rgba(255,255,255,.1);
}
.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.prod-card:hover .prod-img img {
  transform: scale(1.08);
}

/* Chip label */
.prod-chip{
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 12px;
  width: fit-content;
}

.style-odd .prod-chip{
  color: var(--red);
  background: var(--red-faint);
}

.style-even .prod-chip{
  color: var(--red-light);
  background: rgba(239,68,68,.1);
}

/* No icon box — card has text-only body */
.prod-card-top{ display: none; }


.prod-card-body{ padding: 28px 24px; flex: 1; display: flex; flex-direction: column; }

.prod-card-body h3{
  font-size: 18px;
  font-weight: 750;
  margin-bottom: 10px;
}

.style-odd .prod-card-body h3{ color: var(--navy); }
.style-even .prod-card-body h3{ color: var(--white); }

.prod-card-body p{
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 22px;
  flex: 1;
}

.style-odd .prod-card-body p{ color: var(--gray-500); }
.style-even .prod-card-body p{ color: rgba(255,255,255,.55); }

.prod-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  transition: gap .25s;
  margin-top: auto;
}
.style-odd .prod-link{ color: var(--red); }
.style-even .prod-link{ color: var(--red-light); }
.prod-link:hover{ gap: 10px; }
.prod-link svg{ width:14px; height:14px; stroke-width: 2.5; }

/* Carousel Navigation */
.carousel-nav{
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 36px;
}

.carousel-btn{
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  display: flex; align-items:center; justify-content:center;
  color: var(--gray-600);
  transition: all var(--duration) var(--ease-out);
}

.carousel-btn:hover{
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: scale(1.1);
}
.carousel-btn svg{ width:18px; height:18px; stroke-width: 2.5; }

/* ============================================
   STATS / NUMBERS
   ============================================ */
.stats{
  background: var(--navy);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.stats::before{
  content:'';
  position:absolute;
  width:420px; height:420px;
  background: rgba(185,28,28,.04);
  border-radius:50%;
  top:-120px; left:-80px;
  pointer-events:none;
}

.stats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative; z-index:1;
}

.stat-item{ text-align:center; }

.stat-value{
  font-size: 56px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 8px;
}
.stat-value span{ color: var(--red-light); }

.stat-divider{
  width: 36px;
  height: 2px;
  background: var(--red);
  margin: 14px auto;
  border-radius: 100px;
}

.stat-label{
  font-size: 14px;
  color: rgba(255,255,255,.5);
  font-weight: 400;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* ============================================
   CTA STRIP
   ============================================ */
.cta-strip{
  background: var(--red);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip h2{
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-strip p{
  font-size: 19px;
  color: rgba(255,255,255,.85);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-buttons{
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   NOSSOS PROJETOS (Authentic Grid Layout)
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-200);
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  border-color: rgba(185, 28, 28, 0.2);
}

.project-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--gray-100);
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.project-card:hover .project-img img {
  transform: scale(1.06);
}

.project-info {
  padding: 24px;
}

.project-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.project-info p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .project-img {
    height: 200px;
  }
}

/* ============================================
   GOOGLE MAPS (Perfect positioning & precision coordinates)
   ============================================ */
.map-section{
  background: var(--white);
  padding: 100px 0 0;
}

.map-section .section-header{
  margin-bottom: 48px;
}

.map-wrapper{
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  box-shadow: 0 -8px 40px rgba(15,23,42,.06);
  border: 1px solid var(--gray-200);
  border-bottom: none;
}

.map-wrapper iframe{
  width:100%;
  height: 460px;
  display: block;
  border: 0;
  transition: filter var(--duration) var(--ease-out);
}

/* ============================================
   FAQ / DICAS
   ============================================ */
.faq{ background: var(--gray-50); }

.faq-grid{ max-width: 820px; margin: 0 auto; }

.faq-item{
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow var(--duration) var(--ease-out),
              border-color var(--duration);
}

.faq-item.active{
  box-shadow: var(--shadow-md);
  border-color: rgba(185,28,28,.2);
}

.faq-q{
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 17px;
  font-weight: 650;
  color: var(--navy);
  background: none; border:none;
  width:100%; text-align:left;
  font-family: var(--font);
  gap: 20px;
  transition: color .2s;
}

.faq-q:hover{ color: var(--red); }

.faq-icon{
  width: 20px; height: 20px;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform .35s var(--ease-out), color .3s;
}

.faq-item.active .faq-icon{
  transform: rotate(45deg);
  color: var(--red);
}

.faq-body{
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-in-out);
}

.faq-body-inner{
  padding: 0 28px 28px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.85;
}

.faq-body-inner p + p{ margin-top: 12px; }

/* ============================================
   CONTACT
   ============================================ */
.contact{ background: var(--white); }

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.form-wrap h3{
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-wrap > p{
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.contact-form{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-dual-buttons{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 540px){
  .form-dual-buttons{
    grid-template-columns: 1fr;
  }
}

.form-group{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label{
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select{
  padding: 14px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color var(--duration), box-shadow var(--duration);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(185,28,28,.06);
}

.form-group textarea{
  resize: vertical;
  min-height: 130px;
}

.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Contact Info list */
.contact-info h3{
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-info > p{
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.ci-list{
  display: flex;
  flex-direction: column;
}

.ci-item{
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: padding-left var(--duration) var(--ease-out);
}
.ci-item:first-child{ border-top: 1px solid var(--gray-100); }

.ci-item:hover{ padding-left: 8px; }

.ci-icon{
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--red-faint);
  border: 1px solid rgba(185,28,28,.1);
  display: flex; align-items:center; justify-content:center;
  flex-shrink: 0;
  transition: background var(--duration);
}

.ci-item:hover .ci-icon{ background: var(--red); }
.ci-item:hover .ci-icon svg{ color: var(--white); }

.ci-icon svg{
  width: 18px; height: 18px;
  color: var(--red);
  transition: color var(--duration);
}

.ci-text strong{
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.ci-text span{
  font-size: 14.5px;
  color: var(--gray-600);
}

/* ============================================
   FOOTER (Big Logo & clean layouts)
   ============================================ */
.footer{
  background: var(--navy);
  color: rgba(255,255,255,.55);
  padding: 80px 0 0;
}

.footer-grid{
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-logo{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-logo img{
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .95;
}

.footer-logo-text{
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.5px;
}
.footer-logo-text span{ color: var(--red-light); }

.footer-logo-sub{
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,.35);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-col p{
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,.5);
  margin-bottom: 6px;
}

.footer-col h4{
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.35);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-col ul{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a{
  font-size: 14px;
  color: rgba(255,255,255,.5);
  transition: color var(--duration), padding-left var(--duration) var(--ease-out);
  display: block;
}

.footer-col ul a:hover{
  color: var(--white);
  padding-left: 6px;
}

.footer-social{
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items:center; justify-content:center;
  transition: background var(--duration), border-color var(--duration), transform var(--duration) var(--ease-out);
}

.footer-social a:hover{
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-4px);
}

.footer-social svg{
  width: 16px; height: 16px;
  fill: rgba(255,255,255,.6);
}

.footer-social a:hover svg{ fill: var(--white); }

.footer-bottom{
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.25);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.wa-float{
  position: fixed;
  bottom: 32px; right: 32px;
  width: 64px; height: 64px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items:center; justify-content:center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  z-index: 999;
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration);
  animation: waPulse 2.4s ease-in-out infinite;
}

.wa-float:hover{
  transform: scale(1.12);
  box-shadow: 0 10px 36px rgba(37,211,102,.55);
  animation: none;
}

.wa-float svg{ width: 32px; height: 32px; fill: var(--white); }

@keyframes waPulse{
  0%,100%{ box-shadow: 0 6px 24px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.4); }
  50%{ box-shadow: 0 6px 24px rgba(37,211,102,.4), 0 0 0 20px rgba(37,211,102,0); }
}

/* ============================================
   SCROLL REVEAL EFFECTS (Custom Motion Design)
   ============================================ */
.reveal{
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .85s var(--ease-out),
              transform .85s var(--ease-out);
}

.reveal.visible{
  opacity: 1;
  transform: translateY(0);
}

.reveal-left{
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .85s var(--ease-out),
              transform .85s var(--ease-out);
}

.reveal-left.visible{
  opacity: 1;
  transform: translateX(0);
}

.reveal-right{
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .85s var(--ease-out),
              transform .85s var(--ease-out);
}

.reveal-right.visible{
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale{
  opacity: 0;
  transform: scale(.93);
  transition: opacity .75s var(--ease-out),
              transform .75s var(--ease-out);
}

.reveal-scale.visible{
  opacity: 1;
  transform: scale(1);
}

.d1{ transition-delay: .12s !important; }
.d2{ transition-delay: .24s !important; }
.d3{ transition-delay: .36s !important; }
.d4{ transition-delay: .48s !important; }
.d5{ transition-delay: .60s !important; }

/* Stagger List */
.stagger > *{
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out),
              transform .7s var(--ease-out);
}

.stagger.visible > *:nth-child(1){ opacity:1; transform:translateY(0); transition-delay:.05s; }
.stagger.visible > *:nth-child(2){ opacity:1; transform:translateY(0); transition-delay:.15s; }
.stagger.visible > *:nth-child(3){ opacity:1; transform:translateY(0); transition-delay:.25s; }
.stagger.visible > *:nth-child(4){ opacity:1; transform:translateY(0); transition-delay:.35s; }
.stagger.visible > *:nth-child(5){ opacity:1; transform:translateY(0); transition-delay:.45s; }
.stagger.visible > *:nth-child(6){ opacity:1; transform:translateY(0); transition-delay:.55s; }

/* ============================================
   RESPONSIVE — TABLET ≤ 1024px
   ============================================ */
@media (max-width: 1024px){
  .header .container{ height: 76px; }
  .logo img{ height: 52px !important; }

  .nav-menu{
    position: fixed;
    top: 0; right: -100%;
    width: min(340px, 85vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 110px 40px 40px;
    box-shadow: var(--shadow-xl);
    transition: right .4s var(--ease-in-out);
    z-index: 999;
    gap: 0;
    overflow-y: auto;
  }

  .nav-menu.open{ right: 0; }

  .nav-menu a{
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 17px; width:100%;
  }

  .nav-menu a::after{ display:none; }

  .mobile-toggle{ display:flex; }

  .about-inner{ grid-template-columns:1fr; gap:60px; }
  .about-benefits{ border-left: none; padding-left: 0; border-top: 1px solid var(--gray-200); padding-top: 36px; }

  .services-split{ grid-template-columns: 1fr; gap: 50px; }
  .services-left-sticky{ position: static; }

  .stats-grid{ grid-template-columns: repeat(2,1fr); gap:30px; }

  .footer-grid{ grid-template-columns: repeat(2,1fr); }

  .contact-grid{ grid-template-columns:1fr; gap:60px; }

  .hero-content h1{ font-size:46px; }
  .hero-content p{ font-size:17px; }
  .hero-arrow{ display:none; }
  .section{ padding:80px 0; }
}

/* ============================================
   RESPONSIVE — MOBILE ≤ 768px
   ============================================ */
@media (max-width: 768px){
  .top-bar{ padding: 7px 0; font-size: 12px; }
  .top-bar .container{ flex-direction: column; gap: 4px; text-align: center; }
  .top-bar-left, .top-bar-right{ justify-content: center; flex-wrap: nowrap; gap: 10px; width: 100%; }
  .top-bar-loc{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 11.5px;
    letter-spacing: -0.1px;
  }

  .hero{ height:60vh; min-height:380px; }

  .hero-content{ padding: 0 8%; text-align:center; align-items:center; }
  .hero-content h1{ font-size:34px; }
  .hero-content p{ font-size:16px; }
  .hero-buttons{ justify-content:center; }

  .about-text h2{ font-size:36px; }
  .services-left-sticky h2{ font-size:38px; }
  .section-header h2{ font-size:32px; }

  .section{ padding:64px 0; }

  .stats-grid{ grid-template-columns:1fr 1fr; }
  .stat-value{ font-size:42px; }

  .footer-grid{ grid-template-columns:1fr; gap:36px; }

  .form-row{ grid-template-columns:1fr; }

  .cta-strip{ padding:72px 0; }
  .cta-strip h2{ font-size:32px; }

  .map-wrapper iframe{ height:350px; }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE ≤ 480px
   ============================================ */
@media (max-width: 480px){
  .top-bar-loc{ font-size: 10.5px; letter-spacing: -0.2px; }
  .header .container{ height: 68px; }
  .logo img{ height: 44px !important; }
  .hero-content h1{ font-size:26px; }
  .btn{ padding:14px 24px; font-size:14px; }
  .container{ padding:0 20px; }
  .prod-card{ min-width:260px; max-width:260px; }
  .wa-float{ width:56px; height:56px; bottom:20px; right:20px; }
  .wa-float svg{ width:28px; height:28px; }
  .footer-bottom{ justify-content:center; text-align:center; }
}

/* Header CTA show/hide */
@media (min-width: 1025px){ .header-cta{ display:inline-flex; } }
@media (max-width: 1024px){ .header-cta{ display:none !important; } }

/* ============================================
   DYNAMIC LIGHTING & LUXURY EFFECTS (UPDATED)
   ============================================ */

@property --x {
  syntax: '<percentage> | <length>';
  inherits: false;
  initial-value: 50%;
}
@property --y {
  syntax: '<percentage> | <length>';
  inherits: false;
  initial-value: 50%;
}

.ambient-glow {
  position: absolute;
  width: 750px;
  height: 750px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(140px);
  opacity: 0.38; /* Boosted visibility! */
  mix-blend-mode: screen;
  animation: floatAmbient 22s infinite alternate ease-in-out;
}
.ambient-glow.red-glow {
  background: radial-gradient(circle, rgba(211,20,30,0.45) 0%, rgba(211,20,30,0) 70%);
}
.ambient-glow.blue-glow {
  background: radial-gradient(circle, rgba(59,130,246,0.5) 0%, rgba(0,0,0,0) 70%);
}
@keyframes floatAmbient {
  0% { transform: translate(-100px, -80px) scale(1); }
  50% { transform: translate(140px, 110px) scale(1.2); }
  100% { transform: translate(80px, -140px) scale(0.85); }
}

/* Thicker dynamic border and hover glow shadow for cards */
.prod-card, .project-card {
  position: relative;
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out);
}
.prod-card::before, .project-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  padding: 2.2px; /* Thicker light strip */
  background: radial-gradient(circle 220px at var(--x, 50%) var(--y, 50%), rgba(211, 20, 30, 0.9) 0%, rgba(47, 42, 118, 0.8) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.prod-card:hover::before, .project-card:hover::before {
  opacity: 1;
}

/* Glowing drop-shadow on card hover */
.prod-card:hover {
  box-shadow: 0 10px 30px rgba(211, 20, 30, 0.18), 0 0 15px rgba(211, 20, 30, 0.12);
  border-color: rgba(211, 20, 30, 0.3) !important;
}
.project-card:hover {
  box-shadow: 0 15px 40px rgba(47, 42, 118, 0.22), 0 0 20px rgba(47, 42, 118, 0.12);
  border-color: rgba(47, 42, 118, 0.3) !important;
}

/* Prevent native dragging from hijacking touch swipe gestures */
.products-marquee, .prod-card, .prod-card img, .project-card, .project-card img {
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
  user-drag: none !important;
}

/* Auto-glow movement for touch devices */
@media (max-width: 768px) {
  .prod-card::before, .project-card::before {
    opacity: 0.75;
    background: radial-gradient(circle 140px at var(--x, 50%) var(--y, 50%), rgba(211, 20, 30, 0.8) 0%, rgba(47, 42, 118, 0.7) 60%, transparent 100%);
    animation: mobileBorderGlow 8s infinite alternate ease-in-out;
  }
  .ambient-glow {
    width: 550px;
    height: 550px;
    opacity: 0.25;
    filter: blur(90px);
  }
}
@keyframes mobileBorderGlow {
  0% { --x: 0%; --y: 0%; }
  33% { --x: 100%; --y: 30%; }
  66% { --x: 20%; --y: 90%; }
  100% { --x: 80%; --y: 10%; }
}


