/* =============================================
   GUSTAVO D'ADDAZIO ADVOCACIA
   Design System — Boutique Jurídico
   ============================================= */

:root {
  --gold:       #B8976A;
  --gold-light: #D4B483;
  --gold-dark:  #9A7A50;
  --black:      #0A0A0A;
  --dark:       #141414;
  --dark-2:     #1C1C1C;
  --gray-900:   #1E1E1E;
  --gray-700:   #3A3A3A;
  --gray-500:   #6B6B6B;
  --gray-300:   #B0B0B0;
  --gray-100:   #F0EDE8;
  --cream:      #FAF8F5;
  --white:      #FFFFFF;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', -apple-system, sans-serif;

  --nav-h:   76px;
  --radius:  2px;
  --trans:   0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.hide-mobile { display: inline; }

/* ===== TIPOGRAFIA GLOBAL ===== */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-eyebrow--light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-dark);
}

.section-desc {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 540px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--trans);
  text-decoration: none;
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

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

.btn--dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn--dark:hover {
  background: var(--gray-900);
}

.btn--full { width: 100%; justify-content: center; }

/* ===== NAVEGAÇÃO ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,151,106,0.15);
  transition: background var(--trans);
}

.nav.scrolled {
  background: rgba(10,10,10,0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  overflow: hidden;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* O PNG é quadrado e o texto ocupa só a faixa central (42,7% a 58,0%
   da altura). Ampliamos a imagem e cortamos com overflow para que essa
   faixa preencha a barra. max-width:none anula a regra global de img,
   que senão espremeria o logo em telas estreitas. */
.nav__logo img {
  width: 280px;
  height: 280px;
  max-width: none;
  margin-top: -102px;
  margin-bottom: -102px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--trans);
}
.nav__link:hover { color: var(--gold-light); }

.nav__link--cta {
  color: var(--gold);
  border: 1px solid rgba(184,151,106,0.4);
  padding: 8px 20px;
}
.nav__link--cta:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: all var(--trans);
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--black) 0%, #0D0D0D 40%, #1A1208 100%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 75% 50%, rgba(184,151,106,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(184,151,106,0.04) 0%, transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 600px;
  padding: 80px 40px 80px 10%;
}

.hero__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 28px;
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
}

.hero__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 48px;
  max-width: 480px;
}

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

.hero__photo {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  z-index: 1;
}

.hero__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--black) 0%, transparent 30%);
  z-index: 1;
}

.hero__photo img,
.hero__photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.7;
  filter: grayscale(20%);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 10%;
  z-index: 3;
}

.hero__scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== CREDENTIALS ===== */
.credentials {
  background: var(--black);
  border-top: 1px solid rgba(184,151,106,0.2);
  border-bottom: 1px solid rgba(184,151,106,0.2);
  padding: 28px 0;
}

.credentials__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.credentials__item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.credentials__number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 6px;
}

.credentials__label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.credentials__divider {
  width: 1px;
  height: 40px;
  background: rgba(184,151,106,0.25);
  flex-shrink: 0;
}

/* ===== SOBRE ===== */
.sobre {
  padding: 120px 0;
  background: var(--cream);
}

.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sobre__header {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.sobre__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 1000px;
  margin: 0 auto;
}

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

.gold-word {
  color: var(--gold);
  font-style: italic;
}

/* ===== ÁTOMOS (sistema interativo) ===== */
.atomos {
  --stage-h: 640px;
  --nucleus: 116px;
  margin-top: 96px;
  padding-top: 72px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.atomos__head { text-align: center; margin-bottom: 8px; }

.atomos__intro {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--dark);
}

.atomos__stage {
  position: relative;
  width: 100%;
  height: var(--stage-h);
  overflow: hidden;
  contain: layout paint;
  touch-action: manipulation;
}

/* --- sistema (núcleo + elétrons) --- */
.atom-sys {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  will-change: transform;
}

