/* ===================================================================
   EcoSolar Soluções Energéticas — Design System
   Cores: Azul #133247 · Laranja #f8840f · Branco · Preto
   =================================================================== */

:root {
  /* Brand */
  --azul: #133247;
  --azul-700: #0e2636;
  --azul-900: #081823;
  --laranja: #f8840f;
  --laranja-600: #e5760a;
  --laranja-200: #ffd9a8;
  --branco: #ffffff;
  --preto: #0c1116;

  /* Neutrals derived from brand */
  --ink: #14222e;
  --muted: #56697a;
  --muted-2: #7c8c99;
  --line: #e4eaef;
  --surface: #ffffff;
  --bg: #f6f8fa;
  --bg-warm: #fbf7f1;

  /* Effects */
  --grad-orange: linear-gradient(135deg, #ffa53d 0%, var(--laranja) 55%, var(--laranja-600) 100%);
  --grad-azul: linear-gradient(160deg, #1c4663 0%, var(--azul) 60%, var(--azul-900) 100%);
  --shadow-sm: 0 2px 8px rgba(19, 50, 71, .06);
  --shadow-md: 0 14px 38px -16px rgba(19, 50, 71, .26);
  --shadow-lg: 0 40px 80px -32px rgba(19, 50, 71, .42);
  --shadow-orange: 0 18px 40px -14px rgba(248, 132, 15, .5);

  --radius: 18px;
  --radius-lg: 28px;
  --radius-sm: 12px;

  --container: 1200px;
  --section-pad: clamp(3.5rem, 7vw, 7rem);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --font-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
svg { display: block; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

/* Grain / atmosphere overlay */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===================================================================
   Buttons
   =================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: 999px; letter-spacing: -.01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  white-space: nowrap; position: relative; isolation: isolate;
}
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn__arrow { width: 1.15em; height: 1.15em; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--solid { background: var(--grad-orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn--solid:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -16px rgba(248,132,15,.62); }
.btn--solid:active { transform: translateY(-1px); }

.btn--ghost { background: rgba(255,255,255,.6); color: var(--azul); border: 1.5px solid var(--line); backdrop-filter: blur(8px); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--azul); background: #fff; box-shadow: var(--shadow-md); }

/* ===================================================================
   Header / Nav
   =================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s, padding .4s;
  padding: .65rem 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header.is-scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 rgba(19,50,71,.07), 0 12px 30px -22px rgba(19,50,71,.4);
}

.brand { display: inline-flex; align-items: center; z-index: 2; }
.brand__logo { height: 62px; width: auto; transition: opacity .4s, transform .4s var(--ease); }
.header.is-scrolled .brand__logo { height: 54px; }
.brand:hover .brand__logo { transform: scale(1.03); }
.brand__logo--light { display: none; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  position: relative; font-weight: 600; font-size: .96rem; color: var(--azul);
  padding: .55rem .85rem; border-radius: 999px; transition: color .25s, background .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .32rem; height: 2px;
  background: var(--laranja); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--laranja-600); }
.nav__link.is-active { color: var(--laranja-600); }
.nav__link.is-active::after, .nav__link:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: .6rem; padding: .68rem 1.3rem; font-size: .92rem; }
.nav__cta::after { display: none; }

/* Hamburger */
.hamburger { display: none; width: 46px; height: 46px; border-radius: 12px; z-index: 2; position: relative; }
.hamburger span {
  position: absolute; left: 11px; right: 11px; height: 2.5px; background: var(--azul); border-radius: 3px;
  transition: transform .4s var(--ease), opacity .25s;
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===================================================================
   Reveal animation
   =================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================================================================
   HERO
   =================================================================== */
.hero { position: relative; padding: 9rem 0 0; overflow: hidden; background: var(--bg-warm); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__glow {
  position: absolute; top: -22%; right: -8%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(circle at 50% 50%, rgba(248,132,15,.42), rgba(248,132,15,.10) 42%, transparent 66%);
  filter: blur(6px); animation: floaty 14s ease-in-out infinite;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(19,50,71,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(19,50,71,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 25%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 70% 25%, #000 30%, transparent 75%);
}
.hero__sun {
  position: absolute; top: 6%; right: 7%; width: 180px; height: 180px;
  display: grid; place-items: center;
}
.sun-core {
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe0ad, #ffb24d 45%, var(--laranja) 80%);
  box-shadow: 0 0 90px 18px rgba(248,132,15,.4);
  animation: pulse 6s ease-in-out infinite;
}

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
  padding-bottom: 5rem;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(248,132,15,.1); color: var(--laranja-600);
  font-weight: 700; font-size: .82rem; letter-spacing: .02em;
  padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(248,132,15,.22);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--laranja); box-shadow: 0 0 0 4px rgba(248,132,15,.2); animation: blink 2s infinite; }

.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.5rem, 5.4vw, 4.3rem); line-height: 1.03; letter-spacing: -.025em;
  color: var(--azul); margin: 1.4rem 0 1.3rem;
}
.hl { position: relative; color: var(--laranja-600); white-space: nowrap; }
.hl__stroke {
  position: absolute; left: -2%; right: -2%; bottom: .06em; height: .42em; z-index: -1;
  background: rgba(248,132,15,.2); border-radius: 4px; transform: rotate(-1.2deg);
}
.hero__lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 38ch; }
.hero__lead strong { color: var(--azul); font-weight: 700; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 2rem 0 2.4rem; }

.hero__stats { display: flex; gap: 2.4rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; color: var(--azul); line-height: 1; letter-spacing: -.02em; }
.stat__label { font-size: .85rem; color: var(--muted-2); margin-top: .35rem; max-width: 14ch; }

/* Hero panel card */
.hero__panel { position: relative; }
.panel-card {
  background: rgba(255,255,255,.72); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.6rem; position: relative; z-index: 2;
  animation: floaty 8s ease-in-out infinite;
}
.panel-card__head { display: flex; align-items: center; justify-content: space-between; }
.panel-card__title { font-weight: 700; color: var(--azul); }
.panel-card__live { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--muted); }
.panel-card__live span { width: 8px; height: 8px; border-radius: 50%; background: #28c76f; box-shadow: 0 0 0 4px rgba(40,199,111,.2); animation: blink 1.6s infinite; }
.panel-card__value { display: flex; align-items: baseline; gap: .5rem; margin: 1rem 0 1.2rem; }
.panel-card__value .big { font-family: var(--font-display); font-weight: 700; font-size: 2.7rem; color: var(--laranja-600); letter-spacing: -.02em; }
.panel-card__value .unit { color: var(--muted); font-weight: 600; }
.panel-bars { display: flex; align-items: flex-end; gap: 8px; height: 88px; padding: 0 .2rem; }
.panel-bars span {
  flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--laranja) 0%, #ffc278 100%);
  transform-origin: bottom; animation: grow 1s var(--ease) backwards;
}
.panel-bars span:nth-child(odd) { background: linear-gradient(180deg, #2a5a7a, var(--azul)); opacity: .85; }
.panel-bars span:nth-child(1){animation-delay:.05s}.panel-bars span:nth-child(2){animation-delay:.1s}.panel-bars span:nth-child(3){animation-delay:.15s}.panel-bars span:nth-child(4){animation-delay:.2s}.panel-bars span:nth-child(5){animation-delay:.25s}.panel-bars span:nth-child(6){animation-delay:.3s}.panel-bars span:nth-child(7){animation-delay:.35s}.panel-bars span:nth-child(8){animation-delay:.4s}
.panel-card__foot { display: flex; gap: 1rem; margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.panel-card__foot div { display: flex; flex-direction: column; }
.panel-card__foot strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--azul); }
.panel-card__foot small { color: var(--muted-2); font-size: .76rem; }

.panel-badge {
  position: absolute; z-index: 3; background: #fff; box-shadow: var(--shadow-md);
  border-radius: 999px; padding: .55rem 1rem; font-size: .82rem; font-weight: 700; color: var(--azul);
  border: 1px solid var(--line);
}
.panel-badge--1 { top: -1.2rem; left: -1rem; animation: floaty 6s ease-in-out infinite; }
.panel-badge--2 { bottom: 1.5rem; right: -1.3rem; animation: floaty 7s ease-in-out infinite reverse; }

/* Hero marquee */
.hero__marquee { position: relative; z-index: 2; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.5); overflow: hidden; }
.marquee__track { display: flex; gap: 1.5rem; align-items: center; padding: .9rem 0; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--azul); white-space: nowrap; }
.marquee__track span:nth-child(even) { color: var(--laranja); }

/* ===================================================================
   Section shared
   =================================================================== */
.section-eyebrow {
  display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--laranja-600); margin-bottom: .9rem;
}
.section-eyebrow--light { color: var(--laranja-200); }
.section-title {
  font-family: var(--font-display); font-weight: 700; color: var(--azul);
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -.025em;
}
.section-title--center { text-align: center; }
.section-title--light { color: #fff; }
.hl-soft { color: var(--laranja-600); }
.hl-orange { color: var(--laranja); }
.section-lead { color: var(--muted); font-size: 1.08rem; margin-top: 1.1rem; max-width: 56ch; }
.section-lead--center { margin-inline: auto; text-align: center; }
.section-lead--light { color: rgba(255,255,255,.72); }
.section-head { max-width: 720px; margin: 0 auto 3.4rem; text-align: center; }

/* ===================================================================
   ABOUT / ECOSOLAR
   =================================================================== */
.about { padding: var(--section-pad) 0; background: var(--bg); position: relative; }
.about__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 4rem; align-items: center; }

.about__media { position: relative; }
.about__photo {
  position: relative; aspect-ratio: 4/4.4; border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(circle at 75% 18%, rgba(248,132,15,.5), transparent 45%),
    var(--grad-azul);
  box-shadow: var(--shadow-lg); display: flex; align-items: flex-end; padding: 1.5rem;
}
.about__photo::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%);
          mask-image: linear-gradient(180deg, transparent, #000 60%);
}
.about__photo::after {
  content: "☀"; position: absolute; top: -30px; right: -20px; font-size: 16rem; line-height: 1;
  color: rgba(255,255,255,.07); transform: rotate(8deg);
}
.about__sun-badge {
  position: absolute; top: 1.5rem; left: 1.5rem; width: 56px; height: 56px; border-radius: 16px;
  background: var(--grad-orange); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-orange);
}
.about__sun-badge svg { width: 30px; height: 30px; }
.about__photo-inner { position: relative; z-index: 2; }
.about__chip {
  background: rgba(255,255,255,.16); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-weight: 600; font-size: .9rem; padding: .7rem 1.1rem; border-radius: 14px;
}
.about__floatcard {
  position: absolute; bottom: -1.5rem; right: -1rem; z-index: 3;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1.2rem 1.5rem; display: flex; flex-direction: column; align-items: flex-start;
  border: 1px solid var(--line); animation: floaty 7s ease-in-out infinite;
}
.about__floatcard-num { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--laranja-600); line-height: 1; }
.about__floatcard-label { font-size: .8rem; color: var(--muted); font-weight: 600; margin-top: .25rem; }

