/* ============================================
   DUARTE CAR - Design System & Styles
   Premium Automotive One-Page Website
   ============================================ */

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

/* === CSS Custom Properties (Design Tokens) === */
:root {
  /* Primary Colors */
  --red-primary: #E31937;
  --red-hover: #FF2D4A;
  --red-dark: #B01028;
  --red-glow: rgba(227, 25, 55, 0.4);

  /* Neutrals */
  --black: #0A0A0A;
  --black-soft: #111111;
  --gray-900: #1A1A1A;
  --gray-800: #222222;
  --gray-700: #333333;
  --gray-600: #4A4A4A;
  --gray-500: #666666;
  --gray-400: #888888;
  --gray-300: #AAAAAA;
  --gray-200: #CCCCCC;
  --gray-100: #E8E8E8;
  --white: #FFFFFF;
  --white-soft: #F5F5F5;

  /* Glassmorphism */
  --glass-bg: rgba(20, 20, 20, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 20px;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-red: 0 4px 30px rgba(227, 25, 55, 0.3);
  --shadow-red-lg: 0 8px 40px rgba(227, 25, 55, 0.4);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--gray-200);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

/* === Utility Classes === */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title span {
  color: var(--red-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-400);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--red-primary), var(--red-hover));
  border-radius: var(--radius-full);
  margin: 0 auto 20px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--red-hover), var(--red-primary));
  box-shadow: var(--shadow-red-lg);
  transform: translateY(-3px);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Pulse animation for WhatsApp buttons */
.btn-whatsapp {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: var(--shadow-red); }
  50% { box-shadow: 0 4px 50px rgba(227, 25, 55, 0.6); }
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-normal);
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

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

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: var(--transition-normal);
}

.header.scrolled .header-logo {
  width: 44px;
  height: 44px;
}

.header-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-name .highlight {
  color: var(--red-primary);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-primary);
  transition: var(--transition-normal);
  border-radius: var(--radius-full);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--white);
}

.nav-link.active::after {
  width: 100%;
}

.header-cta .btn {
  padding: 12px 24px;
  font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) contrast(1.1);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.5) 0%,
    rgba(10, 10, 10, 0.3) 40%,
    rgba(10, 10, 10, 0.6) 70%,
    rgba(10, 10, 10, 1) 100%
  );
}

/* Red light effect */
.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(227, 25, 55, 0.15) 0%, transparent 70%);
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, 30px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(227, 25, 55, 0.12);
  border: 1px solid rgba(227, 25, 55, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-hover);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--red-primary);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--red-primary), var(--red-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--gray-300);
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

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

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.hero-stat-number .accent {
  background: linear-gradient(135deg, var(--red-primary), var(--red-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  font-weight: 500;
}



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

/* === ABOUT SECTION === */
.about {
  padding: var(--section-padding);
  background: var(--black);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-700), transparent);
}

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

.about-content {
  opacity: 0;
  transform: translateX(-40px);
  transition: var(--transition-slow);
}

.about-content.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.about-tag-line {
  width: 30px;
  height: 2px;
  background: var(--red-primary);
  border-radius: var(--radius-full);
}

.about-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.about-heading span {
  color: var(--red-primary);
}

.about-text {
  font-size: 1.05rem;
  color: var(--gray-400);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--gray-900);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  transition: var(--transition-normal);
}

.about-feature:hover {
  border-color: rgba(227, 25, 55, 0.3);
  transform: translateY(-2px);
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(227, 25, 55, 0.1);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--red-primary);
}

.about-feature span {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-200);
}

.about-visual {
  position: relative;
  opacity: 0;
  transform: translateX(40px);
  transition: var(--transition-slow);
}

.about-visual.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.about-card {
  background: linear-gradient(145deg, var(--gray-900), var(--gray-800));
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(227, 25, 55, 0.08) 0%, transparent 70%);
}

.about-year {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--red-primary), rgba(227, 25, 55, 0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.about-card-text {
  font-size: 1.1rem;
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: 32px;
}

.about-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-card-stat {
  text-align: center;
  padding: 20px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.about-card-stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.about-card-stat-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* === SERVICES SECTION === */
.services {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--black) 0%, var(--gray-900) 50%, var(--black) 100%);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-700), transparent);
}

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

.service-card {
  background: var(--gray-800);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--glass-border);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, border-color 0.3s, box-shadow 0.3s;
}

.service-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-primary), var(--red-hover));
  opacity: 0;
  transition: var(--transition-normal);
}

.service-card:hover {
  border-color: rgba(227, 25, 55, 0.2);
  box-shadow: 0 8px 40px rgba(227, 25, 55, 0.08);
  transform: translateY(-6px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(227, 25, 55, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  background: rgba(227, 25, 55, 0.15);
  transform: scale(1.05);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--red-primary);
}

.service-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: var(--transition-fast);
}

.service-link:hover {
  color: var(--red-hover);
  gap: 12px;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

/* === CONTACT SECTION === */
.contact {
  padding: var(--section-padding);
  background: var(--black);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-700), transparent);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.contact-info {
  opacity: 0;
  transform: translateX(-40px);
  transition: var(--transition-slow);
}

