/* ================================================================
   VITTATHERM — style.css
   Design premium: vermelho escuro + cinza escuro + branco
   ================================================================ */

/* ---- Custom Fonts ---- */
@font-face {
  font-family: 'ResagoKR';
  src: url('assets/fonts/ResagoKR.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'ResagoKR';
  src: url('assets/fonts/ResagoKRBold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'ResagoKR';
  src: url('assets/fonts/ResagoKRLight.otf') format('opentype');
  font-weight: 300;
  font-display: swap;
}

/* ---- Design Tokens ---- */
:root {
  --red-dark:    #8B0000;
  --red-main:    #C41010;
  --red-light:   #E02020;
  --red-orange:  #CC3300;
  --charcoal:    #1A1A1A;
  --dark:        #111111;
  --dark-2:      #1E1E1E;
  --dark-3:      #252525;
  --gray:        #555555;
  --gray-light:  #888888;
  --light-bg:    #F7F5F5;
  --white:       #FFFFFF;
  --border:      rgba(255,255,255,0.08);
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.15);
  --shadow-md:   0 8px 40px rgba(0,0,0,0.25);
  --shadow-red:  0 8px 30px rgba(139,0,0,0.35);
  --radius:      12px;
  --radius-lg:   20px;
  --font-main:   'Inter', sans-serif;
  --font-brand:  'ResagoKR', 'Outfit', sans-serif;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
  --nav-h:       70px;
  --topbar-h:    40px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  min-width: 320px;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Utilities ---- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.header-container { width: 100%; margin: 0 auto; padding: 0 60px; max-width: 1440px; }
.text-red { color: var(--red-main); }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-main);
  background: rgba(196,16,16,0.08);
  border: 1px solid rgba(196,16,16,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.section-tag--light { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.section-title {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.section-title--light { color: var(--white); }
.section-subtitle { font-size: 1.05rem; color: var(--gray); max-width: 540px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-subtitle { margin: 0 auto; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--red-main), var(--red-dark));
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(139,0,0,0.5);
  background: linear-gradient(135deg, var(--red-light), var(--red-main));
}
.btn--whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(37,211,102,0.3);
}
.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,211,102,0.5);
}
.btn--large { padding: 16px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; justify-content: center; }
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ================================================================
   HEADER & NAVBAR
   ================================================================ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }

.header__topbar {
  background: var(--dark);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  transition: var(--transition);
}
.header.scrolled .header__topbar { height: 0; overflow: hidden; }
.header__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.header__topbar-contact { display: flex; gap: 24px; }
.topbar-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.topbar-link svg { width: 14px; height: 14px; }
.topbar-link:hover { color: var(--red-light); }
.header__topbar-social { display: flex; gap: 12px; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.social-link svg { width: 14px; height: 14px; }
.social-link:hover { background: var(--red-main); color: var(--white); transform: scale(1.1); }

.header__nav {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
}
.header.scrolled .header__nav {
  height: 64px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}
.header__nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.header__logo { flex: 1; display: flex; align-items: center; justify-content: flex-start; }
.header__logo img { height: 54px; width: auto; transition: var(--transition); }
.header.scrolled .header__logo img { height: 46px; }
.header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.header__actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.mobile-only-link { display: none; }
.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--red-main);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link:hover { color: var(--red-main); }
.nav-link.active { color: var(--red-main); }
.nav-link.cta-nav {
  background: linear-gradient(135deg, var(--red-main), var(--red-dark));
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-red);
}
.nav-link.cta-nav::after { display: none; }
.nav-link.cta-nav:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(139,0,0,0.45); }
.header__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; flex-shrink: 0; }
.header__burger span { width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: var(--transition); }
.header__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: calc(var(--topbar-h) + var(--nav-h));
  overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero__slide.active { opacity: 1; }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,5,5,0.85) 0%,
    rgba(80,5,5,0.6) 50%,
    rgba(0,0,0,0.4) 100%
  );
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 720px; width: 100%; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(196,16,16,0.3);
  border: 1px solid rgba(196,16,16,0.5);
  border-radius: 100px;
  padding: 8px 18px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  animation: fadeInDown 0.8s ease 0.2s both;
}
.hero__badge::before { content: '🔥'; font-size: 1em; }
.hero__title {
  font-family: var(--font-brand);
  font-size: clamp(1.5rem, 3.2vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  animation: fadeInUp 0.8s ease 0.4s both;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: none;
}
.hero__title-highlight {
  display: inline-block;
  background: linear-gradient(135deg, #FF6B20, #E02020, #8B0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-right: 2px; /* evita corte do último glifo */
}
.hero__desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s both;
}
.hero__dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.hero__dot.active {
  background: var(--red-main);
  width: 24px;
  border-radius: 4px;
}
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 3;
}
.scroll-arrow {
  width: 28px; height: 28px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s ease-in-out infinite;
}

