/* ============================================================
   Óptica Center - Campanha Boa Visão para Empresas
   Landing Page B2B - Estilos Completos
   ============================================================
   Identidade Visual:
   - Azul principal: #004D8C
   - Azul claro: #0066B3
   - Azul escuro: #003A6B
   - Laranja: #FF9900
   - Laranja escuro (hover): #E68400
   - Cinza de fundo: #F8F9FA
   Tipografia:
   - Headings: Plus Jakarta Sans (400-800)
   - Body: Inter (400-700)
   ============================================================ */

/* ===== RESET BÁSICO ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: #333333;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

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

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

/* ===== VARIÁVEIS DA MARCA ===== */
:root {
  --optica-blue: #004D8C;
  --optica-blue-light: #0066B3;
  --optica-blue-dark: #003A6B;
  --optica-orange: #FF9900;
  --optica-orange-light: #FFB13D;
  --optica-orange-dark: #E68400;
  --optica-gray: #F8F9FA;
  --optica-gray-border: #E9ECEF;
  --whatsapp-green: #25D366;
  --whatsapp-green-dark: #1DA851;
}

/* ===== CONTAINER RESPONSIVO ===== */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 1280px;
  }
}

/* ===== SCROLLBAR CUSTOMIZADO ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #F8F9FA;
}

::-webkit-scrollbar-thumb {
  background: var(--optica-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--optica-blue-dark);
}

/* ===== GRID UTILITÁRIOS ===== */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  border: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.95);
}

.btn-orange {
  background: var(--optica-orange);
  color: #ffffff;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.btn-orange:hover {
  background: var(--optica-orange-dark);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.btn-blue {
  background: var(--optica-blue);
  color: #ffffff;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.btn-blue:hover {
  background: var(--optica-blue-dark);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.btn-outline-white {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.4);
  color: #ffffff;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.2);
}

@media (min-width: 640px) {
  .btn-orange, .btn-blue, .btn-outline-white {
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
  }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: #ffffff;
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
}

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

.header-logo img {
  height: 66px;
  width: 197px;
  object-fit: contain;
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--optica-blue);
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--optica-orange);
}

.btn-nav-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--optica-blue);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.2s;
}

.btn-nav-whatsapp:hover {
  background: var(--optica-blue-dark);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-nav-whatsapp:active {
  transform: scale(0.95);
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

/* Mobile Toggle */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.5rem;
  color: var(--optica-blue);
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle:active {
  transform: scale(0.95);
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

/* Mobile Menu */
.nav-mobile {
  display: none;
  background: #ffffff;
  border-top: 1px solid #f3f4f6;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--optica-blue);
  transition: all 0.2s;
}

.nav-mobile a:hover {
  background: var(--optica-gray);
  color: var(--optica-orange);
}

.btn-nav-whatsapp-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--optica-blue);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 0.5rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--optica-blue);
  margin-top: 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('assets/hero-capa-espelhada.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 77, 140, 0.8);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  min-height: 340px;
  padding-top: 40px;
  padding-bottom: 60px;
}

.hero-text {
  max-width: 36rem;
}

.hero-text h1 {
  font-size: 1.875rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .hero-text h1 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .hero-text h1 { font-size: 2.6rem; }
}

.hero-text p {
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .hero-text p { font-size: 1.125rem; }
}

.hero-seals {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

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

.hero-seal span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
}

@media (min-width: 640px) {
  .hero-seal span { font-size: 1rem; }
}

.hero-ctas {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
  }
}

/* ===== SECTION LABEL ===== */
.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--optica-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.section-title-center {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.section-title-center h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--optica-blue);
  line-height: 1.2;
}

@media (min-width: 640px) {
  .section-title-center h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .section-title-center h2 { font-size: 3rem; }
}

.section-title-center p {
  margin-top: 1rem;
  font-size: 1rem;
  color: #6b7280;
}

/* ===== DIFFERENTIALS ===== */
.differentials {
  padding: 2.5rem 0;
  background: #ffffff;
}

@media (min-width: 640px) {
  .differentials { padding: 3rem 0; }
}

.diff-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.diff-card:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border-color: rgba(255,153,0,0.3);
}

.diff-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0,77,140,0.1);
  margin-bottom: 1rem;
  color: var(--optica-blue);
  transition: all 0.3s;
}

.diff-card:hover .diff-icon {
  background: rgba(255,153,0,0.1);
  color: var(--optica-orange);
}

.diff-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--optica-blue);
  margin-bottom: 0.5rem;
}

.diff-card p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
}

/* ===== WHY INVEST ===== */
.why-invest {
  padding: 3rem 0;
  background: var(--optica-gray);
}

@media (min-width: 640px) {
  .why-invest { padding: 4rem 0; }
}

.why-invest-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .why-invest-layout {
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
  }
}

.why-invest-image {
  position: relative;
}

.why-invest-image img {
  position: relative;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Decorative squares */
.decor-square {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 1rem;
  z-index: 0;
}

.decor-orange {
  bottom: -12px;
  left: -12px;
  background: rgba(255,153,0,0.15);
}

.decor-blue {
  top: -12px;
  right: -12px;
  background: rgba(0,77,140,0.1);
}

/* Mini cards */
.mini-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: #ffffff;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.mini-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  border-color: rgba(0,77,140,0.2);
}

