:root {
  --primary: #000000;
  --secondary: #030d1c;
  --accent: #cb0303ef;
  --bg: #d4d5d6;
  --text: #1b1f23;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
}

body {
  background: #fff;
  color: var(--text);
  scroll-behavior: smooth;
  font-size: 18px;
}

/* ============================= */
/* CONTAINER                     */
/* ============================= */

.container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

/* ============================= */
/* NAVBAR                        */
/* ============================= */

.navbar {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 999;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

/* ZONA DA LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 280px;
}

.logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

/* TEXTO DA LOGO */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.5px;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: #666;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* ZONA DO MENU */
nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  white-space: nowrap;
}

nav a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  margin-left: 36px;
  transition: 0.3s;
}

nav a:hover {
  color: var(--secondary);
}

/* ============================= */
/* HERO                          */
/* ============================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9)),
    url("https://images.unsplash.com/photo-1581091870627-3d6f3d0d6e1b?q=80&w=1600")
      center/cover;
}

.hero-grid {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text {
  color: #fff;
  border-left: 6px solid var(--accent);
  padding-left: 30px;
  max-width: 680px;
}

.hero-text h1 {
  font-size: 3.6rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* HERO IMAGE */

.hero-image {
  width: 100%;
  max-width: 620px;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================= */
/* BUTTON                        */
/* ============================= */

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 16px 36px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  display: inline-block;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: scale(1.05);
}

/* ============================= */
/* SECTIONS                      */
/* ============================= */

.section {
  padding: 140px 0;
}

.light {
  background: var(--bg);
}

.dark {
  background: radial-gradient(circle at top, #0a1626, #000000);
  color: #fff;
  padding-bottom: 160px;
}

/* ============================= */
/* DIVIDER                       */
/* ============================= */

.divider {
  width: 70px;
  height: 4px;
  background: var(--accent);
  margin: 20px 0 40px;
}

/* ============================= */
/* GRIDS                         */
/* ============================= */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

/* ============================= */
/* CARDS                         */
/* ============================= */

.card {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-6px);
}

.highlight {
  background: linear-gradient(135deg, #030d1c, #0a1c33);
  color: #ffffff;
}

/* ============================= */
/* FOOTER                        */
/* ============================= */

.footer {
  background: #050b14;
  color: #bfc7d5;
  text-align: center;
  padding: 50px 20px;
  font-size: 0.95rem;
}

/* ============================= */
/* WHATSAPP                      */
/* ============================= */

.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25d366;
  color: #fff;
  padding: 14px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* ============================= */
/* ANIMAÇÕES                     */
/* ============================= */

.fade {
  opacity: 0;
  transform: translateY(30px);
  transition: 1s;
}

.fade.show {
  opacity: 1;
  transform: translateY(0);
}

/* ============================= */
/* RESPONSIVO                    */
/* ============================= */

@media (max-width: 900px) {
  body {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-text {
    max-width: 100%;
    border-left: 4px solid var(--accent);
    padding-left: 20px;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .hero-text p {
    font-size: 1.05rem;
  }

  .hero-image {
    width: 100%;
    max-width: 100%;
    height: 240px;
    margin-top: 10px;
  }

  .grid-2,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  nav a {
    margin-left: 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .logo img {
    height: 32px;
  }

  .logo-main {
    font-size: 0.95rem;
  }

  .logo-sub {
    font-size: 0.6rem;
    letter-spacing: 1px;
  }

  nav {
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 90px 0 50px;
  }

  .hero-image {
    height: 200px;
  }

  .hero-text h1 {
    font-size: 2.1rem;
  }
}

/* ============================= */
/* NAVBAR PREMIUM                */
/* ============================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  transition: all 0.35s ease;
  backdrop-filter: blur(0px);
  background: rgba(255, 255, 255, 1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* shrink */
.navbar.scrolled .logo img {
  height: 34px;
  transition: 0.3s;
}

.navbar.scrolled .logo-main {
  font-size: 1rem;
  transition: 0.3s;
}

.navbar.scrolled .logo-sub {
  font-size: 0.55rem;
  transition: 0.3s;
}

/* HERO ANIMATION */

.hero-text {
  animation: heroText 1s ease forwards;
}

.hero-image {
  animation: heroImage 1.2s ease forwards;
}

@keyframes heroText {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImage {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.card,
.atuacao-card {
  transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card:hover,
.atuacao-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

/* ============================= */
/* ATUAÇÃO - CARDS PREMIUM       */
/* ============================= */

.atuacao-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.atuacao-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.atuacao-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
  opacity: 0;
  transition: 0.4s;
  pointer-events: none;
}

.atuacao-card:hover::before {
  opacity: 1;
}

.atuacao-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

/* IMAGEM */

.atuacao-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.atuacao-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
}

.atuacao-card:hover .atuacao-img img {
  transform: scale(1.08);
}

/* CORPO */

.atuacao-body {
  padding: 30px;
}

.atuacao-body h3 {
  font-size: 1.4rem;
  color: #0a1c33;
  margin-bottom: 12px;
}

.atuacao-body p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 18px;
  color: #444;
}

.atuacao-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.atuacao-body ul li {
  padding: 6px 0;
  font-size: 0.95rem;
  position: relative;
  padding-left: 22px;
  color: #222;
}

.atuacao-body ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ============================= */
/* RESPONSIVO ATUAÇÃO            */
/* ============================= */

@media (max-width: 900px) {
  .atuacao-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .atuacao-img {
    height: 200px;
  }
}
/* ============================= */
/* NAVBAR MOBILE FIX REAL        */
/* ============================= */

@media (max-width: 600px) {
  .nav-container {
    gap: 10px;
  }

  /* logo ocupa só o necessário */
  .logo {
    flex: 0 1 auto;
    min-width: 0;
  }

  /* menu não estoura a tela */
  nav {
    flex: 0 1 auto;
    max-width: 55%;
    overflow: hidden;
  }

  nav a {
    margin-left: 10px;
    font-size: 0.85rem;
    white-space: nowrap;
  }
}
/* ============================= */
/* FIX LINK TELEFONE MOBILE      */
/* ============================= */

a[href^="tel"] {
  color: #fff !important; /* branco */
  text-decoration: none;
  font-weight: 500;
}

/* fallback para iOS / Android */
a[href^="tel"]:hover,
a[href^="tel"]:active,
a[href^="tel"]:visited {
  color: #fff !important;
}
