/* ============================================
   CARLOS MENDES ADVOCACIA – DIREITO BANCÁRIO
   CSS Principal – Moderno & Responsivo
   ============================================ */

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

:root {
  /* Cores principais */
  --navy:        #0A1628;
  --navy-mid:    #0D1F3C;
  --navy-light:  #162544;
  --gold:        #C9A227;
  --gold-light:  #E2B94B;
  --gold-pale:   #FBF3DC;
  --white:       #FFFFFF;
  --off-white:   #F8F9FB;
  --text-dark:   #1A1A2E;
  --text-mid:    #4A5568;
  --text-light:  #718096;
  --border:      #E2E8F0;
  --success:     #22C55E;

  /* Tipografia */
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;

  /* Espaçamentos */
  --section-py:  6rem;
  --container:   1200px;
  --radius:      12px;
  --radius-lg:   20px;

  /* Sombras */
  --shadow-sm:   0 2px 8px rgba(0,0,0,.06);
  --shadow-md:   0 8px 24px rgba(0,0,0,.10);
  --shadow-lg:   0 20px 50px rgba(0,0,0,.14);
  --shadow-gold: 0 8px 30px rgba(201,162,39,.25);

  /* Transições */
  --trans: .3s ease;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- SECTIONS ---------- */
.section { padding: var(--section-py) 0; }

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section__eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

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

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

.section__desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
}

.section__desc--light { color: rgba(255,255,255,.75); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--trans);
  white-space: nowrap;
}

.btn--lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn--sm { padding: .5rem 1.25rem; font-size: .85rem; }
.btn--full { width: 100%; justify-content: center; }

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(201,162,39,.35);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn--whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  transform: translateY(-2px);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--trans);
}

.navbar.scrolled {
  background: rgba(10,22,40,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: .6rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

.logo-initials {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(201,162,39,.3);
}

.logo-text { line-height: 1.2; }
.logo-text strong { display: block; font-size: .95rem; font-weight: 700; }
.logo-text small { font-size: .72rem; color: rgba(255,255,255,.6); letter-spacing: .05em; }

/* Nav links */
.nav__list {
  display: flex;
  gap: .25rem;
}

.nav__link {
  color: rgba(255,255,255,.8);
  font-size: .875rem;
  font-weight: 500;
  padding: .5rem .875rem;
  border-radius: 6px;
  transition: all var(--trans);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--trans);
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
}
.nav__link:hover::after,
.nav__link.active::after { transform: translateX(-50%) scaleX(1); }

/* Actions */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  border-radius: 6px;
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--trans);
}

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

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

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1600&q=80');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,22,40,.92) 0%,
    rgba(13,31,60,.85) 50%,
    rgba(10,22,40,.80) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 8rem;
  padding-bottom: 5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(201,162,39,.15);
  border: 1px solid rgba(201,162,39,.35);
  color: var(--gold-light);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .45rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.5rem;
  max-width: 820px;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem 3rem;
}

.stat { text-align: center; }

.stat__number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.stat__plus { font-size: 1.75rem; font-weight: 700; color: var(--gold-light); }

.stat__label {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .05em;
  margin-top: .35rem;
}

.stat__divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.2);
}

.hero__scroll-btn {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .8rem;
  animation: bounce 2s ease-in-out infinite;
  transition: background var(--trans);
  z-index: 1;
}

.hero__scroll-btn:hover { background: rgba(201,162,39,.3); }

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

/* ============================================
   SOBRE
   ============================================ */
.sobre { background: var(--white); }

.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: center;
}

.sobre__image-wrap {
  position: relative;
}

.sobre__image-bg {
  position: absolute;
  top: -24px; left: -24px;
  right: 24px; bottom: -24px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-lg);
  z-index: 0;
}

.sobre__image-card {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.sobre__image-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .5s ease;
}

.sobre__image-card:hover img { transform: scale(1.03); }

.sobre__experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: 2;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.badge__number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.badge__text {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.sobre__content { padding: 1rem 0; }

.sobre__subtitle {
  font-size: .875rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.sobre__text {
  color: var(--text-mid);
  margin-bottom: 1.25rem;
  font-size: .975rem;
  line-height: 1.85;
}

.sobre__credentials {
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.sobre__credentials li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: var(--text-mid);
}

.sobre__credentials li i {
  color: var(--gold);
  width: 20px;
  flex-shrink: 0;
}

/* Foto extra na seção sobre – card flutuante */
.sobre__extra-photo {
  position: absolute;
  bottom: 40px;
  left: -24px;
  z-index: 3;
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
  transition: transform var(--trans);
}

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

.sobre__image-wrap:hover .sobre__extra-photo {
  transform: scale(1.06) translateY(-4px);
}

@media (max-width: 768px) {
  .sobre__extra-photo {
    width: 90px;
    height: 90px;
    left: -10px;
    bottom: 30px;
  }
}

/* ============================================
   SERVIÇOS
   ============================================ */
.servicos { background: var(--off-white); }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans);
}