.atom-sys__orbits {
  position: absolute;
  left: 0;
  top: 0;
  width: 460px;
  height: 460px;
  transform: translate(-50%, -50%);
  overflow: visible;
  pointer-events: none;
}

.atom-sys__orbits .orbit-path {
  fill: none;
  stroke: rgba(184,151,106,0.42);
  stroke-width: 1;
}

.atom-sys__orbits .orbit-path--ghost { stroke: rgba(184,151,106,0.16); }

.atom-sys__orbits .orbit-link {
  stroke: rgba(184,151,106,0.28);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}

.atom-nucleus {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--nucleus);
  height: var(--nucleus);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--gray-900);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  will-change: transform;
  box-shadow: 0 0 0 1px rgba(184,151,106,0.45), 0 0 0 10px rgba(184,151,106,0.10), 0 14px 40px rgba(0,0,0,0.22);
  transition: box-shadow 0.4s ease, background 0.4s ease;
}

.atom-sys.is-active .atom-nucleus {
  background: var(--dark);
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 14px rgba(184,151,106,0.16), 0 20px 50px rgba(0,0,0,0.28);
}

.atom-nucleus::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.16), transparent 60%);
  pointer-events: none;
}

.atom-el {
  position: absolute;
  left: 0;
  top: 0;
  width: 104px;
  background: var(--white);
  border: 1px solid rgba(184,151,106,0.5);
  border-radius: 20px;
  padding: 6px 9px;
  font-size: 0.6rem;
  line-height: 1.28;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  cursor: default;
  will-change: transform;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.atom-el::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.atom-el.is-hot {
  background: var(--dark);
  color: var(--white);
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(0,0,0,0.22);
}

/* --- controles --- */
.atomos__controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.atomo-tab {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  background: transparent;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.atomo-tab:hover { border-color: var(--gold); color: var(--dark); }

.atomo-tab.is-active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.atomos__hint {
  text-align: center;
  margin-top: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400, #9A9A9A);
}

/* --- fallback sem JS / leitores de tela --- */
.atomos__fallback {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.atomos__fallback h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.atomos__fallback ul { list-style: none; }

.atomos__fallback li {
  font-size: 0.85rem;
  color: var(--gray-500);
  padding: 4px 0 4px 16px;
  position: relative;
}

.atomos__fallback li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* quando o JS assume, o fallback vira conteúdo apenas para leitores de tela */
.atomos.is-live .atomos__fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.atomos:not(.is-live) .atomos__stage,
.atomos:not(.is-live) .atomos__controls,
.atomos:not(.is-live) .atomos__hint { display: none; }

@media (prefers-reduced-motion: reduce) {
  .atomos__hint { display: none; }
}

.sobre__lead {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 24px;
}

.sobre__body {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

/* ===== ÁREAS DE ATUAÇÃO ===== */
.atuacao {
  padding: 120px 0;
  background: var(--white);
}

.atuacao__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.area-card {
  padding: 48px 40px;
  background: var(--cream);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.area-card:hover::before { transform: scaleX(1); }
.area-card:hover { background: var(--white); box-shadow: 0 8px 40px rgba(0,0,0,0.08); }

.area-card--featured {
  background: var(--black);
  border-color: var(--black);
}

.area-card--featured::before { background: var(--gold); }
.area-card--featured:hover { background: var(--gray-900); }

.area-card__number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(184,151,106,0.2);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.area-card--featured .area-card__number { color: rgba(184,151,106,0.15); }

.area-card__icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 20px;
}

.area-card__icon svg { width: 100%; height: 100%; }

.area-card__title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.2;
}

.area-card--featured .area-card__title { color: var(--white); }

.area-card__desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}

.area-card--featured .area-card__desc { color: rgba(255,255,255,0.55); }

.area-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.area-card__list li {
  font-size: 0.85rem;
  color: var(--gray-700);
  padding-left: 16px;
  position: relative;
}

.area-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1px;
  background: var(--gold);
}

.area-card--featured .area-card__list li { color: rgba(255,255,255,0.6); }

/* ===== DR. GUSTAVO ===== */
.gustavo {
  padding: 120px 0;
  background: var(--cream);
}

.gustavo__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
}

