/* ============================================================
   LORENZO SEVIERI — Marca Pessoal para Médicos
   Design System: Hyper-Saturated Fluid · Monocromático Premium
   ============================================================ */

/* --- TOKENS --- */
:root {
  --teal:         #0F4C5C;
  --teal-dark:    #123F4A;
  --teal-deep:    #0a3340;
  --black:        #0A0A0A;
  --surface:      #171717;
  --surface-alt:  #111111;
  --white:        #FFFFFF;
  --soft-white:   #F5F7F8;
  --gray-100:     #f0f2f4;
  --gray-300:     #d1d5db;
  --gray-500:     #6b7280;
  --gray-700:     #374151;
  --gray-800:     #1f2937;
  --border-light: rgba(255,255,255,0.14);
  --border-glass: rgba(255,255,255,0.18);
  --glass-white:  rgba(255,255,255,0.07);
  --glass-hover:  rgba(255,255,255,0.11);
  --font:         'Inter', sans-serif;
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h:        72px;
  --container:    1200px;
}

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

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

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.br-desktop { display: none; }
@media (min-width: 1024px) { .br-desktop { display: block; } }

.text-teal        { color: var(--teal); }
.text-teal-bright { color: #3a8fa3; }
.text-white-dim   { color: rgba(255,255,255,0.55); }

/* --- Section heads --- */
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head--light { color: var(--white); }

.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--black);
  margin-top: 16px;
}
.section-title--white { color: var(--white); }

.section-sub {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 560px;
  margin: 20px auto 0;
}
.section-sub--light { color: rgba(255,255,255,0.6); }

/* ============================================================
   LABELS & BADGES
   ============================================================ */
.label-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(15,76,92,0.12);
  border: 1px solid rgba(15,76,92,0.3);
  border-radius: 100px;
  padding: 6px 16px;
}
.label-tag--light {
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}
.label-tag--teal-bg {
  color: var(--white);
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.25);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 100px;
  padding: 8px 18px;
}
.badge--glass {
  background: var(--glass-white);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  color: rgba(255,255,255,0.8);
}
.badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3a8fa3;
  box-shadow: 0 0 8px #3a8fa3;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  border-radius: 100px;
  padding: 6px 16px;
  letter-spacing: 0.03em;
}
.pill--dark {
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(0,0,0,0.15);
}
.pill--teal {
  background: var(--teal);
  color: var(--white);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  border-radius: 100px;
  padding: 14px 28px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  box-shadow: 0 4px 24px rgba(15,76,92,0.4);
}
.btn--teal:hover { background: var(--teal-dark); box-shadow: 0 8px 32px rgba(15,76,92,0.5); }

.btn--white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  box-shadow: 0 4px 24px rgba(255,255,255,0.15);
}
.btn--white:hover { box-shadow: 0 8px 32px rgba(255,255,255,0.25); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }

.btn--outline-light {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.25);
}
.btn--outline-light:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn--nav   { padding: 10px 22px; font-size: 14px; }
.btn--sm    { padding: 10px 20px; font-size: 13px; }
.btn--lg    { padding: 16px 34px; font-size: 16px; }
.btn--xl    { padding: 18px 42px; font-size: 17px; }

/* ============================================================
   GLASS CARDS
   ============================================================ */
.glass-card {
  background: var(--glass-white);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-glass);
  border-radius: 32px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.glass-card:hover {
  background: var(--glass-hover);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

/* ============================================================
   SECTION EDGES (liquid dividers)
   ============================================================ */
.section-edge {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 2;
}
.section-edge svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
#nav.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}
.nav__logo-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.nav__logo-tag {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav__links {
  display: none;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--white); }

.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition);
}
.nav__mobile a:last-child { border: none; margin-top: 8px; }
.nav__mobile a:hover { color: var(--white); }

/* botão CTA oculto no mobile — aparece só no desktop */
.btn--nav { display: none; }

