@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

:root {
  --azul-escuro: #0a0a23;
  --azul-escuro2: #0a0a23;
  --dourado: #ffb300;
  --cinza-bg: #f8fafc;
  --cinza-card: #ffffff;
  --card-bg-escuro: #1a1a3a;
  --branco: #fff;
  --texto-primario: #0a0a23;
  --texto-secundario: #37474f;
  --texto-terciario: #546e7a;
  --sombra-suave: 0 4px 20px rgba(10, 10, 35, 0.08);
  --sombra-media: 0 8px 32px rgba(10, 10, 35, 0.12);
  --sombra-forte: 0 16px 48px rgba(10, 10, 35, 0.16);
  --borda-radius: 16px;
  --transicao: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --card-hover-shadow: 0 20px 60px rgba(10, 10, 35, 0.2), 0 8px 25px rgba(255, 179, 0, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--cinza-bg);
  color: var(--texto-secundario);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

/* ===== HEADER ===== */
header {
  background: var(--texto-primario);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  border-bottom: 2px solid var(--dourado);
  z-index: 1000;
  position: relative;
}
/* Realce moderno no header */
header::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(800px 120px at 50% -60px, rgba(255, 179, 0, 0.18), transparent 60%);
}

/* Glass effect and scroll state */
header {
  background: rgba(10, 10, 35, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
}

header.header-scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 10px 30px rgba(10, 10, 35, 0.35);
  background: rgba(10, 10, 35, 0.85);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.nav-desktop {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--texto-primario);
  flex-direction: column;
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(10, 10, 35, 0.3);
  border-top: 2px solid var(--dourado);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.nav-mobile.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-mobile a {
  color: var(--branco);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-mobile a::before {
  content: '→';
  margin-right: 0.5rem;
  color: var(--dourado);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.nav-mobile a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.nav-mobile a:hover {
  background: rgba(255, 179, 0, 0.1);
  color: var(--dourado);
  padding-left: 2.5rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--branco);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-desktop a {
  color: var(--branco);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: var(--transicao);
  border-radius: 4px;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--dourado);
  transition: var(--transicao);
  transform: translateX(-50%);
}

.nav-desktop a:hover::after {
  width: 80%;
}

.nav-desktop a:hover {
  color: var(--dourado);
  background: rgba(255, 255, 255, 0.05);
}

/* ===== HERO SECTION ===== */
.hero-custom {
  background: var(--texto-primario);
  color: var(--branco);
  padding: clamp(3rem, 4vw, 5rem) 0 clamp(2.5rem, 3vw, 4rem) 0;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--dourado);
}

.hero-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-custom-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  position: relative;
  z-index: 2;
  gap: 3rem;
}

.hero-content-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: clamp(2rem, 1.8rem + 1.5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  color: var(--branco);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.01em;
  position: relative;
  text-align: left;
  opacity: 0.9;
  max-width: 18ch;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 140px;
  height: 5px;
  background: var(--dourado);
  border-radius: 2px;
}

.hero-latin {
  font-size: 2rem;
  font-style: italic;
  color: var(--dourado);
  font-weight: 900;
  margin-bottom: 1rem;
  text-align: center;
  background: rgba(255, 179, 0, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--dourado);
  backdrop-filter: blur(10px);
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.55;
  margin: 0;
  opacity: 0.9;
  text-align: justify;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.85);
}

.btn-whatsapp-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--dourado) 0%, #ffd54f 100%);
  color: var(--texto-primario);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(255, 179, 0, 0.35);
  max-width: fit-content;
  border: 2px solid var(--dourado);
  position: relative;
  overflow: hidden;
}

.btn-whatsapp-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-whatsapp-hero:hover::before {
  left: 100%;
}

.btn-whatsapp-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 179, 0, 0.6);
  border-color: var(--branco);
}

