/* =========================================
   COWORKING SAÚDE THERAPI — styles.css
   ========================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #2E7D7D;
  --primary-dk: #235f5f;
  --primary-lt: #3a9e9e;
  --secondary:  #F5F5F5;
  --accent:     #4CAF50;
  --accent-dk:  #388E3C;
  --text:       #1a1a2e;
  --text-muted: #5f6b7a;
  --white:      #ffffff;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 8px 32px rgba(46,125,125,.14);
  --shadow-lg:  0 20px 60px rgba(46,125,125,.22);
  --transition: .35s cubic-bezier(.4,0,.2,1);
  --font:       'Poppins', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

.icon-svg {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  fill: currentColor;
  flex-shrink: 0;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: 100px 0; }
.bg-light    { background: var(--secondary); }
.bg-primary  { background: var(--primary); }
.text-center { text-align: center; }

/* ---- Typography ---- */
.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(46,125,125,.1);
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-tag--light {
  color: var(--white);
  background: rgba(255,255,255,.2);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-title--light { color: var(--white); }
.section-desc { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.section-header { margin-bottom: 60px; }

/* ---- Buttons — Premium Glass Edition ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  letter-spacing: .02em;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.4,0,.2,1),
              box-shadow .3s cubic-bezier(.4,0,.2,1),
              background .3s ease;
  -webkit-tap-highlight-color: transparent;
}
/* shimmer sweep */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.28) 50%, transparent 60%);
  background-size: 200% 100%;
  background-position: 200% 0;
  transition: background-position .55s ease;
  pointer-events: none;
  border-radius: inherit;
}
.btn:hover::after { background-position: -40% 0; }
.btn:active { transform: scale(.97) !important; }

.btn--large { padding: 1.15rem 2.8rem; font-size: 1.05rem; }
.btn--small  { padding: .6rem 1.4rem; font-size: .87rem; }

/* Primary — green glass */
.btn-primary {
  background: linear-gradient(135deg, #4fc355 0%, #388E3C 100%);
  color: var(--white);
  box-shadow:
    0 4px 18px rgba(76,175,80,.45),
    inset 0 1px 0 rgba(255,255,255,.3),
    inset 0 -1px 0 rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.2);
  text-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 36px rgba(76,175,80,.55),
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 -1px 0 rgba(0,0,0,.1);
}

/* Play button — teal glass */
.btn-play {
  background: linear-gradient(135deg,
    rgba(46,125,125,.85) 0%,
    rgba(26,90,90,.9) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.28) !important;
  box-shadow:
    0 8px 32px rgba(46,125,125,.5),
    inset 0 1px 0 rgba(255,255,255,.25),
    inset 0 -1px 0 rgba(0,0,0,.15);
  text-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.btn-play:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 44px rgba(46,125,125,.65),
    inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
  flex-shrink: 0;
  transition: background .3s, transform .3s;
}
.btn-play:hover .btn-play-icon {
  background: rgba(255,255,255,.28);
  transform: scale(1.12);
}
.btn-play-icon .icon-svg { width: .75rem; height: .75rem; margin-left: 2px; }

/* Outline — frosted glass (hero/dark bg) */
.btn-glass-outline {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.35) !important;
  box-shadow:
    0 4px 20px rgba(0,0,0,.2),
    inset 0 1px 0 rgba(255,255,255,.15);
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.btn-glass-outline:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.55) !important;
  transform: translateY(-3px);
  box-shadow:
    0 10px 30px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.2);
}

/* Legacy alias (used in about/cta sections) */
.btn-outline {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.35) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-outline:hover {
  background: rgba(255,255,255,.16);
  transform: translateY(-3px);
}

