/* ============================================================
   Dani Wicher — site institucional (estático)
   Paleta e tipografia herdadas do site original (Elementor):
   verde #06593B, dourado #C99F6D, roxo #7F337D, Montserrat.
   ============================================================ */

:root {
  --verde: #06593B;
  --verde-escuro: #044a31;
  --dourado: #C99F6D;
  --dourado-claro: #E6CDA7;
  --roxo: #7F337D;
  --tinta: #28212C;
  --tinta-suave: #5a5360;
  --rosa: #F7F3F5;
  --cinza: #FAFAFA;
  --branco: #FFFFFF;
  --linha: rgba(6, 89, 59, 0.14);

  --container: 1140px;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(40, 33, 44, 0.10);
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--tinta);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--verde); }
a:hover { color: var(--roxo); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; color: var(--verde); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

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

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--verde); color: #fff; padding: 10px 16px; border-radius: 6px;
}
.skip:focus { top: 12px; color: #fff; }

/* ---------- Ícones ---------- */
.ico {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.25em;
}
.ico-lg { width: 40px; height: 40px; stroke-width: 1.5; color: var(--dourado); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 26px; border-radius: 6px; border: 2px solid transparent;
  font: 600 15px/1.2 var(--font); text-decoration: none; text-align: center;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 17px; }
.btn-verde { background: var(--verde); color: #fff; }
.btn-verde:hover { background: var(--verde-escuro); color: #fff; }
.btn-dourado { background: var(--dourado); color: var(--tinta); }
.btn-dourado:hover { background: var(--dourado-claro); color: var(--tinta); }
.btn-contorno { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn-contorno:hover { background: #fff; color: var(--verde); }
.peso { font-weight: 500; font-size: .85em; opacity: .85; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 2px 18px rgba(40, 33, 44, .10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--tinta); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--roxo); }

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

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--verde); color: #fff;
  min-height: 600px; display: flex; align-items: center;
}
.hero-inner { position: relative; z-index: 2; }
.hero-texto { max-width: 560px; padding: 72px 0; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); }
.hero-sub { font-size: 1.15rem; color: rgba(255, 255, 255, .9); margin-bottom: 1.8em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-foto { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero-foto::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--verde) 0%, rgba(6, 89, 59, 0) 55%);
}

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--roxo); margin-bottom: 1em;
}
.eyebrow-claro { color: var(--dourado-claro); }

/* ---------- Seções ---------- */
.secao { padding: 88px 0; }
.secao-rosa { background: var(--rosa); }
.secao-cinza { background: var(--cinza); }
.secao-verde { background: var(--verde); color: #fff; }
.secao-cab { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.secao-cab h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.secao-cab p { font-size: 1.1rem; color: var(--tinta-suave); margin: 0; }
.secao-verde .secao-cab h2 { color: #fff; }
.secao-verde .secao-cab p { color: rgba(255, 255, 255, .88); }

.grade { display: grid; gap: 22px; margin-top: 26px; }
.grade-3 { grid-template-columns: repeat(3, 1fr); }
.grade-2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin-left: auto; margin-right: auto; }

.card {
  background: var(--branco); border: 1px solid var(--linha); border-radius: var(--radius);
  padding: 28px; color: var(--tinta);
}
.card h3 { font-size: 1.2rem; }
.card p:last-child { margin-bottom: 0; }

.card-icone { text-align: center; }
.card-icone > .ico { width: 36px; height: 36px; stroke-width: 1.5; color: var(--dourado); margin-bottom: 14px; }
.card-icone .destaque { font-weight: 600; color: var(--roxo); }
.card-icone .nota { font-size: .9rem; color: var(--tinta-suave); }

.card-ouro { background: var(--dourado); border-color: var(--dourado); text-align: center; }
.card-ouro h3 { color: var(--tinta); }

/* Quem sou eu */
.historia { max-width: 760px; margin: 0 auto 36px; }
.historia h3 { font-size: 1.5rem; text-align: center; margin-bottom: 1em; }
.formacao { max-width: 760px; margin: 0 auto; }

/* Listas com marcador */
.lista li { position: relative; padding-left: 22px; margin-bottom: .45em; }
.lista li::before {
  content: ''; position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--dourado);
}
.card-icone .lista { text-align: left; display: inline-block; margin-top: .4em; }

/* Serviços */
.servico .ico-lg { margin-bottom: 12px; }
.servico-lema { color: var(--roxo); font-weight: 600; }

.faixa {
  margin-top: 40px; background: var(--verde); color: #fff; border-radius: var(--radius);
  padding: 44px 32px; text-align: center;
}
.faixa h3 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.faixa p { max-width: 640px; margin: 0 auto 1.6em; color: rgba(255, 255, 255, .92); }

/* Contatos (listas com ícone) */
.contatos li { display: flex; align-items: center; gap: .7em; margin-bottom: .8em; text-align: left; }
.contatos li .ico { color: var(--dourado); }
.card-icone .contatos { display: inline-block; margin: .4em 0 1.2em; }
.contatos a { word-break: break-word; }
.sem-icone li { display: block; }

/* Carrossel */
.carrossel { position: relative; margin-top: 44px; }
.car-trilho {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: 4px;
}
.car-trilho::-webkit-scrollbar { display: none; }
.car-trilho li {
  flex: 0 0 calc((100% - 4 * 12px) / 5); aspect-ratio: 3 / 4;
  scroll-snap-align: start; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, .12);
}
.car-trilho img { width: 100%; height: 100%; object-fit: cover; }
.car-btn {
  display: none; position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px;
  margin-top: -22px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--verde); box-shadow: var(--shadow);
  align-items: center; justify-content: center;
}
.car-btn:hover { background: var(--dourado-claro); }
.car-btn[disabled] { opacity: .4; cursor: default; }
.js-enabled .car-btn { display: inline-flex; }
.car-prev { left: -10px; }
.car-next { right: -10px; }