.service-card:hover { 
  transform: translateY(-6px); 
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,162,39,.2);
}

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

.service-card--featured {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: rgba(201,162,39,.2);
  color: var(--white);
}

.service-card--featured::before { transform: scaleX(1); }

.service-card--featured .service-card__title { color: var(--white); }
.service-card--featured .service-card__text { color: rgba(255,255,255,.75); }
.service-card--featured .service-card__list li { color: rgba(255,255,255,.8); }
.service-card--featured .service-card__list li i { color: var(--gold-light); }
.service-card--featured .service-card__cta { color: var(--gold-light); }

.service-card__badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 50px;
}

.service-card__icon {
  width: 56px; height: 56px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  color: var(--gold);
  transition: all var(--trans);
  flex-shrink: 0;
}

.service-card--featured .service-card__icon {
  background: rgba(201,162,39,.15);
  color: var(--gold-light);
}

.service-card:hover .service-card__icon {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.08);
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem;
  line-height: 1.3;
}

.service-card__text {
  color: var(--text-mid);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
}

.service-card__list {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.service-card__list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  color: var(--text-mid);
}

.service-card__list li i {
  color: var(--gold);
  font-size: .75rem;
  flex-shrink: 0;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--gold);
  font-size: .875rem;
  font-weight: 600;
  transition: gap var(--trans);
  margin-top: auto;
}

.service-card__cta:hover { gap: .75rem; }

/* ============================================
   PROCESSO
   ============================================ */
.processo { background: var(--white); }

.processo__steps {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  text-align: center;
  padding: 2rem 1rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--trans);
  position: relative;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,162,39,.25);
}

.step__number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201,162,39,.15);
  line-height: 1;
  position: absolute;
  top: 1rem; right: 1.25rem;
}

.step__icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--gold-light);
  box-shadow: var(--shadow-md);
}

.step__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .6rem;
}

.step__text {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.step__connector {
  color: var(--gold);
  font-size: 1.2rem;
  padding-top: 3rem;
  opacity: .6;
  flex-shrink: 0;
}

/* ============================================
   DIFERENCIAIS
   ============================================ */
.diferenciais {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

.diferenciais::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,.08) 0%, transparent 70%);
  pointer-events: none;
}

.diferenciais::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.diferencial-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--trans);
  text-align: center;
}

.diferencial-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(201,162,39,.3);
  transform: translateY(-4px);
}

.diferencial-card__icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(201,162,39,.2), rgba(226,185,75,.1));
  border: 1px solid rgba(201,162,39,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--gold-light);
  transition: all var(--trans);
}

.diferencial-card:hover .diferencial-card__icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  border-color: transparent;
}

.diferencial-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: .75rem;
}

.diferencial-card p {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
}

/* ============================================
   DEPOIMENTOS
   ============================================ */
.depoimentos { background: var(--off-white); overflow: hidden; }

.testimonials__slider {
  position: relative;
}

.testimonials__track {
  display: flex;
  gap: 1.5rem;
  transition: transform .5s ease;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--trans);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial-card__rating {
  color: var(--gold);
  font-size: .9rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: .2rem;
}

.testimonial-card__text {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-card__text::before {
  content: '"';
  position: absolute;
  top: -12px; left: -8px;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold-pale);
  line-height: 1;
  z-index: 0;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .875rem;
}

.author__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold-light);
  flex-shrink: 0;
}

.author__info strong {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
}

.author__info span {
  font-size: .8rem;
  color: var(--text-light);
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonials__btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  font-size: .875rem;
  cursor: pointer;
  transition: all var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials__btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.testimonials__dots {
  display: flex;
  gap: .5rem;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--trans);
}

.dot.active {
  background: var(--navy);
  width: 24px;
  border-radius: 4px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  padding: 4rem 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner__content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: .5rem;
}

.cta-banner__content p {
  color: rgba(10,22,40,.75);
  font-size: 1rem;
  max-width: 520px;
}

.cta-banner__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cta-banner .btn--primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(10,22,40,.25);
}

.cta-banner .btn--primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
}

.cta-banner .btn--outline-light {
  color: var(--navy);
  border-color: var(--navy);
}

.cta-banner .btn--outline-light:hover { background: rgba(10,22,40,.1); }

/* ============================================
   CONTATO
   ============================================ */
.contato { background: var(--white); }

.contato__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: start;
}

.contato__intro {
  color: var(--text-mid);
  margin-bottom: 2rem;
  font-size: .975rem;
  line-height: 1.8;
}

.contato__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contato__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contato__item-icon {
  width: 44px; height: 44px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}

.contato__item strong {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .15rem;
}

.contato__item a,
.contato__item span {
  font-size: .9rem;
  color: var(--text-mid);
  transition: color var(--trans);
}

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

.contato__social {
  display: flex;
  gap: .75rem;
}

.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 1rem;
  transition: all var(--trans);
}

.social-link:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.social-link--whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
}

