/* ============================================
   Mais Energia — Design System
   ============================================ */
:root {
  --primary: #0A4D68;
  --primary-dark: #083a50;
  --secondary: #4CAF50;
  --secondary-dark: #3d9140;
  --accent: #FFD54F;
  --accent-dark: #f5c628;
  --bg: #FFFFFF;
  --bg-alt: #f8fafc;
  --text: #1E293B;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(10, 77, 104, 0.08);
  --shadow-lg: 0 20px 60px rgba(10, 77, 104, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn--accent {
  background: var(--accent);
  color: var(--text);
}
.btn--accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 213, 79, 0.4);
}
.btn--outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn--outline-light {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.btn--outline-light:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--center { margin: 2rem auto 0; display: flex; width: fit-content; }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: var(--transition);
}
.header--scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow);
}
@media (min-width: 769px) {
  .header--scrolled {
    backdrop-filter: blur(12px);
  }
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  z-index: 1101;
  position: relative;
}
.logo__img {
  display: block;
  height: 56px;
  width: auto;
  object-fit: contain;
}
.logo__text {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  transition: color var(--transition);
}
.header--scrolled .logo__text {
  color: var(--primary);
}
.logo__img--footer {
  height: 64px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1101;
  padding: 0.5rem;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}
.header--scrolled .nav-toggle span { background: var(--primary); }
.nav-toggle[aria-expanded="true"] {
  z-index: 1200;
}
.nav-toggle[aria-expanded="true"] span {
  background: #fff;
}
body.nav-open .logo {
  z-index: 1200;
}
body.nav-open .logo__text {
  color: #fff;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-close {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 769px) {
  .nav {
    position: fixed;
    top: 0;
    right: max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem));
    height: var(--header-h);
    z-index: 1001;
  }
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }
.nav__link:hover,
.nav__link.active { color: var(--accent); }
@media (min-width: 769px) {
  .header--scrolled ~ .nav .nav__link { color: var(--text); }
  .header--scrolled ~ .nav .nav__link:hover,
  .header--scrolled ~ .nav .nav__link.active { color: var(--primary); }
  .header--scrolled ~ .nav .nav__link::after { background: var(--secondary); }
}

