:root {
  --navy: #0b3a82;
  --navy-dark: #082c66;
  --navy-deep: #061e4a;
  --cyan: #00b4e6;
  --cyan-dark: #0099c9;
  --green: #28a745;
  --green-dark: #218838;
  --text: #1a1a1a;
  --muted: #6c757d;
  --light: #f2f2f2;
  --white: #ffffff;
  --max: 1140px;
  --wa: https://wa.me/5511934150000;
  --shadow: 0 12px 40px rgba(11, 58, 130, 0.12);
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.eyebrow {
  color: var(--cyan);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.eyebrow.light {
  color: var(--cyan);
}

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 800;
}

.accent {
  color: var(--cyan);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--green-dark);
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.35);
}

.btn-lg {
  font-size: 20px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  gap: 10px;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-lg svg {
  width: 22px;
  height: 22px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}

.logo img {
  height: 56px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}

.header-phone svg {
  width: 18px;
  height: 18px;
  fill: var(--cyan);
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  animation: kenburns 8s ease-out forwards;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 20, 48, 0.78) 0%, rgba(6, 20, 48, 0.45) 48%, rgba(6, 20, 48, 0.18) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1140px);
  margin-inline: auto;
  padding: 80px 0;
  text-align: left;
}

.hero-content .welcome {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}

.hero-content h1 {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 700;
  max-width: 720px;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: clamp(16px, 1.5vw, 18px);
  max-width: 540px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.95);
}

/* Products */
.section {
  padding: 88px 0;
}

.section.tight {
  padding: 64px 0;
}

.center {
  text-align: center;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  color: var(--navy);
  margin: 8px 0 16px;
}

.section-head p {
  max-width: 720px;
  margin-inline: auto;
  color: var(--text);
  font-size: 17px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  text-align: center;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.product-media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(242, 242, 242, 0) 40%, rgba(108, 117, 125, 0.85) 100%);
}

.product-media .btn {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 2;
  width: calc(100% - 24px);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.4;
}

.feature-list .check {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--green);
}

.feature-list strong {
  font-weight: 700;
}

/* Quem somos */
.about {
  background: var(--light);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.about-copy h2 {
  font-size: clamp(28px, 3vw, 40px);
  color: var(--navy);
  margin: 8px 0 20px;
}

.about-copy p {
  margin-bottom: 16px;
  font-size: 16.5px;
}

.about-copy .tagline {
  margin-top: 20px;
  font-weight: 700;
  color: var(--navy);
}

.about-copy .tagline span {
  display: block;
  color: var(--cyan);
  font-size: 18px;
}

.about-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  padding: 44px 36px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  box-shadow: var(--shadow);
}

.about-stat strong {
  display: block;
  font-size: 32px;
  color: var(--cyan);
  font-weight: 800;
}

.about-stat span {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
}

/* Partners */
.partners {
  background: #f4f4f2;
}

.partners h2 {
  text-align: center;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 40px;
  font-weight: 700;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 72px;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.partner-card img {
  height: 36px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

/* Lances */
.lances {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0 64px;
}

.lances h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 36px;
}

.lances-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.lance-card {
  background: #e9ecef;
  color: var(--text);
  border-radius: 18px;
  padding: 28px 24px 32px;
  text-align: center;
  min-height: 210px;
}

.lance-num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: var(--cyan);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  border-radius: 4px;
  margin-bottom: 12px;
}

.lance-card h3 {
  color: var(--cyan-dark);
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
}

.lance-card p {
  font-size: 15px;
  color: #444;
}

.lances .note {
  text-align: center;
  margin-top: 28px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

/* Methodology */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.method-card {
  border: 1px solid #ececec;
  border-radius: 18px;
  padding: 28px 24px 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  background: var(--white);
}

.method-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 180, 230, 0.12);
  color: var(--cyan);
  margin-bottom: 16px;
}

.method-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.method-card h3 {
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 10px;
}

.method-card p {
  color: #444;
  font-size: 15px;
}

/* Testimonials */
.results {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0;
}

.results .section-head h2 {
  color: var(--white);
}

.results .section-head p {
  color: rgba(255, 255, 255, 0.92);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}

