/* ==========================================================
   Jato Certo — style.css
   Para trocar a identidade visual, altere só as variáveis abaixo.
   ========================================================== */
:root {
  --bg: #F2F8F8;
  --surface: #FFFFFF;
  --ink: #0F2A2E;
  --muted: #4A6569;
  --line: #D3E3E5;
  --brand: #0E93A0;         /* ícones e detalhes */
  --brand-strong: #0B7C87;  /* botões e links (contraste AA com branco) */
  --brand-deep: #0A3239;    /* cabeçalhos de página e rodapé */
  --tint: #E3F3F5;
  --accent: #FFC83D;        /* destaque: botão sobre fundo escuro, aviso de preço */
  --danger: #B3261E;
  --radius: 12px;
  --header-h: 68px;
  --font-display: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0 0 .5em; font-family: var(--font-display); font-weight: 600; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.125rem; font-weight: 500; letter-spacing: .01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--brand-strong); }
svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(40px, 6vw, 72px); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: .65rem 1.4rem;
  border: 2px solid transparent; border-radius: 10px;
  font: 500 1.05rem/1 var(--font-display); letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-primary { background: var(--brand-strong); color: #fff; }
.btn-primary:hover { background: #096873; }
.btn-on-dark { background: var(--accent); color: var(--brand-deep); }
.btn-on-dark:hover { background: #FFD766; }
.btn-block { width: 100%; }
.nav-cta { min-height: 40px; padding: .5rem 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 8px; margin-right: auto; color: var(--brand-deep); text-decoration: none; }
.brand-mark { width: 28px; height: 28px; color: var(--brand); }
.brand-name { font: 600 1.5rem/1 var(--font-display); letter-spacing: .01em; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { padding: .5rem .8rem; border-radius: 8px; color: var(--ink); font-weight: 500; text-decoration: none; }
.site-nav a:hover { color: var(--brand-strong); }
.site-nav a[aria-current="page"] { color: var(--brand-strong); box-shadow: inset 0 -3px 0 var(--brand); }

.nav-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; border-radius: 2px; background: var(--brand-deep); transition: transform .2s, opacity .2s; }
.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); }

@media (max-width: 800px) {
  .header-inner { gap: 8px; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; padding: 8px 20px 16px;
    background: var(--surface); border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .75rem .8rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); }
}