/* Contact Form */
.contato__form-wrap {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-form__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .35rem;
}

.contact-form__subtitle {
  font-size: .875rem;
  color: var(--text-light);
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
  letter-spacing: .03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,.12);
}

.form-group input.error,
.form-group textarea.error { border-color: #ef4444; }

.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; cursor: pointer; }

.form-error {
  font-size: .78rem;
  color: #ef4444;
  margin-top: .35rem;
  min-height: 1em;
}

.form-success {
  display: none;
  align-items: center;
  gap: .75rem;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #15803d;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: .9rem;
  font-weight: 500;
  margin-top: 1rem;
}

.form-success.show { display: flex; }
.form-success i { font-size: 1.25rem; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding-top: 5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__logo { margin-bottom: 1.25rem; }
.footer__logo .logo-text small { color: rgba(255,255,255,.45); }

.footer__desc {
  font-size: .875rem;
  line-height: 1.8;
  margin-bottom: .75rem;
  color: rgba(255,255,255,.55);
}

.footer__oab {
  font-size: .78rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .08em;
}

.footer__nav-title {
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

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

.footer__nav ul a,
.footer__contact ul li {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--trans);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.footer__nav ul a:hover { color: var(--gold-light); }

.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.footer__contact ul li i {
  color: var(--gold);
  width: 16px;
  flex-shrink: 0;
}

.footer__bottom {
  padding: 1.5rem 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

.footer__disclaimer {
  font-style: italic;
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: all var(--trans);
  animation: pulseWhatsapp 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,.6);
  animation: none;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 68px;
  top: 50%; transform: translateY(-50%);
  background: var(--navy);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  padding: .4rem .875rem;
  border-radius: 50px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans);
}

.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  right: -5px; top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--navy);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }

@keyframes pulseWhatsapp {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.45); }
  50%       { box-shadow: 0 6px 32px rgba(37,211,102,.7), 0 0 0 12px rgba(37,211,102,.08); }
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 998;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-size: .875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--trans);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS / SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================
   RESPONSIVE – TABLET (≤ 1024px)
   ============================================ */
@media (max-width: 1024px) {
  :root { --section-py: 5rem; }

  .sobre__grid { grid-template-columns: 1fr; gap: 3rem; }
  .sobre__image-wrap { max-width: 420px; margin: 0 auto; }
  .sobre__experience-badge { right: 0; bottom: -14px; }

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

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

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ============================================
   RESPONSIVE – MOBILE (≤ 768px)
   ============================================ */
@media (max-width: 768px) {
  :root { --section-py: 4rem; }

  /* Navbar */
  .navbar__nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--navy);
    padding: 5rem 2rem 2rem;
    transition: right var(--trans);
    box-shadow: -10px 0 30px rgba(0,0,0,.2);
    z-index: 999;
    overflow-y: auto;
  }

  .navbar__nav.open { right: 0; }

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

  .nav__link {
    font-size: 1rem;
    padding: .875rem 1rem;
    color: rgba(255,255,255,.8);
    border-radius: 8px;
    display: block;
  }

  .nav__link:hover, .nav__link.active {
    background: rgba(255,255,255,.06);
    color: var(--white);
  }

  .nav__link::after { display: none; }

  .hamburger { display: flex; }
  .navbar__actions .btn--whatsapp span { display: none; }
  .navbar__actions .btn--whatsapp { padding: .65rem .875rem; }

  /* Hero */
  .hero__stats {
    padding: 1.25rem 1.5rem;
    gap: 1.5rem;
  }
  .stat__number { font-size: 2rem; }
  .stat__divider { height: 36px; }

  /* Sobre */
  .sobre__image-wrap { max-width: 320px; }

  /* Serviços */
  .servicos__grid { grid-template-columns: 1fr; }

  /* Processo */
  .processo__steps { flex-direction: column; align-items: center; }
  .step__connector { transform: rotate(90deg); padding: 0 1rem; }
  .step { max-width: 320px; }

  /* Diferenciais */
  .diferenciais__grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonial-card { flex: 0 0 100%; }

  /* CTA Banner */
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__actions { justify-content: center; }

  /* Contato */
  .contato__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }

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

  /* Floating buttons */
  .whatsapp-float { bottom: 1.5rem; right: 1.5rem; width: 52px; height: 52px; font-size: 1.4rem; }
  .back-to-top { bottom: 5rem; right: 1.5rem; }
}

/* ============================================
   RESPONSIVE – SMALL MOBILE (≤ 480px)
   ============================================ */
@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .hero__ctas .btn { justify-content: center; }
  .hero__stats { gap: 1rem; padding: 1rem; }
  .stat__number { font-size: 1.75rem; }
  .stat__divider { height: 28px; }
  .contato__form-wrap { padding: 1.5rem; }
}

/* ============================================
   MENU OVERLAY
   ============================================ */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 998;
  backdrop-filter: blur(2px);
}

.menu-overlay.active { display: block; }
