/* ===========================
   Arruma Ai — estilos
   =========================== */

:root {
  --blue: #1B3A6B;        /* azul-marinho da logo */
  --blue-dark: #122a52;
  --blue-soft: #e7eefb;
  --blue-mid: #2E7DD1;    /* azul médio da logo */
  --yellow: #F5B70A;      /* amarelo/dourado da logo */
  --yellow-dark: #d99f00;
  --ink: #152a4d;
  --ink-soft: #46556b;
  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --line: #e4e9f0;
  --accent: #F5B70A;
  --green: #25d366;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 27, 45, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 27, 45, 0.14);
  --maxw: 1120px;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5rem; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: .7rem 1.25rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: var(--blue); box-shadow: 0 8px 20px rgba(245,183,10,.35); }
.btn-primary:hover { background: var(--yellow-dark); color: var(--blue); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue-soft); }
.btn-light { background: var(--yellow); color: var(--blue); }
.btn-light:hover { background: var(--yellow-dark); }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1rem; font-size: .95rem; }
.btn-block { width: 100%; }

.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); margin: 0 0 .6rem;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; }
.logo:hover { text-decoration: none; }
.logo-img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; }
.logo-text { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--blue); letter-spacing: -.02em; }
.logo-text span { color: var(--yellow-dark); margin-left: .25rem; }

.main-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-menu a { color: var(--ink-soft); font-weight: 500; }
.nav-menu a:hover { color: var(--blue); text-decoration: none; }
.nav-menu .btn { color: var(--blue); }
.nav-menu .btn:hover { color: var(--blue); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0; background:
  radial-gradient(1200px 500px at 80% -10%, var(--blue-soft), transparent 60%),
  linear-gradient(180deg, #fff, var(--bg-alt)); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero-content .lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.hero h1 span { color: var(--blue-mid); display: block; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.6rem 0 1.2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem .7rem; font-size: .92rem; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: .3rem;
  background: #fff; border: 1px solid var(--line); color: var(--blue);
  font-weight: 600; padding: .4rem .8rem; border-radius: 999px; box-shadow: var(--shadow);
}

.hero-logo { display: grid; place-items: center; }
.hero-logo img { width: min(100%, 360px); height: auto; filter: drop-shadow(0 16px 30px rgba(21,42,77,.22)); }

/* Seções */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 2.5rem; text-align: center; }
.section-head h2 { position: relative; display: inline-block; }
.section-head h2::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 4px;
  background: var(--yellow); margin: .6rem auto 0;
}
.section-sub { color: var(--ink-soft); font-size: 1.1rem; margin: .8rem 0 0; }

.grid { display: grid; gap: 1.2rem; }
.grid-cats { grid-template-columns: repeat(2, 1fr); }
.grid-steps { grid-template-columns: repeat(3, 1fr); }
.grid-features { grid-template-columns: repeat(4, 1fr); }

/* Categorias de serviço */
.cat { border-top: 4px solid var(--yellow); }
.cat-icon { font-size: 2rem; display: inline-block; margin-bottom: .4rem; }
.cat h3 { color: var(--blue); margin-bottom: .8rem; }
.cat-list { display: grid; gap: .45rem; }
.cat-list li { position: relative; padding-left: 1.4rem; color: var(--ink-soft); }
.cat-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--yellow);
}
.cat .link-arrow { margin-top: 1rem; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.cat:hover, .step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.link-arrow { font-family: var(--font-head); font-weight: 700; color: var(--blue-mid); display: inline-block; margin-top: .6rem; }

/* Passos */
.grid-steps { counter-reset: step; }
.step { position: relative; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
  margin-bottom: .7rem;
}
.step p { color: var(--ink-soft); margin: 0; }

/* Features */
.feature {
  padding: 1.5rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 1.7rem; display: inline-grid; place-items: center; width: 54px; height: 54px; background: var(--blue-soft); color: var(--blue); border-radius: 14px; margin-bottom: .7rem; }
.feature h3 { color: var(--blue); }
.feature p { color: var(--ink-soft); margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--blue), var(--blue-dark)); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .2rem; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }

/* Contato */
.contato-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contato-list { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.contato-list li { display: flex; gap: .9rem; align-items: center; }
.contato-icon { font-size: 1.4rem; width: 46px; height: 46px; display: grid; place-items: center; background: var(--blue-soft); border-radius: 12px; }
.contato-list strong { display: block; font-family: var(--font-head); }

.contato-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field textarea { resize: vertical; }
.form-note { font-size: .85rem; color: var(--ink-soft); text-align: center; margin: 0; }
.form-status { font-size: .9rem; margin: 0; text-align: center; min-height: 1.2em; }
.form-status.ok { color: var(--green); font-weight: 600; }
.form-status.err { color: #d23b3b; font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #cfd8e6; padding: 3rem 0 1.5rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { color: #9fb0c6; max-width: 32ch; margin-top: .5rem; }
.footer-phone { font-weight: 700; font-family: var(--font-head); }
.footer-phone a { color: var(--yellow); }
.footer-phone a:hover { color: #fff; }
.footer-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.footer-nav a { color: #cfd8e6; font-weight: 500; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding-top: 1.5rem; }
.footer-bottom p { color: #8295ad; font-size: .9rem; margin: 0; }

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37,211,102,.45);
  transition: transform .15s;
}
.whatsapp-float:hover { transform: scale(1.08); text-decoration: none; }

/* Animação de entrada (revela ao rolar) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 900px) {
  .grid-features { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-logo { order: -1; }
  .hero-logo img { width: min(70%, 260px); }
  .contato-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 20px; gap: .5rem;
    box-shadow: var(--shadow); display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { padding: .6rem 0; display: block; }
  .nav-menu .btn { justify-content: center; margin-top: .3rem; }
  .grid-cats, .grid-features, .grid-steps { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

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