/* ============================================
   ATEAM FITNESS — DESIGN SYSTEM
   Brazilian flag palette · Light premium theme
   (CleanPrep page overrides via cleanprep.css)
   ============================================ */

:root {
  /* Brand — pulled directly from ATeam logo */
  --brand-green: #009C3B;          /* Brazilian flag green */
  --brand-green-bright: #00B843;   /* Punched-up for digital UI */
  --brand-green-glow: rgba(0, 156, 59, 0.20);
  --brand-yellow: #FFDF00;         /* Brazilian flag yellow */
  --brand-yellow-soft: rgba(255, 223, 0, 0.18);
  --brand-navy: #002776;           /* Brazilian flag navy */
  --brand-navy-glow: rgba(0, 39, 118, 0.20);

  /* Surfaces — light theme */
  --bg-base: #ffffff;
  --bg-elevated: #f7f6f2;       /* warm off-white for alt sections */
  --bg-card: #ffffff;
  --bg-card-hover: #fafaf7;
  --border-subtle: #e8e6e0;
  --border-strong: #d0cdc4;

  /* Text */
  --text-primary: #0a0a0a;
  --text-secondary: #4a4a4a;
  --text-muted: #8a8a8a;
  --text-on-photo: #ffffff;     /* used over hero photos */

  /* Scrim gradients (overridable by cleanprep.css) */
  --scrim-hero: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0.96) 100%);
  --scrim-page-header: radial-gradient(ellipse at center, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.92) 100%);
  --scrim-bio: radial-gradient(ellipse at center, rgba(247,246,242,0.6) 0%, rgba(247,246,242,0.92) 100%);
  --scrim-card: radial-gradient(ellipse at center, rgba(247,246,242,0.5) 0%, rgba(247,246,242,0.85) 100%);

  /* Hero text color in light mode = dark, since text sits on bottom-fade-to-white scrim */
  --hero-text-color: #0a0a0a;
  --hero-text-secondary: #4a4a4a;

  /* Type */
  --font-display: 'Anton', 'Impact', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container: 1240px;
  --container-narrow: 880px;
  --radius: 12px;
  --radius-lg: 20px;

  /* Motion */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.75rem, 7.5vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: 1.25rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand-green-bright);
  margin-bottom: 1rem;
  display: inline-block;
}

.eyebrow.yellow { color: var(--brand-navy); }

.lead {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 62ch;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: clamp(4rem, 10vw, 8rem) 0; }

/* Brazilian flag accent — a subtle stripe applied to selected sections */
.flag-stripe {
  height: 4px;
  background: linear-gradient(90deg,
    var(--brand-green) 0%, var(--brand-green) 33%,
    var(--brand-yellow) 33%, var(--brand-yellow) 66%,
    var(--brand-navy) 66%, var(--brand-navy) 100%
  );
  width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-brand img {
  height: 34px;
  width: auto;
}

.nav-brand-text { color: var(--text-primary); }
.nav-brand-text .accent { color: var(--brand-green-bright); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-green-bright);
}

.nav-cta {
  background: var(--brand-green-bright);
  color: #000 !important;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.2s var(--ease);
}

.nav-cta:hover {
  background: var(--brand-yellow);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px var(--brand-green-glow);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Nav contact buttons (phone + WhatsApp) — icon-only on desktop */
.nav-contact {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-primary);
  transition: all 0.2s var(--ease);
  position: relative;
}
.nav-icon-btn svg {
  width: 16px;
  height: 16px;
}
.nav-icon-btn .nav-icon-label {
  display: none;  /* hidden on desktop — icon-only */
}
.nav-icon-btn:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
  transform: translateY(-1px);
}
.nav-icon-btn-wa {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.nav-icon-btn-wa:hover {
  background: #128C7E;
  border-color: #128C7E;
  color: #fff;
}

/* Mobile (hamburger menu): show contact buttons full-width with labels */
@media (max-width: 768px) {
  .nav-contact {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav-icon-btn {
    width: 100%;
    height: auto;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.875rem 1.5rem;
    justify-content: flex-start;
    gap: 0.625rem;
    color: var(--text-primary);
  }
  .nav-icon-btn .nav-icon-label {
    display: inline;
    font-size: 0.95rem;
    font-weight: 500;
  }
  .nav-icon-btn-wa {
    background: transparent;
    color: #128C7E;
  }
  .nav-icon-btn-wa svg {
    color: #25D366;
  }
  .nav-icon-btn-wa:hover {
    background: rgba(37, 211, 102, 0.08);
    color: #128C7E;
  }
}

/* Language switch (EN | PT) */
.nav-lang { display: flex; align-items: center; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  overflow: hidden;
  padding: 0;
}
.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.4rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
}
.lang-btn:hover { color: var(--text-primary); }
.lang-btn.active {
  background: var(--brand-green);
  color: #fff;
}
.lang-btn .br-flag {
  width: 16px;
  height: auto;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.875rem 1.5rem; }
  .nav-toggle { display: block; }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--brand-green-bright);
  color: #000;
}

