/* ============================================================
   DRRamos — Intermediação de Escritórios Contábeis
   style.css — Design System + Layout completo
   ============================================================ */

/* ── VARIABLES ──────────────────────────────────────────── */
:root {
  --blue:          #0059f7;
  --blue-dark:     #0044cc;
  --blue-deeper:   #0033a0;
  --blue-light:    #e8f0fe;
  --blue-ultra:    #f0f5ff;

  --dark:          #0a0e1a;
  --dark-2:        #111827;
  --text:          #1e293b;
  --text-muted:    #64748b;
  --text-light:    #94a3b8;

  --bg:            #ffffff;
  --bg-alt:        #f7f9fc;
  --border:        #e2e8f0;
  --border-light:  #f1f5f9;
  --white:         #ffffff;

  --wa-green:      #25d366;
  --yt-red:        #ff0000;

  --font-heading:  'Montserrat', sans-serif;
  --font-body:     'Inter', sans-serif;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.05);
  --shadow-md: 0 6px 20px rgba(0,0,0,.09), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg: 0 16px 40px rgba(0,0,0,.11), 0 4px 8px rgba(0,0,0,.05);
  --shadow-xl: 0 30px 60px rgba(0,0,0,.13);
  --shadow-blue: 0 8px 30px rgba(0,89,247,.25);

  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   30px;
  --radius-full: 999px;

  --transition:      .28s cubic-bezier(.4,0,.2,1);
  --transition-fast: .15s cubic-bezier(.4,0,.2,1);
  --transition-slow: .5s  cubic-bezier(.4,0,.2,1);

  --header-h: 112px;
  --container: 1180px;
  --gap: clamp(2rem, 5vw, 4rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
iframe { display: block; }

/* ── CONTAINER ──────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ── SECTION SCAFFOLD ────────────────────────────────────── */
.section {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

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

.section__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: .35em 1em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section__label--white {
  color: var(--white);
  background: rgba(255,255,255,.18);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  max-width: 700px;
  margin-inline: auto;
}

.section__title--white { color: var(--white); }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
p:last-child { margin-bottom: 0; }

/* ── VIDEO WRAPPER (responsive 16:9) ────────────────────── */
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow-lg);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── TWO-COLUMN GRID ─────────────────────────────────────── */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}

.two-col-grid__media--double {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.two-col-grid__text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.two-col-grid__text .btn { margin-top: .8rem; }

/* ── IMAGE PLACEHOLDER FALLBACK ─────────────────────────── */
.img-placeholder {
  background: linear-gradient(135deg, var(--blue-light) 0%, #dbeafe 100%);
  min-height: 300px;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
  border-radius: var(--radius-full);
  padding: .85em 2em;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 10px 36px rgba(0,89,247,.35);
  transform: translateY(-2px);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn--hero {
  background: var(--white);
  color: var(--blue);
  font-size: 1rem;
  padding: 1em 2.4em;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
.btn--hero:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,89,247,.4);
}

.btn--white {
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--shadow-md);
}
.btn--white:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--whatsapp {
  background: var(--wa-green);
  color: var(--white);
}
.btn--whatsapp:hover {
  background: #1ebe5c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
}

.btn--sm   { font-size: .82rem; padding: .65em 1.5em; }
.btn--full { width: 100%; }

/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: box-shadow var(--transition);
}

/* backdrop-filter lives on ::before so it never creates a containing block
   that traps position:fixed children (i.e. the mobile menu overlay) */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background var(--transition);
  pointer-events: none;
  z-index: -1;
}

.header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.09);
}

.header.scrolled::before {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

/* Menu */
.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(.5rem, 1.4vw, 1.5rem);
 
}