/* =============================================
   VIDEO MODAL
   ============================================= */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.video-modal.active {
  opacity: 1;
  pointer-events: all;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,20,20,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.video-modal-box {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  box-shadow:
    0 32px 80px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 100%;
  max-width: 860px;
  overflow: hidden;
  transform: scale(.93) translateY(20px);
  transition: transform .4s cubic-bezier(.34,1.3,.64,1), opacity .35s ease;
  opacity: 0;
}
.video-modal.active .video-modal-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.video-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 10;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, transform .25s;
}
.video-modal-close:hover {
  background: rgba(255,255,255,.2);
  transform: scale(1.1) rotate(90deg);
}
.video-modal-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}
.video-modal-player video {
  width: 100%; height: 100%;
  display: block;
  object-fit: contain;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.video-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.video-modal-footer p {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  flex: 1;
}
.video-modal-footer strong { color: var(--white); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,.1);
  padding: .7rem 0;
}
.navbar.scrolled .nav-links a { color: var(--text); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }
.navbar.scrolled .nav-links .nav-cta { color: var(--white); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: clamp(62px, 7vw, 84px);
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
}
.navbar.scrolled .nav-logo img { filter: none; }
.navbar.scrolled .nav-logo img { height: clamp(56px, 6vw, 74px); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.92);
  transition: color var(--transition);
}
.nav-links a:hover                  { color: var(--white); }
.nav-links .nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: .55rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}
.nav-links .nav-cta:hover {
  background: var(--accent-dk);
  transform: translateY(-1px);
}
.nav-links a.active-link {
  color: var(--white);
  font-weight: 600;
}
.navbar.scrolled .nav-links a.active-link { color: var(--primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}
.nav-toggle span {
  display: block;
  width: 25px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--text); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30,60,60,.72) 0%,
    rgba(46,125,125,.55) 50%,
    rgba(10,30,30,.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  color: var(--white);
  padding-top: 90px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  padding: .4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.hero-title-highlight {
  color: #5CC6D0;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: rgba(255,255,255,.85);
  margin-bottom: 2.4rem;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat strong {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat span {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.stat-divider {
  width: 1px; height: 44px;
  background: rgba(255,255,255,.3);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  color: rgba(255,255,255,.65);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounceDown 2.2s infinite;
}
.hero-scroll-indicator .icon-svg { width: 1rem; height: 1rem; }

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   ABOUT
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}
.about-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-main img { width: 100%; height: 420px; object-fit: cover; }

.about-image-secondary {
  position: absolute;
  bottom: -2.5rem; right: -2.5rem;
  width: 220px; height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}
.about-image-secondary img { width: 100%; height: 100%; object-fit: cover; }

.about-badge-float {
  position: absolute;
  top: 1.5rem; right: -1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: .8rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  box-shadow: var(--shadow);
}
.about-badge-float .icon-svg {
  color: #FFB74D;
  width: 1.6rem;
  height: 1.6rem;
}
.about-badge-float div { display: flex; flex-direction: column; }
.about-badge-float strong { font-size: .9rem; font-weight: 700; color: var(--text); }
.about-badge-float span  { font-size: .75rem; color: var(--text-muted); }

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  font-size: 1.02rem;
}
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-bottom: 2rem;
}
.about-highlights li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 500;
  font-size: .95rem;
}
.about-highlights li .icon-svg { color: var(--accent); width: .9rem; height: .9rem; }

/* =============================================
   BENEFITS
   ============================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
  text-align: center;
}
.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--primary);
}

.benefit-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--primary), var(--primary-lt));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
}
.benefit-icon .icon-svg { color: var(--white); width: 1.6rem; height: 1.6rem; }

.benefit-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .7rem;
}
.benefit-card p { color: var(--text-muted); font-size: .92rem; }

/* =============================================
   STRUCTURE
   ============================================= */
.structure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.structure-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--secondary);
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .95rem;
  transition: var(--transition);
  border-left: 4px solid var(--primary);
}
.structure-item:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.structure-item .icon-svg {
  color: var(--primary);
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

/* =============================================
   GALLERY
   ============================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: .6rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  width: 100%;
}
.gallery-item--large {
  grid-column: span 1;
  grid-row: span 1;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--transition);
}
.gallery-item--video video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(46,125,125,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-overlay .icon-svg { color: var(--white); width: 1.8rem; height: 1.8rem; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.94);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-img-wrap { max-width: 90vw; max-height: 85vh; }
.lightbox-img-wrap img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  width: 50px; height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev  { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }

/* =============================================
   FOUNDER
   ============================================= */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.founder-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.founder-img-wrap img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center; border-radius: var(--radius-lg); display: block; }