/* ================================================================
   STATS BAR
   ================================================================ */
.stats-bar {
  background: var(--dark);
  padding: 32px 0;
  position: relative;
  z-index: 2;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-main), var(--red-orange));
}
.stats-bar__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 48px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-brand);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red-main);
  vertical-align: super;
}
.stat-suffix-icon { font-size: 2.5rem; line-height: 1; }
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
}

/* ================================================================
   ABOUT
   ================================================================ */
.about {
  padding: 100px 0;
  background: var(--white);
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__image-col { position: relative; }
.about__image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about__image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(139,0,0,0.4) 100%);
  z-index: 1;
  border-radius: var(--radius-lg);
}
.about__img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius-lg); }
.about__badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--red-main), var(--red-dark));
  border-radius: 50%;
  width: 110px; height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: var(--shadow-red);
}
.badge-years {
  font-family: var(--font-brand);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.badge-text {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.85);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}
.about__text-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.about__text { margin-bottom: 32px; }
.about__text p {
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 1rem;
}
.about__text p:last-child { margin-bottom: 0; }
.about__text strong { color: var(--charcoal); }
.about__text a { color: inherit; }

/* ================================================================
   DIFERENCIAL
   ================================================================ */
.diferencial {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.diferencial__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0D0505 0%, #1A0202 50%, #200808 100%);
}
.diferencial__bg::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(196,16,16,0.15) 0%, transparent 60%);
}
.diferencial .container { position: relative; z-index: 1; }
.diferencial__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.diferencial__text { display: flex; flex-direction: column; align-items: flex-start; }
.diferencial__desc {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.diferencial__desc strong { color: var(--white); }
.diferencial__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.feature-icon {
  width: 24px; height: 24px;
  background: rgba(196,16,16,0.2);
  border: 1px solid rgba(196,16,16,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 12px; height: 12px; color: var(--red-light); }
.diferencial__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
}
.diferencial__image::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(196,16,16,0.2);
  border-radius: var(--radius-lg);
  z-index: 1;
}
.diferencial__image img { width: 100%; height: 420px; object-fit: cover; }

/* ================================================================
   SERVICES
   ================================================================ */
.services {
  padding: 100px 0;
  background: var(--light-bg);
}
.services__block { margin-bottom: 64px; }
.services__block:last-child { margin-bottom: 0; }
.services__block-title {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.services__block-icon { font-size: 1.4rem; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--red-main), var(--red-dark));
  transform: scaleY(0);
  transition: var(--transition);
  transform-origin: bottom;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleY(1); }
.service-card__icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(196,16,16,0.12), rgba(139,0,0,0.06));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: var(--transition);
}
.service-card__icon svg { width: 24px; height: 24px; color: var(--red-main); }
.service-card:hover .service-card__icon { background: var(--red-main); }
.service-card:hover .service-card__icon svg { color: var(--white); }
.service-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--charcoal); }
.service-card p { font-size: 0.875rem; color: var(--gray); line-height: 1.6; }

/* Products Grid */
.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: default;
}
.product-card:hover {
  border-color: var(--red-main);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-card__icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.product-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
}
.product-card:hover h4 { color: var(--red-main); }

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.cta-section__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red-main) 50%, var(--red-orange) 100%);
}
.cta-section__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.02) 40px,
    rgba(255,255,255,0.02) 80px
  );
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cta-section__flame { width: 80px; flex-shrink: 0; animation: flamePulse 2s ease-in-out infinite; }
.cta-section__text { flex: 1; min-width: 260px; }
.cta-section__text h2 {
  font-family: var(--font-brand);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 8px;
}
.cta-section__text p { color: rgba(255,255,255,0.85); font-size: 1rem; }
.cta-section__actions { flex-shrink: 0; }
.btn--whatsapp.btn--large {
  background: var(--white);
  color: #128C7E;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.btn--whatsapp.btn--large:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.3); }

/* ================================================================
   CONTACT
   ================================================================ */
.contact {
  padding: 100px 0;
  background: var(--white);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--light-bg);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}
.contact-card:hover { border-color: rgba(196,16,16,0.2); background: rgba(196,16,16,0.04); }
.contact-card__icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--red-main), var(--red-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card__icon svg { width: 20px; height: 20px; color: var(--white); }
.contact-card__label { font-size: 0.75rem; color: var(--gray-light); text-transform: uppercase; font-weight: 600; letter-spacing: 0.05em; }
.contact-card__value { font-size: 0.95rem; font-weight: 600; color: var(--charcoal); transition: color var(--transition); }
.contact-card__value:hover { color: var(--red-main); }
.contact-whatsapp { margin-top: 8px; }

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}
.contact-form__title {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 28px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--charcoal); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-main);
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red-main);
  box-shadow: 0 0 0 4px rgba(196,16,16,0.08);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { appearance: none; cursor: pointer; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); }
