/* ==========================================================================
   Dr. Paulo Henrique - Fisioterapeuta Quiropraxista
   Premium editorial design system
   ========================================================================== */

:root {
  --ink: #0A0D0B;
  --ink-soft: #12160F;
  --ink-line: rgba(255,255,255,0.12);
  --paper: #F7F5EF;
  --white: #FFFFFF;
  --text-dark: #14181A;
  --text-muted: #5B665F;
  --line: #E6E1D3;

  --accent: #8FE070;
  --accent-dark: #66C449;
  --accent-ink: #123312;
  --cyan: #4DD9E8;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(10, 13, 11, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 13, 11, 0.16);
  --ease: cubic-bezier(.16,1,.3,1);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
}

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

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-dark); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: 1.05em; }
.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 26px rgba(143, 224, 112, 0.35);
}
.btn--accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(143, 224, 112, 0.45); }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--ink-soft); transform: translateY(-2px); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,0.35); color: var(--white); background: rgba(255,255,255,0.06); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.btn--lg { padding: 17px 36px; font-size: 1rem; }
.btn--sm { padding: 10px 22px; font-size: 0.85rem; }

/* ---------- Section shell ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); display: inline-block; }
.eyebrow--light { color: var(--accent); }

.section { padding: 110px 0; }
.section--alt { background: var(--white); }
.section--dark { background: var(--ink); color: rgba(255,255,255,0.85); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section__head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head .eyebrow::before { display: none; }
.section__head h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin-bottom: 16px; }
.section__head p { color: var(--text-muted); font-size: 1.06rem; }
.section__head--dark p { color: rgba(255,255,255,0.6); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.header.is-scrolled {
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header .container { max-width: 1280px; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  gap: 16px;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__icon {
  width: 42px; height: 42px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo__text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.25;
  transition: color 0.35s var(--ease);
}
.logo__text small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.35s var(--ease);
}
.header.is-scrolled .logo__text { color: var(--text-dark); }
.header.is-scrolled .logo__text small { color: var(--text-muted); }
.logo__text--light { color: var(--white); }
.logo__text--light small { color: rgba(255,255,255,0.55); }

.nav__list { display: flex; gap: 24px; }
.nav__link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 6px 0;
  transition: color 0.35s var(--ease);
}
.header.is-scrolled .nav__link { color: var(--text-dark); }
.nav__link:hover { color: var(--accent); }
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}
.nav__link:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  transition: color 0.35s var(--ease);
}
.header.is-scrolled .header__phone { color: var(--text-dark); }
.header__phone i { color: var(--accent); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), background 0.35s var(--ease);
}
.header.is-scrolled .nav__toggle span { background: var(--text-dark); }
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 86px;
}

.hero__curtain {
  position: absolute;
  inset: 0;
  background: var(--ink);
  z-index: 6;
  animation: curtainReveal 1.7s var(--ease) forwards;
  animation-delay: 0.15s;
  pointer-events: none;
}
@keyframes curtainReveal {
  0% { opacity: 1; }
  55% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

.hero__video-wrap {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 58%;
  z-index: 1;
  animation: heroVideoIn 2s var(--ease) forwards;
  transform: scale(1.12);
  opacity: 0;
}
@keyframes heroVideoIn {
  to { transform: scale(1); opacity: 1; }
}
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
}
.hero__video-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(10,13,11,0.55) 22%, rgba(10,13,11,0) 55%),
    linear-gradient(0deg, var(--ink) 0%, rgba(10,13,11,0) 22%, rgba(10,13,11,0) 78%, var(--ink) 100%);
}
.hero__glow {
  position: absolute;
  top: 10%; right: 10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(143,224,112,0.22) 0%, rgba(77,217,232,0.08) 45%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 3; padding: 70px 0 50px; }

.hero__content { max-width: 620px; }
.hero__content > * { opacity: 0; animation: heroTextUp 1s var(--ease) forwards; }
.hero__author { animation-delay: 0.55s; }
.hero__title { animation-delay: 0.7s; }
.hero__subtitle { animation-delay: 0.85s; }
.hero__cta { animation-delay: 1s; }
@keyframes heroTextUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__author {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 30px;
}
.hero__author-photo {
  width: 260px; height: 325px;
  flex-shrink: 0;
  overflow: visible;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,0.5)) drop-shadow(0 0 30px rgba(143,224,112,0.22));
}
.hero__author-photo-outline {
  stroke: var(--accent);
  stroke-width: 3.5;
}
.hero__kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}
.hero__kicker small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}

.hero__title {
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.hero__title-line { display: block; color: var(--white); }
.hero__title-line--accent { color: var(--accent); }

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin-bottom: 38px;
}

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

.hero__meta {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--ink-line);
  padding: 22px 0;
}
.hero__meta-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.hero__meta-item {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.68);
  letter-spacing: 0.02em;
}
.hero__meta-item i { color: var(--accent); }
.hero__meta-divider { width: 1px; height: 14px; background: var(--ink-line); }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  background: var(--accent);
  color: var(--accent-ink);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
}
.marquee__track {
  display: inline-flex;
  gap: 14px;
  animation: marqueeScroll 26s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   CARDS - ESPECIALIDADES
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card {
  position: relative;
  background: var(--white);
  padding: 42px 32px;
  transition: background 0.3s var(--ease);
  overflow: hidden;
}
.card:hover { background: var(--paper); }
.cards-grid .card:nth-child(5) { grid-column: span 2; }
.card__num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--line);
  transition: color 0.3s var(--ease);
  line-height: 1;
}
.card:hover .card__num { color: rgba(143,224,112,0.35); }
.card__icon {
  width: 54px; height: 54px;
  background: var(--paper);
  color: var(--text-dark);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  position: relative;
}
.card:hover .card__icon { background: var(--accent); color: var(--accent-ink); }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; position: relative; }
.card p { color: var(--text-muted); font-size: 0.94rem; position: relative; }

/* ==========================================================================
   TECNICAS
   ========================================================================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tech-tile {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.tech-tile--wide { grid-column: span 2; }
.tech-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s ease;
  filter: grayscale(35%) brightness(0.85);
}
.tech-tile:hover img { transform: scale(1.08); filter: grayscale(0%) brightness(0.95); }
.tech-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,13,11,0.92) 0%, rgba(10,13,11,0.5) 45%, rgba(10,13,11,0.05) 75%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.tech-tile__check {
  width: 30px; height: 30px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.tech-tile__overlay h3 { color: var(--white); font-size: 1rem; margin-bottom: 6px; overflow-wrap: break-word; hyphens: auto; }
.tech-tile__overlay p { color: rgba(255,255,255,0.65); font-size: 0.82rem; }

/* ==========================================================================
   REELS / VIDEOS
   ========================================================================== */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.reel-card {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.reel-card__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.reel-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,13,11,0.88) 0%, rgba(10,13,11,0.15) 45%, rgba(10,13,11,0.35) 100%);
  pointer-events: none;
}
.reel-card__sound, .reel-card__play {
  position: absolute;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(10,13,11,0.45);
  color: var(--white);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.reel-card__sound {
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  font-size: 0.95rem;
  z-index: 4;
}
.reel-card__sound:hover { background: var(--accent); color: var(--accent-ink); }
.reel-card__sound.is-unmuted { background: var(--accent); color: var(--accent-ink); }

.reel-card__play {
  top: 50%; left: 50%;
  width: 68px; height: 68px;
  font-size: 1.4rem;
  transform: translate(-50%, -50%);
  z-index: 4;
}
.reel-card__play:hover { background: var(--accent); color: var(--accent-ink); transform: translate(-50%, -50%) scale(1.08); }
.reel-card.is-playing .reel-card__play { opacity: 0; pointer-events: none; }

/* Revelar o botão ao passar o mouse só em dispositivos com hover de verdade
   (mouse). Em touch (celular), ":hover" fica "grudado" após o toque e
   sobrepunha a regra acima, deixando o ícone de play/pause preso na tela. */
@media (hover: hover) and (pointer: fine) {
  .reel-card:hover .reel-card__play { opacity: 1; pointer-events: auto; }
}

.reel-card__info {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  z-index: 3;
}
.reel-card__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.reel-card__info h3 { color: var(--white); font-size: 1.15rem; }

/* ==========================================================================
   SOBRE
   ========================================================================== */
.about__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.about__media { position: relative; }
.about__media img:first-child {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about__media-sub {
  position: absolute;
  width: 52% !important;
  bottom: -30px;
  right: -30px;
  border: 6px solid var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about__badge {
  position: absolute;
  top: 24px; left: -24px;
  background: var(--ink);
  color: var(--white);
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.about__badge strong { display: block; font-family: var(--font-display); font-size: 0.95rem; color: var(--accent); }
.about__badge span { font-size: 0.78rem; color: rgba(255,255,255,0.7); }

.about__content p { color: var(--text-muted); margin-bottom: 26px; font-size: 1.03rem; }
.about__content h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 22px; }
.about__list { margin-bottom: 34px; }
.about__list li {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--text-dark);
  margin-bottom: 15px;
}
.about__list i {
  width: 26px; height: 26px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}

/* ==========================================================================
   DEPOIMENTOS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px 32px;
  display: flex;
  flex-direction: column;
}
.testimonial__quote {
  position: absolute;
  top: 14px; right: 26px;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--paper);
  line-height: 1;
}
.testimonial__stars { color: var(--accent-dark); margin-bottom: 16px; font-size: 0.9rem; letter-spacing: 2px; }
.testimonial p {
  color: var(--text-dark);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 26px;
  position: relative;
}
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial__author strong { display: block; font-family: var(--font-display); font-size: 0.92rem; color: var(--text-dark); }
.testimonial__author small { color: var(--text-muted); font-size: 0.78rem; }

.testimonials-cta { text-align: center; margin-top: 48px; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  background: var(--ink);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(143,224,112,0.16) 0%, transparent 70%);
}
.cta-band__inner { position: relative; text-align: center; }
.cta-band__inner h2 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.cta-band__inner p { color: rgba(255,255,255,0.65); font-size: 1.08rem; margin-bottom: 34px; }

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: stretch;
}
.contact__info { display: flex; flex-direction: column; gap: 26px; }
.info-item { display: flex; gap: 18px; align-items: flex-start; }
.info-item__icon {
  width: 50px; height: 50px;
  background: var(--ink);
  color: var(--accent);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.info-item h3 { font-size: 1rem; margin-bottom: 6px; }
.info-item p { color: var(--text-muted); font-size: 0.94rem; }
.info-item a { color: var(--accent-dark); font-weight: 600; font-size: 0.94rem; }
.info-item a:hover { text-decoration: underline; }
.contact__cta { align-self: flex-start; margin-top: 8px; }

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 360px;
  filter: grayscale(15%);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink); color: rgba(255,255,255,0.75); padding-top: 70px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
}
.footer__brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.5); }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.footer__links ul li { margin-bottom: 12px; }
.footer__links a { font-size: 0.92rem; transition: color 0.2s ease; }
.footer__links a:hover { color: var(--accent); }
.footer__contact p { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; margin-bottom: 14px; }
.footer__contact i { color: var(--accent); }
.footer__social { display: flex; gap: 12px; margin-top: 8px; }
.footer__social a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.footer__bottom p { max-width: 640px; margin: 0 auto; }
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1180px;
}
.footer__bottom-inner p { max-width: none; margin: 0; }
.footer__credit a { color: rgba(255,255,255,0.65); font-weight: 600; transition: color 0.2s ease; }
.footer__credit a:hover { color: var(--accent); }

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 60px; height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  z-index: 999;
  animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 10px 30px rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 10px 30px rgba(37, 211, 102, 0.5); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 30px rgba(37, 211, 102, 0.5); }
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199px) {
  .nav { position: fixed; top: 86px; left: 0; right: 0; bottom: 0; background: var(--paper); transform: translateX(100%); transition: transform 0.3s var(--ease); overflow-y: auto; padding: 30px 0; }
  .nav.active { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: center; gap: 6px; }
  .nav__link { display: block; padding: 14px 0; font-size: 1.15rem; color: var(--text-dark) !important; }
  .header__phone { display: none; }
  .nav__toggle { display: flex; }
  .nav__toggle span { background: var(--white) !important; }
  .header.is-scrolled .nav__toggle span { background: var(--text-dark) !important; }
  .header__actions { gap: 12px; }
  .btn--sm { padding: 9px 16px; font-size: 0.8rem; }
}

@media (max-width: 991px) {
  .hero__video-wrap { width: 100%; opacity: 0.5; }
  .hero__video-fade {
    background:
      linear-gradient(0deg, var(--ink) 0%, rgba(10,13,11,0.4) 35%, rgba(10,13,11,0.75) 100%),
      linear-gradient(90deg, var(--ink) 0%, rgba(10,13,11,0.3) 40%, rgba(10,13,11,0.3) 60%, var(--ink) 100%);
  }
  .hero__glow { display: none; }

  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-tile--wide { grid-column: span 2; }
  .reels-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .about__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; margin: 0 auto 60px; }
  .about__badge { left: 0; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map { min-height: 320px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .logo { gap: 8px; }
  .logo__icon { width: 36px; height: 36px; font-size: 0.95rem; }
  .logo__text { font-size: 0.82rem; }
  .logo__text small { display: none; }
  .container { padding: 0 14px; }
  .header__actions { gap: 8px; }
  .btn--sm { padding: 8px 14px; font-size: 0.74rem; }
  .nav__toggle { width: 32px; }
}

@media (max-width: 400px) {
  .header__actions .btn--sm { display: none; }
}

@media (max-width: 767px) {
  .section { padding: 80px 0; }
  .hero { min-height: 92vh; }
  .hero__author { gap: 14px; margin-bottom: 22px; }
  .hero__author-photo { width: 150px; height: 188px; }
  .hero__kicker { font-size: 1rem; }
  .hero__kicker small { font-size: 0.76rem; margin-top: 5px; }
  .hero__title { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .hero__meta-inner { gap: 12px 16px; }
  .hero__meta-item { font-size: 0.76rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid .card:nth-child(5) { grid-column: span 1; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tech-tile__overlay { padding: 14px; }
  .tech-tile__overlay h3 { font-size: 0.88rem; }
  .tech-tile__overlay p { font-size: 0.76rem; }
  .reels-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .about__media-sub { position: static; width: 100% !important; margin-top: 16px; border-width: 0; }
  .about__badge { position: static; display: inline-flex; flex-direction: column; margin-top: -50px; margin-left: 16px; }
  .btn--lg { width: 100%; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }

  .whatsapp-float { width: 50px; height: 50px; font-size: 1.4rem; bottom: 16px; right: 16px; }
  .footer__bottom { padding: 22px 0 90px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__curtain, .hero__video-wrap, .hero__content > *, .marquee__track { animation: none !important; opacity: 1 !important; transform: none !important; }
  [data-reveal] { transition: none; }
}
