/* =================================================================
   MOURA ENGENHARIA | Landing Page (M² Black)
   Design tokens extraídos do manual de marca oficial:
     #0e1222  navy primário
     #9c765a  bronze primário
     #bf8f70  bronze claro
     #f9cea7  creme/pêssego destaque
   ================================================================= */

:root {
  /* Paleta */
  --navy-950: #070a16;
  --navy-900: #0e1222;       /* cor principal da marca */
  --navy-800: #161b30;
  --navy-700: #1f2541;
  --navy-600: #2a3055;

  --bronze-700: #8a6446;
  --bronze-600: #9c765a;     /* bronze primário */
  --bronze-500: #bf8f70;     /* bronze claro */
  --bronze-400: #d1a98a;
  --cream-300: #f9cea7;      /* destaque creme */
  --cream-100: #fbf1e4;
  --cream-50:  #f7efe4;

  --white: #ffffff;
  --ink-900: #0e1222;
  --ink-700: #2a3142;
  --ink-500: #4a5166;
  --ink-400: #6b7287;
  --ink-300: #a6acc0;
  --line:    rgba(255,255,255,0.12);
  --line-dark: rgba(14,18,34,0.12);

  /* Tipografia */
  --font-display: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Escala */
  --fs-eyebrow: 0.75rem;
  --fs-body:    1rem;
  --fs-lead:    1.125rem;
  --fs-h3:      clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h2:      clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  --fs-h1:      clamp(2.1rem, 1.4rem + 3.2vw, 4rem);

  --radius:     14px;
  --radius-sm:  10px;
  --container:  1200px;
  --gutter:     clamp(20px, 4vw, 40px);

  --shadow-lg:  0 30px 60px -30px rgba(0,0,0,0.6);
  --shadow-md:  0 18px 40px -20px rgba(0,0,0,0.5);
  --ease:       cubic-bezier(.2,.7,.2,1);
}

/* =================================================================
   RESET & BASE                                                       */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  /* overflow-x: clip - NOT hidden - so position:sticky children still work.
     'hidden' would create a scroll container on the root and break every
     sticky descendant (including the scroll-driven hero video). */
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; height: auto; }
img { border: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--bronze-600); color: #fff; }

:focus-visible {
  outline: 2px solid var(--bronze-500);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =================================================================
   LAYOUT HELPERS                                                     */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bronze-500);
  margin-bottom: 1rem;
}
.eyebrow--dark { color: var(--bronze-700); }

.section-title {
  font-size: var(--fs-h2);
  max-width: 22ch;
  margin-bottom: 1rem;
}
.section-title .accent {
  color: var(--bronze-600);
  font-style: italic;
  font-weight: 500;
}

.section-lead {
  font-size: var(--fs-lead);
  max-width: 62ch;
  color: var(--ink-500);
  margin-bottom: 2.5rem;
}
.section-lead--short { max-width: 58ch; }

/* =================================================================
   BUTTONS                                                            */
.btn {
  --btn-bg: var(--bronze-600);
  --btn-fg: #fff;
  --btn-bd: var(--bronze-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -18px rgba(191,143,112,0.5);
}
.btn--accent {
  --btn-bg: var(--bronze-600);
  --btn-bd: var(--bronze-600);
}
.btn--accent:hover {
  --btn-bg: var(--bronze-500);
  --btn-bd: var(--bronze-500);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255,255,255,0.4);
}
.btn--ghost:hover {
  --btn-bg: rgba(255,255,255,0.08);
  --btn-bd: rgba(255,255,255,0.7);
}
.btn--lg { padding: 18px 32px; font-size: 1rem; }
.btn--compact { padding: 11px 20px; font-size: 0.875rem; }
.btn--block { width: 100%; }

/* =================================================================
   PAGE BRAND | hero logo. Two variants for two breakpoints:

   - .page-brand--desktop is a normal flow element placed as the
     FIRST child of .hero__content. It sits left-aligned right
     above the eyebrow, pins with the rest of the hero text during
     the scrub, and disappears together with them at the next
     section. No absolute positioning - it inherits the same column
     as the headline.

   - .page-brand--mobile lives inside .hero (outside the sticky),
     absolutely positioned at the top center of the page. This is
     the previously approved mobile look - left untouched.            */