.nav__link {
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav__link:hover { color: var(--white); border-color: rgba(255,255,255,.6); }
.header.scrolled .nav__link       { color: var(--text-muted); }
.header.scrolled .nav__link:hover { color: var(--blue); border-color: var(--blue); }

/* Actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav__cta { background: var(--blue); color: var(--white); box-shadow: var(--shadow-blue); }
.nav__cta:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  padding: 4px;
  transition: background var(--transition-fast);
}
.nav__toggle:hover { background: rgba(255,255,255,.1); }
.header.scrolled .nav__toggle:hover { background: var(--bg-alt); }

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}
.header.scrolled .nav__toggle span { background: var(--dark); }

.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── DROPDOWN MENU ──────────────────────────────────────── */
.nav__has-dropdown { position: relative; }

.nav__drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: none;
  border: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav__drop-trigger:hover { color: var(--white); border-color: rgba(255,255,255,.6); }
.header.scrolled .nav__drop-trigger       { color: var(--text-muted); }
.header.scrolled .nav__drop-trigger:hover { color: var(--blue); border-color: var(--blue); }

.nav__drop-chevron {
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}
.nav__has-dropdown.open .nav__drop-chevron { transform: rotate(180deg); }

.nav__drop-menu {
  position: absolute;
  top: 100%;           /* sem gap — o padding-top cria o espaço visual */
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .8rem .4rem .4rem; /* padding-top = espaço visual acima dos itens */
  min-width: 210px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  z-index: 100;
  list-style: none;
  border: 1px solid var(--border-light);
}

/* Ponte invisível: cobre o espaço entre o trigger e o painel no desktop */
@media (min-width: 1024px) {
  .nav__has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -1rem;
    right: -1rem;
    height: 1rem;
  }
}

.nav__has-dropdown:hover .nav__drop-menu,
.nav__has-dropdown.open  .nav__drop-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__drop-link {
  display: block;
  padding: .65rem 1rem;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}
.nav__drop-link:hover { background: var(--blue-ultra); color: var(--blue); }

/* ── Mobile: dropdown inline no overlay ─────────────────── */
@media (max-width: 1023px) {
  .nav__has-dropdown { width: 100%; }

  /* Trigger igual ao estilo dos .nav__link no overlay mobile */
  .nav__menu.open .nav__drop-trigger {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 0;
    font-size: .95rem;
    color: rgba(255,255,255,.72);
    border-bottom: 1px solid rgba(255,255,255,.07);
    border-top: 2px solid transparent;
  }
  .nav__has-dropdown.open .nav__drop-trigger {
    color: var(--white);
    border-bottom: none;
  }

  .nav__has-dropdown .nav__drop-menu {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: rgba(255,255,255,.05) !important;
    border-radius: var(--radius-sm);
    padding: 0;
    display: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    min-width: unset;
    width: 100%;
    margin: 0;
  }
  .nav__has-dropdown.open .nav__drop-menu {
    display: block !important;
    padding: .25rem 0 .5rem;
    margin-left: 1rem;
    margin-bottom: .25rem;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
  }

  .nav__drop-link {
    color: rgba(255,255,255,.6);
    font-size: .88rem;
    padding: .7rem 1rem;
  }
  .nav__drop-link:hover { background: rgba(255,255,255,.08); color: var(--white); }
}

/* ── FAQ (vídeo centralizado) ────────────────────────────── */
.faq__video-wrap {
  max-width: 820px;
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #050d1f;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,8,35,.82) 0%,
    rgba(0,30,80,.58) 50%,
    rgba(0,8,35,.78) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-block: calc(var(--header-h) + 2rem) 5rem;
  width: 100%;
}

.hero__text {
  max-width: 760px;
  text-align: center;
  animation: heroFadeUp .9s cubic-bezier(.22,1,.36,1) both;
}

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

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: .4em 1.2em;
  border-radius: var(--radius-full);
  margin-bottom: 1.8rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.78);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 640px;
  margin-inline: auto;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-dot {
  width: 2px;
  height: 42px;
  background: rgba(255,255,255,.2);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  margin-inline: auto;
}

.hero__scroll-dot::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: rgba(255,255,255,.75);
  border-radius: 2px;
  animation: scrollAnim 2s ease infinite;
}

