/* =========================================================
   Skydome Imagens Aéreas — design system (tema claro)
   ========================================================= */
:root {
  /* Marca (extraídas do logo) */
  --navy: #0F274B;
  --navy-700: #0B1D39;
  --cyan: #2EB8E6;
  --cyan-600: #1A9FCC;
  --slate: #2C3447;

  /* Superfícies e texto */
  --bg: #FFFFFF;
  --bg-alt: #F4F7FB;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --text: #1A2233;
  --text-muted: #5B6578;
  --slot: #EEF2F7;

  /* Tipografia */
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Escala */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 39, 75, .06), 0 8px 24px rgba(15, 39, 75, .06);
  --container: 1180px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm); z-index: 200; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

.eyebrow {
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan-600); margin-bottom: .75em;
}
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 34em; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: .75em 1.3em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { font-size: 1rem; padding: .95em 1.6em; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-700); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-accent { background: var(--cyan); color: var(--navy); }
.btn-accent:hover { background: #fff; }

/* ---------- Placeholders de imagem ---------- */
.media-slot {
  position: relative; width: 100%;
  background: var(--slot); border-radius: var(--radius);
}
.media-slot::after {
  content: attr(data-slot);
  position: absolute; inset: auto 12px 10px auto;
  font: 500 .7rem/1 var(--font-body); color: #A3AEC0;
}
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.media-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { width: 160px; height: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 26px; }
.nav-list a, .dropdown-toggle {
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  color: var(--slate); text-decoration: none; background: none; border: 0; padding: 6px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-list a:hover, .dropdown-toggle:hover, .nav-list a[aria-current="page"] { color: var(--navy); }
.nav-list a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--cyan); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: -16px; min-width: 230px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .18s ease;
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.dropdown a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); font-weight: 500; }
.dropdown a:hover { background: var(--bg-alt); }
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-badges li {
  position: relative; padding-left: 22px;
  font-size: .9rem; font-weight: 500; color: var(--slate);
}

/* Carrossel do hero (16:9, fade) */
.hero-carousel {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  background: var(--slot); box-shadow: var(--shadow);
}
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.slide.is-active { opacity: 1; }
.slide img, .slide .media-slot { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
/* Legenda do slide: balão discreto, vidro fosco */
.slide-caption {
  position: absolute; left: 16px; top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(15, 39, 75, .12);
  font: 600 .8rem/1 var(--font-head); letter-spacing: .02em; color: var(--navy);
  opacity: 0; transform: translateY(-4px);
  transition: opacity .5s ease .35s, transform .5s ease .35s;
}
.slide-caption::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
}
.slide.is-active .slide-caption { opacity: 1; transform: none; }
@media (max-width: 560px) {
  .slide-caption { left: 12px; top: 12px; padding: 6px 12px 6px 10px; font-size: .74rem; }
}

.carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 14px;
  display: flex; justify-content: center; gap: 8px;
}
.carousel-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(15, 39, 75, .25);
  transition: width .3s, background .3s;
}
.carousel-dots button[aria-selected="true"] { width: 24px; background: #fff; }
.hero-badges li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 12px; height: 6px; border: 2px solid var(--cyan); border-bottom: 0; border-radius: 12px 12px 0 0;
}

/* ---------- Seções ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p:last-child { color: var(--text-muted); }

/* Cards de serviço */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .media-slot { border-radius: 0; }
.card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body p { font-size: .95rem; color: var(--text-muted); }
.card-link { margin-top: auto; font-family: var(--font-head); font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--cyan-600); }
.card-link:hover { color: var(--navy); }
.card-cta { background: var(--navy); border-color: var(--navy); justify-content: center; }
.card-cta h3 { color: #fff; }
.card-cta p { color: #C9D3E3; }
.card-cta .btn { background: var(--cyan); color: var(--navy); margin-top: auto; align-self: flex-start; }

/* Diferenciais */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.split > div p { color: var(--text-muted); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.features li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.features h3 { display: flex; align-items: center; gap: 10px; }
.features h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); flex: none; }
.features p { margin: 0; font-size: .95rem; color: var(--text-muted); }

/* Etapas */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font: 700 2rem/1 var(--font-head); color: var(--cyan);
}
.steps li::after { content: ""; position: absolute; top: 16px; left: 56px; right: 0; height: 1px; background: var(--border); }
.steps li:last-child::after { display: none; }
.steps p { color: var(--text-muted); font-size: .95rem; }

/* Logos */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.logo-slot { aspect-ratio: 2 / 1; background: #fff; border: 1px dashed var(--border); }
img.logo-slot { width: 100%; height: auto; object-fit: contain; border-style: solid; border-radius: var(--radius); }


/* Depoimentos */
.section-join { padding-top: 0; }
.testimonials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.testimonial {
  margin: 0; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px;
}
.stars { color: #F5B400; font-size: .95rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial blockquote { margin: 0 0 20px; font-size: .95rem; line-height: 1.6; color: var(--text); }
.testimonial figcaption { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.testimonial figcaption strong { display: block; font-family: var(--font-head); font-size: .92rem; color: var(--navy); }
.testimonial figcaption span { font-size: .85rem; color: var(--text-muted); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--cyan-600); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--text-muted); padding-right: 40px; }

/* CTA final */
/* Mesmo fundo do hero */
.cta-band { background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); border-top: 1px solid var(--border); padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band p { color: var(--text-muted); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-700); color: #B8C3D6; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 160px; margin-bottom: 16px; }
.footer-title { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-links li { margin-bottom: 8px; }
.site-footer a { color: #B8C3D6; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
}
.social a:hover { border-color: var(--cyan); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; padding-bottom: 24px; font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.06); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

  .testimonials { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  /* backdrop-filter cria containing block e prende o menu fixo: desligar no mobile */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 20px 32px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease;
  }
  .nav.open { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--border); }
  .nav-list a, .dropdown-toggle { width: 100%; padding: 16px 0; font-size: 1rem; justify-content: space-between; }
  .nav-list a[aria-current="page"] { box-shadow: none; color: var(--cyan-600); }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 12px 8px; display: none;
  }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown a { padding: 10px 12px; }
  .nav-cta { margin-top: 24px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 40px 0 64px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 22px; }
  .steps li::after { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 64px 0; }
}

@media (max-width: 560px) {
  .cards, .features, .steps, .testimonials { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions .btn { width: 100%; }
  .brand img { width: 136px; }
}