.gustavo__lead {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--dark);
  margin-bottom: 20px;
}

.gustavo__body {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 40px;
  line-height: 1.8;
}

.gustavo__formacao {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 32px;
  margin-bottom: 32px;
}

.gustavo__formacao-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.gustavo__formacao-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gustavo__formacao-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.formacao-inst {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  min-width: 60px;
  letter-spacing: 0.05em;
}

.formacao-curso {
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.gustavo__oab {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(184,151,106,0.4);
  padding: 10px 20px;
}

.gustavo__oab span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.gustavo__photo-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.gustavo__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.gustavo__photo-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(184,151,106,0.1), transparent);
  pointer-events: none;
}

/* ===== EQUIPE ===== */
.equipe {
  padding: 120px 0;
  background: var(--cream);
}

.equipe__destaque {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
}

.equipe__destaque-photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.equipe__destaque-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.equipe__destaque-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 25%;
  background: linear-gradient(to top, rgba(184,151,106,0.08), transparent);
  pointer-events: none;
}

.equipe__nome {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 20px;
}

.equipe__nome em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-dark);
}

.equipe__lead {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--dark);
  margin-bottom: 20px;
}

.equipe__body {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 32px;
  line-height: 1.8;
}

/* ===== ABRADEP ===== */
.abradep {
  padding: 100px 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.abradep::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,151,106,0.07) 0%, transparent 70%);
}

.abradep__inner {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 64px;
  align-items: start;
}

.abradep__icon {
  width: 80px;
  height: 80px;
  color: var(--gold);
  opacity: 0.7;
  margin-top: 8px;
}

.abradep__icon svg { width: 100%; height: 100%; }

.abradep__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.2;
}

.abradep__title em {
  font-style: italic;
  color: var(--gold-light);
}

.abradep__text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  margin-bottom: 16px;
  max-width: 680px;
}

.abradep__destaque {
  display: inline-flex;
  align-items: center;
  border-left: 2px solid var(--gold);
  padding: 12px 20px;
  margin-top: 24px;
}

.abradep__destaque span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== DIFERENCIAIS ===== */
.diferenciais {
  padding: 120px 0;
  background: var(--white);
}

.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 16px;
}

.diferencial {
  padding: 40px 32px;
  background: var(--cream);
  transition: background var(--trans);
}

.diferencial:hover { background: var(--white); }

.diferencial__line {
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 24px;
}

.diferencial__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 14px;
  line-height: 1.3;
}

.diferencial__desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* ===== CONTATO ===== */
/* ===== E-BOOKS, MATERIAIS E CLIENT ALERT ===== */
.materiais {
  padding: 120px 0;
  background: var(--gray-100);
}

.materiais__filtros {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.mat-filtro {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  background: transparent;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: all var(--trans);
}

.mat-filtro:hover { border-color: var(--gold); color: var(--dark); }

.mat-filtro.is-active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

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

.material-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  padding: 32px 30px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--trans), transform var(--trans), border-color var(--trans);
}

.material-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.material-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.09);
  border-color: rgba(184,151,106,0.35);
}

.material-card:hover::before { transform: scaleX(1); }

.material-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.material-card__tag {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid currentColor;
  white-space: nowrap;
}

.material-card__tag--ebook    { color: var(--gold-dark); }
.material-card__tag--alert    { color: #A2543C; }
.material-card__tag--material { color: var(--gray-700); }

.material-card__data {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-300);
  white-space: nowrap;
}

.material-card__icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
  margin-bottom: 18px;
}

.material-card__icon svg { width: 100%; height: 100%; }

.material-card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 12px;
}

.material-card__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--gray-500);
  margin-bottom: 26px;
}

.material-card__paginas {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-300);
  white-space: nowrap;
}

/* empurra o link para a base do card, alinhando todos os botões */
.material-card__link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
  transition: color var(--trans), gap var(--trans);
}