.btn-primary:hover {
  background: var(--brand-yellow);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--brand-green-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--brand-green-bright);
  color: var(--brand-green-bright);
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 1rem;
}

/* ============================================
   HERO — with image
   ============================================ */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-base);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    /* Soft color washes */
    radial-gradient(ellipse at top right, rgba(0, 156, 59, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(255, 223, 0, 0.10) 0%, transparent 60%),
    /* Base */
    linear-gradient(135deg, #ffffff 0%, #f7f6f2 100%);
}

/* Logo watermark — visible on white, hides under hero photo when present */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -80px;
  transform: translateY(-50%);
  width: 640px;
  height: 740px;
  background: url('img/ateam-logo.png') no-repeat center / contain;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .hero-bg::before {
    width: 420px;
    height: 480px;
    right: -140px;
    opacity: 0.07;
  }
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  position: relative;
  z-index: 1;
}

/* Bottom-fade scrim — fades photo to white at bottom so dark text is readable */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--scrim-hero);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;  /* sits above scrim */
  max-width: 920px;
  padding-top: 4rem;
  padding-bottom: 4rem;
  /* Hero text uses the configured hero-text-color (dark in light mode) */
  color: var(--hero-text-color);
}

.hero h1 { margin-bottom: 1.5rem; color: var(--hero-text-color); }
.hero h1 .accent { color: var(--brand-green); }
.hero h1 .yellow { color: var(--brand-navy); }

.hero p { color: var(--hero-text-secondary); }

.hero-meta {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-strong);
  flex-wrap: wrap;
}

.hero-meta-item { display: flex; flex-direction: column; }

.hero-meta-value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brand-green);
  line-height: 1;
}

.hero-meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* ============================================
   SECTIONS
   ============================================ */

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header.left { text-align: left; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.0625rem;
}
.section-header.left p { margin: 0; }

.section-alt { background: var(--bg-elevated); }

/* Yellow rule under section headers (subtle Brazilian flag accent) */
.section-header h2 + .rule {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brand-yellow);
  margin: 1.25rem auto 1.5rem;
}
.section-header.left h2 + .rule { margin-left: 0; }

/* ============================================
   CARDS / GRID
   ============================================ */

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.card:hover {
  border-color: var(--brand-green);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.card-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--brand-green-bright);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.card h3 { margin-bottom: 0.75rem; font-size: 1.5rem; }
.card p { color: var(--text-secondary); font-size: 0.9375rem; }

/* Service card with image */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.service-card:hover {
  border-color: var(--brand-green);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.service-card-img {
  aspect-ratio: 16 / 10;
  background:
    url('img/ateam-logo.png') no-repeat center / 38% auto,
    linear-gradient(135deg, rgba(0, 156, 59, 0.06) 0%, transparent 60%),
    linear-gradient(45deg, rgba(255, 223, 0, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #f7f6f2 0%, #ffffff 100%);
  overflow: hidden;
  position: relative;
}

.service-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--scrim-card);
  pointer-events: none;
  z-index: 0;
}

.service-card-img img {
  position: relative;
  z-index: 1;
}
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 1.75rem; }

/* ============================================
   TESTIMONIAL
   ============================================ */