.contact-info.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.contact-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact-heading span {
  color: var(--red-primary);
}

.contact-text {
  font-size: 1.05rem;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-phone-block {
  background: linear-gradient(145deg, var(--gray-900), var(--gray-800));
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--glass-border);
  margin-bottom: 24px;
}

.contact-phone-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-phone-number {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-phone-number .whatsapp-icon {
  width: 32px;
  height: 32px;
  color: #25D366;
}

.contact-phone-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 8px;
  font-style: italic;
}

.contact-address-block {
  background: linear-gradient(145deg, var(--gray-900), var(--gray-800));
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--glass-border);
  margin-bottom: 32px;
}

.contact-address-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-address-text {
  font-size: 1.1rem;
  color: var(--gray-200);
  line-height: 1.6;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-buttons .btn {
  width: 100%;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  height: 100%;
  min-height: 480px;
  opacity: 0;
  transform: translateX(40px);
  transition: var(--transition-slow);
}

.contact-map.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.6) contrast(1.1) brightness(0.85);
  transition: var(--transition-normal);
}

.contact-map:hover iframe {
  filter: grayscale(0.2) contrast(1.05) brightness(0.95);
}

/* === FOOTER === */
.footer {
  background: var(--gray-900);
  border-top: 1px solid var(--glass-border);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--gray-400);
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--red-primary);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-700), transparent);
}

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

.footer-copyright {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-align: center;
}

.footer-credit {
  font-size: 0.8rem;
  color: var(--gray-600);
  text-align: center;
}

.footer-credit a {
  color: var(--red-primary);
  font-weight: 600;
  transition: var(--transition-fast);
}

.footer-credit a:hover {
  color: var(--red-hover);
}

/* === Scroll Animations === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    order: -1;
  }

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

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-map {
    min-height: 350px;
  }

  .hero-stats {
    gap: 32px;
  }

  .hero-content {
    padding-top: 90px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px 0;
  }

  /* Header mobile */
  .header {
    padding: 12px 0;
  }

  .header.scrolled {
    padding: 8px 0;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--gray-900);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 24px;
    transition: var(--transition-normal);
    border-left: 1px solid var(--glass-border);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 1050;
  }

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

  .nav-links {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    width: 100%;
  }

  .header-cta {
    width: 100%;
  }

  .header-cta .btn {
    width: 100%;
    padding: 14px 20px;
  }

  .menu-toggle {
    display: flex;
  }

  /* Mobile menu overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
  }

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

  /* Hero mobile */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-content {
    padding: 100px 20px 40px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    margin-bottom: 12px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 16px;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 28px;
    line-height: 1.7;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 36px;
    justify-content: center;
  }

  .hero-stat {
    min-width: 80px;
  }

  .hero-stat-number {
    font-size: 1.8rem;
  }

  .hero-stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
  }

  /* Services mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 28px 24px;
  }

  /* About mobile */
  .about-features {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .about-feature {
    padding: 12px 14px;
  }

  .about-feature span {
    font-size: 0.8rem;
  }

  .about-card-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .about-year {
    font-size: 4rem;
  }

  .about-heading {
    font-size: 1.6rem;
  }

  .about-text {
    font-size: 0.95rem;
  }

  /* Contact mobile */
  .contact-heading {
    font-size: 1.6rem;
  }

  .contact-phone-number {
    font-size: 1.3rem;
    flex-wrap: wrap;
  }

  .contact-phone-number .whatsapp-icon {
    width: 26px;
    height: 26px;
  }

  .contact-buttons .btn {
    padding: 14px 20px;
    font-size: 0.85rem;
  }

  /* Section titles mobile */
  .section-title {
    font-size: 1.7rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  /* Footer mobile */
  .footer {
    padding: 36px 0 24px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .header-name {
    font-size: 1.15rem;
  }

  .header-logo {
    width: 38px;
    height: 38px;
  }

  .hero-content {
    padding: 90px 16px 32px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .hero-stats {
    gap: 16px;
  }

  .hero-stat-number {
    font-size: 1.5rem;
  }

  .about-card {
    padding: 28px 20px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-card-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .about-card-stat {
    padding: 14px 8px;
  }

  .about-card-stat-num {
    font-size: 1.4rem;
  }

  .contact-phone-block,
  .contact-address-block {
    padding: 20px;
  }

  .contact-map {
    min-height: 280px;
  }

  .btn {
    padding: 13px 24px;
    font-size: 0.85rem;
  }
}

.whatsapp-flutuante {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    
    /* Força o alinhamento perfeito no centro */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    
    transition: background-color 0.3s, transform 0.3s;
}

/* Garante que o ícone interno (SVG) não mude de tamanho ou saia do lugar */
.whatsapp-flutuante svg {
    width: 35px !important;
    height: 35px !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Efeito Hover */
.whatsapp-flutuante:hover {
    background-color: #1da33e;
    transform: scale(1.1);
}

@media (max-width: 360px) {
  .header-name {
    font-size: 1rem;
  }

  .header-brand {
    gap: 10px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
  }
}
