/* =========================================================
   LINHAMARÉ — ESTILOS GLOBAIS
   Identidade: preto, amarelo, off-white e branco | Poppins
   ========================================================= */

:root {
  --black: #0a0a0a;
  --graphite: #222222;
  --yellow: #ffd700;
  --yellow-acid: #f5ea05;
  --yellow-strong: #f4c400;
  --off-white: #edeee0;
  --white: #ffffff;
  --paper: #f7f7f2;
  --text: #151515;
  --muted: #676767;
  --line: rgba(10, 10, 10, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(10, 10, 10, 0.12);
  --radius-sm: 10px;
  --radius-md: 18px;
  --header-h: 82px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

::selection {
  color: var(--black);
  background: var(--yellow);
}

.shell {
  width: min(1440px, calc(100% - 96px));
  margin: 0 auto;
}

.section {
  padding: 118px 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(247, 247, 242, 0.96);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  backdrop-filter: blur(12px);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled,
.site-header.solid {
  background: rgba(247, 247, 242, 0.98);
  border-bottom-color: rgba(10, 10, 10, 0.08);
  box-shadow: 0 10px 30px rgba(10, 10, 10, 0.04);
}

.header-inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand {
  flex: 0 0 auto;
  width: 186px;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  padding: 14px 0;
  opacity: 0.84;
}

.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 2px;
  background: var(--yellow-strong);
  transition: right 0.22s ease;
}

.main-nav > a:hover,
.main-nav > a.is-active {
  opacity: 1;
}

.main-nav > a:hover::after,
.main-nav > a.is-active::after {
  right: 0;
}

.nav-cta,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  color: var(--black);
  background: var(--yellow);
  border: 1px solid var(--yellow);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.nav-cta:hover,
.header-cta:hover {
  background: var(--yellow-acid);
  border-color: var(--yellow-acid);
}

.nav-cta-mobile {
  display: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  background: var(--black);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Tipografia e pequenos componentes */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--black);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--yellow);
}

.kicker-light {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  max-width: 900px;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--black);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.section-heading-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 46px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-yellow {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}

.btn-yellow:hover {
  background: var(--yellow-acid);
  border-color: var(--yellow-acid);
}

.btn-dark {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.btn-dark:hover {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}

.btn-ghost {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost-dark {
  color: var(--black);
  background: transparent;
  border-color: rgba(10, 10, 10, 0.16);
}

.btn-ghost-dark:hover {
  background: rgba(10, 10, 10, 0.05);
  border-color: rgba(10, 10, 10, 0.3);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Footer */
.footer {
  padding: 78px 0 26px;
  color: var(--white);
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 1.15fr 1fr;
  gap: 54px;
}

.footer-brand img {
  width: 190px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 280px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.footer h3 {
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer a {
  width: fit-content;
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.55;
  transition: color 0.2s ease;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  margin: 0;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}

/* WhatsApp flutuante */
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--yellow);
  border: 1px solid var(--black);
  border-radius: 50%;
  box-shadow: 6px 6px 0 var(--black);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--black);
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsivo global */
@media (max-width: 1100px) {
  .shell {
    width: min(100% - 56px, 1440px);
  }

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

@media (max-width: 860px) {
  :root {
    --header-h: 74px;
  }

  .shell {
    width: min(100% - 36px, 1440px);
  }

  .section {
    padding: 86px 0;
  }

  .brand {
    width: 166px;
  }

  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    background: rgba(247, 247, 242, 0.99);
    border-top: 1px solid rgba(10, 10, 10, 0.08);
    transform: translateY(-130%);
    transition: transform 0.28s ease;
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .main-nav > a:not(.nav-cta) {
    padding: 16px 4px;
    border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  }

  .main-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta-mobile {
    display: inline-flex;
    margin-top: 14px;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 14px;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1440px);
  }

  .section {
    padding: 72px 0;
  }

  .section-heading h2 {
    font-size: clamp(34px, 11vw, 54px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
  }
}