.hero-logo-col {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-logo-img {
  width: clamp(260px, 34vw, 520px);
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: none;
  border: none;
  filter: sepia(0.06) saturate(1.05) contrast(1.02) brightness(0.98) hue-rotate(-5deg);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-logo-img:hover {
  transform: scale(1.01);
  filter: sepia(0.04) saturate(1.02) contrast(1.01) brightness(0.99) hue-rotate(-3deg);
}

.hero-contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 0 2rem;
  background: transparent;
  border: 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--branco);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  transition: all 0.25s ease;
  background: rgba(10, 13, 35, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.contact-item:hover {
  background: rgba(255, 179, 0, 0.12);
  transform: translateY(-1px);
  border-color: rgba(255, 179, 0, 0.35);
}

.contact-item svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--dourado);
  filter: drop-shadow(0 1px 3px rgba(255, 179, 0, 0.25));
}

/* ===== SECTIONS ===== */
section {
  padding: 5rem 0;
}

.container {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ===== SERVICES SECTION ===== */
.areas {
  background: var(--branco);
  padding: 5rem 0;
  border-bottom: 1px solid rgba(10, 10, 35, 0.1);
}

h2, .areas h2, .sobre-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--texto-primario);
  margin-bottom: 1rem;
  position: relative;
}

h2::after, .areas h2::after, .sobre-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--dourado);
  border-radius: 2px;
}

.areas-latin {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--dourado);
  font-weight: 600;
    text-align: center;
  margin-bottom: 1rem;
  background: rgba(255, 179, 0, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--dourado);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.areas-subtitle {
  text-align: justify;
  font-size: 1.1rem;
  color: var(--texto-secundario);
  max-width: 600px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.area-card {
  background: var(--branco);
  border-radius: 16px;
  padding: 1.75rem 1.5rem 1.25rem;
  box-shadow: var(--sombra-media);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(10, 10, 35, 0.05);
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dourado), #ffd54f);
  transition: height 0.3s ease;
}

.area-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-hover-shadow);
  border-color: rgba(255, 179, 0, 0.2);
}

.area-card:hover::before {
  height: 6px;
}

.area-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to top, rgba(255, 179, 0, 0.05), transparent);
  transition: height 0.3s ease;
  z-index: 0;
}

.area-card:hover::after {
  height: 40%;
}

.area-card:hover .area-card-icon {
  transform: rotate(5deg) scale(1.1);
}

.area-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--dourado);
  transition: transform 0.5s ease;
}

.area-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--texto-primario);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
  transition: color 0.3s ease;
}

.area-card:hover h3 {
  color: var(--dourado);
}

.area-card h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: var(--dourado);
  border-radius: 2px;
  transition: width 0.3s ease, height 0.3s ease;
}

.area-card:hover h3::before {
  width: 6px;
  height: 85%;
}

.area-card p {
  color: var(--texto-secundario);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}



/* Garante que o botão fique alinhado na base do card, sem usar unidades físicas */
.area-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
}

.area-card .btn-area {
  margin-top: auto;
}

.btn-area {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--dourado);
  color: var(--texto-primario);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transicao);
  text-align: center;
  width: 100%;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(255, 179, 0, 0.2);
}

.btn-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.7s;
}

.btn-area:hover::before {
  left: 100%;
}

.btn-area:hover {
  background: var(--texto-primario);
  color: var(--branco);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10, 10, 35, 0.25);
}

/* ===== ABOUT SECTION ===== */
.sobre-section {
  background: linear-gradient(135deg, var(--branco) 0%, #f8f9ff 100%);
  padding: 5rem 0;
  border-bottom: 1px solid rgba(26, 35, 126, 0.1);
}

.sobre-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}



.sobre-latin {
  font-size: 1rem;
  font-style: italic;
  color: var(--dourado);
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  background: rgba(255, 179, 0, 0.08);
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--dourado);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.sobre-latin [lang="la"] {
  font-weight: 800;
  letter-spacing: 0.2px;
}
.sobre-traducao {
  display: inline-block;
  margin-top: 4px;
  font-style: normal;
  color: var(--texto-terciario);
}

.sobre-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.sobre-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sobre-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--texto-secundario);
  margin: 0;
  text-align: justify;
}

.diferenciais {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Alinhamento horizontal dos diferenciais em telas grandes */
@media (min-width: 992px) {
  .diferenciais {
    grid-template-columns: repeat(3, 1fr);
  }

  .diferencial-item {
    height: 100%;
  }
}

/* Diferenciais — visual refinado */
.diferenciais {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.diferencial-item {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f7f8ff 100%);
  border: 1px solid rgba(10, 10, 35, 0.08);
  box-shadow: 0 10px 28px rgba(26, 35, 126, 0.12);
  backdrop-filter: blur(2px);
  border-radius: 14px;
  padding: 1.25rem 1.1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.9rem;
}

.diferencial-item::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffd87a, #ffb300 55%, rgba(255,179,0,0.35) 70%);
  box-shadow: 0 8px 24px rgba(255,179,0,0.45);
  opacity: 0.9;
}