.testimonial {
  background: linear-gradient(180deg, rgba(242, 242, 242, 0.12) 0%, rgba(108, 117, 125, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px 24px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.testimonial h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.testimonial h3 span {
  display: block;
  color: var(--cyan);
}

.stars {
  color: #f4c430;
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 14px;
}

.testimonial p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.92);
  flex: 1;
}

.testimonial .kind {
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* FAQ */
.faq .section-head h2 {
  color: var(--text);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 15.5px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex: 0 0 auto;
  margin-top: -4px;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq-item .answer {
  padding: 0 20px 18px;
  color: #444;
  font-size: 15px;
}

/* CTA */
.cta {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background: url("../img/cta.jpg") center/cover no-repeat;
  isolation: isolate;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 58, 130, 0.72);
  z-index: -1;
}

.cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
}

.cta p {
  font-size: 20px;
  max-width: 720px;
  margin: 0 auto 28px;
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--white);
  padding: 36px 0 24px;
  border-top: 1px solid #eee;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 24px;
}

.footer-brand img {
  height: 64px;
  width: auto;
}

.footer-contact {
  font-size: 14px;
  color: #333;
  line-height: 1.7;
}

.footer-contact b {
  display: block;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.4px;
}

.footer-contact a:hover {
  color: var(--navy);
}

.socials {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  transition: transform 0.2s ease, background 0.2s ease;
}

.socials a:hover {
  background: var(--cyan);
  transform: translateY(-2px);
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-copy {
  text-align: center;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  color: var(--muted);
  font-size: 14px;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  z-index: 80;
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.08);
}

.wa-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero-content {
  animation: heroIn 0.9s ease both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.products-grid .product-card:nth-child(1),
.partners-grid .partner-card:nth-child(1),
.lances-grid .lance-card:nth-child(1),
.method-grid .method-card:nth-child(1),
.testimonials .testimonial:nth-child(1) { transition-delay: 0.05s; }

.products-grid .product-card:nth-child(2),
.partners-grid .partner-card:nth-child(2),
.lances-grid .lance-card:nth-child(2),
.method-grid .method-card:nth-child(2),
.testimonials .testimonial:nth-child(2) { transition-delay: 0.15s; }

.products-grid .product-card:nth-child(3),
.partners-grid .partner-card:nth-child(3),
.lances-grid .lance-card:nth-child(3),
.method-grid .method-card:nth-child(3),
.testimonials .testimonial:nth-child(3) { transition-delay: 0.25s; }

.products-grid .product-card:nth-child(4),
.partners-grid .partner-card:nth-child(4) { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-content,
  .partner-card {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1024px) {
  .products-grid,
  .method-grid,
  .testimonials,
  .lances-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .socials,
  .footer-brand {
    justify-content: center;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    justify-content: center;
  }

  .footer-contact {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .hero-slide:nth-child(1) { background-image: url("../img/hero-m1.jpg") !important; }
  .hero-slide:nth-child(2) { background-image: url("../img/hero-m3.jpg") !important; }
  .hero-slide:nth-child(3) { background-image: url("../img/hero-m2.jpg") !important; }

  .header-phone {
    display: none;
  }

  .logo img {
    height: 44px;
  }

  .site-header .inner {
    min-height: 68px;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    padding: 56px 0;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(6, 20, 48, 0.55) 0%, rgba(6, 20, 48, 0.78) 100%);
  }

  .products-grid,
  .method-grid,
  .testimonials,
  .lances-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .partners-grid {
    gap: 28px 40px;
  }

  .partner-card {
    height: 40px;
  }

  .partner-card img {
    height: 30px;
  }

  .product-media {
    aspect-ratio: 16 / 11;
  }

  .section {
    padding: 56px 0;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .btn {
    min-height: 44px;
  }

  .header-actions .btn {
    padding: 10px 14px;
    font-size: 13px;
  }

  .cta {
    min-height: 360px;
    padding: 48px 20px;
  }

  .cta p {
    font-size: 17px;
  }

  .wa-float {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 14px;
  }

  .footer-contact {
    font-size: 13.5px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 28px;
  }
}