@keyframes scrollAnim {
  0%   { top: -50%; }
  100% { top: 150%; }
}

/* ═══════════════════════════════════════════════════════════
   SOBRE
═══════════════════════════════════════════════════════════ */
.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}

.sobre__text .section__label { display: inline-block; margin-bottom: 1rem; }

.sobre__text .section__title {
  text-align: left;
  margin-inline: 0;
  margin-bottom: 1.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.sobre__p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.2rem; }

.sobre__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.sobre__stat { display: flex; flex-direction: column; gap: .25rem; }

.sobre__stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}

.sobre__stat-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.sobre__img-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 520px;
  box-shadow: var(--shadow-xl);
  background: var(--blue-light);
}

.sobre__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.sobre__img-wrapper:hover .sobre__img { transform: scale(1.04); }

/* ═══════════════════════════════════════════════════════════
   DILSON RAMOS
═══════════════════════════════════════════════════════════ */
.dilson__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  align-items: stretch;
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.dilson__photo-col {
  overflow: hidden;
  background: var(--blue-deep);
}

.dilson__photo-large {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .6s ease;
}
.dilson__photo-col:hover .dilson__photo-large { transform: scale(1.03); }

.dilson__right {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
}

.dilson__right .video-wrap {
  max-width: 78%;
}

.dilson__header {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.dilson__name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .4rem;
}

.dilson__role { font-size: .9rem; color: rgba(255,255,255,.75); font-weight: 600; }

.dilson__curriculum { display: flex; flex-direction: column; gap: 1.1rem; }

.dilson__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: .94rem;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
}

.dilson__item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════════
   FAQ — ACCORDION
═══════════════════════════════════════════════════════════ */
.faq__accordion {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.accordion__item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.accordion__item.open {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}

.accordion__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.accordion__btn:hover { background: var(--blue-ultra); }

.accordion__btn span {
  font-family: var(--font-heading);
  font-size: .92rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
}

.accordion__chevron {
  flex-shrink: 0;
  color: var(--blue);
  transition: transform var(--transition);
}
.accordion__item.open .accordion__chevron { transform: rotate(180deg); }

.accordion__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition);
}
.accordion__item.open .accordion__body { grid-template-rows: 1fr; }

.accordion__body > div { overflow: hidden; }

.accordion__body p {
  padding: 0 1.4rem 1.3rem;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   MÍDIA
═══════════════════════════════════════════════════════════ */
.midia__contabil { margin-bottom: clamp(3rem, 6vw, 5rem); }

.midia__pub-card {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  max-width: 820px;
  margin-inline: auto;
}
.midia__pub-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.midia__pub-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: var(--blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.midia__pub-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: .3em .9em;
  border-radius: var(--radius-full);
  margin-bottom: .7rem;
}

.midia__pub-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .7rem;
}

.midia__pub-text {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

/* Gallery */
.midia__expo-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: .4rem;
}

.midia__expo-sub {
  text-align: center;
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

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

.gallery__item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--blue-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.gallery__item:hover { box-shadow: var(--shadow-lg); transform: scale(1.02); }
.gallery__item:focus { outline: 3px solid var(--blue); outline-offset: 3px; }

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery__item:hover img { transform: scale(1.08); }

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,89,247,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery__item:hover .gallery__overlay { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   CONTATO
═══════════════════════════════════════════════════════════ */
.contato {
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue) 55%, #3b82f6 100%);
  position: relative;
  overflow: hidden;
}

.contato::before,
.contato::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  pointer-events: none;
}
.contato::before { top: -40%; right: -20%; width: 600px; height: 600px; }
.contato::after  { bottom: -30%; left: -10%; width: 400px; height: 400px; }

.contato__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: var(--gap);
  align-items: start;
  position: relative;
  z-index: 1;
}