.founder-quote {
  margin-top: 1.5rem;
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  position: relative;
}
.founder-quote .icon-svg {
  color: var(--primary);
  width: 1.8rem;
  height: 1.8rem;
  margin-bottom: .5rem;
  display: block;
}
.founder-quote p {
  font-style: italic;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.6;
}

.founder-text p {
  color: var(--text-muted);
  margin: 1rem 0 1.8rem;
  font-size: 1.02rem;
}

.founder-credentials {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin-bottom: 1.8rem;
}
.founder-portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 420px;
}
.founder-portrait img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .6s ease;
}
.founder-portrait:hover img { transform: scale(1.04); }
.credential {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-weight: 600;
  font-size: .95rem;
}
.credential .icon-svg { color: var(--primary); width: 1.1rem; height: 1.1rem; }

/* =============================================
   DIFFERENTIALS
   ============================================= */
.differentials { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%); }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.diff-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  color: var(--white);
  font-weight: 500;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.diff-item:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-3px);
}
.diff-item .icon-svg { width: 1.3rem; height: 1.3rem; color: rgba(255,255,255,.8); flex-shrink: 0; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
}
.cta-banner-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 8s ease;
}
.cta-banner:hover .cta-banner-bg img { transform: scale(1); }

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,125,125,.85), rgba(10,40,40,.88));
}
.cta-banner .container {
  position: relative;
  z-index: 1;
}
.cta-banner-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: .5rem 0 1rem;
}
.cta-banner-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 2.5rem;
}

/* =============================================
   MAP
   ============================================= */
.map-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}
.map-right {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
}
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 420px; }
.map-address-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.8rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}
.map-address-card h4 {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  margin-bottom: 1rem;
}
.map-address-card ul {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.map-address-card ul li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.map-address-card ul li .icon-svg {
  color: var(--primary);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  text-align: center;
}
.map-address-card ul li a { color: var(--text-muted); transition: color var(--transition); }
.map-address-card ul li a:hover { color: var(--primary); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #0d1f1f;
  color: rgba(255,255,255,.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 4rem;
  align-items: start;
  padding-bottom: 3rem;
}

.footer-brand img { height: 70px; margin-bottom: 1rem; display: block; }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.5); max-width: 280px; margin-bottom: 1.2rem; }

.footer-brand-company {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: .4rem;
}
.footer-brand-company span {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  line-height: 1.4;
}
.footer-brand-company .icon-svg { color: var(--primary-lt); flex-shrink: 0; margin-top: 3px; width: .8rem; height: .8rem; }

.footer-links h4, .footer-contact h4 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.2rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-links ul a { color: rgba(255,255,255,.7); font-size: .9rem; transition: color var(--transition); }
.footer-links ul a:hover { color: var(--primary-lt); }

.footer-contact ul { display: flex; flex-direction: column; gap: .85rem; }
.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  line-height: 1.45;
}
.footer-contact ul li > .icon-svg {
  color: var(--primary-lt);
  flex-shrink: 0;
  width: 16px;
  text-align: center;
  margin-top: 3px;
}
.footer-contact ul a { color: rgba(255,255,255,.7); transition: color var(--transition); word-break: break-all; }
.footer-contact ul a:hover { color: var(--primary-lt); }
.footer-contact ul span { word-break: break-word; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.4rem 0;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-dev a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-dev a:hover { color: var(--primary-lt); }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 1.25rem);
  right: 1.25rem;
  z-index: 9800;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
  transition: var(--transition);
  animation: pulse-green 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(37,211,102,.65);
  animation: none;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.5); }
  50%       { box-shadow: 0 6px 40px rgba(37,211,102,.75), 0 0 0 10px rgba(37,211,102,.12); }
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 6rem);
  right: 1.25rem;
  z-index: 9800;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(46,125,125,.4);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover { background: var(--primary-dk); transform: translateY(-2px); }

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
[data-scroll-reveal] {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
}
[data-scroll-reveal]:not([data-scroll-reveal="slide-left"]):not([data-scroll-reveal="slide-right"]) {
  transform: translateY(36px);
}
[data-scroll-reveal="slide-left"]  { transform: translateX(-60px); }
[data-scroll-reveal="slide-right"] { transform: translateX(60px); }
[data-scroll-reveal="fade-up"]     { transform: translateY(50px); }

