/* =========================================================
   VARIÁVEIS
   ========================================================= */
:root {
  --navy: #071633;
  --navy-2: #0b2c6f;
  --navy-3: #0a1f49;
  --gold: #f3c623;
  --gold-2: #d4a514;
  --white: #ffffff;
  --text: #18253a;
  --muted: #5b6678;
  --bg: #f6f8fc;
  --bg-soft: #eef3fb;
  --card: #ffffff;
  --shadow: 0 12px 40px rgba(8, 20, 47, 0.16);
  --header-height: 84px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

/* =========================================================
   RESET
   ========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  text-decoration: none;
}

img,
iframe {
  max-width: 100%;
  display: block;
}

input,
textarea,
button {
  font: inherit;
}

/* =========================================================
   ESTRUTURA BASE
   ========================================================= */
.container {
  width: min(92%, 1120px);
  margin: 0 auto;
}

.small {
  max-width: 760px;
}

.section {
  padding: 88px 0;
  scroll-margin-top: 110px;
}

.section.gray {
  background: var(--bg-soft);
}

.section.dark {
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--white);
  text-align: center;
}

h1,
h2,
h3 {
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 18px;
}

p + p {
  margin-top: 14px;
}

/* =========================================================
   HEADER / MENU FIXO
   ========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(7, 22, 51, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.nav-shell {
  width: min(92%, 1120px);
  margin: 0 auto;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  display: inline-block;
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu a {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  transition: color 0.25s ease;
}

.menu a:not(.cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.menu a:hover {
  color: var(--gold);
}

.menu a:hover::after {
  width: 100%;
}

.menu .cta {
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #0a1630;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(243, 198, 35, 0.25);
}

.menu .cta:hover {
  color: #0a1630;
  filter: brightness(1.03);
}

/* =========================================================
   OVERLAY MENU MOBILE
   ========================================================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* =========================================================
   HERO / INÍCIO
   ========================================================= */
.hero {
  padding: 170px 0 96px;
  background:
    linear-gradient(90deg, rgba(7, 22, 51, 0.96), rgba(11, 44, 111, 0.82)),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  text-align: center;
}

.hero-content {
  max-width: 980px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

.hero-text-secondary {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-highlight {
  color: var(--gold);
  font-weight: 700;
}

/* =========================================================
   BOTÕES GERAIS
   ========================================================= */
.buttons {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  min-width: 210px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  transition: 0.25s ease;
}

.btn.primary {
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #0a1630;
  box-shadow: 0 12px 28px rgba(243, 198, 35, 0.24);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* =========================================================
   SOBRE
   ========================================================= */

.section-sobre .sobre-content {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(320px, 0.9fr);
  gap: 40px;
  align-items: start;
}

.section-sobre .sobre-texto {
  width: 100%;
}

.section-sobre .sobre-texto p {
  margin-bottom: 22px;
}

.section-sobre .sobre-acoes {
  margin-top: 26px;
}

.section-sobre .sobre-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 20px;
  align-self: start;
}

/* =========================================================
   GRIDS GENÉRICOS
   ========================================================= */
.grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.card p {
  color: var(--muted);
}

iframe {
  width: 100%;
  height: 260px;
  margin-top: 18px;
  border: 0;
  border-radius: 16px;
  background: #e9eef7;
}

/* =========================================================
   CONTATO
   ========================================================= */
.contato-section {
  background: var(--bg);
}

.contato-wrapper {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 12px;
}

.contato-info-box,
.contato-form-box {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(8, 20, 47, 0.08);
}

.contato-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(243, 198, 35, 0.14);
  color: #0b2c6f;
  font-size: 0.9rem;
  font-weight: 700;
}

.contato-info-box h2 {
  margin-bottom: 14px;
}

.contato-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 26px;
}

.contato-canais {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contato-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f8faff;
  border: 1px solid #e3eaf5;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  word-break: break-word;
}

.contato-link i {
  color: var(--gold);
  font-size: 1.1rem;
  min-width: 20px;
}

.contato-link span {
  line-height: 1.4;
}

.contato-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(8, 20, 47, 0.08);
  border-color: #d5dfef;
}

.whatsapp-link {
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #0a1630;
  font-weight: 800;
  border: none;
  box-shadow: 0 12px 28px rgba(243, 198, 35, 0.2);
}

.whatsapp-link i {
  color: #0a1630;
}

.whatsapp-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(243, 198, 35, 0.26);
}