.footer__main { padding: 72px 0 48px; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer__brand p { font-size: 0.875rem; line-height: 1.7; margin-top: 16px; }
.footer__logo { height: 56px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-social-link svg { width: 16px; height: 16px; }
.footer-social-link:hover { background: var(--red-main); border-color: var(--red-main); color: var(--white); transform: translateY(-2px); }
.footer__links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer__links li a:hover { color: var(--red-light); padding-left: 4px; }
.footer__contact-info h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}
.footer__contact-item svg { color: var(--red-main); flex-shrink: 0; }
.footer__contact-item a { transition: color var(--transition); }
.footer__contact-item a:hover { color: var(--red-light); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ================================================================
   WHATSAPP FLOAT
   ================================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px; height: 58px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  z-index: 900;
  transition: var(--transition);
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(37,211,102,0.6); }
.whatsapp-float__pulse {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: rgba(37,211,102,0.4);
  animation: pulse 2s ease-out infinite;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0);     }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
  50%       { transform: rotate(45deg) translateY(6px); opacity: 1; }
}
@keyframes flamePulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.06); }
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0;   }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* ---- Desktop médio: 1025px – 1280px (sem hamburger, so ajustes de layout) ---- */
@media (max-width: 1280px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 1100px) {
  .about__inner { gap: 48px; }
  .diferencial__inner { gap: 48px; }
  /* Nav: reduz padding dos links para caber melhor */
  .nav-link { padding: 8px 10px; font-size: 0.85rem; }
  .nav-link.cta-nav { padding: 8px 14px; font-size: 0.85rem; }
  .header__logo img { height: 46px; }
}

/* ---- Tablet/Desktop pequeno: hamburger só abaixo de 768px ---- */
@media (max-width: 900px) {
  /* Topbar some, mas nav ainda é desktop */
  :root { --topbar-h: 0px; }
  .header__topbar { display: none; }
  /* Reduz ainda mais os links do nav */
  .nav-link { padding: 6px 8px; font-size: 0.8rem; }
  .nav-link.cta-nav { padding: 8px 12px; font-size: 0.8rem; }
}

/* ---- Tablet Portrait: hamburger aparece ---- */
@media (max-width: 768px) {
  :root { --topbar-h: 0px; }
  .header__topbar { display: none; }
  .header__burger { display: flex; }
  .header__menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: 999;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .header__menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .desktop-cta { display: none !important; }
  .mobile-only-link { display: block; }

  .nav-link { padding: 12px 16px; border-radius: 8px; font-size: 1rem; }
  .nav-link.cta-nav { margin-top: 8px; justify-content: center; }

  .hero { min-height: 100svh; padding-top: var(--nav-h); }
  .hero__title { font-size: clamp(1.6rem, 7vw, 2.4rem); line-height: 1.3; }
  .hero__desc { font-size: 0.95rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .stats-bar__grid { gap: 0; }
  .stat-item { padding: 16px 20px; }
  .stat-divider { display: none; }

  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__img { height: 300px; }
  .about__badge-float { right: 0; bottom: -16px; width: 90px; height: 90px; }
  .badge-years { font-size: 1.8rem; }

  .diferencial__inner { grid-template-columns: 1fr; }
  .diferencial__image img { height: 280px; }

  .services__grid { grid-template-columns: 1fr 1fr; }
  .products__grid { grid-template-columns: repeat(3, 1fr); }

  .cta-section__inner { flex-direction: column; text-align: center; align-items: center; }
  .cta-section__flame { width: 60px; }

  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 28px 20px; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  .section-title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
}

/* ---- Mobile: ≤480px ---- */
@media (max-width: 480px) {
  .hero__title { font-size: clamp(1.4rem, 8vw, 1.9rem); line-height: 1.3; }
  .hero__badge { font-size: 0.7rem; padding: 6px 12px; }
  .hero__desc { font-size: 0.9rem; }
  .hero__actions .btn { font-size: 0.9rem; padding: 12px 20px; }

  .services__grid { grid-template-columns: 1fr; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 12px 16px; }
  .stat-number { font-size: 2rem; }
  .hero__scroll-indicator { display: none; }

  .contact-form { padding: 20px 16px; }
  .btn--large { padding: 14px 24px; font-size: 0.95rem; }
}

/* ---- Extra Small: ≤360px ---- */
@media (max-width: 360px) {
  .container, .header-container { padding: 0 16px; }
  .hero__title { font-size: 1.3rem; }
}