.testimonial {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-quote {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.5;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-quote::before,
.testimonial-quote::after {
  content: '"';
  color: var(--brand-green);
  font-size: 2em;
  line-height: 0;
  vertical-align: -0.4em;
}

.testimonial-author {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  color: var(--brand-green);
}

/* ============================================
   TESTIMONIAL CAROUSEL
   ============================================ */

.testimonial-carousel {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.testimonial-eyebrow-row {
  text-align: center;
  margin-bottom: 1rem;
}

.testimonial-track {
  position: relative;
  /* min-height tuned to fit longest quote without layout jump */
  min-height: 360px;
}

@media (max-width: 768px) {
  .testimonial-track { min-height: 480px; }
}

@media (max-width: 480px) {
  .testimonial-track { min-height: 580px; }
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
}

.testimonial-slide .testimonial-quote {
  margin-bottom: 1.5rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  position: relative;
  z-index: 1;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.testimonial-dot:hover {
  background: var(--brand-green);
  transform: scale(1.2);
}

.testimonial-dot.active {
  background: var(--brand-green);
  transform: scale(1.4);
  box-shadow: 0 0 0 4px var(--brand-yellow-soft);
}

/* ============================================
   BIO / SPLIT LAYOUTS
   ============================================ */

.bio {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: center;
}

.bio.reverse { grid-template-columns: 1.25fr 1fr; }

@media (max-width: 900px) {
  .bio, .bio.reverse { grid-template-columns: 1fr; gap: 2.5rem; }
}

.bio-image {
  aspect-ratio: 4 / 5;
  background:
    url('img/ateam-logo.png') no-repeat center / 55% auto,
    linear-gradient(135deg, rgba(0, 156, 59, 0.06) 0%, transparent 50%),
    linear-gradient(225deg, rgba(255, 223, 0, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #f7f6f2 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
}

/* Subtle veil over the watermark — reads as design element, not a giant logo */
.bio-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--scrim-bio);
  pointer-events: none;
  z-index: 0;
}

.bio-image img {
  position: relative;
  z-index: 2;
}

.bio-image.wide { aspect-ratio: 5 / 4; }
.bio-image.square { aspect-ratio: 1 / 1; }

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

/* Yellow accent line on bio image */
.bio-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 33%;
  height: 4px;
  background: var(--brand-yellow);
  z-index: 1;
}

.credentials {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.credentials li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

.credentials li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--brand-yellow);
  border-radius: 2px;
  margin-top: 0.55rem;
  flex-shrink: 0;
}

/* ============================================
   LEAD MAGNET (Train Smart Eat Better)
   ============================================ */

.lead-magnet-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

@media (max-width: 900px) {
  .lead-magnet-card { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
}

.lead-magnet-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: linear-gradient(180deg, var(--brand-green) 0%, var(--brand-yellow) 50%, var(--brand-navy) 100%);
}

.lead-magnet-content h2 { margin-bottom: 1rem; }
.lead-magnet-content .text-accent { color: var(--brand-green); }

.lead-magnet-form-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: stretch;
}

.lead-magnet-cover {
  display: none;
  text-align: center;
}

@media (min-width: 1100px) {
  .lead-magnet-card { grid-template-columns: 1fr 0.5fr 0.9fr; }
  .lead-magnet-cover {
    display: block;
    align-self: center;
  }
  .lead-magnet-cover img {
    width: 100%;
    max-width: 200px;
    border-radius: 6px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18), 0 6px 14px rgba(0, 0, 0, 0.08);
    transform: rotate(-3deg);
    transition: transform 0.3s var(--ease);
  }
  .lead-magnet-cover img:hover {
    transform: rotate(-1deg) translateY(-4px);
  }
}