/* FORMULÁRIO */
.contato-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.contato-form input,
.contato-form textarea {
  width: 100%;
  border: 1px solid #d7dfed;
  border-radius: 16px;
  padding: 16px 18px;
  background: #ffffff;
  color: var(--text);
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.contato-form input::placeholder,
.contato-form textarea::placeholder {
  color: #7c8798;
}

.contato-form input:focus,
.contato-form textarea:focus {
  border-color: #b9c8e2;
  box-shadow: 0 0 0 4px rgba(11, 44, 111, 0.06);
}

.contato-form textarea {
  min-height: 180px;
  resize: vertical;
}

.btn-enviar {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 16px 20px;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #0a1630;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(243, 198, 35, 0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-enviar:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(243, 198, 35, 0.26);
}

/* =========================================================
   CONTATO RESPONSIVO
   ========================================================= */
@media (max-width: 900px) {
  .contato-wrapper {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 768px) {
  .contato-info-box,
  .contato-form-box {
    padding: 22px;
    border-radius: 20px;
  }

  .contato-info-box h2 {
    margin-bottom: 12px;
  }

  .contato-desc {
    font-size: 0.98rem;
    margin-bottom: 20px;
  }

  .contato-link {
    padding: 14px 14px;
    border-radius: 14px;
    align-items: flex-start;
  }

  .contato-link span {
    font-size: 0.96rem;
  }

  .contato-form {
    gap: 14px;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .contato-form input,
  .contato-form textarea {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .contato-form textarea {
    min-height: 160px;
  }

  .btn-enviar {
    padding: 15px 18px;
    border-radius: 14px;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  padding: 24px 0;
  text-align: center;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

/* =========================================================
   BOTÃO VOLTAR AO TOPO
   ========================================================= */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #0a1630;
  box-shadow: 0 14px 28px rgba(243, 198, 35, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 1002;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top i {
  font-size: 1rem;
}

/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 900px) {
  .grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .sobre-content {
    grid-template-columns: 1fr;
  }

  .sobre-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 768px) {
  .sobre-texto p {
    text-align: left;
  }

  .header {
    width: 100%;
  }

  .nav-shell {
    width: 100%;
    margin: 0;
    min-height: var(--header-height);
    padding-left: 24px;
    padding-right: 8px;
  }

  .logo {
    font-size: 1.42rem;
    max-width: 180px;
    line-height: 0.95;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    font-size: 2.7rem;
    z-index: 1001;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(80vw, 300px);
    height: 100vh;
    padding: 96px 24px 28px 28px;
    background: linear-gradient(180deg, #071633, #0b2557);
    box-shadow: -14px 0 40px rgba(0, 0, 0, 0.28);
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    transition: right 0.28s ease;
    z-index: 999;
  }

  .menu.active {
    right: 0;
  }

  .menu a {
    width: 100%;
    margin: 0;
    font-size: 1.16rem;
  }

  .menu a:not(.cta)::after {
    bottom: -6px;
  }

  .menu .cta {
    margin-top: 10px;
    text-align: center;
    width: auto;
    padding: 12px 22px;
  }

  .hero {
    padding: 132px 0 74px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .hero p {
    font-size: 1rem;
    max-width: 92%;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: min(100%, 280px);
    min-width: 0;
  }

  .section {
    padding: 74px 0;
    scroll-margin-top: 92px;
  }

  .sobre-content {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .sobre-texto {
    order: 1;
  }

  .sobre-cards {
    order: 2;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .info-card {
    min-height: auto;
    padding: 22px 20px;
  }

  iframe {
    height: 210px;
  }

  .back-to-top {
    width: 48px;
    height: 48px;
    right: 18px;
    bottom: 18px;
  }
}

/* =========================================================
   PROPOSTA DE VALOR
   ========================================================= */

.section-subtitle {
  max-width: 780px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

.solucoes-grid {
  margin-top: 10px;
}

.destaque-card {
  border-radius: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.destaque-card i {
  font-size: 1.7rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.destaque-card h3 {
  margin-bottom: 12px;
}

.destaque-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(8, 20, 47, 0.14);
}

/* ================= HOVER PROFISSIONAL ================= */

.destaque-card {
  transition: all 0.25s ease;
  cursor: default;
}

.destaque-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(8, 20, 47, 0.14);
}

/* ÍCONE */
.destaque-card i {
  transition: transform 0.25s ease, color 0.25s ease;
}

.destaque-card:hover i {
  transform: scale(1.1);
  color: #f3c623; /* sua cor */
}

/* TÍTULO */
.destaque-card h3 {
  transition: color 0.25s ease;
}

.destaque-card:hover h3 {
  color: #0b2c6f;
}

.highlight-diferencial {
  margin-top: 20px;
  font-weight: 600;
  color: #f3c623;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
/* ================= INFO CONTATO ================= */

.contato-info {
  margin-top: 20px;
}

.contato-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.contato-info i {
  color: #f3c623;
}

.contato-info a {
  color: var(--text);
  text-decoration: none;
}

.contato-info a:hover {
  color: #0b2c6f;
}

/* ================= CONTATO - TEXTO ================= */
.contato-texto p {
  margin-bottom: 18px;
}

.contato-info {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contato-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(8, 20, 47, 0.06);
  color: var(--text);
  text-decoration: none;
  transition: 0.2s ease;
}

.contato-item i {
  color: #f3c623;
  font-size: 1.1rem;
  min-width: 20px;
}

.contato-item span {
  word-break: break-word;
  line-height: 1.4;
}

.contato-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(8, 20, 47, 0.1);
}

/* ================= MOBILE - CONTATO ================= */
@media (max-width: 768px) {
  .contact {
    gap: 22px;
  }

  .contato-texto {
    margin-bottom: 4px;
  }

  .contato-texto .whatsapp {
    width: 100%;
    text-align: center;
    margin-top: 6px;
  }

  .contato-info {
    margin-top: 16px;
  }

  .contato-item {
    padding: 14px;
    border-radius: 16px;
  }

  form {
    padding: 20px;
  }

  input,
  textarea {
    margin-bottom: 12px;
  }

  textarea {
    min-height: 170px;
  }
}

.skills-logos {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.skills-logos img {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: grayscale(10%);
  opacity: 0.95;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.skills-logos img:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.hero-cv {
  margin-top: 25px;
}

.btn-cv {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cv:hover {
  background: var(--gold);
  color: #0b1f3a;
  transform: translateY(-2px);
}


.sobre-acoes {
  margin-top: 20px;
}


/* Botão currículo na seção Sobre */
.section-sobre .btn-cv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.section-sobre .btn-cv:hover {
  background: var(--gold);
  color: #0b1f3a;
  transform: translateY(-2px);
}

/* Responsivo */
@media (max-width: 992px) {
  .section-sobre .sobre-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-sobre .sobre-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .section-sobre .sobre-cards {
    grid-template-columns: 1fr;
  }
}