@media (min-width: 900px) {
  .nav__links      { display: flex; }
  .nav__hamburger  { display: none; }
  .btn--nav        { display: inline-flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--black);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero__blob {
  position: absolute;
  right: -80px;
  top: -120px;
  width: 680px;
  height: 680px;
  background: radial-gradient(ellipse at 40% 40%, var(--teal) 0%, var(--teal-deep) 60%, transparent 80%);
  border-radius: 62% 38% 46% 54% / 58% 44% 56% 42%;
  opacity: 0.55;
  animation: blob-drift 10s ease-in-out infinite alternate;
}
.hero__blob-2 {
  position: absolute;
  left: -120px;
  bottom: 50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, var(--teal-dark) 0%, transparent 70%);
  border-radius: 70% 30% 50% 50% / 40% 60% 40% 60%;
  opacity: 0.25;
  animation: blob-drift 14s ease-in-out infinite alternate-reverse;
}
@keyframes blob-drift {
  0%   { border-radius: 62% 38% 46% 54% / 58% 44% 56% 42%; transform: translate(0,0) scale(1); }
  100% { border-radius: 48% 52% 60% 40% / 62% 38% 62% 38%; transform: translate(20px,-20px) scale(1.04); }
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 24px 140px;
  display: flex;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__headline {
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.05em;
}
.hero__headline em {
  font-style: italic;
  color: #4fa3ba;
}

.hero__sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 520px;
}

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

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__stat {
  display: flex;
  flex-direction: column;
}
.hero__stat strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}
.hero__stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}
.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

/* visual / photo col */
.hero__visual {
  position: relative;
  flex-shrink: 0;
}

.hero__photo-placeholder {
  width: 380px;
  height: 520px;
  border-radius: 56px;
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.hero__photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(10,10,10,0.5));
  border-radius: 56px;
}
/* If using real img */
.hero__photo {
  width: 380px;
  height: 520px;
  border-radius: 56px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.1);
}

/* floating glass badges */
.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 100px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  animation: float-gentle 4s ease-in-out infinite alternate;
  white-space: nowrap;
}
.hero__float i { color: #4fa3ba; font-size: 14px; }

.hero__float--1 { top: 30px;  left: -60px; animation-delay: 0s; }
.hero__float--2 { top: 160px; right: -50px; animation-delay: 0.8s; }
.hero__float--3 { bottom: 140px; right: -60px; animation-delay: 1.6s; }
.hero__float--4 { bottom: 30px; left: -50px; animation-delay: 2.4s; }

@keyframes float-gentle {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ============================================================
   REPOSICIONAMENTO
   ============================================================ */
.reposicionamento {
  background: var(--white);
  position: relative;
  padding: 120px 0 160px;
}

.repo__inner {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  margin-bottom: 80px;
}

.repo__left { flex: 0 0 420px; }

.repo__headline {
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.04em;
  margin-top: 16px;
  line-height: 1.0;
}

.repo__right {
  flex: 1;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.repo__text {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.8;
}

.repo__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.repo__quote {
  display: flex;
  align-items: center;
  gap: 28px;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 48px;
}
.repo__quote-line {
  width: 4px;
  height: 60px;
  background: var(--teal);
  border-radius: 4px;
  flex-shrink: 0;
}
.repo__quote blockquote {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.4;
  font-style: italic;
}

/* ============================================================
   O QUE ELE ENTREGA
   ============================================================ */
.entrega {
  background: var(--black);
  position: relative;
  padding: 140px 0 180px;
}

.entrega__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.entrega__card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.entrega__card--accent {
  background: rgba(15,76,92,0.2);
  border-color: rgba(15,76,92,0.4);
}
.entrega__card--accent:hover {
  background: rgba(15,76,92,0.3);
}

.entrega__card-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: rgba(15,76,92,0.35);
  border: 1px solid rgba(15,76,92,0.5);
  display: flex; align-items: center; justify-content: center;
  color: #4fa3ba;
  font-size: 20px;
  transition: transform var(--transition);
}
.entrega__card:hover .entrega__card-icon { transform: scale(1.1) rotate(-5deg); }

.entrega__card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.entrega__card p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}

/* ============================================================
   PARA QUEM É
   ============================================================ */
.para-quem {
  background: var(--white);
  position: relative;
  padding: 140px 0 180px;
}

.para-quem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.para-quem__card {
  background: var(--soft-white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 28px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.para-quem__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border-color: rgba(15,76,92,0.2);
}

.para-quem__card--teal {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.para-quem__card--teal:hover {
  background: var(--teal-dark);
  box-shadow: 0 20px 60px rgba(15,76,92,0.4);
}

.para-quem__number {
  font-size: 44px;
  font-weight: 900;
  color: rgba(0,0,0,0.08);
  letter-spacing: -0.04em;
  line-height: 1;
}
.para-quem__card--teal .para-quem__number { color: rgba(255,255,255,0.15); }

.para-quem__card p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
}
.para-quem__card--teal p { color: rgba(255,255,255,0.85); }
.para-quem__card--teal p strong { color: var(--white); }

.para-quem__icon {
  font-size: 28px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

/* ============================================================
   PROCESSO
   ============================================================ */
.processo {
  background: var(--teal);
  position: relative;
  padding: 140px 0 180px;
  overflow: hidden;
}
.processo::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.processo__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.processo__steps::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0; bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.15);
}

.processo__step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 0 0 48px 0;
  position: relative;
}
.processo__step--last { padding-bottom: 0; }