.lead-magnet-form {
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.lead-magnet-form h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.lead-magnet-form-sub {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.lead-magnet-form .field { margin-bottom: 0.75rem; }

.lead-magnet-form input {
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.lead-magnet-form input:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px var(--brand-green-glow);
}

.lead-magnet-form button {
  margin-top: 0.5rem;
}

.lead-magnet-fineprint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.875rem;
}

.lead-magnet-success {
  background: var(--bg-base);
  border: 2px solid var(--brand-green);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  animation: lmFadeIn 0.45s var(--ease);
}

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

.lm-check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.lead-magnet-success h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.lead-magnet-success p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.lead-magnet-success a {
  color: var(--brand-green);
  text-decoration: underline;
  font-weight: 600;
}

/* ============================================
   CLEANPREP CALLOUT (on home/training pages)
   ============================================ */

.cleanprep-callout {
  background:
    linear-gradient(135deg, rgba(164, 214, 94, 0.10) 0%, rgba(0, 0, 0, 0.4) 100%),
    var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) { .cleanprep-callout { padding: 2rem; } }

/* ============================================
   CTA STRIP
   ============================================ */

.cta-strip {
  background:
    linear-gradient(135deg, rgba(0, 156, 59, 0.06) 0%, rgba(0, 39, 118, 0.06) 100%),
    var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.cta-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--brand-green) 0%, var(--brand-green) 33%,
    var(--brand-yellow) 33%, var(--brand-yellow) 66%,
    var(--brand-navy) 66%, var(--brand-navy) 100%);
}

.cta-strip-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-strip h2 { margin-bottom: 1rem; color: var(--text-primary); }
.cta-strip h2 .yellow { color: var(--brand-navy); }

.cta-strip p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--brand-green) 0%, var(--brand-green) 33%,
    var(--brand-yellow) 33%, var(--brand-yellow) 66%,
    var(--brand-navy) 66%, var(--brand-navy) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand-row img { height: 36px; width: auto; }

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
}
.footer-brand .accent { color: var(--brand-green-bright); }

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  max-width: 36ch;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-navy);
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer ul a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  transition: color 0.15s var(--ease);
}

.footer ul a:hover { color: var(--brand-green-bright); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { color: var(--text-muted); font-size: 0.8125rem; }

.socials { display: flex; gap: 0.75rem; }

.socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.2s var(--ease);
}

.socials a:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
  transform: translateY(-2px);
}

.socials svg { width: 16px; height: 16px; }

/* ============================================
   PAGE HEADER (interior pages, with image bg)
   ============================================ */

.page-header {
  padding: clamp(5rem, 10vw, 7rem) 0 clamp(3rem, 6vw, 4rem);
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  overflow: hidden;
  background: var(--bg-base);
}

.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at top, rgba(0, 156, 59, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(255, 223, 0, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7f6f2 100%);
}

/* Logo watermark in page headers — visible in light mode */
.page-header-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 540px;
  height: 620px;
  background: url('img/ateam-logo.png') no-repeat center / contain;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}

.page-header-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  opacity: 0.55;
  position: relative;
  z-index: 1;
}

.page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--scrim-page-header);
  z-index: 2;
  pointer-events: none;
}

.page-header .container { position: relative; z-index: 3; }
.page-header .eyebrow { margin-bottom: 1.25rem; }
.page-header h1 { margin-bottom: 1rem; color: var(--text-primary); }
.page-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 60ch;
  margin: 0 auto;
}

/* ============================================
   PHOTO GALLERY STRIP (about page)
   ============================================ */

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
}