.material-card__link svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex-shrink: 0;
}

.material-card__link:hover { color: var(--gold-dark); gap: 12px; }

.materiais__vazio {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-500);
  padding: 48px 0;
}

.contato {
  padding: 120px 0;
  background: var(--cream);
}

.contato__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contato__desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 380px;
}

.contato__dados {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.contato__dado {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contato__dado-icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.contato__dado-icon svg { width: 100%; height: 100%; }

.contato__dado-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 4px;
}

.contato__dado-value {
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.5;
  transition: color var(--trans);
}

a.contato__dado-value:hover { color: var(--gold); }

/* Cidades de atuação com pin geográfico */
.cidade {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cidade + .cidade { margin-top: 4px; }

.cidade__pin {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--gold);
}

.footer__cidades { display: block; }
.footer__cidades .cidade__pin { color: var(--gold); }

.contato__social {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px; height: 40px;
  border: 1px solid rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500);
  transition: all var(--trans);
}

.social-link svg { width: 18px; height: 18px; }
.social-link:hover { border-color: var(--gold); color: var(--gold); }

/* Formulário */
.contato__form {
  background: var(--white);
  padding: 48px 40px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--dark);
  background: var(--cream);
  border: 1px solid rgba(0,0,0,0.1);
  outline: none;
  transition: border-color var(--trans);
  appearance: none;
}

.form-input:focus { border-color: var(--gold); background: var(--white); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-select { cursor: pointer; }

.form-disclaimer {
  font-size: 11px;
  color: var(--gray-300);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}

/* Armadilha anti-spam — nunca visível para pessoas */
.form-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.form-erro {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(162,84,60,0.08);
  border-left: 2px solid #A2543C;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #8A4531;
}

.form-erro a { color: #8A4531; text-decoration: underline; }

/* Confirmação após o envio */
.form-sucesso {
  background: var(--white);
  border: 1px solid rgba(184,151,106,0.35);
  padding: 48px 40px;
  text-align: center;
}

.form-sucesso__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  color: var(--gold);
}

.form-sucesso__icon svg { width: 100%; height: 100%; }

.form-sucesso__titulo {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 12px;
}

.form-sucesso__texto {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: 28px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  padding-top: 80px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__brand {
  overflow: hidden;
}

.footer__logo {
  width: 260px;
  height: 260px;
  margin-top: -88px;
  margin-bottom: calc(-88px + 12px);
  filter: brightness(0) invert(1);
  opacity: 0.85;
  display: block;
}

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}

.footer__heading {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer__links ul { display: flex; flex-direction: column; gap: 10px; }

.footer__links a,
.footer__contact a,
.footer__contact p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--trans);
  line-height: 1.6;
}

.footer__links a:hover,
.footer__contact a:hover { color: var(--gold-light); }

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: all var(--trans);
}

.footer__social a svg { width: 16px; height: 16px; }
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }

.footer__bottom {
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

.footer__disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.18);
  max-width: 640px;
  line-height: 1.6;
}

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: all var(--trans);
}

.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.45); }

/* =============================================
   RESPONSIVO
   ============================================= */

