/* =========================================================
   GUINDASTE PATENSE — estilos
   ========================================================= */

:root {
  /* cores */
  --black:        #14181D;
  --slate:        #232A33;
  --slate-2:      #3A4450;
  --yellow:       #F5B700;
  --yellow-dark:  #D69E00;
  --concrete:     #EFEBE2;
  --concrete-2:   #DCD6C8;
  --ink:          #1B1F24;
  --muted:        #6E6A5F;
  --white:        #FFFFFF;

  /* tipografia */
  --font-display: 'Oswald', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* layout */
  --max-width: 1140px;
  --radius: 6px;
}

/* ---------- reset básico ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--concrete);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.15; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   CABEÇALHO
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.logo__mark { color: var(--yellow); display: flex; }
.logo__image {
  height: 46px;
  width: auto;
  border-radius: 6px;
  display: block;
}
.footer__brand { display: flex; align-items: center; gap: 10px; }
.logo__text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  font-weight: 500;
}
.logo__text strong { color: var(--yellow); font-weight: 700; }
.logo__text--footer { color: var(--white); }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  color: var(--concrete-2);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--white); }
.nav__phone {
  font-family: var(--font-mono);
  color: var(--yellow) !important;
  border: 1px solid var(--yellow);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.85rem !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.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); }

/* =========================================================
   BOTÕES
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--yellow);
  color: var(--black);
}
.btn--primary:hover { background: var(--yellow-dark); }
.btn--ghost {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--block { width: 100%; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 72px 24px 56px;
}
.eyebrow {
  font-family: var(--font-mono);
  color: var(--yellow);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero__title {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.hero__title span { color: var(--yellow); }
.hero__text {
  margin-top: 20px;
  max-width: 46ch;
  color: var(--concrete-2);
  font-size: 1.05rem;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero__values {
  display: flex;
  gap: 22px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero__values li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--concrete-2);
}

.hero__graphic {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 30px 60px -12px rgba(0,0,0,0.55);
}

.hook-card {
  position: absolute;
  right: -14px;
  bottom: 36px;
  transform: translate(0, 0);
  transform-origin: top center;
  background: var(--concrete);
  color: var(--ink);
  padding: 14px 18px;
  border-radius: 4px;
  box-shadow: 0 14px 24px rgba(0,0,0,0.35);
  min-width: 150px;
  animation: sway 4.5s ease-in-out infinite;
}
.hook-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
}
.hook-card__subtitle {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}
@keyframes sway {
  0%, 100% { transform: translate(0, 0) rotate(-2.5deg); }
  50%      { transform: translate(0, 0) rotate(2.5deg); }
}

/* =========================================================
   GALERIA / TRABALHOS REALIZADOS
   ========================================================= */
.gallery { padding: 88px 0; background: var(--white); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--slate);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(20,24,29,0.85), rgba(20,24,29,0));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

/* =========================================================
   SEÇÃO SERVIÇOS
   ========================================================= */
.services { padding: 88px 0; }
.section-eyebrow {
  font-family: var(--font-mono);
  color: var(--yellow-dark);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-eyebrow--light { color: var(--yellow); }
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 20ch;
  margin-bottom: 48px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--concrete-2);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(20,24,29,0.08);
}
.service-card__icon {
  color: var(--yellow-dark);
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================================================
   SEÇÃO SOBRE / VALORES
   ========================================================= */
.about {
  background: var(--slate);
  color: var(--white);
  padding: 88px 0;
}
.about__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.about__title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  max-width: 22ch;
}
.about__text {
  margin-top: 22px;
  color: var(--concrete-2);
  max-width: 50ch;
  font-size: 1rem;
}
.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
}
.values-list li {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  border-radius: 999px;
}

/* =========================================================
   SEÇÃO ORÇAMENTO
   ========================================================= */
.contact { padding: 88px 0; }
.contact__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.contact__cta-text {
  margin-top: 20px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.05rem;
}
.btn--whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  background: #25D366;
  color: var(--white);
}
.btn--whatsapp:hover { background: #1EBE5A; }

.contact__info {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  height: fit-content;
}
.contact__info h3 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.info-list { display: flex; flex-direction: column; gap: 20px; }
.info-list__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 6px;
}
.info-list a,
.info-list span {
  display: block;
  color: var(--concrete-2);
  font-size: 0.95rem;
}
.info-list a:hover { color: var(--white); }
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.social-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--yellow);
}
.social-links a:hover { color: var(--white); }

/* =========================================================
   RODAPÉ
   ========================================================= */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer p {
  color: var(--concrete-2);
  font-size: 0.82rem;
}

/* =========================================================
   BOTÃO FLUTUANTE DO WHATSAPP
   ========================================================= */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  z-index: 200;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}
@media (max-width: 700px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__graphic { order: -1; max-width: 420px; margin: 0 auto; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .about__inner { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav.is-open { max-height: 320px; }
  .nav a {
    width: 100%;
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .nav__phone { margin: 16px 24px; border: 1px solid var(--yellow); }
  .nav-toggle { display: flex; }
  .services__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
}