.contato__info-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.contato__info-text { color: rgba(255,255,255,.75); line-height: 1.75; margin-bottom: 2rem; }

.contato__channels { display: flex; flex-direction: column; gap: 1rem; }

.contato__channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: 1rem 1.3rem;
  transition: background var(--transition), transform var(--transition);
  color: var(--white);
}
.contato__channel:hover { background: rgba(255,255,255,.18); transform: translateX(4px); }

.contato__ch-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contato__ch-icon--wa    { background: var(--wa-green); color: var(--white); }
.contato__ch-icon--email { background: rgba(255,255,255,.2); color: var(--white); }

.contato__ch-text {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-size: .9rem;
  font-weight: 600;
}
.contato__ch-text small {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .65;
}

/* Form */
.contato__form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-xl);
}

.contato__form { display: flex; flex-direction: column; gap: 1.2rem; }

.form__group { display: flex; flex-direction: column; gap: .45rem; }

.form__label {
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: .02em;
}
.form__label span { color: var(--blue); }

.form__input,
.form__select {
  width: 100%;
  padding: .85em 1.1em;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form__input::placeholder { color: var(--text-light); }
.form__input:focus,
.form__select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,89,247,.12);
}
.form__input.error,
.form__select.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

.form__select-wrap { position: relative; }
.form__select { padding-right: 2.8em; cursor: pointer; }
.form__select-chevron {
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
}

.form__error {
  font-size: .78rem;
  color: #ef4444;
  font-weight: 600;
  display: none;
}
.form__error.visible { display: block; }

/* Submit button states */
#submitBtn { position: relative; }

.btn__label,
.btn__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
}
.btn__loading { display: none; }

#submitBtn.loading .btn__label   { display: none; }
#submitBtn.loading .btn__loading { display: flex; }

.btn__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,89,247,.25);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .6s linear infinite;
  flex-shrink: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.2rem;
}
.footer__logo-img {
  height: 92px;
  width: auto;
  object-fit: contain;
}

.footer__tagline { font-size: .88rem; color: rgba(255,255,255,.48); line-height: 1.7; margin-bottom: 1rem; }
.footer__cnpj    { font-size: .9rem; color: rgba(255,255,255,.55); font-weight: 600; letter-spacing: .04em; }
.footer__creci   { font-size: .9rem; color: rgba(255,255,255,.55); font-weight: 600; letter-spacing: .04em; margin-top: .3rem; }

.footer__col-title {
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.2rem;
}

.footer__nav { display: flex; flex-direction: column; gap: .65rem; }

.footer__link { font-size: .88rem; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer__link:hover { color: var(--white); }

.footer__contact { display: flex; flex-direction: column; gap: .8rem; }

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
  word-break: break-word;
}
.footer__contact-item svg { flex-shrink: 0; }
.footer__contact-item:hover { color: var(--white); }

.footer__wa-btn { margin-top: .5rem; font-size: .85rem; padding: .75em 1.6em; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  flex-wrap: wrap;
}
.footer__copy { font-size: .8rem; color: rgba(255,255,255,.25); margin: 0; }
.footer__dev  { font-size: .8rem; color: rgba(255,255,255,.32); margin: 0; }
.footer__dev-link { color: rgba(255,255,255,.6); font-weight: 600; transition: color var(--transition); }
.footer__dev-link:hover { color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  animation: lbFadeIn .2s ease both;
}
.lightbox[hidden] { display: none !important; }

@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  max-width: min(88vw, 960px);
  width: 100%;
}

.lightbox__img {
  max-height: 78vh;
  max-width: 100%;
  border-radius: var(--radius-md);
  object-fit: contain;
  box-shadow: var(--shadow-xl);
  animation: lbImgIn .25s ease both;
}

@keyframes lbImgIn {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox__caption {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  text-align: center;
  margin: 0;
}

.lightbox__counter {
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.35);
  letter-spacing: .08em;
}

.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition-fast);
}
.lightbox__close:hover { background: rgba(255,255,255,.2); }