.diferencial-item::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px 100px at -10% -20%, rgba(255, 179, 0, 0.12), transparent 60%);
}

.diferencial-item svg {
  padding: 10px;
  border-radius: 50%;
  background: radial-gradient(40px 40px at 50% 50%, rgba(255, 179, 0, 0.18), rgba(255, 179, 0, 0.06));
  box-shadow: 0 6px 16px rgba(255, 179, 0, 0.25);
  color: var(--texto-primario);
}

.diferencial-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(26, 35, 126, 0.2);
  border-color: rgba(255, 179, 0, 0.35);
}

.diferencial-item h4 {
  font-size: 1.55rem;
  letter-spacing: 0.2px;
}

.latin-quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--dourado);
  font-weight: 600;
  margin-bottom: 0.5rem;
  background: rgba(255, 179, 0, 0.06);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border-left: 3px solid var(--dourado);
  display: inline-block;
}

.diferencial-item p {
    font-size: 0.95rem;
  color: var(--texto-terciario);
  margin: 0;
  line-height: 1.5;
  text-align: justify;
}

.sobre-img {
  display: flex;
    justify-content: center;
}

.sobre-img img {
  width: 230px;
  max-width: 100%;
  height: auto;
  border-radius: var(--borda-radius);
  box-shadow: var(--sombra-media);
  transition: var(--transicao);
}

.sobre-img img:hover {
  transform: scale(1.11);
}

/* ===== TESTIMONIALS SECTION ===== */
.depoimentos-section {
  background: linear-gradient(135deg, #f8f9ff 0%, var(--branco) 100%);
  padding: 5rem 0;
  border-bottom: 1px solid rgba(26, 35, 126, 0.1);
}

.depoimentos-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--texto-primario);
  margin-bottom: 1rem;
  position: relative;
}

.depoimentos-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--dourado);
  border-radius: 2px;
}

.depoimentos-latin {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--dourado);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  background: rgba(255, 179, 0, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--dourado);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.depoimentos-subtitle {
  text-align: justify;
  font-size: 1.1rem;
  color: var(--texto-terciario);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.avaliacao-geral {
  text-align: center;
  margin-bottom: 3rem;
}

.avaliacao-texto h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dourado);
  margin-bottom: 0.5rem;
}

.estrelas {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.avaliacao-texto p {
  color: var(--texto-terciario);
  margin-bottom: 1rem;
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.depoimento-card {
  background: linear-gradient(135deg, var(--branco) 0%, #f8f9ff 100%);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(26, 35, 126, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(26, 35, 126, 0.08);
}

.depoimento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26, 35, 126, 0.2);
  border-color: rgba(255, 179, 0, 0.3);
}

.depoimento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-media);
}

.depoimento-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 179, 0, 0.2);
}

.depoimento-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--texto-primario);
  margin: 0 0 0.5rem 0;
  text-align: center;
}

.depoimento-info .estrelas {
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
  text-align: center;
}

.depoimento-texto {
  color: var(--texto-secundario);
  line-height: 1.7;
  font-style: italic;
  margin: 0;
  text-align: justify;
  font-size: 1rem;
  padding: 0 0.5rem;
}

/* ===== CONTACT SECTION ===== */
.contato-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 60%, #eef2ff 100%);
  padding: 4.5rem 0 5.5rem 0;
}

.contato-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--texto-primario);
  margin-bottom: 2rem;
  position: relative;
}

.contato-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--dourado);
  border-radius: 2px;
}

.contato-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contato-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(26, 35, 126, 0.12);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(26, 35, 126, 0.08);
  max-width: 1100px;
  margin: 0 auto;
}

.contato-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 200px at 50% -40px, rgba(255, 179, 0, 0.18), transparent 60%);
  pointer-events: none;
}

.contato-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(26, 35, 126, 0.18);
}