.photo-strip-item {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(0, 156, 59, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #f7f6f2 0%, #ffffff 100%);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.photo-strip-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.photo-strip-item:hover img { transform: scale(1.05); }

/* ============================================
   STUDIO SHOWCASE (About page)
   ============================================ */

.studio-showcase {
  padding: 0 0 5rem;
}

.studio-hero-img {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 420px;
  max-height: 640px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.studio-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.studio-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
  color: #fff;
}

.studio-hero-overlay h2 {
  color: #fff;
  margin: 0.5rem 0;
}

.studio-hero-overlay .lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
}

.studio-hero-overlay .text-yellow {
  color: var(--brand-yellow, #FFDF00);
}

.studio-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 860px) {
  .studio-mosaic { grid-template-columns: 1fr; }
  .studio-hero-img { height: 50vh; min-height: 320px; }
}

.studio-mosaic-item {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f7f6f2;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 4 / 3;
}

.studio-mosaic-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.studio-mosaic-item:hover img { transform: scale(1.04); }

.studio-mosaic-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ============================================
   MOBILE AUDIT FIXES (Pre-launch #10)
   - Safe-area-inset for iOS notch/home bar
   - Overflow safety net
   - Tap-target minimums (44px iOS HIG)
   - Studio section mobile tuning
   - Footer single-col on very small screens
   ============================================ */

/* Horizontal-overflow safety net — never allow body to scroll sideways */
html, body { max-width: 100%; overflow-x: hidden; }

/* iOS safe-area awareness for the floating WhatsApp FAB so the home-indicator
   bar doesn't cover it on iPhones with no Home button */
.wa-fab {
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: calc(20px + env(safe-area-inset-right, 0px));
}

/* Mobile tap-target minimums — anything tappable should be ≥40px high */
@media (max-width: 768px) {
  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
    display: none; /* still toggled by JS @ this width */
  }
  @media (max-width: 768px) { .nav-toggle { display: inline-flex !important; align-items: center; justify-content: center; } }

  .lang-btn {
    padding: 0.5rem 0.75rem;
    min-height: 36px;
  }

  /* Make all buttons/CTAs finger-friendly */
  .btn { min-height: 44px; padding: 0.875rem 1.5rem; }
  .btn-lg { min-height: 52px; }

  /* Footer: prevent 2-col cramming on iPhone SE (~375px) */
  .footer-grid { gap: 1.75rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  /* Nav brand text shrinks slightly to leave room for hamburger + lang switch */
  .nav-brand { font-size: 1.25rem; gap: 0.5rem; }
  .nav-brand img { height: 30px; }
  /* Hero padding tighter on very small screens */
  .hero-content { padding-top: 2.5rem; }
}

/* Studio showcase: tune mobile heights so the overlay text breathes */
@media (max-width: 600px) {
  .studio-hero-img { height: 45vh; min-height: 280px; }
  .studio-hero-overlay { padding: 1.5rem 0; }
  .studio-hero-overlay h2 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .studio-hero-overlay .lead { font-size: 0.95rem; }
  .studio-mosaic { gap: 0.875rem; }
  .studio-mosaic-item figcaption { padding: 0.75rem 1rem; font-size: 0.875rem; }
}

/* Contact map embed: a touch taller on phones so the studio pin is centered */
@media (max-width: 768px) {
  .contact-map-embed iframe { height: 280px; }
}

/* Long-content tables (terms/privacy) shouldn't overflow */
.legal-content table { display: block; max-width: 100%; overflow-x: auto; }

/* Prevent input zoom on iOS — already 16px on form inputs, but ensure ALL inputs comply */
@media (max-width: 768px) {
  input, textarea, select { font-size: 16px !important; }
}

/* ============================================
   UTILITIES
   ============================================ */

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
}

.contact-form-wrap {
  position: relative;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

@media (max-width: 600px) {
  .contact-form { padding: 1.75rem; }
}

.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .contact-form .form-grid { grid-template-columns: 1fr; }
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.contact-form .field label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px var(--brand-green-glow);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}

.contact-form button { margin-top: 0.75rem; }

.contact-form-fineprint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
  line-height: 1.5;
}

.contact-success {
  background: var(--bg-card);
  border: 2px solid var(--brand-green);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  animation: lmFadeIn 0.45s var(--ease);
}

.contact-success h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-success p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  max-width: 40ch;
  margin: 0 auto;
}

/* Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.contact-card-accent {
  background: linear-gradient(135deg, rgba(0, 156, 59, 0.06) 0%, rgba(255, 223, 0, 0.06) 100%);
  border-color: rgba(0, 156, 59, 0.2);
}

.contact-card-accent p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 0.5rem;
  margin: 0 -0.5rem;
  border-radius: 10px;
  transition: background 0.15s var(--ease);
  color: var(--text-primary);
}

.contact-method:hover {
  background: var(--bg-card-hover);
}

.contact-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--bg-base);
  color: var(--text-primary);
}

.contact-method-icon svg {
  width: 18px;
  height: 18px;
}

.contact-method.wa .contact-method-icon {
  background: #25D366;
  color: #fff;
}

.contact-method.phone .contact-method-icon {
  background: rgba(0, 39, 118, 0.1);
  color: var(--brand-navy);
}

.contact-method.email .contact-method-icon {
  background: rgba(0, 156, 59, 0.1);
  color: var(--brand-green);
}

.contact-method-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.contact-method-text strong {
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-method-text span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.contact-studio-address {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.contact-studio-address strong {
  color: var(--text-primary);
  font-weight: 600;
}

.contact-map-embed {
  margin: 0.75rem 0 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: #eee;
  line-height: 0;
}

.contact-map-embed iframe {
  display: block;
  width: 100%;
}

.contact-map-link {
  font-weight: 600;
  color: var(--brand-green);
  font-size: 0.9375rem;
  display: inline-block;
}

.contact-map-link:hover {
  text-decoration: underline;
}

.contact-studio-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================
   PRICING SECTION (training page)
   ============================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--brand-green);
}

.pricing-card-featured {
  border: 2px solid var(--brand-green);
  background: var(--bg-card);
  box-shadow: 0 8px 24px rgba(0, 156, 59, 0.12);
}

.pricing-card-featured:hover {
  box-shadow: 0 20px 40px rgba(0, 156, 59, 0.18);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.875rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card-head { margin-bottom: 1.25rem; }

.pricing-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-navy);
  background: rgba(0, 39, 118, 0.08);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  margin-bottom: 0.875rem;
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.pricing-card-sub {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  padding: 1rem 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.price-from {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-card-featured .price-amount {
  color: var(--brand-green);
}

.price-per {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.pricing-packages {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pricing-pack-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8125rem;
  padding: 0.4rem 0.625rem;
  background: var(--bg-elevated);
  border-radius: 6px;
}

.pricing-pack-row .pack-name {
  color: var(--text-secondary);
}

.pricing-pack-row .pack-price {
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.pricing-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.pricing-includes li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  background: var(--brand-green);
  border-radius: 2px;
}

.pricing-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.pricing-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.pricing-note a {
  color: var(--brand-green);
  font-weight: 600;
  text-decoration: none;
}

.pricing-note a:hover {
  text-decoration: underline;
}

/* ============================================
   LEGAL PAGES (privacy + terms)
   ============================================ */

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
  color: var(--text-primary);
}

.legal-content h2:first-of-type {
  margin-top: 1.5rem;
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 1.5rem;
  margin-bottom: 0.625rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.legal-content ul li {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--brand-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--brand-navy);
}

.legal-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-content code {
  background: var(--bg-elevated);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.legal-meta {
  font-size: 0.875rem !important;
  color: var(--text-muted) !important;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border-radius: 8px;
  margin-bottom: 1.5rem !important;
}

.legal-callout {
  background: linear-gradient(135deg, rgba(255, 223, 0, 0.10) 0%, rgba(255, 223, 0, 0.04) 100%);
  border: 1px solid rgba(255, 223, 0, 0.4);
  border-left: 4px solid var(--brand-yellow);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
}

.legal-callout h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.legal-callout p {
  color: var(--text-primary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.legal-disclaimer {
  font-size: 0.8125rem !important;
  color: var(--text-muted) !important;
  font-style: italic;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  margin-top: 2.5rem !important;
}

/* Footer-bottom legal links (added to all pages) */
.footer-legal-links {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 0.5rem;
}

.footer-legal-links a:hover {
  color: var(--brand-green);
  text-decoration: underline;
}

/* ============================================
   FLOATING WHATSAPP BUTTON (every page)
   ============================================ */

.wa-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.wa-fab svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 2;
}

.wa-fab:hover {
  transform: scale(1.08);
  background: #128C7E;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45), 0 6px 12px rgba(0, 0, 0, 0.18);
}

.wa-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.6;
  animation: waPulse 2.5s ease-out infinite;
  z-index: 1;
}

@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  70%  { transform: scale(1.7); opacity: 0;   }
  100% { transform: scale(1.7); opacity: 0;   }
}

@media (max-width: 768px) {
  .wa-fab { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  .wa-fab svg { width: 26px; height: 26px; }
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  .wa-fab-pulse { animation: none; }
}

.text-center { text-align: center; }
.text-accent { color: var(--brand-green-bright); }
.text-yellow { color: var(--brand-navy); }
.text-navy { color: var(--brand-navy); }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
