/* ===== RESET ===== */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

/* ===== GLOBAL ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.section h2 {
  font-size: 2rem;
  color: #002855;
  margin-bottom: 20px;
}

.bg-light {
  background-color: #f1f4f8;
}

.destaque {
  color: #001f3f;
  font-weight: 600;
}

/* ===== NAVBAR ===== */
.navbar {
  background-color: #001f3f;
  color: white;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 700;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.menu {
  list-style: none;
  display: flex;
  gap: 30px;
}

.menu a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.menu a:hover {
  color: #1e90ff;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== HAMBÚRGUER ===== */
.hamburger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  user-select: none;
}

@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    background-color: #001f3f;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    gap: 20px;
  }

  .menu.open {
    display: flex;
  }

  .hamburger {
    display: block;
    margin-left: auto;
  }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(to right, #001f3f, #003c8f);
  color: white;
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #dce7f9;
}

.btn {
  background-color: #1e90ff;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}

.btn:hover {
  background-color: #006ce0;
}

/* Texto sobre */
#sobre p {
  text-align: justify;
  margin: 20px 0;
}

/* ===== SERVIÇOS ===== */
.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  width: 300px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.35);
}

.card h3 {
  color: #001f3f;
}

/* DIFERENCIAIS */
.dif-card h3 {
  min-height: 48px;
}

.dif-card p {
  min-height: 80px;
}

.dif-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.dif-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  width: 270px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dif-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.35);
}

.dif-card h3 {
  color: #002855;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.dif-card p {
  color: #333;
  font-size: 1rem;
}

/* ===== PORTFÓLIO ===== */
.project {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  width: 350px;
}

.project img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.project:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  bottom: 0;
  background: rgba(0, 31, 63, 0.85);
  color: white;
  width: 100%;
  padding: 15px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
}

.project:hover .overlay {
  opacity: 1;
}

/* CARROSSEL PORTFÓLIO */
.portfolio-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
  margin-top: 40px;
}

.slider-track {
  display: flex;
  width: calc(400px * 10);
  animation: scrollSlider 25s linear infinite;
}

.project {
  min-width: 400px;
  margin: 0 15px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.project:hover {
  transform: scale(1.05);
}

@keyframes scrollSlider {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== DEPOIMENTOS ===== */
.subtitulo {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
  text-align: center;
}

.depoimentos-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.depoimento-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  width: 320px;
  padding: 25px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.depoimento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.25);
}

.depoimento-card .texto {
  font-style: italic;
  color: #333;
  margin-bottom: 20px;
}

.depoimento-card .autor {
  display: flex;
  align-items: center;
  gap: 15px;
}

.depoimento-card .autor img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

/* ===== SECTION PREÇOS ===== */
.precos-section {
  background: linear-gradient(to right, #001f3f, #003c8f);
  color: white;
  padding: 60px 0;
}

.precos-frase {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.4;
}

/* ===== OFERTA ORYACODE ===== */
.oferta-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.oferta-card {
  background: white;
  width: 320px;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.oferta-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.35);
}

.oferta-card h3 {
  color: #001f3f;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.oferta-card .desc {
  color: #555;
  margin-bottom: 20px;
  font-size: 1rem;
  min-height: 50px;
}

.oferta-card ul {
  list-style: none;
  padding-left: 0;
  text-align: left;
  margin-bottom: 20px;
  color: #333;
  line-height: 1.6;
  flex-grow: 1;
}

/* ✔ Azul padrão (desktop + mobile) */
.oferta-card ul li::before {
  content: "✔ ";
  color: #1e90ff;
  font-weight: bold;
}

/* FIX MOBILE ✔ */
@media (max-width: 768px) {
  .oferta-card ul li::before {
    color: #1e90ff !important;
  }
}

/* ===== FIX: ÍCONES ✔ AZUIS NA SEÇÃO OFERTA ===== */
.oferta-card ul li {
  position: relative;
  padding-left: 26px; /* espaço para o ✔ */
  color: #333;
  line-height: 1.6;
}

.oferta-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.1rem;
  color: #1e90ff;   /* azul OryaCode */
  font-weight: bold;
}