[data-scroll-reveal].revealed {
  opacity: 1 !important;
  transform: translate(0) !important;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-grid, .founder-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-secondary { right: 0; bottom: -2rem; }
  .about-badge-float { right: .5rem; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .structure-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: span 2; }
  .footer-contact { grid-column: span 2; }
  .map-wrap { grid-template-columns: 1fr; }
  .map-right { max-width: 100%; }
  .map-embed { min-height: 340px; }
  .map-embed iframe { min-height: 340px; }
}

@media (max-width: 768px) {
  .section-padding { padding: 70px 0; }

  .navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9900;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .navbar.scrolled {
    padding: .75rem 0;
  }
  .page-content {
    border-radius: 18px 18px 0 0;
    margin-top: -18px;
  }

  .video-modal {
    padding: 1rem;
    align-items: center;
    justify-content: center;
  }
  .video-modal-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .video-modal-box {
    width: 100%;
    max-width: 520px;
    border: none;
    border-radius: 14px;
    background: #000;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
    opacity: 1;
  }
  .video-modal-player {
    max-height: 62vh;
    aspect-ratio: 16 / 9;
  }
  .video-modal.active .video-modal-box {
    transform: none;
    opacity: 1;
  }
  .video-modal-footer {
    padding: .8rem 1rem;
  }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: rgba(13,31,31,.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition);
    box-shadow: -8px 0 40px rgba(0,0,0,.3);
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: rgba(255,255,255,.9); font-size: 1rem; }
  .nav-links .nav-cta { padding: .65rem 1.6rem; }

  .nav-toggle { display: flex; }
  .nav-logo img { height: 72px; }
  .navbar.scrolled .nav-logo img { height: 66px; }

  .hero-title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-stats { gap: 1.2rem; }
  .stat strong { font-size: 1.5rem; }

  .benefits-grid { grid-template-columns: 1fr; }
  .structure-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .map-wrap { gap: .9rem; }
  .map-embed { min-height: 280px; }
  .map-embed iframe { min-height: 280px; }
  .map-address-card { padding: 1.2rem 1rem; }
  .map-address-card ul li { font-size: .86rem; }

  .gallery-grid {
    display: flex;
    gap: .8rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .35rem;
  }
  .gallery-grid::-webkit-scrollbar {
    height: 6px;
  }
  .gallery-grid::-webkit-scrollbar-thumb {
    background: rgba(46,125,125,.45);
    border-radius: 999px;
  }
  .gallery-item,
  .gallery-item--large {
    flex: 0 0 84%;
    scroll-snap-align: start;
    aspect-ratio: 4/3;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: .6rem; }

  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
}

@media (max-width: 480px) {
  .nav-logo img { height: 64px; }
  .navbar.scrolled .nav-logo img { height: 60px; }
  .hero-stats .stat-divider { display: none; }
  .video-modal {
    padding: .6rem;
  }
  .video-modal-box {
    border-radius: 10px;
  }
  .video-modal-player {
    max-height: 54vh;
  }
  .gallery-item,
  .gallery-item--large { flex-basis: 92%; }
  .section-padding { padding: 55px 0; }
  .whatsapp-float, .back-to-top { right: 1.1rem; }
  .whatsapp-float { bottom: calc(env(safe-area-inset-bottom, 0px) + 4.8rem); }
  .back-to-top { bottom: calc(env(safe-area-inset-bottom, 0px) + 9.2rem); }
}
