/* ============ TOKENS ============ */
:root {
  --teal: #369C8E;
  --teal-dark: #297A6F;
  --teal-10: #DCEEEB;
  --navy: #273F4B;
  --navy-soft: #5A6E77;
  --bg: #F5F7F6;
  --white: #FFFFFF;
  --line: #E1E8E6;

  --font-display: "Fraunces", serif;
  --font-body: "Manrope", sans-serif;

  --wrap: 1160px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0 0 .5em; line-height: 1.1; }
p { margin: 0 0 1em; color: var(--navy-soft); line-height: 1.65; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

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

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin: 0 0 .9em;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-whatsapp { background: var(--teal); color: var(--white); }
.btn-whatsapp:hover { background: var(--teal-dark); box-shadow: 0 8px 20px -8px rgba(54,156,142,.6); }
.btn-whatsapp .icon-wa { width: 18px; height: 18px; fill: currentColor; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-primary { background: var(--navy); color: var(--white); width: 100%; justify-content: center; padding: 15px; }
.btn-primary:hover { background: #1c2f38; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,247,246,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand-logo { height: 34px; width: auto; }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { font-weight: 600; font-size: .92rem; color: var(--navy-soft); }
.main-nav a:hover { color: var(--teal-dark); }
.header-cta { margin-left: 8px; }
.nav-toggle { display: none; }

/* ============ HERO ============ */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  color: var(--navy);
  max-width: 12ch;
}
.hero-lede { font-size: 1.08rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero-social { display: flex; gap: 16px; }
.hero-social a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; transition: border-color .15s, background .15s; }
.hero-social a:hover { border-color: var(--teal); background: var(--teal-10); }
.hero-social svg { width: 18px; height: 18px; fill: var(--navy); }

.hero-figure { position: relative; max-width: 420px; margin: 0 auto; }
.hero-arc { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 32s linear infinite; }
.hero-photo {
  position: relative;
  width: 82%;
  margin: 9% auto;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 24px 50px -20px rgba(39,63,75,.35);
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-arc { animation: none; } }

/* ============ SECTIONS ============ */
.section { padding: 88px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); max-width: 16ch; }
.section-lede { max-width: 52ch; }

/* Sobre */
.sobre-inner { display: grid; grid-template-columns: 1fr; }
.sobre-copy { max-width: 640px; }
.sobre-stats { display: flex; gap: 36px; margin-top: 36px; flex-wrap: wrap; }
.stat { display: flex; align-items: center; gap: 14px; }
.stat-arc { width: 52px; height: 52px; flex-shrink: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); }
.stat span { font-size: .85rem; color: var(--navy-soft); }

/* Serviços */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(39,63,75,.3); border-color: var(--teal); }
.card-icon { width: 40px; height: 40px; color: var(--teal-dark); margin-bottom: 18px; }
.card h3 { font-size: 1.08rem; margin-bottom: .4em; }
.card p { font-size: .92rem; margin-bottom: 0; }

/* Avaliações */
.avaliacoes-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.avaliacoes-head h2 { margin-bottom: 0; }
.avaliacoes-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.review-card { flex-direction: row; align-items: flex-start; gap: 20px; }
.review-card .review-stars { flex-shrink: 0; padding-top: 3px; }
.review-card-body { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.review-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-stars { display: flex; gap: 3px; }
.review-stars svg { width: 16px; height: 16px; fill: #E8A83C; }
.review-text { font-size: .93rem; color: var(--navy-soft); margin: 0; flex-grow: 1; }
.review-author { font-family: var(--font-display); font-size: .95rem; color: var(--navy); font-weight: 500; }
@media (max-width: 900px) { .review-card { flex-direction: column; } }
@media (max-width: 720px) { .review-card { flex-direction: column; } }

/* Atendimento */
.atendimento-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.atendimento-cols { display: grid; gap: 18px; }
.atendimento-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.tag {
  display: inline-block; background: var(--teal-10); color: var(--teal-dark);
  font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.atendimento-col p { margin: 0; }

/* Contato */
.section-contact { background: var(--navy); color: var(--white); }
.section-contact .eyebrow { color: #8FD4C7; }
.section-contact h2 { color: var(--white); }
.section-contact p { color: #C4D0D4; }
.contato-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contato-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contato-list li { display: flex; align-items: center; gap: 12px; }
.contato-list svg { width: 20px; height: 20px; fill: #8FD4C7; flex-shrink: 0; }
.contato-list a:hover { text-decoration: underline; }
.contato-address { align-items: flex-start; }
.contato-address span { color: #C4D0D4; font-size: .95rem; line-height: 1.5; }

.contato-form { background: var(--white); border-radius: var(--radius); padding: 32px; display: grid; gap: 6px; }
.contato-form label { font-size: .85rem; font-weight: 700; color: var(--navy); margin-top: 10px; }
.contato-form input, .contato-form textarea {
  font-family: var(--font-body);
  font-size: .96rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--navy);
  resize: vertical;
}
.contato-form input:focus, .contato-form textarea:focus { border-color: var(--teal); background: var(--white); }
.contato-form button { margin-top: 16px; }
.hp-field { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; text-align: center; min-height: 1.2em; margin: 10px 0 0; }
.form-note.success { color: var(--teal-dark); font-weight: 700; }

/* ============ FOOTER ============ */
.site-footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.footer-logo { height: 26px; filter: brightness(0) invert(1); opacity: .85; }
.footer-inner p { color: #9FB0B7; font-size: .85rem; margin: 0; }
.footer-social { display: flex; gap: 20px; }
.footer-social a { font-size: .85rem; color: #C4D0D4; font-weight: 600; }
.footer-social a:hover { color: var(--white); }

/* ============ ARC PROGRESS (scroll indicator, subtle brand touch) ============ */
.arc-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--teal); z-index: 100; transition: width .1s linear; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .atendimento-inner, .contato-inner { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 280px; }
  .hero-copy { text-align: left; }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; top: 64px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px 24px; gap: 4px; border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .header-cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; margin-left: auto;
    background: none; border: none; cursor: pointer; padding: 0;
  }
  .nav-toggle span { width: 100%; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s 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); }

  .cards { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 24px; }
  .sobre-stats { gap: 24px; }
}