.lightbox__nav {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.lightbox__nav:hover  { background: rgba(255,255,255,.22); }
.lightbox__prev:hover { transform: translateX(-3px); }
.lightbox__next:hover { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════
   FLOATING BUTTONS
═══════════════════════════════════════════════════════════ */
.floaters {
  position: fixed;
  bottom: 2rem;
  right: 1.8rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
}

.floater {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.floater:hover { transform: scale(1.12) translateY(-2px); }

.floater--yt { background: var(--yt-red);  box-shadow: 0 6px 20px rgba(255,0,0,.4); }
.floater--wa { background: var(--wa-green); box-shadow: 0 6px 20px rgba(37,211,102,.4); }
.floater--yt:hover { box-shadow: 0 10px 30px rgba(255,0,0,.5); }
.floater--wa:hover { box-shadow: 0 10px 30px rgba(37,211,102,.5); }

/* ═══════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════════════════ */
.anim {
  opacity: 0;
  transition:
    opacity  .7s cubic-bezier(.22,1,.36,1),
    transform .7s cubic-bezier(.22,1,.36,1);
}
.anim[data-anim="fade-up"]    { transform: translateY(40px); }
.anim[data-anim="fade-right"] { transform: translateX(-40px); }
.anim[data-anim="fade-left"]  { transform: translateX(40px); }

.anim.visible {
  opacity: 1;
  transform: translate(0, 0) !important;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .nav__menu  { display: none; }
  .nav__toggle { display: flex; }

  /* Fullscreen mobile nav */
  .nav__menu.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    background: rgba(10,14,26,.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2rem clamp(1rem,4vw,2rem);
    overflow-y: auto;
    animation: menuSlide .28s ease both;
    z-index: 999;
  }

  @keyframes menuSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nav__menu.open li { width: 100%; }

  .nav__menu.open .nav__link {
    display: block;
    width: 100%;
    padding: 1rem 0;
    font-size: .95rem;
    color: rgba(255,255,255,.72);
    border-bottom: 1px solid rgba(255,255,255,.07);
    border-top: none;
  }
  .nav__menu.open .nav__link:hover { color: var(--white); }

  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 767px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* Sobre: image first on mobile */
  .sobre__grid { grid-template-columns: 1fr; }
  .sobre__media { order: -1; }
  .sobre__text  { order:  0; }
  .sobre__img-wrapper { min-height: unset; max-height: 473px; }
  .sobre__stats { gap: 1.4rem; justify-content: center; }
  .sobre__stat  { align-items: center; text-align: center; }

  /* All two-col grids → single column */
  .two-col-grid { grid-template-columns: 1fr; }

  /* Vender: media is 2nd in DOM → move it first */
  .vender .two-col-grid__media { order: -1; }

  /* Avaliacao / Comprar / FAQ: media is 1st in DOM → already correct */

  /* Dilson: single column, foto já é 1ª no DOM */
  .dilson__grid         { grid-template-columns: 1fr; }
  .dilson__photo-large  { min-height: unset; height: 72vw; max-height: 420px; }
  .dilson__right .video-wrap { max-width: 100%; }

  /* Contato */
  .contato__grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery { grid-template-columns: repeat(2, 1fr); }

  /* Midia pub card */
  .midia__pub-card { flex-direction: column; align-items: flex-start; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; }

  /* Floaters */
  .floaters { bottom: 1.4rem; right: 1.2rem; }
  .floater  { width: 50px; height: 50px; }

  /* Nav CTA hidden on small screens */
  .nav__cta { display: none; }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .sobre__stats { flex-direction: column; align-items: center; gap: 1rem; padding-top: 1.5rem; }
  .hero__title { font-size: clamp(1.7rem, 9vw, 2.3rem); }
}

/* background-attachment:fixed is broken on iOS/Android — disable on touch devices */
@media (max-width: 1023px) {
  .hero { background-attachment: scroll; }
}
