html,
body {
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.3px;
}

h1 {
  font-size: 42px;
  line-height: 1.2;
}

h2 {
  font-size: 32px;
  line-height: 1.3;
}

h3 {
  font-size: 20px;
  line-height: 1.4;
}

p {
  font-size: 16px;
  line-height: 1.7;
}

.section-subtitle {
  font-size: 17px;
  color: #5c6b76;
}

.service-card p,
.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: #0B1F2D;
  color: #E6EEF4;
  line-height: 1.6;
}

section {
  padding-top: 100px;
  padding-bottom: 100px;
}


/* HERO */
.hero {
  position: relative;
  min-height: 80vh;
  padding: 80px 10%;
  display: flex;
  align-items: center;
  background: url("img/img-hero.png") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  max-width: 650px;
  z-index: 2;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: #cccccc;
  margin-bottom: 30px;
}

/* BOTÃO */
.btn-primary {
  display: inline-block;
  background: #0F2A3D;
  color: #E6EEF4;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #143a55;
  transform: translateY(-2px);
}


/* SERVIÇOS */
.services {
  padding: 80px 10%;
  background: #0B1F2D;
  padding-bottom: 140px;

}

.services h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.services-intro {
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
  color: #cccccc;
  font-size: 16px;
}

.service-card {
  background: #122E42;
  padding: 40px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover {
  transform: translateY(-8px) rotateX(3deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}


.service-card h3 {
  margin-bottom: 15px;
  color: #caa24d;
}

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}

.service-icon img {
  width: 100%;
  height: 100%;
  filter: brightness(0) saturate(100%) invert(38%) sepia(20%) saturate(650%) hue-rotate(165deg);
}



/* WHY */
.why {
  padding-left: 10%;
  padding-right: 10%;
  background-color: #FFFFFF;
}

.why h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #122E42;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.why-impact {
  max-width: 700px;
  margin-bottom: 40px;
  font-size: 18px;
  color: #122E42;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.why-content p {
  max-width: 800px;
  margin-bottom: 20px;
  color: #122E42;
}

.why-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.why-block h3 {
  margin-bottom: 12px;
  font-size: 20px;
  color: #122E42;
}

.why-block p {
  color: #122E42;
  font-size: 16px;
  line-height: 1.8;
}

.results {
  background: #0B1F2D;
  padding: 100px 10%;
  text-align: center;
}

.results h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.results-subtitle {
  max-width: 700px;
  margin: 0 auto 48px;
  color: #cfd8df;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
}

.result-item strong {
  font-size: 32px;
  color: #caa24d;
}

.result-item span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #e6eef4;
}

.impact {
  background: #151515;
  padding: 100px 10%;
  color: #ffffff;
}

.impact-container {
  max-width: 900px;
  margin: 0 auto;
}

.impact h2 {
  font-size: 30px;
  margin-bottom: 24px;
}

.impact p {
  font-size: 18px;
  margin-bottom: 32px;
}

.impact-list {
  list-style: none;
  padding: 0;
}

.impact-list li {
  margin-bottom: 14px;
  padding-left: 24px;
  position: relative;
}

.impact-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffffff;
  font-weight: bold;
}


.reason-number {
  color: var(--blue-brand);
  font-weight: 700;
  margin-right: 8px;
}

.structures {
  background: #ffffff;
  padding: 120px 10%;
  text-align: center;
}

.structures h2 {
  font-size: 32px;
  color: #0B1F2D;
  margin-bottom: 16px;
}

.structures-subtitle {
  max-width: 720px;
  margin: 0 auto 56px;
  font-size: 17px;
  color: #5c6b76;
}

.structures-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.structure-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.structure-card h3 {
  font-size: 20px;
  color: #0B1F2D;
  margin-bottom: 12px;
}

.structure-card p {
  font-size: 16px;
  color: #3a3a3a;
  line-height: 1.6;
}


/* SOBRE MIM*/
.about {
  background: linear-gradient(180deg,
      #0B1F2D 0%,
      #0F2A3D 50%,
      #0B1F2D 100%);
  padding: 120px 0;

}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6%;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: center;
  gap: 40px;

}

.about-text {
  max-width: 680px;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 14px;

}


.about h2 {
  color: var(--text-primary);
  font-size: 36px;
  margin-bottom: 28px;
  line-height: 1.8;

}

.about-container {
  padding-left: 0;
  padding-top: 60px;

}

.about-highlight {
  color: var(--blue-brand);
  font-size: 18px;
  margin-bottom: 24px;
  max-width: 600px;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}


.about-image img {
  width: 380px;
  height: 380px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}


.testimonials {
  background: #ffffff;
  padding: 120px 10%;
}

.testimonials h2 {
  text-align: center;
  font-size: 32px;
  color: #0B1F2D;
  margin-bottom: 16px;
}

.testimonials-subtitle {
  text-align: center;
  color: #5c6b76;
  max-width: 720px;
  margin: 0 auto 64px;
  font-size: 17px;
}

/* GRID */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* CARD */
.testimonial-card {
  background: #0F2A3D;
  border-radius: 18px;
  padding: 32px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

/* TEXTO */
.testimonial-text {
  color: #E6EEF4;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* PESSOA */
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
}

.testimonial-person strong {
  color: #ffffff;
  font-size: 15px;
  display: block;
}

.testimonial-person span {
  font-size: 13px;
  color: #b7c6d4;
}

/* ==========================
   RESPONSIVO
========================== */

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .testimonials {
    padding: 80px 6%;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-height: auto;
  }
}