/* ---------- Cabeçalho de página (com onda) ---------- */
.page-head {
  position: relative;
  padding-block: clamp(40px, 7vw, 72px) clamp(56px, 8vw, 88px);
  background: var(--brand-deep); color: #fff;
}
.page-head h1 { color: #fff; }
.page-head p { max-width: 60ch; margin: 0; color: #CFE6E8; font-size: 1.1rem; }
.page-head::after, .hero::after {
  content: ""; position: absolute; inset: auto 0 -1px; height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C150 4 300 4 450 18S750 36 900 22 1100 6 1200 16V40Z' fill='%23F2F8F8'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* ---------- Serviços ---------- */
.service-detail {
  display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start;
  padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
}
.service-detail + .service-detail { margin-top: 24px; }
.service-detail-icon { width: 120px; height: auto; padding: 18px 14px; border-radius: var(--radius); background: var(--tint); color: var(--brand-strong); }
.service-detail h2 { margin: .25rem 0 .5rem; }
.service-detail p { max-width: 62ch; }
.tag { display: inline-block; padding: .15rem .7rem; border-radius: 999px; background: var(--tint); color: var(--brand-deep); font-size: .85rem; font-weight: 600; }
.service-detail ul { margin: 1rem 0; padding: 0; list-style: none; }
.service-detail li { display: flex; gap: 10px; align-items: flex-start; padding-block: .2rem; }
.service-detail li svg { flex: none; width: 20px; height: 20px; margin-top: .2em; color: var(--brand-strong); }
.price-note { margin: 0; padding-left: 12px; border-left: 3px solid var(--accent); color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) {
  .service-detail { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .service-detail-icon { width: 96px; }
}

/* ---------- Faixa de chamada ---------- */
.cta-band { background: var(--brand-strong); color: #fff; }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 48px; }
.cta-band h2 { margin-bottom: .25em; color: #fff; }
.cta-band p { margin: 0; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.contact-list svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: var(--radius); background: var(--tint); color: var(--brand-strong); }
.contact-list h3 { margin: 0 0 .15em; }
.contact-list p { margin: 0; }
.map-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 340px; padding: 32px; text-align: center;
  border: 2px dashed #9CC3C8; border-radius: 16px; background: var(--tint); color: var(--muted);
}
.map-placeholder svg { width: 44px; height: 44px; color: var(--brand); }
.map-placeholder p { max-width: 34ch; margin: 0; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Agendamento ---------- */
.info-banner { margin-bottom: 28px; padding: 14px 18px; border-left: 4px solid var(--accent); border-radius: 8px; background: #FFF4CC; font-size: .95rem; }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.booking-side { position: sticky; top: calc(var(--header-h) + 20px); }
.side-card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.side-card + .side-card { margin-top: 16px; }
.side-card p:last-child { margin-bottom: 0; }
.side-card a { font-weight: 600; }
@media (max-width: 900px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-side { position: static; }
}

.form-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 30px -20px rgba(10, 50, 57, .4); }
.form-row { margin-bottom: 20px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-card { padding: 20px; } .two-col { grid-template-columns: 1fr; } }

.form-row label { display: block; margin-bottom: 6px; font-size: .95rem; font-weight: 600; }
.form-note { font-weight: 400; color: var(--muted); }
.form-row input, .form-row select, .form-row textarea {
  display: block; width: 100%; min-height: 48px; padding: .7rem .9rem;
  border: 1.5px solid #6F9096; border-radius: 10px; background: #fff; color: var(--ink); font: inherit;
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-row ::placeholder { color: #5F777B; opacity: 1; }
.form-row select {
  appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A6569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
}
.form-row select:invalid { color: #5F777B; }
.form-row option { color: var(--ink); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--brand-strong); outline: 3px solid rgba(14, 147, 160, .35); outline-offset: 0; }
.form-row [aria-invalid="true"] { border-color: var(--danger); background-color: #FFF8F7; }
.field-error { margin: 6px 0 0; color: var(--danger); font-size: .875rem; font-weight: 500; }
.field-error:empty { display: none; }

.form-success { display: none; padding: 28px; border: 1px solid #9CC3C8; border-left: 6px solid var(--brand); border-radius: var(--radius); background: var(--tint); outline: none; }
.form-success.is-visible { display: block; }
.form-success h3 { color: var(--brand-deep); font-size: 1.4rem; }
.form-success p { margin: 0; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--brand-deep); color: #C4DCDF; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 48px 32px; }
.footer-brand .brand-name { display: block; margin-bottom: .5rem; color: #fff; }
.footer-brand p, .footer-col p { margin: 0 0 .35em; }
.footer-col h3 { margin-bottom: .6em; color: #fff; font-size: 1rem; }
.footer-col a { display: block; padding: .15rem 0; color: #C4DCDF; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { padding-block: 0 28px; color: #9FC4C8; font-size: .875rem; }
.footer-bottom::before { content: ""; display: block; height: 1px; margin-bottom: 20px; background: rgba(255, 255, 255, .14); }
.footer-bottom p { margin: 0; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Página inicial ---------- */
.hero { position: relative; padding-block: clamp(48px, 8vw, 88px) clamp(72px, 10vw, 112px); background: var(--brand-deep); color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .4em; color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; }
.hero p { max-width: 46ch; color: #CFE6E8; font-size: 1.15rem; }
.hero .hero-actions { margin-top: 28px; }
.hero-art { justify-self: center; width: 100%; max-width: 440px; color: #5CC4CE; }
.hero-art .drop { fill: var(--accent); }
.btn-outline-light { border-color: rgba(255, 255, 255, .6); background: transparent; color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }
@media (max-width: 800px) { .hero-inner { grid-template-columns: 1fr; } .hero-art { display: none; } }

.section-alt { background: var(--surface); }
.section-head { max-width: 60ch; margin-bottom: 32px; }
.section-head p { margin: 0; color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.service-card .service-detail-icon { width: 96px; margin-bottom: 16px; }
.service-card p { flex: 1; color: var(--muted); }
.service-card a { font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { padding-top: 20px; border-top: 3px solid var(--brand); counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px;
  border-radius: 50%; background: var(--brand-strong); color: #fff; font: 600 1.1rem/1 var(--font-display);
}
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 800px) { .service-grid, .steps { grid-template-columns: 1fr; } }