.page-brand--desktop {
  display: flex;
  /* vh-aware so the brand block scales down on shorter viewports
     (e.g. 1536x730 laptops) and never pushes the CTAs out of the
     sticky frame. */
  margin-bottom: clamp(10px, 2vh, 32px);
}
.page-brand--desktop img {
  /* Width-driven on wide-and-tall screens, height-capped on short
     ones - whichever is smaller wins. Keeps the logo crisp without
     stealing vertical space the CTAs need. */
  width: clamp(150px, min(14vw, 16vh), 220px);
  height: auto;
  /* Bronze on the sunset sky can wash out on the brightest frames;
     a soft dark halo guarantees contrast without a visible backdrop. */
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.55))
          drop-shadow(0 1px 3px rgba(0,0,0,0.45));
}

.page-brand--mobile {
  display: none; /* hidden on desktop */
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 10;
  justify-content: center;
  pointer-events: none;
}
.page-brand--mobile img {
  width: clamp(150px, 44vw, 210px);
  height: auto;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.55))
          drop-shadow(0 1px 3px rgba(0,0,0,0.45));
}

@media (max-width: 767px) {
  .page-brand--desktop { display: none; }
  .page-brand--mobile  { display: flex; }
}

/* =================================================================
   HERO | scroll-driven video                                         */
.hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
}

/* The scroll track is TALLER than the viewport. The content inside
   uses position: sticky to pin the video+copy while we scrub time. */
.hero__scroll-track {
  height: 260vh;             /* desktop: 2.6 viewports of scroll distance */
  position: relative;
}

.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: end center;
  isolation: isolate;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero__video--desktop { display: block; }
.hero__video--mobile  { display: none; }

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(14,18,34,0.95) 0%, rgba(14,18,34,0.55) 40%, rgba(14,18,34,0.2) 75%),
    linear-gradient(180deg, rgba(14,18,34,0.35) 0%, rgba(14,18,34,0.15) 30%, rgba(14,18,34,0.75) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  /* All vertical spacing is vh-aware so the full hero block (logo +
     eyebrow + h1 + sub + CTAs) keeps fitting inside the sticky 100vh
     frame on short viewports. Without this, content height exceeds
     100vh and CSS grid `place-items: end center` falls back to start
     alignment (data-loss prevention) - which clipped the CTAs behind
     the next section on ~1536x730 laptops. */
  padding-bottom: clamp(50px, 8vh, 130px);
  padding-top: clamp(28px, 6vh, 120px);
  max-width: 1050px;
  text-align: left;
}

.hero__headline {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 24ch;
  margin-bottom: clamp(0.6rem, 1.4vh, 1.25rem);
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.hero__headline .accent {
  color: var(--bronze-400);
  font-style: italic;
  font-weight: 500;
  display: inline;
}

.hero__sub {
  font-size: clamp(0.98rem, 0.9rem + 0.35vw, 1.175rem);
  max-width: 60ch;
  color: rgba(255,255,255,0.9);
  margin-bottom: clamp(1rem, 2.4vh, 2rem);
  font-weight: 400;
  line-height: 1.6;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__scroll-hint span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.8));
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.6); transform-origin: top; opacity: 0.7; }
  50%      { transform: scaleY(1);    transform-origin: top; opacity: 1; }
}

@media (max-width: 767px) {
  .hero__scroll-track { height: 220vh; }
  .hero__video--desktop { display: none; }
  .hero__video--mobile  { display: block; }
  .hero__content {
    /* Extra top padding so the hero copy clears the big centered logo
       (brand top 18px + logo clamp up to ~210px = ~230px reserved).    */
    padding-top: 230px;
    padding-bottom: 80px;
  }
  .hero__scroll-hint { display: none; }
  .hero__cta .btn { width: 100%; }
}

/* =================================================================
   PROOF BAR                                                          */
