/* ============================================================
   Hillesheim Alves Advogados — Design System
   Identidade: verde petróleo escuro + dourado · Tipografia Montserrat
   ============================================================ */

:root {
  /* Cores da marca */
  --green-900: #0b2723;
  --green-800: #0e3029;
  --green-700: #124035;
  --green-600: #1a5045;
  --gold-600: #a76f37;
  --gold-500: #bc854e; /* dourado principal (extraído do site atual) */
  --gold-400: #cf9b63;
  --gold-100: #f3e7d6;

  --cream: #f8f6f1;
  --paper: #ffffff;
  --ink-900: #16211e;
  --ink-700: #2c3a36;
  --ink-500: #58655f;
  --line: #e6e1d8;

  --shadow-sm: 0 1px 2px rgba(11, 39, 35, 0.06), 0 2px 8px rgba(11, 39, 35, 0.05);
  --shadow-md: 0 10px 30px rgba(11, 39, 35, 0.10);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1160px;

  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Reset enxuto */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; color: var(--green-800); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--ink-700); }
ul { padding-left: 1.1rem; }

/* Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--green { background: var(--green-800); color: #eef3f0; }
.section--green h1, .section--green h2, .section--green h3 { color: #fff; }
.section--green p { color: #cdddd6; }
.section--paper { background: var(--paper); }

.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-600); margin-bottom: 0.75rem;
}
.section--green .eyebrow { color: var(--gold-400); }
.lead { font-size: 1.15rem; color: var(--ink-700); max-width: 62ch; }
.section--green .lead { color: #cdddd6; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem; justify-content: center;
  font-weight: 600; font-size: 1rem; padding: 0.85rem 1.5rem; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  line-height: 1; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--gold { background: var(--gold-500); color: #241606; box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--gold-400); }
.btn--green { background: var(--green-700); color: #fff; }
.btn--green:hover { background: var(--green-600); }
.btn--outline { border-color: currentColor; color: var(--green-800); }
.section--green .btn--outline { color: #fff; }
.btn--wa { background: #25d366; color: #06331b; }
.btn--wa:hover { background: #3ee27a; }
.btn--block { width: 100%; }

/* Cards */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-100); }
.card h3 { margin-bottom: .5rem; }

/* Grids */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* Ícone circular */
.icon-badge {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gold-100); color: var(--gold-600); margin-bottom: 1rem;
}
.icon-badge svg { width: 26px; height: 26px; }

/* Lista com check dourado */
.checklist { list-style: none; padding: 0; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 1.9rem; color: var(--ink-700); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.15rem; height: 1.15rem;
  background: var(--gold-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Utilidades */
.stack > * + * { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; } .mt-1 { margin-top: 1rem; }
.badge-rating {
  display: inline-flex; align-items: center; gap: .5rem; background: #fff; color: var(--green-800);
  padding: .5rem .9rem; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow-sm); font-size: .95rem;
}
.stars { color: var(--gold-500); letter-spacing: 2px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--gold-500); color: #000;
  padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

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

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