.mini-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--optica-blue), var(--optica-blue-light));
  color: #ffffff;
  transition: transform 0.3s;
}

.mini-card:hover .mini-card-icon {
  transform: scale(1.1);
}

.mini-card h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--optica-blue);
}

@media (min-width: 640px) {
  .mini-card h3 { font-size: 1rem; }
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 3rem 0;
  background: #ffffff;
}

@media (min-width: 640px) {
  .how-it-works { padding: 4rem 0; }
}

/* Image Banner */
.how-banner {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .how-banner { margin-bottom: 3.5rem; }
}

.how-banner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

@media (min-width: 640px) {
  .how-banner img { height: 300px; }
}

@media (min-width: 1024px) {
  .how-banner img { height: 360px; }
}

.how-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,77,140,0.6), rgba(0,77,140,0.2), transparent);
}

.how-banner-text {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1.5rem;
  max-width: 32rem;
}

@media (min-width: 640px) {
  .how-banner-text { padding: 2rem; }
}

@media (min-width: 1024px) {
  .how-banner-text { padding: 2.5rem; }
}

.how-banner-text p {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .how-banner-text p { font-size: 1rem; }
}

@media (min-width: 1024px) {
  .how-banner-text p { font-size: 1.125rem; }
}

/* Steps */
.steps-grid {
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .steps-grid { gap: 2rem; }
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--optica-gray);
  border: 1px solid #f3f4f6;
  transition: all 0.3s;
}

.step-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  background: #ffffff;
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--optica-orange);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 10;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--optica-blue), var(--optica-blue-light));
  color: #ffffff;
  margin-bottom: 1.25rem;
  margin-top: 0.5rem;
  transition: transform 0.3s;
}

.step-card:hover .step-icon {
  transform: scale(1.1);
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--optica-blue);
}

@media (min-width: 640px) {
  .step-card h3 { font-size: 1.125rem; }
}

/* Step connector arrows (desktop only) */
.step-arrow {
  display: none;
}

@media (min-width: 1024px) {
  .step-arrow {
    display: flex;
    position: absolute;
    top: 50%;
    right: -1rem;
    transform: translateY(-50%);
    z-index: 10;
  }
}

/* Last step should not have arrow */
.steps-grid .step-card:last-child .step-arrow {
  display: none;
}

/* ===== ABOUT US ===== */
.about-us {
  padding: 3rem 0;
  background: var(--optica-gray);
}

@media (min-width: 640px) {
  .about-us { padding: 4rem 0; }
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* On mobile: image first, text second */
.about-text { order: 2; }
.about-image { order: 1; }

@media (min-width: 1024px) {
  .about-text { order: 1; }
  .about-image { order: 2; }
}

.about-text h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--optica-blue);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .about-text h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .about-text h2 { font-size: 3rem; }
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-paragraphs p {
  font-size: 1rem;
  color: #374151;
  line-height: 1.7;
}

.about-seals {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .about-seals { flex-direction: row; }
}

.about-seal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid rgba(0,77,140,0.15);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.about-seal span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--optica-blue);
}

.about-text .btn {
  margin-top: 2rem;
}

.about-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(0,77,140,0.2), transparent, transparent);
  pointer-events: none;
}

/* ===== BENEFITS ===== */
.benefits {
  padding: 3rem 0;
  background: #ffffff;
}

@media (min-width: 640px) {
  .benefits { padding: 4rem 0; }
}

.benefits-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .benefits-layout {
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
  }
}

.benefits-image {
  position: relative;
}

@media (min-width: 1024px) {
  .benefits-image {
    position: sticky;
    top: 7rem;
  }
}

.benefits-image img {
  position: relative;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--optica-gray);
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.benefit-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  background: #ffffff;
  border-color: rgba(0,77,140,0.2);
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--optica-blue), var(--optica-blue-light));
  color: #ffffff;
  margin-bottom: 1.25rem;
  transition: transform 0.3s;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--optica-blue);
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .benefit-card h3 { font-size: 1.125rem; }
}

.benefit-card p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
}

.benefits-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ===== WHATSAPP CTA (Intermediate) ===== */
.whatsapp-cta {
  padding: 2.5rem 0;
  background: linear-gradient(to right, var(--optica-blue), var(--optica-blue-light));
}

.wa-cta-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .wa-cta-layout {
    flex-direction: row;
  }
}

.wa-cta-text {
  text-align: center;
}

@media (min-width: 640px) {
  .wa-cta-text { text-align: left; }
}

.wa-cta-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

@media (min-width: 640px) {
  .wa-cta-text h3 { font-size: 1.5rem; }
}

.wa-cta-text p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

@media (min-width: 640px) {
  .wa-cta-text p { font-size: 1rem; }
}

.btn-wa-cta {
  flex-shrink: 0;
}

/* ===== SOCIAL IMPACT ===== */
.social-impact {
  position: relative;
  padding: 3rem 0;
  background: var(--optica-blue);
  overflow: hidden;
}