/* Garantir cor no mobile também */
@media (max-width: 768px) {
  .oferta-card ul li::before {
    color: #1e90ff !important;
  }
}


.oferta-btn {
  margin-top: auto;
  display: inline-block;
  width: 100%;
}

/* ===== FORM ===== */
form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
  gap: 15px;
}

input, textarea {
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  resize: none;
  height: 120px;
}

/* ===== FOOTER ===== */
footer {
  background-color: #001f3f;
  color: white;
  text-align: center;
  padding: 25px 0;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.social-icons {
  display: flex;
  gap: 25px;
}

.social-icons a {
  color: #ffffff;
  transition: color 0.3s, transform 0.3s;
  font-size: 2rem;
}

.social-icons a:hover {
  color: #1e90ff;
  transform: translateY(-3px);
}

/* ===== MOBILE: TODOS OS CARDS DE SERVIÇOS COM A MESMA ALTURA ===== */
@media (max-width: 768px) {
  .cards .card {
    height: 200px; /* ajuste fino: você pode aumentar ou diminuir */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* ===== DESKTOP: manter tudo como antes ===== */
@media (min-width: 769px) {
  .depoimentos-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    overflow: visible;
    animation: none !important;
    transform: none !important;
  }

  .depoimento-card {
    flex: unset;
    min-width: 320px;
  }
}

/* ===== HOVER MOBILE ===== */
.hover-mobile {
  transform: translateY(-8px) !important;
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.35) !important;
}

.hover-mobile img {
  transform: scale(1.1) !important;
}

.hover-mobile .overlay {
  opacity: 1 !important;
}

/* ===== ANIMAÇÃO AO SCROLL NO MOBILE ===== */
.scroll-animate {
  transform: translateY(-8px) !important;
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.35) !important;
}

.scroll-animate img {
  transform: scale(1.1) !important;
}

.scroll-animate .overlay {
  opacity: 1 !important;
}

/* ===== MENSAGEM DE SUCESSO (MODERNA) ===== */
.msg-sucesso {
  display: none;
  background: #e8f4ff;
  border-left: 5px solid #1e90ff;
  color: #003366;
  padding: 15px 20px;
  margin-top: 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);

  display: flex;
  align-items: center;
  gap: 12px;

  animation: fadeSlide 0.4s ease forwards;
}

.msg-sucesso i {
  font-size: 1.7rem;
  color: #1e90ff;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== ANIMAÇÃO FADE + SLIDE UP NO MOBILE ===== */
@media (max-width: 768px) {

  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== MENU MOBILE — EFEITO TRAILING STAGGER ===== */
@media (max-width: 768px) {

  /* menu escondido com animação */
  .menu {
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    background: #001f3f;
    flex-direction: column;
    text-align: center;
    gap: 22px;
    padding: 25px 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: opacity .35s ease, transform .35s ease;
  }

  .menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* --- itens antes da animação --- */
  .menu li {
    opacity: 0;
    transform: translateX(-12px);
    transition: 
      opacity .5s cubic-bezier(0.16, 1, 0.3, 1),
      transform .5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* --- efeito trailing (uma onda) --- */
  .menu.open li:nth-child(1) { 
    opacity: 1; 
    transform: translateX(0); 
    transition-delay: 0.10s;
  }
  .menu.open li:nth-child(2) { 
    opacity: 1; 
    transform: translateX(0); 
    transition-delay: 0.18s;
  }
  .menu.open li:nth-child(3) { 
    opacity: 1; 
    transform: translateX(0); 
    transition-delay: 0.26s;
  }
  .menu.open li:nth-child(4) { 
    opacity: 1; 
    transform: translateX(0); 
    transition-delay: 0.34s;
  }
  .menu.open li:nth-child(5) { 
    opacity: 1; 
    transform: translateX(0); 
    transition-delay: 0.42s;
  }
  .menu.open li:nth-child(6) { 
    opacity: 1; 
    transform: translateX(0); 
    transition-delay: 0.50s;
  }

  /* garante que o menu apareça no mobile */
  .menu {
    display: flex !important;
  }
}
