/* ==========================================================
   Litoral On Publicidade em LED
   PALETA "Oceano e sol suave": o mar domina e o sol é detalhe.
   Troque só as variáveis abaixo.
   ========================================================== */
:root {
  --c-primary: #0A2540;      /* azul-mar profundo (fundos escuros) */
  --c-primary-2: #10375C;
  --c-accent: #F7B538;       /* dourado do sol (botões e destaques) */
  --c-accent-2: #1B7FBF;     /* azul do mar */
  --c-accent-text: #9A6400;  /* dourado escuro, para texto sobre fundo claro */
  --c-bg: #FFFFFF;
  --c-bg-alt: #EAF4FA;
  --c-text: #1B2A41;
  --c-muted: #5B6B82;
  --c-line: #E1E8F0;
  --c-wa: #25D366;

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-title: "Sora", "Manrope", system-ui, sans-serif;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .10);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0; font-family: var(--font-body); color: var(--c-text);
  background: var(--c-bg); line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-accent); margin-bottom: 1rem;
}
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--c-bg-alt); }
.section__head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section__head p:last-child { color: var(--c-muted); font-size: 1.05rem; }
.section .eyebrow { color: var(--c-accent-text); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn--primary { background: var(--c-accent); color: #0A2540; box-shadow: 0 8px 24px rgba(247, 181, 56, .35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(247, 181, 56, .5); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--small { padding: .6rem 1.2rem; font-size: .92rem; }
.btn--block { width: 100%; }

/* Cabeçalho */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(11, 31, 58, .0); transition: background .3s ease, box-shadow .3s ease;
}
.header.is-scrolled { background: rgba(11, 31, 58, .94); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; }
.brand__logo { height: 38px; width: auto; }
.footer .brand__logo { height: 46px; }
.brand__text { display: flex; flex-direction: column; font-family: var(--font-title); font-weight: 800; font-size: 1.25rem; line-height: 1.05; }
.brand__text small { font-family: var(--font-body); font-weight: 600; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent); }
.nav { display: flex; align-items: center; gap: 1.8rem; color: #fff; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn) { opacity: .85; transition: opacity .2s; }
.nav a:not(.btn):hover { opacity: 1; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 80% 20%, var(--c-primary-2), var(--c-primary) 60%);
  padding: calc(var(--header-h) + 64px) 0 96px;
}
.hero__glow {
  position: absolute; width: 520px; height: 520px; right: -120px; top: 40px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 181, 56, .35), transparent 65%); filter: blur(20px);
  animation: pulse 6s ease-in-out infinite;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero__sub { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.5rem; }
.hero__stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero__stats strong { display: block; font-family: var(--font-title); font-size: 1.6rem; color: var(--c-accent); }
.hero__stats span { font-size: .85rem; color: rgba(255,255,255,.7); }

.led-panel { max-width: 460px; margin-inline: auto; animation: float 6s ease-in-out infinite; }
.led-panel__screen {
  position: relative; aspect-ratio: 16/10; border-radius: 14px; padding: 8%;
  display: flex; flex-direction: column; justify-content: center; gap: .6rem;
  background:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,.35) 1px, transparent 1.5px) 0 0 / 6px 6px,
    linear-gradient(135deg, #0F4C7A, #1B7FBF 55%, #F7B538);
  border: 8px solid #08162B; box-shadow: 0 0 60px rgba(247, 181, 56, .4), 0 30px 60px rgba(0,0,0,.4);
}
.led-panel__tag { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(10,31,51,.75); }
.led-panel__title { font-family: var(--font-title); font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.9rem); color: #0A2540; line-height: 1.1; }
.led-panel__bar { width: 40%; height: 8px; border-radius: 99px; background: #0A2540; animation: bar 3.5s ease-in-out infinite; }
.led-panel__pole { width: 18px; height: 70px; margin: 0 auto; background: linear-gradient(#1A2C46, #08162B); border-radius: 0 0 6px 6px; }

/* Grids e cards */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 2rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--c-accent); }
.card p { color: var(--c-muted); margin: 0; }
.card__icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 1.2rem;
  background: var(--c-primary); color: var(--c-accent); font-size: 1.4rem; font-weight: 800;
}