.proof {
  background: var(--navy-900);
  color: #fff;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.proof__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 20px;
}
@media (min-width: 800px) {
  .proof__grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

.proof__item {
  text-align: center;
  padding: 10px;
}
.proof__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  font-weight: 600;
  color: var(--bronze-500);
  line-height: 1;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
}
.proof__num small {
  font-size: 0.55em;
  color: var(--bronze-400);
  margin-left: 2px;
  font-weight: 500;
}
.proof__label {
  margin-top: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* =================================================================
   POSITIONING                                                        */
.positioning {
  background: var(--cream-50);
  padding: clamp(70px, 10vw, 130px) 0;
}
.positioning__inner {
  max-width: 900px;
}

/* =================================================================
   PILLARS (4 diferenciais)                                           */
.pillars {
  background: var(--navy-900);
  color: #fff;
  padding: clamp(80px, 10vw, 130px) 0;
  position: relative;
  overflow: hidden;
}
.pillars::before {
  content: '';
  position: absolute;
  right: -180px;
  top: -180px;
  width: 500px;
  height: 500px;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.pillars::after {
  content: '';
  position: absolute;
  left: -100px;
  bottom: -100px;
  width: 300px;
  height: 300px;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.pillars .eyebrow { color: var(--bronze-400); }
.pillars .section-title { color: #fff; }
.pillars .section-title .accent { color: var(--bronze-400); }

.pillars__grid {
  display: grid;
  gap: 18px;
  margin-top: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .pillars__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (min-width: 1080px) {
  .pillars__grid { grid-template-columns: repeat(4, 1fr); }
}

.pillar {
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
  position: relative;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(191,143,112,0.45);
  background: linear-gradient(180deg, rgba(191,143,112,0.08) 0%, rgba(255,255,255,0.02) 100%);
}
.pillar__num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bronze-500);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.pillar__title {
  font-size: var(--fs-h3);
  margin-bottom: 0.75rem;
  color: #fff;
  line-height: 1.25;
}
.pillar__text {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* =================================================================
   PROCESS                                                            */
.process {
  background: var(--cream-50);
  padding: clamp(80px, 10vw, 130px) 0;
}
.process__list {
  margin-top: 3rem;
  display: grid;
  gap: 18px;
  counter-reset: step;
}
@media (min-width: 900px) {
  .process__list { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

.process__step {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.process__step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.process__step-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.process__index {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--bronze-400);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.process__step h3 {
  font-size: var(--fs-h3);
  color: var(--navy-900);
}
.process__step p {
  color: var(--ink-500);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* =================================================================
   GALLERY                                                            */
.gallery {
  background: var(--navy-900);
  padding: clamp(80px, 10vw, 130px) 0;
  color: #fff;
}
.gallery .section-title { color: #fff; }
.gallery .section-title .accent { color: var(--bronze-400); }
.gallery .section-lead { color: rgba(255,255,255,0.72); }

.gallery__grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .gallery__grid { grid-template-columns: repeat(4, 1fr); } }

.gallery__item {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  position: relative;
  border: 1px solid var(--line);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
  filter: saturate(0.92) brightness(0.96);
}
.gallery__item:hover img {
  transform: scale(1.05);
  filter: saturate(1) brightness(1);
}

/* =================================================================
   TESTIMONIALS                                                       */
.testimonials {
  background: var(--cream-50);
  padding: clamp(80px, 10vw, 130px) 0;
}
.testimonials__grid {
  margin-top: 3rem;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -14px;
  left: 22px;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--bronze-500);
  font-weight: 700;
}
.testimonial__quote {
  color: var(--ink-700);
  font-size: 0.975rem;
  line-height: 1.7;
  font-style: italic;
  margin-top: 10px;
}
.testimonial__person {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line-dark);
  padding-top: 18px;
  margin-top: auto;
}
.testimonial__person img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bronze-500);
}
.testimonial__person strong {
  display: block;
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.95rem;
}
.testimonial__person span {
  color: var(--ink-400);
  font-size: 0.8rem;
}

/* =================================================================
   VIABILITY (CTA + FORM)                                             */
.viability {
  background: var(--navy-900);
  color: #fff;
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.viability::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(156,118,90,0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 100%, rgba(191,143,112,0.10) 0%, transparent 50%);
  pointer-events: none;
}

.viability__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  position: relative;
}
@media (min-width: 980px) {
  .viability__inner {
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: start;
  }
}

.viability .section-title { color: #fff; }
.viability .section-lead { color: rgba(255,255,255,0.78); }

.viability__checks {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}
.viability__checks li {
  padding-left: 32px;
  position: relative;
  color: rgba(255,255,255,0.9);
  font-size: 0.975rem;
}
.viability__checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--bronze-600);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px 13px;
  background-position: center;
  background-repeat: no-repeat;
}

.viability__note {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  border-left: 2px solid var(--bronze-600);
  padding-left: 14px;
  margin-top: 18px;
}

/* FORM */
.form {
  background: #fff;
  color: var(--ink-900);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
  z-index: 1;
}
@media (min-width: 700px) { .form { padding: 44px 38px; } }

.form__title {
  font-size: var(--fs-h3);
  color: var(--navy-900);
  margin-bottom: 6px;
}
.form__subtitle {
  font-size: 0.875rem;
  color: var(--ink-400);
  margin-bottom: 26px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form__field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-700);
  letter-spacing: 0.02em;
}

.form__field input,
.form__field select {
  height: 50px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1.5px solid #e2e2ea;
  background: #fafafb;
  font-size: 0.975rem;
  color: var(--navy-900);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
  font-family: inherit;
}
.form__field input::placeholder { color: var(--ink-400); }
.form__field input:focus,
.form__field select:focus {
  outline: 0;
  border-color: var(--bronze-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(191,143,112,0.15);
}
.form__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath fill='%239c765a' d='M6 7L0 1 1.4-.4 6 4.2 10.6-.4 12 1z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 42px;
}

.form__row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .form__row .form__field { margin-bottom: 18px; }
}

.form button[type='submit'] {
  margin-top: 8px;
}

.form__consent {
  margin-top: 18px;
  font-size: 0.75rem;
  color: var(--ink-400);
  line-height: 1.55;
}

.form__feedback {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
}
.form__feedback--success {
  background: rgba(20,150,90,0.1);
  color: #146a3d;
  border: 1px solid rgba(20,150,90,0.3);
}
.form__feedback--error {
  background: rgba(200,50,50,0.1);
  color: #a32020;
  border: 1px solid rgba(200,50,50,0.3);
}

/* =================================================================
   FOOTER                                                             */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 30px;
  border-top: 1px solid var(--line);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 780px) {
  .site-footer__grid {
    /* Nav column was removed - footer now has only brand + contact.    */
    grid-template-columns: 1.6fr 1fr;
    gap: 60px;
    align-items: start;
  }
}

.site-footer__logo {
  /* Uses logo-tight.webp - the source bitmap is cropped to its
     content bbox so we no longer waste pixels on transparent
     padding. Width-driven sizing keeps the wordmark wide enough
     to read while the cropped canvas keeps height proportional.   */
  width: clamp(220px, 20vw, 290px);
  height: auto;
  margin-bottom: 24px;
  display: block;
}
.site-footer__tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  max-width: 42ch;
  line-height: 1.7;
}
.site-footer__col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bronze-500);
  margin-bottom: 16px;
  font-weight: 600;
}
.site-footer__col ul { display: grid; gap: 12px; }
.site-footer__col a:hover { color: var(--bronze-400); }

.site-footer__bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
@media (min-width: 700px) { .site-footer__bottom { flex-direction: row; } }

/* =================================================================
   WHATSAPP FLOAT                                                     */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  background: #22c55e;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 999px;
  box-shadow: 0 20px 40px -12px rgba(34,197,94,0.55);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 26px 44px -12px rgba(34,197,94,0.7);
}
@media (max-width: 640px) {
  .wa-float { padding: 14px; }
  .wa-float span { display: none; }
}

/* =================================================================
   REVEAL ON SCROLL                                                   */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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