/* Ebooks */
.ebook { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 6px; }
.ebook h3 { font-size: 1.1rem; }
.ebook .btn { margin-top: 8px; flex-wrap: wrap; }

/* Contato */
.contato-card { max-width: 640px; margin: 0 auto; text-align: center; padding: 44px 32px; }
.contato-card > p:first-child { font-size: 1.05rem; margin-bottom: 1.6em; }
.contato-alt { margin-top: 1.6em; color: var(--tinta-suave); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--verde); color: #fff; padding: 64px 0 0; }
.site-footer h3 { color: var(--dourado-claro); font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--dourado-claro); }
.rodape-grade { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.rodape-logo { margin-bottom: 14px; }
.redes { display: flex; gap: 12px; }
.redes a {
  display: inline-flex; width: 42px; height: 42px; border-radius: 50%;
  align-items: center; justify-content: center; border: 1.5px solid rgba(255, 255, 255, .45);
}
.redes a:hover { background: #fff; color: var(--verde); border-color: #fff; }
.rodape-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  border-top: 1px solid rgba(255, 255, 255, .22); padding: 22px 0; font-size: 14px;
}
.rodape-base p { margin: 0; color: rgba(255, 255, 255, .85); }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .grade-3 { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .car-trilho li { flex-basis: calc((100% - 2 * 12px) / 3); }
  .rodape-grade { grid-template-columns: 1fr 1fr; }
  .rodape-grade > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
    background: #fff; box-shadow: 0 14px 24px rgba(40, 33, 44, .12);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--linha); font-size: 16px; }
  .nav .btn { margin-top: 14px; }

  .hero { display: block; min-height: 0; }
  .hero-texto { padding: 56px 0 28px; max-width: none; }
  .hero-foto { position: relative; width: 100%; height: 440px; }
  .hero-foto img { object-position: 50% 15%; }
  .hero-foto::after { background: linear-gradient(180deg, var(--verde) 0%, rgba(6, 89, 59, 0) 40%); }
}

@media (max-width: 640px) {
  .secao { padding: 64px 0; }
  .grade-2 { grid-template-columns: 1fr; }
  .car-trilho li { flex-basis: calc((100% - 12px) / 2); }
  .car-prev { left: 4px; }
  .car-next { right: 4px; }
  .rodape-grade { grid-template-columns: 1fr; }
  .card { padding: 24px 20px; }
  .faixa { padding: 36px 20px; }
  .contato-card { padding: 36px 20px; }
  .btn-lg { padding: 16px 24px; font-size: 16px; }
  .rodape-base { flex-direction: column; }
}