.about__list { display: grid; gap: 1.1rem; margin: 2rem 0; }
.about__list li { display: flex; gap: 1rem; align-items: flex-start; }
.about__list-ic {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(248,132,15,.12); color: var(--laranja-600);
}
.about__list-ic svg { width: 22px; height: 22px; }
.about__list strong { color: var(--azul); font-size: 1.05rem; }
.about__list p { color: var(--muted); font-size: .95rem; margin-top: .1rem; }

.about__values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.4rem; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value__k { font-family: var(--font-display); font-weight: 700; color: var(--laranja-600); font-size: 1rem; }
.value p { font-size: .88rem; color: var(--muted); margin-top: .3rem; }

/* ===================================================================
   SERVICES
   =================================================================== */
.services { padding: var(--section-pad) 0; background: var(--bg-warm); position: relative; overflow: hidden; }
.services__watermark {
  position: absolute; top: clamp(.5rem, 3vw, 2.5rem); left: 50%; transform: translateX(-50%);
  width: clamp(300px, 46vw, 600px); aspect-ratio: 1; z-index: 0; pointer-events: none;
  background: url("logoIcones.png") center / contain no-repeat; opacity: .15;
}
.services .container { position: relative; z-index: 1; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.service::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .45s;
  background: radial-gradient(circle at 80% 0%, rgba(248,132,15,.1), transparent 55%);
}
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(248,132,15,.35); }
.service:hover::before { opacity: 1; }
.service__ic {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: var(--grad-azul); color: #fff; box-shadow: var(--shadow-md);
  transition: transform .45s var(--ease);
}
.service:hover .service__ic { transform: rotate(-6deg) scale(1.06); }
.service__ic svg { width: 30px; height: 30px; }
.service h3 { font-family: var(--font-display); font-weight: 700; color: var(--azul); font-size: 1.25rem; line-height: 1.2; margin-bottom: .55rem; }
.service p { color: var(--muted); font-size: .96rem; }
.service--feature { background: var(--grad-azul); border-color: transparent; }
.service--feature::before { background: radial-gradient(circle at 80% 0%, rgba(248,132,15,.28), transparent 55%); opacity: 1; }
.service--feature .service__ic { background: var(--grad-orange); box-shadow: var(--shadow-orange); }
.service--feature h3 { color: #fff; }
.service--feature p { color: rgba(255,255,255,.78); }
.service__tag {
  display: inline-block; margin-top: 1rem; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--laranja); background: rgba(248,132,15,.16); padding: .35rem .8rem; border-radius: 999px;
}

