/* ============================================================
   BOREAL CLIMATIZAÇÃO — Landing Page (Público B, C e D)
   Style System v1.0
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
  /* Brand Colors */
  --color-primary:       #0EA5C8;   /* Boreal sky blue  */
  --color-primary-dark:  #0B7A9A;
  --color-primary-light: #5DCDE8;
  --color-secondary:     #22C55E;   /* Fresh green      */
  --color-secondary-dark:#16A34A;
  --color-accent:        #F59E0B;   /* Warm amber CTA   */
  --color-accent-dark:   #D97706;

  /* Neutrals */
  --color-bg:            #F0F9FF;
  --color-surface:       #FFFFFF;
  --color-surface-2:     #E0F4FD;
  --color-text:          #1E293B;
  --color-text-muted:    #64748B;
  --color-border:        #BAE6FD;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0EA5C8 0%, #0B7A9A 40%, #064E6B 100%);
  --gradient-cta:  linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
  --gradient-card: linear-gradient(145deg, #FFFFFF 0%, #F0F9FF 100%);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(14,165,200,.15), 0 2px 6px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(14,165,200,.2), 0 4px 12px rgba(0,0,0,.1);
  --shadow-glow: 0 0 30px rgba(14,165,200,.35);

  /* Radii */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-bounce: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-surface-2); }
::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: var(--radius-full); }

/* ── Utility ── */
.container {
  width: min(1200px, 90%);
  margin-inline: auto;
}

.section {
  padding-block: var(--space-xl);
}

.section-tag {
  display: inline-block;
  background: var(--color-surface-2);
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 600px;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-inline: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 4px 20px rgba(245,158,11,.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(245,158,11,.55);
}

.btn-primary:active { transform: translateY(-1px) scale(1.01); }

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
}

.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(37,211,102,.55);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-icon { font-size: 1.25rem; }

/* ── Floating WhatsApp ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 25px rgba(37,211,102,.5);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition-bounce);
  animation: floatPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 35px rgba(37,211,102,.65);
  animation: none;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ── Header / Navbar ── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 1rem 0;
  transition: var(--transition);
}

#header.scrolled {
  background: rgba(6, 78, 107, 0.95);
  backdrop-filter: blur(16px);
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(255,255,255,.3));
  transition: var(--transition);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.8;
  letter-spacing: 0.05em;
}

.nav-cta .btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

/* ── Hero Section ── */
#home {
  min-height: 100dvh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 8rem 4rem;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  animation: shapeFloat 8s ease-in-out infinite;
}

.hero-bg-shapes .shape-1 {
  width: 600px; height: 600px;
  top: -200px; right: -150px;
  animation-delay: 0s;
}
.hero-bg-shapes .shape-2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -100px;
  animation-delay: 2s;
}
.hero-bg-shapes .shape-3 {
  width: 200px; height: 200px;
  top: 30%; left: 35%;
  background: rgba(255,255,255,0.03);
  animation-delay: 4s;
}

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* Snowflakes decoration */
.snowflakes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.snowflake {
  position: absolute;
  color: rgba(255,255,255,0.15);
  font-size: 1.5rem;
  animation: snowfall linear infinite;
  top: -50px;
}

@keyframes snowfall {
  0% { transform: translateY(-50px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { color: #fff; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease both;
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  animation: fadeInDown 0.7s ease 0.1s both;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #F59E0B, #FCD34D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 2rem;
  animation: fadeInDown 0.7s ease 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  animation: fadeInDown 0.7s ease 0.3s both;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  animation: fadeInDown 0.7s ease 0.4s both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.85;
  font-weight: 600;
}

.trust-item svg { width: 20px; height: 20px; color: var(--color-secondary); }

.hero-visual {
  position: relative;
  animation: fadeInRight 0.8s ease 0.2s both;
}

.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, rgba(255,255,255,.3), rgba(14,165,200,.2));
  border-radius: inherit;
  z-index: -1;
}

.hero-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.stat-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 0.875rem;
  text-align: center;
  color: #fff;
}

.stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, #F59E0B, #FCD34D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .stat-label {
  font-size: 0.75rem;
  opacity: 0.85;
  font-weight: 600;
}

/* ── Services Section ── */
#servicos {
  background: var(--color-surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: var(--space-lg);
}

.service-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-hero);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  background: var(--color-surface-2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition-bounce);
}

.service-card:hover .service-icon {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.15) rotate(-5deg);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-primary-dark);
}

.service-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}


/* ── Differentials Section ── */
#porque, #processo {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

#porque::before, #processo::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: var(--space-lg);
}

.diferencial-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 2rem;
  color: #fff;
  display: flex;
  gap: 1.25rem;
  transition: var(--transition);
}

.diferencial-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
}

.diferencial-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.diferencial-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.diferencial-content p {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.5;
}

.diferenciais-header { color: #fff; }
.diferenciais-header .section-tag {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.diferenciais-header .section-subtitle {
  color: rgba(255,255,255,0.92);
}

/* ── Gallery Section ── */
#galeria {
  background: var(--color-surface-2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
  margin-top: var(--space-lg);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  transition: transform 0.4s ease;
}

.gallery-item:first-child img { min-height: 420px; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,78,107,.85) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-caption {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 0 60px rgba(0,0,0,.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }

/* ── FAQ Section ── */
#faq {
  background: var(--color-surface);
}

.faq-list {
  max-width: 800px;
  margin: var(--space-lg) auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  background: var(--color-surface);
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  transition: var(--transition);
}

.faq-question:hover { background: var(--color-surface-2); }

.faq-item.active .faq-question {
  background: var(--color-surface-2);
  color: var(--color-primary-dark);
}

.faq-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: var(--color-surface-2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-primary);
  transition: var(--transition-bounce);
}

.faq-item.active .faq-icon { background: var(--color-primary); color: #fff; transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-answer-inner a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}

/* ── Final CTA Section ── */
#contato {
  background: linear-gradient(135deg, #064E6B 0%, #0EA5C8 50%, #22C55E 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

#contato::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-final-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.cta-final-content .section-title { color: #fff; font-size: clamp(2rem, 5vw, 3rem); }
.cta-final-content .section-subtitle { color: rgba(255,255,255,0.85); max-width: 600px; }

.cta-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-info-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  font-weight: 600;
}

.contact-info-item svg { width: 22px; height: 22px; }

/* ── Footer ── */
#footer {
  background: #051929;
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text span { opacity: 0.6; }

.footer-info {
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--color-primary-light); }

.footer-copy {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ── Animations ── */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { max-width: 600px; margin-inline: auto; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery-item:first-child img { min-height: 280px; }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 3rem;
    --space-2xl: 4rem;
  }

  #home { padding-block: 6rem 3rem; }

  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .stat-card .stat-number { font-size: 1.3rem; }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .gallery-item:first-child { grid-column: span 1; }
  .gallery-item:first-child img, .gallery-item img { min-height: 200px; }

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

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .whatsapp-float .btn-text { display: none; }
  .whatsapp-float { padding: 0.875rem; border-radius: var(--radius-full); }

  .contact-info-strip { flex-direction: column; align-items: center; gap: 1rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 0.5rem; }
  .stat-card { padding: 0.6rem; }
  .stat-card .stat-number { font-size: 1.1rem; }
  .stat-card .stat-label { font-size: 0.65rem; }
}