/* Hero — carrossel com título por slide */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero-carousel {
  position: absolute;
  inset: 0;
}
.hero-carousel__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: var(--slide-img);
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 6s ease;
  z-index: 0;
}
.hero-carousel__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}
.hero-carousel__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(10,77,104,0.88) 0%, rgba(10,77,104,0.65) 50%, rgba(30,41,59,0.5) 100%);
  pointer-events: none;
}
.hero-carousel__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: calc(var(--header-h) + 2rem) 1.5rem 6rem;
  width: 100%;
  max-width: 1000px;
}
.hero-carousel__title {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  margin-bottom: 1rem;
  animation: heroTitleIn 0.8s ease both;
}
.hero-carousel__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.92;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
  animation: heroTitleIn 0.8s ease 0.15s both;
}
.hero-carousel__slide.is-active .hero-carousel__title,
.hero-carousel__slide.is-active .hero-carousel__subtitle {
  animation: heroTitleIn 0.8s ease both;
}
.hero-carousel__slide.is-active .hero-carousel__subtitle {
  animation-delay: 0.15s;
}
@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-carousel__footer {
  position: absolute;
  bottom: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.hero-carousel__indicators {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.hero-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.hero-carousel__dot.is-active {
  width: 28px;
  border-radius: 4px;
  background: var(--accent);
}
.hero-carousel__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.hero-carousel__arrow:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
}
.hero-carousel__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  animation: bounce 2s infinite;
  z-index: 3;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Sections */
.section {
  padding: 5rem 0;
}
.section__header {
  margin-bottom: 3rem;
}
.section__header--center { text-align: center; }
.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}
.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Animação ao rolar — conteúdo legível; entrada suave via transform */
.reveal {
  opacity: 1;
  transform: translate3d(0, 40px, 0);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.reveal.visible {
  transform: translate3d(0, 0, 0);
}
.reveal--left {
  transform: translate3d(-40px, 0, 0);
}
.reveal--left.visible {
  transform: translate3d(0, 0, 0);
}
.reveal--right {
  transform: translate3d(40px, 0, 0);
}
.reveal--right.visible {
  transform: translate3d(0, 0, 0);
}
.reveal--scale {
  transform: translate3d(0, 24px, 0) scale(0.96);
}
.reveal--scale.visible {
  transform: translate3d(0, 0, 0) scale(1);
}
.reveal-stagger > .reveal {
  transition-delay: calc(var(--reveal-i, 0) * 0.1s);
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #0d6b8f 100%);
  padding: 4rem 0;
}
.cta-banner__inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.cta-banner__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.cta-banner__desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0 auto 2rem;
  max-width: 36rem;
}
.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.btn--whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn--whatsapp:hover {
  background: #1fb855;
  border-color: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* Accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Calculator */
.calculator {
  background: var(--bg-alt);
}
.section__title--sm {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.calculator__subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.calculator__panel {
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: max-width var(--transition), box-shadow var(--transition);
}
.calculator__panel--results {
  max-width: 680px;
  box-shadow: var(--shadow-lg);
}
.calculator__input-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}
.calculator__input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.calculator__input:focus-within { border-color: var(--primary); }
.calculator__currency {
  flex-shrink: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
}
.calculator__input input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.125rem;
  font-weight: 600;
}
.calculator__input-row .btn {
  flex-shrink: 0;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
}
.calculator__results {
  margin-top: 2rem;
  animation: calculatorFadeIn 0.5s ease;
}
@keyframes calculatorFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Results — layout exclusivo */
.calculator__results-head {
  text-align: center;
  margin-bottom: 1.25rem;
}
.calculator__results-badge {
  display: inline-block;
  padding: 0.35rem 0.875rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(76, 175, 80, 0.1);
  border-radius: 50px;
}
.calculator__results-base {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.calculator__results-base strong {
  color: var(--text);
  font-weight: 700;
}

.calculator__hero {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(145deg, var(--primary) 0%, #0d6b8f 55%, var(--secondary-dark) 100%);
  border-radius: var(--radius);
}
.calculator__hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}
.calculator__hero-label {
  display: block;
  position: relative;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.calculator__hero-value {
  display: block;
  position: relative;
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--accent);
}
.calculator__hero-rate {
  display: inline-block;
  position: relative;
  padding: 0.3rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.calculator__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.calculator__metric {
  padding: 1.25rem 1rem;
  text-align: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.calculator__metric-value {
  display: block;
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.calculator__metric-value--accent { color: var(--secondary); }
.calculator__metric-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.calculator__compare {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.calculator__compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.calculator__compare-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.calculator__compare-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}
.calculator__compare-item--highlight .calculator__compare-value {
  color: var(--secondary);
}
.calculator__compare-bar {
  height: 8px;
  margin-top: 1rem;
  background: var(--border);
  border-radius: 50px;
  overflow: hidden;
}
.calculator__compare-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--secondary) 0%, #66bb6a 100%);
  border-radius: 50px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.calculator__compare-note {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  text-align: center;
  color: var(--text-muted);
}
.calculator__compare-note strong {
  color: var(--secondary);
  font-weight: 700;
}

.calculator__footer {
  margin-top: 1.5rem;
  text-align: center;
}
.calculator__cta-btn {
  border-radius: var(--radius);
}
.calculator__disclaimer {
  margin-top: 0.875rem;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.contact__form input,
.contact__form textarea {
  flex: 1;
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  background: transparent;
  transition: border-color var(--transition);
}
.contact__form input:focus,
.contact__form textarea:focus { border-color: var(--primary); }

/* Instagram */
.instagram-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--secondary);
  font-size: 1.125rem;
}
.instagram-handle:hover { text-decoration: underline; }

.instagram-feed {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: 120px;
  overflow: hidden;
}

.instagram-feed .elfsight-app-15f09157-899a-46b2-8cac-80195ed7088d,
.instagram-feed .elfsight-app-15f09157-899a-46b2-8cac-80195ed7088d > div,
.instagram-feed iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.instagram-section {
  background: var(--bg-alt);
  padding-bottom: 3rem;
}
.instagram-section__desc {
  max-width: 36rem;
  margin: 0.75rem auto 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* Solutions */
.solutions {
  background: var(--primary);
}
.section__tag--light {
  color: var(--accent);
}
.section__title--light {
  color: #fff;
}
.solutions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.solutions__intro {
  max-width: 36rem;
  margin: 0.75rem auto 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  line-height: 1.65;
}
.solutions__group-title {
  margin: 2.5rem 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
}
.solutions__group-title:first-of-type {
  margin-top: 2rem;
}
.solutions__note {
  margin-top: 2.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
.solution-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.75rem 2rem;
  background: #fff;
  border-radius: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}
.solution-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin-bottom: 1.5rem;
  background: #F5A623;
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}
.solution-card__icon svg {
  width: 44px;
  height: 44px;
}
.solution-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.solution-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}
.solution-card__link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #F5A623;
  text-transform: lowercase;
  transition: color var(--transition);
}
.solution-card__link:hover {
  color: #e8940f;
  text-decoration: underline;
}
@media (max-width: 1100px) {
  .solutions__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .solutions .container {
    overflow: visible;
  }
  .solutions__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    margin: 0 -1.5rem;
    padding: 0 1.5rem 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .solutions__grid::-webkit-scrollbar {
    display: none;
  }
  .solution-card {
    flex: 0 0 min(280px, 78vw);
    scroll-snap-align: start;
  }
  .solution-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Clients carousel */
.clients { background: var(--bg-alt); overflow: hidden; }
.clients__intro {
  max-width: 40rem;
  margin: 0.75rem auto 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* Method */
.method {
  background: var(--bg);
}
.method__subtitle {
  max-width: 36rem;
  margin: 0.75rem auto 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
}
.method__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 2.5rem auto 0;
  text-align: left;
  counter-reset: none;
}
.method__step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem 1.5rem;
  border-top: 3px solid var(--secondary);
  background: var(--bg-alt);
}
.method__step-num {
  flex-shrink: 0;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
}
.method__step h3 {
  font-size: 1.0625rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.method__step p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.method__closing {
  margin-top: 2.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Case study */
.case-study {
  background: var(--primary);
  color: #fff;
}
.case-study__lead {
  max-width: 36rem;
  margin: 0.75rem auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.0625rem;
}
.case-study__cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem 0 2.5rem;
}
.case-study__cities span {
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.case-study__body {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: left;
}
.case-study__body p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.case-study__quote {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent) !important;
  line-height: 1.45;
  margin-top: 1.5rem !important;
  margin-bottom: 0 !important;
}
.case-study__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.case-study__meta strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.case-study__meta span {
  display: block;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
}

/* Presence */
.presence {
  background: var(--bg);
}
.presence__intro {
  max-width: 44rem;
  margin: 0.75rem auto 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
  text-align: left;
}
.presence__lead {
  margin-top: 1.25rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
}
.presence__cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 2.5rem auto 0;
  max-width: 900px;
}
.presence__cities li {
  padding: 0.4rem 0.9rem;
  background: var(--bg-alt);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-left: 3px solid var(--secondary);
}
.presence__closing {
  margin-top: 2.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

/* Founder / CEO */
.about-founder {
  background: #2e3740;
  margin: 3rem 0;
  padding: 0;
  overflow: hidden;
}
.about-founder__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  min-height: 420px;
}
.about-founder__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 3.5rem 2.5rem 3.5rem 0;
  color: #fff;
}
.about-founder__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.about-founder__name {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}
.about-founder__role {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.75rem;
}
.about-founder__quote {
  border: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.about-founder__quote p {
  font-size: clamp(1.125rem, 2.2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.55;
  color: #fff;
}
.about-founder__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 28rem;
}
.about-founder__media {
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #2e3740;
}
.about-founder__media img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 768px) {
  .about-founder {
    margin: 2.5rem 0;
  }
  .about-founder__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .about-founder__content {
    padding: 2.5rem 0 1.5rem;
    order: 1;
  }
  .about-founder__media {
    order: 0;
  }
  .about-founder__media img {
    max-width: 280px;
    max-height: 340px;
    margin: 0 auto;
  }
}