.processo__step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 2px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background var(--transition);
}
.processo__step:hover .processo__step-num {
  background: rgba(255,255,255,0.2);
}

.processo__step-content {
  flex: 1;
  padding-top: 12px;
}
.processo__step-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.processo__step-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}

/* ============================================================
   PORTFÓLIO
   ============================================================ */
.portfolio {
  background: var(--black);
  position: relative;
  padding: 140px 0 180px;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.portfolio__item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
}

/* placeholder: altura fixa quando não há foto */
.portfolio__placeholder {
  width: 100%;
  min-height: 280px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio__item:hover .portfolio__placeholder { transform: scale(1.05); }

/* imagem real: altura uniforme, enquadrada com cover */
.portfolio__item img {
  width: 100%;
  height: 320px;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio__item:hover img { transform: scale(1.05); }

.portfolio__placeholder--1 { background: linear-gradient(135deg, #0F4C5C 0%, #123F4A 100%); }
.portfolio__placeholder--2 { background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%); }
.portfolio__placeholder--3 { background: linear-gradient(135deg, #0a3340 0%, #0F4C5C 100%); }
.portfolio__placeholder--4 { background: linear-gradient(135deg, #171717 0%, #0F4C5C 60%); }
.portfolio__placeholder--5 { background: linear-gradient(135deg, #0d0d0d 0%, #1a3a45 100%); }
.portfolio__placeholder--6 { background: linear-gradient(135deg, #0F4C5C 0%, #0a0a0a 100%); }
.portfolio__placeholder--7 { background: linear-gradient(135deg, #222 0%, #0F4C5C 100%); }

.portfolio__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio__item:hover .portfolio__overlay { opacity: 1; }
.portfolio__overlay span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portfolio__cta {
  text-align: center;
  margin-top: 56px;
}

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.diferenciais {
  background: var(--white);
  position: relative;
  padding: 140px 0 180px;
}

.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.diferencial__card {
  background: var(--soft-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 28px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.diferencial__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border-color: rgba(15,76,92,0.2);
}

.diferencial__icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: rgba(15,76,92,0.1);
  border: 1px solid rgba(15,76,92,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  font-size: 20px;
  transition: background var(--transition), transform var(--transition);
}
.diferencial__card:hover .diferencial__icon {
  background: var(--teal);
  color: var(--white);
  transform: scale(1.08) rotate(-5deg);
}

.diferencial__card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
}
.diferencial__card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.75;
}

/* ============================================================
   SOBRE
   ============================================================ */
.sobre {
  background: var(--surface-alt);
  position: relative;
  overflow: hidden;
}

.sobre__inner {
  display: flex;
  min-height: 640px;
}

.sobre__photo-col {
  flex: 0 0 480px;
  position: relative;
  background: var(--teal-deep);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sobre__photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 640px;
  background: linear-gradient(180deg, var(--teal) 0%, var(--teal-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.sobre__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sobre__photo-badge {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
}

.sobre__content {
  flex: 1;
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  background: var(--surface-alt);
}

.sobre__role {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4fa3ba;
  margin-top: -12px;
}

.sobre__text {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

.sobre__quote {
  border-left: 3px solid var(--teal);
  padding-left: 20px;
  font-size: 17px;
  font-style: italic;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin: 8px 0;
}

.sobre__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.depoimentos {
  background: var(--surface-alt);
  position: relative;
  padding: 140px 0 180px;
}

.depoimentos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.depoimento__card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.depoimento__stars {
  font-size: 18px;
  letter-spacing: 3px;
  color: #f0b429;
}

.depoimento__text {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  flex: 1;
  font-style: italic;
}

.depoimento__author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}
.depoimento__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.depoimento__author strong { display: block; font-size: 14px; color: var(--white); }
.depoimento__author span   { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 2px; display: block; }

.depoimentos__social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 20px 40px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
}
.social-proof__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.social-proof__item i { color: #4fa3ba; font-size: 18px; }
.social-proof__sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.12);
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: var(--teal);
  position: relative;
  padding: 140px 0 180px;
  overflow: hidden;
}

.cta-final__blob {
  position: absolute;
  right: -150px;
  top: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 60% 40% 50% 50%;
  animation: blob-drift 12s ease-in-out infinite alternate;
}

.cta-final__inner {
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.cta-final__headline {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.cta-final__headline em {
  font-style: italic;
  color: rgba(255,255,255,0.7);
}

.cta-final__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.cta-final__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.cta-final__note {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cta-final__note i { font-size: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__name {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.footer__tagline {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.footer__socials {
  display: flex;
  gap: 12px;
}
.footer__socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 16px;
  transition: border-color var(--transition), color var(--transition);
}
.footer__socials a:hover { border-color: var(--teal); color: #4fa3ba; }

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer__nav a,
.footer__contact a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__nav a:hover,
.footer__contact a:hover { color: var(--white); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__bottom {
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.25);
  text-align: center;
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 28px;
  box-shadow: 0 8px 32px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 16px 48px rgba(37,211,102,0.5);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-reveal-delay="1"] { transition-delay: 0.12s; }
[data-reveal-delay="2"] { transition-delay: 0.24s; }
[data-reveal-delay="3"] { transition-delay: 0.36s; }
[data-reveal-delay="4"] { transition-delay: 0.48s; }

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner    { flex-direction: column; align-items: center; text-align: center; padding: 80px 24px 120px; }
  .hero__content  { align-items: center; }
  .hero__sub      { max-width: 100%; }
  .hero__stats    { justify-content: center; }
  .hero__visual   { order: 1; }
  .hero__float--1, .hero__float--4 { left: -20px; }
  .hero__float--2, .hero__float--3 { right: -20px; }

  .repo__inner    { flex-direction: column; gap: 40px; }
  .repo__left     { flex: none; }

  .sobre__inner   { flex-direction: column; }
  .sobre__photo-col { flex: none; width: 100%; min-height: 380px; }
  .sobre__photo-placeholder { min-height: 380px; }
  .sobre__content { padding: 56px 40px; }

  .footer__inner  { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand  { grid-column: span 2; }

  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }

  /* ---- seções: reduzir padding vertical ---- */
  .reposicionamento { padding: 72px 0 100px; }
  .entrega,
  .para-quem,
  .processo,
  .portfolio,
  .diferenciais,
  .sobre,
  .depoimentos { padding: 80px 0 100px; }
  .cta-final  { padding: 80px 0 100px; }

  /* ---- hero ---- */
  .hero__inner { padding: 56px 20px 100px; gap: 40px; }
  .hero__photo,
  .hero__photo-placeholder {
    width: calc(100vw - 48px);
    max-width: 320px;
    height: 400px;
    border-radius: 40px;
  }

  /* badges flutuantes: ocultar para evitar overflow horizontal */
  .hero__float { display: none; }

  .hero__ctas { justify-content: center; flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__stats { gap: 16px; }

  /* ---- tipografia ---- */
  .section-title { font-size: clamp(28px, 7.5vw, 38px); }
  .section-sub   { font-size: 14px; }
  .section-head  { margin-bottom: 40px; }

  /* ---- repo ---- */
  .repo__quote { flex-direction: column; gap: 16px; }

  /* ---- grids 1 coluna ---- */
  .entrega__grid,
  .diferenciais__grid,
  .depoimentos__grid { grid-template-columns: 1fr; }
  .para-quem__grid   { grid-template-columns: 1fr; }
  .portfolio__grid   { grid-template-columns: 1fr; }

  /* ---- portfolio imagens ---- */
  .portfolio__item img { height: 260px; }

  /* ---- sobre ---- */
  .sobre__content { padding: 40px 24px; }
  .sobre__links   { flex-direction: column; }

  /* ---- footer ---- */
  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }

  /* ---- cta final ---- */
  .cta-final__btns  { flex-direction: column; align-items: center; }
  .cta-final__btns .btn { width: 100%; justify-content: center; }

  /* ---- depoimentos ---- */
  .depoimentos__social-proof { border-radius: 24px; flex-direction: column; gap: 16px; }
  .social-proof__sep { width: 40px; height: 1px; }

  /* ---- lightbox ---- */
  .lightbox__img { max-width: 96vw; max-height: 80vh; }
  .lightbox__close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 1.6rem; }
}

/* --- LIGHTBOX --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  transform: scale(0.92);
  transition: transform 0.3s ease;
}
.lightbox.active .lightbox__img {
  transform: scale(1);
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox__close:hover {
  background: rgba(255,255,255,0.22);
}

/* portfolio items get a pointer + zoom hint */
.portfolio__item {
  cursor: zoom-in;
}