.contato-card-icon {
  margin-bottom: 1rem;
}

.contato-card-icon svg {
  width: 3rem;
  height: 3rem;
  color: var(--dourado);
  filter: drop-shadow(0 2px 8px rgba(255, 179, 0, 0.3));
}

.contato-card-icon.address svg {
  color: var(--texto-primario);
  filter: drop-shadow(0 2px 8px rgba(10, 10, 35, 0.3));
}

.contato-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--texto-primario);
  margin-bottom: 1rem;
  position: relative;
}

.contato-card-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--dourado), #ffd54f);
  border-radius: 1px;
}

.contato-card-title.address {
  color: var(--texto-primario);
}

.contato-card-text {
  color: var(--texto-secundario);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  text-align: justify;
  background: rgba(10, 10, 35, 0.05);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--dourado);
}

.contato-card-address {
  color: var(--texto-primario);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  background: rgba(10, 10, 35, 0.08);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(10, 10, 35, 0.15);
}

.contato-mapa {
  border-radius: 14px;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 26px rgba(26, 35, 126, 0.15);
  height: 360px;
  width: 100%;
  border: 1px solid rgba(26, 35, 126, 0.12);
}

.contato-btn {
  display: inline-block;
  background: var(--dourado);
  color: var(--texto-primario);
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transicao);
  width: 100%;
  text-align: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(255, 179, 0, 0.4);
  border: 2px solid var(--dourado);
  position: relative;
  overflow: hidden;
}

.contato-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
    width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.contato-btn:hover::before {
  left: 100%;
}

.contato-btn:hover {
  background: var(--branco);
  color: var(--texto-primario);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
  border-color: var(--branco);
}

.contato-btn.whatsapp {
  background: #25d366;
}

  .contato-btn.whatsapp:hover {
   background: #1ebe5d;
 }

.contato-btn.address {
  background: var(--texto-primario);
  color: var(--branco);
  border: 2px solid var(--texto-primario);
}

.contato-btn.address:hover {
  background: var(--dourado);
  color: var(--texto-primario);
  border-color: var(--dourado);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 179, 0, 0.3);
}

/* ===== FOOTER ===== */
footer {
  background: var(--texto-primario);
  color: var(--branco);
  text-align: center;
  padding: 2rem 0;
  border-top: 3px solid var(--dourado);
}

footer p {
  margin: 0;
  font-weight: 600;
}

/* ===== BOTÃO FLUTUANTE WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
  color: white;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--texto-primario);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(10, 10, 35, 0.2);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--texto-primario);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

@keyframes pulse {
  0% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
  }

  100% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.995);
  transition: opacity 0.6s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
:focus {
  outline: 2px solid var(--dourado);
  outline-offset: 2px;
}

.btn-area:focus, .btn-whatsapp-hero:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* ===== CONTRAST IMPROVEMENTS ===== */

/* ===== VISUAL FEEDBACK IMPROVEMENTS ===== */
.btn-area:active, .btn-whatsapp-hero:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(10, 10, 35, 0.2);
}