/* ===================================================================
   PROCESS
   =================================================================== */
.process { padding: var(--section-pad) 0; background: var(--bg); }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step { position: relative; padding: 2rem 1.5rem 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step__n { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: rgba(248,132,15,.32); line-height: 1; }
.step h3 { font-family: var(--font-display); color: var(--azul); font-size: 1.2rem; margin: .5rem 0 .4rem; }
.step p { color: var(--muted); font-size: .92rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 2.7rem; right: -.9rem; width: 1.2rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--laranja) 0 5px, transparent 5px 9px);
}

/* ===================================================================
   CLIENTS (dark)
   =================================================================== */
.clients { padding: var(--section-pad) 0; background: var(--grad-azul); position: relative; overflow: hidden; }
.clients::before {
  content: ""; position: absolute; top: -10%; left: -5%; width: 40vw; height: 40vw; max-width: 560px; max-height: 560px;
  background: radial-gradient(circle, rgba(248,132,15,.22), transparent 65%); pointer-events: none;
}
.clients .container { position: relative; z-index: 2; }
.clients__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testimonial {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px);
  border-radius: var(--radius); padding: 1.9rem; transition: transform .4s var(--ease), background .4s, border-color .4s;
}
.testimonial:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); border-color: rgba(248,132,15,.4); }
.testimonial__stars { color: var(--laranja); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: .9rem; }
.testimonial blockquote { color: rgba(255,255,255,.92); font-size: 1.02rem; line-height: 1.6; }
.testimonial figcaption { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--c, var(--laranja)); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem; flex-shrink: 0; }
.testimonial figcaption strong { color: #fff; display: block; font-size: .95rem; }
.testimonial figcaption small { color: rgba(255,255,255,.6); font-size: .82rem; }

.clients__logos { margin-top: 3.4rem; text-align: center; }
.clients__logos > span { display: block; color: rgba(255,255,255,.55); font-size: .85rem; letter-spacing: .04em; margin-bottom: 1.2rem; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.6rem; }
.logos__item { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: rgba(255,255,255,.45); transition: color .3s, transform .3s; }
.logos__item:hover { color: var(--laranja-200); transform: translateY(-2px); }

/* ===================================================================
   CTA BAND
   =================================================================== */
.cta-band { padding: 4.5rem 0; background: var(--bg-warm); }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  background: var(--grad-orange); border-radius: var(--radius-lg); padding: 2.8rem 3rem; box-shadow: var(--shadow-orange);
  position: relative; overflow: hidden;
}
.cta-band__inner::after {
  content: "☀"; position: absolute; right: 28%; top: -40px; font-size: 12rem; color: rgba(255,255,255,.14); line-height: 1;
}
.cta-band__inner h2 { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; }
.cta-band__inner p { color: rgba(255,255,255,.9); margin-top: .5rem; max-width: 46ch; position: relative; z-index: 2; }
.cta-band__inner .btn--solid { background: #fff; color: var(--laranja-600); box-shadow: 0 18px 40px -14px rgba(0,0,0,.3); position: relative; z-index: 2; }
.cta-band__inner .btn--solid:hover { background: var(--azul); color: #fff; }

/* ===================================================================
   CONTACT
   =================================================================== */
.contact { padding: var(--section-pad) 0; background: var(--bg); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: start; }
.contact__channels { display: grid; gap: 1.1rem; margin: 2rem 0; }
.contact__channels li { display: flex; align-items: center; gap: 1rem; }
.contact__ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(19,50,71,.06); color: var(--azul); display: grid; place-items: center; flex-shrink: 0; transition: background .3s, color .3s, transform .3s; }
.contact__channels li:hover .contact__ic { background: var(--grad-orange); color: #fff; transform: translateY(-3px); }
.contact__ic svg { width: 24px; height: 24px; }
.contact__channels small { display: block; color: var(--muted-2); font-size: .78rem; }
.contact__channels a { color: var(--azul); font-weight: 700; font-size: 1.02rem; }
.contact__hours { display: flex; flex-direction: column; gap: .2rem; background: var(--bg-warm); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.contact__hours strong { color: var(--laranja-600); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.contact__hours span { color: var(--muted); font-size: .95rem; }

.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-weight: 700; font-size: .85rem; color: var(--azul); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg);
  transition: border-color .25s, box-shadow .25s, background .25s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--laranja); background: #fff; box-shadow: 0 0 0 4px rgba(248,132,15,.14);
}
.field input.invalid, .field select.invalid { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
.form-note { margin-top: 1rem; padding: .85rem 1rem; background: rgba(40,199,111,.12); border: 1px solid rgba(40,199,111,.3); border-radius: var(--radius-sm); color: #1a7f4b; font-weight: 600; font-size: .92rem; }
.form-privacy { margin-top: 1rem; text-align: center; color: var(--muted-2); font-size: .82rem; }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer { background: var(--azul-900); color: rgba(255,255,255,.72); padding: 4.5rem 0 1.8rem; position: relative; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__logo { height: 48px; width: auto; margin-bottom: 1.1rem; }
.footer__brand p { font-size: .92rem; max-width: 34ch; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; transition: background .3s, transform .3s; }
.footer__social a:hover { background: var(--grad-orange); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__col h4 { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 1.1rem; }
.footer__col a, .footer__col span { display: block; color: rgba(255,255,255,.7); font-size: .92rem; padding: .3rem 0; transition: color .25s, padding-left .25s; }
.footer__col a:hover { color: var(--laranja); padding-left: .35rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.8rem; font-size: .85rem; color: rgba(255,255,255,.55); }

/* ===================================================================
   WHATSAPP FLOAT + scroll progress
   =================================================================== */
.whatsapp {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90;
  width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 34px -8px rgba(37,211,102,.6);
  transition: transform .35s var(--ease), box-shadow .35s; opacity: 0; transform: translateY(20px) scale(.8);
}
.whatsapp.is-ready { opacity: 1; transform: none; }
.whatsapp:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 20px 44px -8px rgba(37,211,102,.75); }
.whatsapp svg { width: 36px; height: 36px; position: relative; z-index: 2; }
.whatsapp__pulse { position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: pulse-ring 2.4s ease-out infinite; z-index: 1; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--grad-orange); transition: width .1s linear; }

/* ===================================================================
   Keyframes
   =================================================================== */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%,100% { transform: scale(1); box-shadow: 0 0 80px 10px rgba(248,132,15,.4); } 50% { transform: scale(1.04); box-shadow: 0 0 110px 18px rgba(248,132,15,.55); } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes grow { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1024px) {
  .hero { padding-top: clamp(6.5rem, 11vw, 8rem); }
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; padding-bottom: 3.5rem; }
  .hero__panel { max-width: 440px; margin: 0 auto; width: 100%; }
  .hero__sun { display: none; }
  .about__inner { grid-template-columns: 1fr; gap: 4.5rem; }
  .about__media { max-width: 420px; margin: 0 auto; width: 100%; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .clients__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); flex-direction: column; align-items: stretch;
    justify-content: flex-start; gap: .3rem; padding: 6rem 1.5rem 2rem; background: #fff;
    box-shadow: -20px 0 60px -20px rgba(19,50,71,.4); transform: translateX(100%);
    transition: transform .45s var(--ease); z-index: 1;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { padding: .9rem 1rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 1rem 0 0; }
  .hamburger { display: block; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(8,24,35,.5); z-index: 99; backdrop-filter: blur(2px); }
  .header.is-menu-open { z-index: 101; }

  .hero { padding-top: 6rem; }
  .hero__content { text-align: left; }
  .hero__stats { gap: 1.2rem 1.8rem; }
  .stat { flex: 1 1 28%; min-width: 0; }
  .stat__num { font-size: 1.6rem; }
  .stat__label { font-size: .8rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__panel { max-width: 380px; }
  .panel-badge--1 { left: 0; top: -.8rem; }
  .panel-badge--2 { right: 0; bottom: 1rem; }
  .about__values { grid-template-columns: 1fr 1fr; }
  .about__floatcard { right: 0; bottom: -1rem; padding: 1rem 1.2rem; }
  .about__floatcard-num { font-size: 1.8rem; }
  .services__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
  .section-head { margin-bottom: 2.4rem; }
  .contact__form { padding: 1.5rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer__brand p { max-width: none; }
  .cta-band__inner { padding: 2rem 1.6rem; text-align: center; flex-direction: column; }
  .cta-band__inner::after { display: none; }
  .cta-band__inner p { margin-inline: auto; }
  .cta-band__inner .btn { width: 100%; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .whatsapp { width: 56px; height: 56px; right: 1rem; bottom: 1rem; }
  .whatsapp svg { width: 32px; height: 32px; }
}

@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .about__values { grid-template-columns: 1fr; }
  .panel-badge--2 { right: 0; }
  .panel-badge--1 { left: 0; }
  .brand__logo, .header.is-scrolled .brand__logo { height: 46px; }
  .hero__title { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .panel-card__value .big { font-size: 2.2rem; }
  .logos__row { gap: .8rem 1.6rem; }
  .logos__item { font-size: 1.1rem; }
}