@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .hero__content { padding-left: 32px; }
  .hero__photo { width: 45%; }
  .diferenciais__grid { grid-template-columns: repeat(2, 1fr); }
  .materiais__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 72px; }
  .hide-mobile { display: none; }
  .container { padding: 0 24px; }

  /* Nav mobile */
  .nav__inner { padding: 0 24px; }
  /* Barra um pouco mais alta e logo redimensionado: antes sobravam só
     ~10px acima de "GUSTAVO D'ADDAZIO" e a linha sumia no celular.
     Agora são ~18px de folga, sem encolher o texto. */
  .nav__logo img {
    width: 250px;
    height: 250px;
    margin-top: -89px;
    margin-bottom: -89px;
  }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    padding: 32px 24px 40px;
    gap: 28px;
    transform: translateY(-110%);
    transition: transform var(--trans);
    border-bottom: 1px solid rgba(184,151,106,0.2);
  }
  .nav__menu.open { transform: translateY(0); }
  .nav__link { font-size: 13px; }

  /* Hero */
  .hero {
    min-height: 100svh;
    align-items: stretch;   /* conteúdo ocupa toda a altura p/ ancorar o botão embaixo */
  }
  .hero__content {
    display: flex;
    flex-direction: column;
    padding: 40px 24px 36px;
    max-width: 100%;
  }
  /* texto compacto para não invadir a faixa do vídeo */
  .hero__title { margin-bottom: 20px; }
  .hero__subtitle { font-size: 0.94rem; line-height: 1.6; margin-bottom: 0; }
  /* empurra o botão para a base do hero, longe do rosto no vídeo */
  .hero__actions {
    margin-top: auto;
    padding-top: 32px;
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn { width: 100%; text-align: center; }
  /* no celular fica só o CTA principal */
  .hero__actions .btn--outline { display: none; }

  .hero__photo {
    width: 100%; height: 50%;
    top: auto; bottom: 0;
    align-items: flex-end;
  }
  .hero__photo::before {
    background: linear-gradient(to bottom, var(--black) 0%, transparent 40%);
  }
  .hero__photo img { object-position: center 20%; }
  .hero__scroll { display: none; }

  /* Credentials */
  .credentials__inner { flex-wrap: wrap; }
  .credentials__item { flex: calc(50% - 1px); padding: 12px; }
  .credentials__divider { display: none; }

  /* Grids */
  .atuacao__grid,
  .equipe__destaque,
  .abradep__inner,
  .contato__grid { grid-template-columns: 1fr; gap: 40px; }

  .sobre__cols { grid-template-columns: 1fr; gap: 0; }
  .sobre__header { margin-bottom: 40px; }

  .atomos {
    margin-top: 64px;
    padding-top: 56px;
    --stage-h: 520px;
    --nucleus: 96px;
  }
  .atomos__intro { font-size: 1.2rem; }
  .atomos__fallback { grid-template-columns: 1fr; gap: 24px; }
  .atom-el { width: 88px; font-size: 0.56rem; padding: 5px 7px; border-radius: 16px; }
  .atomo-tab { font-size: 0.62rem; padding: 8px 14px; letter-spacing: 0.1em; }

  .equipe__destaque-photo { max-height: 420px; }

  .diferenciais__grid { grid-template-columns: 1fr; }
  .materiais__grid { grid-template-columns: 1fr; }
  .materiais { padding: 80px 0; }
  .mat-filtro { font-size: 0.62rem; padding: 8px 14px; letter-spacing: 0.1em; }
  .material-card { padding: 28px 24px; }

  .footer__top { grid-template-columns: 1fr; gap: 32px; }

  .atuacao { padding: 80px 0; }
  .sobre, .gustavo, .diferenciais, .contato { padding: 80px 0; }
  .abradep { padding: 72px 0; }

  .contato__form { padding: 32px 24px; }

  .hero__actions { flex-direction: column; }
  .btn { justify-content: center; text-align: center; }

  .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 22px; height: 22px; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.8rem; }
  .hero__title { font-size: 2.4rem; }
  .area-card { padding: 36px 28px; }
  .abradep__inner { grid-template-columns: 1fr; gap: 32px; }

  .atomos { --stage-h: 400px; --nucleus: 84px; }
  .atomos__intro { font-size: 1.05rem; }
  .atom-nucleus { font-size: 0.8rem; }
}

/* Celulares de tela curta: comprime o texto do hero para que ele
   não avance sobre o rosto no vídeo. */
@media (max-width: 768px) and (max-height: 700px) {
  .hero__content { padding-top: 24px; }
  .hero__eyebrow { margin-bottom: 18px; }
  .hero__title { font-size: 1.95rem; margin-bottom: 16px; }
  .hero__subtitle { font-size: 0.88rem; line-height: 1.55; }
  .hero__photo { height: 42%; }
  .hero__actions { padding-top: 20px; }
}