@media (min-width: 640px) {
  .social-impact { padding: 4rem 0; }
}

/* Brazil map background */
.brazil-map-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.07;
  pointer-events: none;
}

.brazil-map-bg svg {
  width: 600px;
  height: 600px;
}

@media (min-width: 640px) {
  .brazil-map-bg svg {
    width: 800px;
    height: 800px;
  }
}

/* Decorative orbs */
.orb {
  position: absolute;
  width: 384px;
  height: 384px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.orb-orange {
  top: 0;
  left: 0;
  background: rgba(255,153,0,0.1);
}

.orb-blue {
  bottom: 0;
  right: 0;
  background: rgba(0,102,179,0.3);
}

.social-impact-content {
  position: relative;
  z-index: 10;
}

.social-impact-content .section-title-center h2 {
  color: #ffffff;
}

.text-white { color: #ffffff; }
.text-white-80 { color: rgba(255,255,255,0.8); }

.impact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 64rem;
  margin: 0 auto 4rem;
}

@media (min-width: 1024px) {
  .impact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.impact-image { order: 2; }
.impact-number { order: 1; }

@media (min-width: 1024px) {
  .impact-image { order: 1; }
  .impact-number { order: 2; }
}

.impact-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.impact-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

@media (min-width: 640px) {
  .impact-image img { height: 340px; }
}

@media (min-width: 1024px) {
  .impact-image img { height: 380px; }
}

.impact-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,77,140,0.4), transparent);
}

.impact-number {
  text-align: center;
}

@media (min-width: 1024px) {
  .impact-number { text-align: left; }
}

.big-number {
  font-size: 3.75rem;
  font-weight: 800;
  color: var(--optica-orange);
  letter-spacing: -0.025em;
  font-family: "Plus Jakarta Sans", sans-serif;
}

@media (min-width: 640px) {
  .big-number { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
  .big-number { font-size: 6rem; }
}

.impact-number p {
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .impact-number p { font-size: 1.125rem; }
}

@media (min-width: 1024px) {
  .impact-number p { margin-left: 0; margin-right: 0; }
}

/* Impact indicators */
.impact-indicators {
  max-width: 64rem;
  margin: 0 auto;
}

.impact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s;
}

.impact-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,153,0,0.3);
}

.impact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,153,0,0.2);
  color: var(--optica-orange);
  margin-bottom: 1rem;
}

.impact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.impact-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ===== TRUSTED COMPANIES ===== */
.trusted-companies {
  padding: 3rem 0;
  background: var(--optica-gray);
}

@media (min-width: 640px) {
  .trusted-companies { padding: 4rem 0; }
}

.companies-card {
  max-width: 64rem;
  margin: 0 auto;
  border-radius: 1rem;
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  border: 1px solid #f3f4f6;
}

@media (min-width: 640px) {
  .companies-card { padding: 2.5rem; }
}

.companies-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 3rem 0;
  background: #ffffff;
}

@media (min-width: 640px) {
  .final-cta { padding: 4rem 0; }
}

.final-cta-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.final-cta-content h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--optica-blue);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .final-cta-content h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .final-cta-content h2 { font-size: 3rem; }
}

.final-cta-content p {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .final-cta-content p { font-size: 1.125rem; }
}

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .final-cta-buttons { flex-direction: row; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--optica-blue-dark);
  color: #ffffff;
}

.footer-inner {
  padding: 3rem 0;
}

@media (min-width: 640px) {
  .footer-inner { padding: 4rem 0; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid { gap: 3rem; }
}

.footer-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.footer-brand-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
  line-height: 1.6;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact h4,
.footer-address h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--optica-orange);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}

.footer-contact-item:hover {
  color: #ffffff;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.email-nowrap {
  white-space: nowrap;
  font-size: 0.8125rem;
}

@media (min-width: 640px) {
  .email-nowrap { font-size: 0.875rem; }
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-address-text {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.footer-address-text svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-route {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--optica-orange);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.2s;
  align-self: flex-start;
}

.btn-route:hover {
  background: #FFB326;
  transform: scale(1.02);
}

.btn-route:active {
  transform: scale(0.98);
}

.footer-mascote {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

@media (min-width: 768px) {
  .footer-mascote {
    justify-content: flex-end;
  }
}

.mascote-img {
  width: 144px;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
  object-fit: contain;
}

@media (min-width: 640px) {
  .mascote-img { width: 176px; }
}

/* Footer bottom bar */
.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

@media (min-width: 640px) {
  .footer-copyright { text-align: left; }
}

.footer-tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

@media (min-width: 640px) {
  .footer-tagline { text-align: right; }
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--whatsapp-green);
  padding: 0.875rem 1rem;
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  background: var(--whatsapp-green-dark);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

.whatsapp-float-text {
  display: none;
  font-weight: 600;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .whatsapp-float-text {
    display: inline;
  }
}

/* ===== ANIMATIONS ===== */

/* Fade-in-up on scroll */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Elements with .reveal start hidden, get .visible when in viewport */
.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.visible {
  animation: fadeInUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* WhatsApp pulse animation */
@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-pulse {
  animation: whatsappPulse 2s infinite;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