/* Painéis */
.panel-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.panel-card__img {
  aspect-ratio: 1/1; display: grid; place-items: center; text-align: center; padding: 1rem;
  background:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,.3) 1px, transparent 1.5px) 0 0 / 6px 6px,
    linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
  color: var(--c-accent); font-family: var(--font-title); font-weight: 700;
  background-size: 6px 6px, cover; background-position: center;
}
.panel-card__img img { width: 100%; height: 100%; object-fit: cover; }
.panel-card__body { padding: 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.panel-card__body h3 { margin: 0; }
.panel-card__meta { color: var(--c-muted); font-size: .92rem; margin: 0; }
.badge { align-self: flex-start; font-size: .72rem; font-weight: 700; padding: .25rem .7rem; border-radius: 99px; background: #DCEBF7; color: #0F4C7A; }
.badge--soon { background: #FFF1DB; color: #9A5B00; }
.panel-card .btn { margin-top: auto; }
.panel-card__map { font-size: .92rem; font-weight: 700; color: var(--c-accent-text); margin-bottom: .6rem; }
.panel-card__map:hover { text-decoration: underline; }
.panel-card__fluxo { display: grid; gap: 2px; padding: .9rem 1rem; border-radius: 12px; background: var(--c-primary); color: #fff; }
.panel-card__fluxo strong { font-family: var(--font-title); font-size: 1.7rem; line-height: 1.1; color: var(--c-accent); }
.panel-card__fluxo span { font-weight: 700; }
.panel-card__fluxo small { color: rgba(255,255,255,.7); font-size: .78rem; line-height: 1.4; margin-top: 4px; }
.footer__company { margin-bottom: .4rem !important; }
.footer__company a, .textlink { text-decoration: underline; text-underline-offset: 3px; }
.panel-card__map[data-lightbox]::after { content: " ⤢"; }
.panel-card__img[data-lightbox] { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(5, 15, 28, .9); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1000px, 100%); max-height: 88vh; width: auto; height: auto; border-radius: 12px; background: #fff; }
.lightbox__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; font-size: 28px; line-height: 1; color: #0A2540; background: #fff; }
.panel-card__img:has(img) { padding: 0; background: var(--c-bg-alt); aspect-ratio: 3/4; }
.panel-card__img img { width: 100%; height: 100%; object-fit: cover; }
.panel-card__img img { object-fit: contain; }
.btn--outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn--outline:hover { background: var(--c-primary); color: #fff; }

/* Sobre */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: start; }
.about__text p { color: var(--c-muted); }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 2rem; font-weight: 600; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 1.35rem; height: 1.35rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--c-accent); color: #0A2540; font-size: .8rem; font-weight: 800; top: .15rem;
}
.testimonials { display: grid; gap: 1.2rem; }
.testimonials[hidden] { display: none; }
.about:has(#testimonials[hidden]) { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
.quote { margin: 0; padding: 1.8rem; border-radius: var(--radius); background: var(--c-bg-alt); border-left: 4px solid var(--c-accent); }
.quote blockquote { margin: 0 0 1rem; font-size: 1.05rem; font-weight: 500; }
.quote figcaption strong { display: block; }
.quote figcaption span { font-size: .88rem; color: var(--c-muted); }

/* CTA / Formulário */
.section--cta { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2)); color: #fff; }
.section--cta .eyebrow { color: var(--c-accent); }
.cta { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center; }
.cta__text p:last-child { color: rgba(255,255,255,.8); font-size: 1.08rem; }
.form { background: #fff; color: var(--c-text); border-radius: 20px; padding: 2rem; display: grid; gap: 1rem; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.form label { display: grid; gap: .4rem; font-weight: 600; font-size: .92rem; }
.form .opt { font-weight: 500; color: var(--c-muted); }
.form input, .form select, .form textarea {
  font: inherit; padding: .85rem 1rem; border: 1.5px solid var(--c-line); border-radius: 12px; background: #fff; color: var(--c-text);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 4px rgba(247, 181, 56, .22); }
.form .is-invalid { border-color: #D64545; }
.form__error { color: #C03030; font-size: .9rem; margin: 0; font-weight: 600; }
.form__note { text-align: center; font-size: .8rem; color: var(--c-muted); margin: 0; }

/* FAQ */
.faq { display: grid; gap: .8rem; }
.faq details { border: 1px solid var(--c-line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--c-accent); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 3.2rem 1.15rem 1.4rem; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--c-accent-text); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--c-muted); }

/* Rodapé */
.footer { background: #07152A; color: rgba(255,255,255,.78); padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand p { margin-top: 1rem; max-width: 320px; }
.footer__col { display: flex; flex-direction: column; gap: .6rem; }
.footer__col h3 { color: #fff; font-size: 1rem; margin-bottom: .4rem; }
.footer__col a:hover { color: var(--c-accent); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; font-size: .85rem; }
.footer__bottom p { margin: 0; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--c-wa); color: #fff; box-shadow: 0 10px 25px rgba(0,0,0,.3);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* Animações de rolagem */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%,100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes bar { 0%,100% { width: 25%; } 50% { width: 70%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsivo */
@media (max-width: 960px) {
  .hero__inner, .about, .cta { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .led-panel { max-width: 340px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-primary); padding: 1rem 20px 1.5rem; transform: translateY(-120%); transition: transform .3s ease;
    box-shadow: 0 20px 30px rgba(0,0,0,.3);
  }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.08); opacity: 1; }
  .nav__cta { margin-top: 1rem; }
  .header { background: rgba(11, 31, 58, .94); }
}
@media (max-width: 600px) {
  .grid--3 { grid-template-columns: 1fr; }
  .hero { padding-bottom: 64px; }
  .hero__actions .btn { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; }
  .form { padding: 1.4rem; }
}