/* ===== REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .hero-custom-flex {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
    padding: 0 2rem;
  }

  .sobre-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-contact-info {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 992px) {
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-custom-flex {
    flex-direction: column;
    padding: 0 1.5rem;
    gap: 2rem;
  }
  
  .hero-content-col {
    order: 2;
    max-width: 100%;
  }
  
  .hero-logo-col {
    order: 1;
  }
}

@media (max-width: 768px) {
  .areas-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 1.9rem;
    text-align: center;
  }
  
  .hero-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .hero-desc {
    text-align: center;
  }
  
  .btn-whatsapp-hero {
    margin: 0 auto;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .header-flex {
    padding: 0 1rem;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-mobile {
    display: flex;
  }
  
  /* Ajuste de alinhamento para mobile */
  .hero-desc,
  .areas-subtitle,
  .area-card p,
  .sobre-text p,
  .diferencial-item p,
  .depoimentos-subtitle,
  .depoimento-texto,
  .contato-card-text {
    text-align: justify;
  }
  
  .btn-whatsapp-hero {
    font-size: 0.9rem;
    padding: 0.8rem 1.2rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  display: flex;
    align-items: center;
  justify-content: center;
    gap: 0.5rem;
  }
  
  .hero-contact-info {
    padding: 1.5rem 0;
    gap: 1rem;
  }
  
  .contact-item {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  .area-card {
    padding: 1.5rem 1.25rem 1.25rem;
    margin-bottom: 1rem;
  }
  
  .area-card:hover {
    transform: translateY(-5px);
  }
  
  .btn-area {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }

  .contato-section {
    padding: 2rem 0;
  }

  .contato-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .contato-cards {
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .contato-card {
    padding: 2rem 1.5rem;
  }

  .contato-card-text {
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  .contato-card-address {
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  .contato-mapa {
    height: 180px;
  }

  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 55px;
    height: 55px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-tooltip {
    display: none;
  }

  .hero-title {
    font-size: 1.6rem;
    line-height: 1.2;
    text-align: left;
    margin-bottom: 2rem;
    opacity: 0.85;
    max-width: 100%;
  }

  .hero-logo-img {
    padding: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 
      0 8px 24px rgba(10, 10, 35, 0.3),
      0 2px 8px rgba(255, 179, 0, 0.1);
  }

  .areas h2,
  .sobre-title,
  .depoimentos-section h2,
  .contato-title {
    font-size: 2rem;
  }

  .areas-grid,
  .depoimentos-grid,
  .contato-cards {
    grid-template-columns: 1fr;
  }

  .area-card,
  .depoimento-card,
  .contato-card {
    padding: 1.5rem;
  }

  .diferencial-item {
    padding: 1rem;
  }

  .sobre-img img {
    width: 240px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.4rem;
    line-height: 1.2;
    text-align: left;
    margin-bottom: 0.8rem;
    opacity: 0.8;
    max-width: 100%;
  }

  .areas h2,
  .sobre-title,
  .depoimentos-section h2,
  .contato-title {
    font-size: 1.5rem;
  }

  .hero-custom {
    padding: 2.5rem 0 1.5rem 0;
  }

  .hero-custom-flex {
    gap: 1.5rem;
  }

  .hero-content-col {
    order: 2;
    max-width: 100%;
  }

  .hero-logo-col {
    order: 1;
    margin-bottom: 1rem;
  }

  .btn-whatsapp-hero {
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
    width: 100%;
    max-width: 280px;
  }

  .hero-contact-info {
    padding: 1rem 0;
    gap: 0.8rem;
  }

  .contact-item {
    padding: 0.6rem;
    font-size: 0.85rem;
  }

  .areas,
  .sobre-section,
  .depoimentos-section,
  .contato-section {
    padding: 3rem 0;
  }

  .area-card,
  .depoimento-card,
  .contato-card {
    padding: 1rem;
  }

  .sobre-img img {
    width: 180px;
  }

    .nav-desktop {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-mobile {
    display: flex;
  }
}

/* Checklist Diferenciais (compacto) */
.diferenciais-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem 1rem;
}

@media (min-width: 768px) {
  .diferenciais-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .diferenciais-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.diferencial-list-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.75rem;
  align-items: start;
  background: #fff;
  border: 1px solid rgba(10,10,35,0.06);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  box-shadow: 0 8px 24px rgba(26,35,126,0.08);
}

.diferencial-list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.diferencial-list-title {
  font-weight: 700;
  color: var(--texto-primario);
  font-size: 0.98rem;
  line-height: 1.2;
}

.diferencial-list-desc {
  color: var(--texto-terciario);
  font-size: 0.88rem;
  margin-top: 2px;
}

/* Checklist em lista única (sem caixas) */
.sobre-section .diferenciais-list {
  grid-template-columns: 1fr !important;
  gap: 0.5rem 0.75rem;
}

.sobre-section .diferencial-list-item {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0.35rem 0 0.75rem;
  border-bottom: 1px solid rgba(10,10,35,0.08);
}

.sobre-section .diferencial-list-item:last-child {
  border-bottom: 0;
}

.sobre-section .diferencial-list-title {
  font-size: 1rem;
}

.sobre-section .diferencial-list-desc {
  font-size: 0.9rem;
}

@media (min-width: 1200px) {
  .hero-logo-col {
    margin-right: -24px;
  }
}

@media (min-width: 1440px) {
  .hero-logo-col {
    margin-right: -48px;
  }
}