/* MOBILE */
@media (max-width: 768px) {
  .testimonial-card {
    width: 280px;
    min-height: 360px;
  }

  .testimonials {
    padding: 100px 20px;
  }
}


/* animação contínua */
@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* CTA */
.cta {
  padding: 80px 10%;
  background: #151515;
  color: #cccccc;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.cta h2 {
  font-size: 34px;
  margin-bottom: 24px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 18px;
  margin-bottom: 40px;

}

.cta .btn-primary {
  background: #0e0e0e;
  color: #ffffff;
}

.cta .btn-primary:hover {
  background: #0B1F2D;
  transform: translateY(-2px);
}

/* POP-UP */

.popup-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  max-width: 320px;
  display: none;
}

.popup-content {
  background: #0B1F2D;
  color: #ffffff;
  padding: 20px 22px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  position: relative;
}

.popup-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.popup-text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.popup-btn {
  display: inline-block;
  background: #ffffff;
  color: #0B1F2D;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.popup-btn:hover {
  background: #e6eef5;
  color: #0B1F2D;
}


.popup-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  cursor: pointer;
}

.card,
.about-text,
.about-image {
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  background: #0B1F2D;
  padding: 48px 0 32px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.footer-socials a:hover {
  background: #0e0e0e;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}


.footer-socials img {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.footer-copy {
  color: #ffffff;
  font-size: 13px;
}

/* =========================
   ABOUT — MOBILE FIX DEFINITIVO
   ========================= */

@media (max-width: 768px) {

  .about {
    padding: 80px 0;
  }

  .about-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
    text-align: left;
  }

  .about-text {
    max-width: 100%;
  }

  .about h2 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .about-highlight {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .about-text p {
    font-size: 15px;
    line-height: 1.7;
  }

  .about-image {
    justify-content: center;
  }

  .about-image img {
    width: 240px;
    height: 240px;
    margin: 0 auto;
  }
}

/* Phones menores */
@media (max-width: 480px) {

  .about h2 {
    font-size: 26px;
  }

  .about-image img {
    width: 220px;
    height: 220px;
  }
}

/* =========================
   HERO — FIX DEFINITIVO MOBILE
   ========================= */

@media (max-width: 768px) {

  .hero {
    min-height: 90vh;
    align-items: flex-end;
    padding: 40px 20px;

    /* ESSENCIAL: tira o rosto do centro */
    background-position: center 8%;
  }

  .hero-overlay {
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.65) 40%,
        rgba(0, 0, 0, 0.35) 70%,
        rgba(0, 0, 0, 0.15) 100%);
  }

  .hero-content {
    max-width: 100%;
    padding-bottom: 32px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 15px;
    margin-bottom: 24px;
  }
}

/* Telefones menores (iPhone SE, etc) */
@media (max-width: 480px) {

  .hero {
    min-height: 95vh;

    /* ajuste fino do enquadramento */
    background-position: center 5%;
  }

  .hero h1 {
    font-size: 26px;
  }
}

@media (max-width: 768px) {

  .hero-overlay {
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.8) 35%,
        rgba(0, 0, 0, 0.5) 60%,
        rgba(0, 0, 0, 0.2) 80%,
        rgba(0, 0, 0, 0.05) 100%);
  }

  .hero-content {
    padding-bottom: 40px;
  }
}

@media (max-width: 768px) {

  .hero-overlay {
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.8) 35%,
        rgba(0, 0, 0, 0.5) 60%,
        rgba(0, 0, 0, 0.2) 80%,
        rgba(0, 0, 0, 0.05) 100%);
  }

  .hero-content {
    padding-bottom: 40px;
  }
}

/* =========================
   HERO — AJUSTE FINO DO TÍTULO MOBILE
   ========================= */

@media (max-width: 768px) {
  .hero h1 {
    font-size: px;
    /* diminui só um pouco */
    line-height: 1.25;
    /* compacta a quebra */
    max-width: 95%;
    /* evita quebra feia */
  }
}

/* Telefones menores ainda */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
    line-height: 1.25;
  }
}

/* =========================
   HERO MOBILE — FIX DEFINITIVO
   ========================= */

@media (max-width: 768px) {

  .hero {
    padding: 40px 16px;
    /* diminui padding lateral */
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 23px;
    /* tamanho ideal */
    line-height: 1.25;
    max-width: 100%;
    word-spacing: -1px;
    /* aproxima as palavras */
  }
}

/* iPhones menores */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 22px;
    word-spacing: -1.5px;
  }
}

/* TABLET */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-height: auto;
  }
}

/* AJUSTE TESTIMONIALS MOBILE */
@media (max-width: 600px) {
  .testimonials {
    padding: 100px 8%;
  }

  .testimonials h2,
  .testimonials-subtitle {
    text-align: center;
  }

  .testimonials-grid {
    justify-items: center;
  }

  .testimonial-card {
    text-align: center;
    max-width: 360px;
    width: 100%;
  }

  .testimonial-person {
    justify-content: center;
    text-align: center;
  }

  .testimonial-person div {
    text-align: center;
  }
}


@media (max-width: 768px) {
  .impact {
    padding: 100px 8%;
  }

  .impact h2 {
    font-size: 26px;
  }

  .impact-intro {
    font-size: 16px;
  }

  .impact-list li {
    font-size: 15px;
  }
}

@media (max-width: 768px) {

  .structures {
    padding: 80px 6%;
  }

  .structures h2 {
    font-size: 26px;
    line-height: 1.3;
  }

  .structures-subtitle {
    font-size: 15px;
    margin-bottom: 40px;
  }

  .structures-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .structure-card {
    padding: 28px 24px;
  }
}