.contact__lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}
.clients-carousel { overflow: hidden; padding: 1rem 0 2rem; }
.clients-carousel__track {
  display: flex;
  gap: 1.5rem;
  animation: scroll-clients 50s linear infinite;
  width: max-content;
  padding: 0 1.5rem;
}
.clients-carousel:hover .clients-carousel__track { animation-play-state: paused; }
@keyframes scroll-clients {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.client-card {
  flex: 0 0 auto;
  width: 220px;
  padding: 1.75rem 1.25rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.client-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.client-card__logo {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--primary) 0%, #0d6b8f 100%);
  border: 3px solid rgba(76, 175, 80, 0.35);
  box-shadow: 0 8px 24px rgba(10, 77, 104, 0.15);
}
.client-card__logo::before {
  content: attr(data-initials);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
}
.client-card__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.4rem;
  border-radius: 50%;
  background: #fff;
}
.client-card__logo img.is-loaded {
  z-index: 1;
}
.client-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  margin: 0;
}
.client-card__sector {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* About */
.about { text-align: center; }
.about__logo { margin-bottom: 1.5rem; }
.about__logo-img {
  display: block;
  height: clamp(100px, 18vw, 140px);
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}
.about__intro {
  max-width: 800px;
  margin: 0 auto 2.5rem;
}
.about__description {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
  text-align: justify;
}
.about__description:last-child { margin-bottom: 0; }
.about__description--lead {
  font-weight: 600;
  color: var(--text);
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.6;
}
.about__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1rem;
  max-width: 960px;
  margin: 0 auto 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about__fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.about__fact-value {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.about__fact-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 12rem;
}
.about__pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  text-align: left;
}
.pillar-card {
  padding: 2rem;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
}
.pillar-card h3 {
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.pillar-card p { color: var(--text-muted); font-size: 0.9375rem; }
.about__intelligence {
  max-width: 900px;
  margin: 0 auto 3rem;
}
.about__intelligence-desc {
  max-width: 640px;
  margin: 0 auto 1.75rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.about__benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
  text-align: left;
}
.about__benefits li {
  padding-left: 1rem;
  border-left: 3px solid var(--secondary);
}
.about__benefits strong {
  display: block;
  color: var(--primary);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}
.about__benefits span {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}
.about__values {
  padding-top: 0.5rem;
}
.about__values-title {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.values-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.values-list li {
  padding: 0.5rem 1.25rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .about__facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .about__benefits {
    grid-template-columns: 1fr;
  }
  .about__description {
    text-align: left;
  }
}

/* CTA Final */
.cta-final {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.cta-final__bg {
  position: absolute;
  inset: -20% 0;
  background: linear-gradient(135deg, var(--primary) 0%, #0d6b8f 50%, var(--secondary) 100%);
  will-change: transform;
}
.cta-final__content { position: relative; z-index: 1; }
.cta-final__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.cta-final__desc {
  font-size: 1.0625rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact__info {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  align-self: start;
}
.contact__info-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(10, 77, 104, 0.06);
}
.contact__list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-muted);
}
.contact__list svg { flex-shrink: 0; color: var(--secondary); margin-top: 2px; }
.contact__list a:hover { color: var(--primary); }
.contact__form {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(10, 77, 104, 0.06);
}
.contact__form-title {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.form-row { margin-bottom: 1rem; }
.form-feedback {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  min-height: 1.25rem;
}
.form-feedback.success { color: var(--secondary); }
.form-feedback.error { color: #dc2626; }

/* Footer */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  padding-top: 4rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer .logo { margin-bottom: 0.75rem; }
.footer__brand p { font-size: 0.875rem; opacity: 0.8; }
.footer h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--accent);
}
.footer__nav ul,
.footer__contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer a:hover { color: var(--accent); }
.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  opacity: 0.7;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

/* Modal */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
.modal__content {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}
.modal__content h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  padding-right: 2rem;
}
.modal__content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.modal__list {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.modal__list li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.modal__list li::marker {
  color: var(--secondary);
}
.modal__cta-wrap {
  margin-top: 1.5rem;
  margin-bottom: 0;
}
.modal__cta {
  width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__info {
    position: static;
  }
}

@media (max-width: 768px) {
  :root { --header-h: 70px; }
  .logo__img { height: 48px; }
  .logo__text { font-size: 1rem; }

  .nav-toggle { display: flex; }

  .nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--primary);
    color: #fff;
  }
  .nav.open {
    display: flex;
  }
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition);
  }
  .nav-close:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  .nav__list {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
  }
  .nav .nav__link {
    font-size: 1.25rem;
    color: #fff;
  }
  .nav .nav__link:hover,
  .nav .nav__link.active {
    color: var(--accent);
  }
  .nav__link::after { display: none; }
  .nav .btn--header {
    width: 80%;
    max-width: 280px;
    margin-top: 0.5rem;
    background: var(--accent);
    color: var(--text);
  }
  .nav .btn--header:hover {
    background: var(--accent-dark);
    color: var(--text);
  }

  .hero-carousel__footer { bottom: 3.5rem; gap: 0.75rem; }
  .hero-carousel__arrow { width: 38px; height: 38px; }

  .cta-banner__actions { flex-direction: column; align-items: stretch; }
  .cta-banner__actions .btn { width: 100%; }

  .method__steps {
    grid-template-columns: 1fr;
  }
  .case-study__meta {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .presence__intro {
    text-align: left;
  }

  .section { padding: 3.5rem 0; }
  .calculator__panel { padding: 1.5rem; }
  .calculator__input-row { flex-direction: column; }
  .calculator__input-row .btn { width: 100%; }
  .calculator__metrics { grid-template-columns: 1fr; }
  .calculator__compare-row { grid-template-columns: 1fr; gap: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal,
  .reveal.visible,
  .reveal--left,
  .reveal--left.visible,
  .reveal--right,
  .reveal--right.visible,
  .reveal--scale,
  .reveal--scale.visible {
    transform: none;
    transition: none;
  }
}
