/* ==========================================================
   CAPA — composição da referência aprovada
   Off-white com traços sutis em dourado e azul-marinho; "70" dourado e grande
   à esquerda; título e texto à direita; botões centralizados na base;
   onda azul-marinho com acabamento dourado na transição.
   Animação do 70: uma única vez, depois permanece.
   ========================================================== */

.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  padding: clamp(130px, 16vh, 170px) 0 clamp(190px, 24vh, 230px);
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(55% 60% at 88% 18%, rgba(201, 162, 75, .14), transparent 70%),
    radial-gradient(45% 55% at 4% 92%, rgba(11, 31, 59, .05), transparent 70%),
    var(--off);
  overflow: hidden;
}

/* Traços curvos sutis ao fundo */
.hero-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
}
.hero-lines path {
  fill: none; stroke: rgba(201, 162, 75, .28); stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 72px); align-items: center;
}

/* ----- 70 ANOS (grande) ----- */
.hero-70 { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 700 clamp(14px, 1.05vw, 17px)/1 var(--sans);
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--navy); margin: 0 0 clamp(14px, 2.2vh, 24px);
  opacity: 0; animation: fadeUp 1s var(--ease) .3s both;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; display: block; width: 28px; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-eyebrow::after { width: 14px; }

.num-block { display: inline-flex; flex-direction: column; align-items: center; }
.num {
  display: block;
  font: 700 clamp(11rem, 52vh, 30rem)/.8 var(--serif);
  letter-spacing: -.035em;
  padding: .02em .06em 0;
  background: linear-gradient(170deg, #FFF4D0 0%, #F4D47E 20%, #C9A24B 48%, #FFE6A6 60%, #B5862E 80%, #8A5E18 100%);
  background-size: 240% 100%;
  background-position: 30% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 16px 24px rgba(120, 84, 20, .22));
  animation:
    numReveal 2.6s var(--ease) .2s both,
    glint 2s ease-out 2.4s both;
}
@keyframes numReveal {
  0%   { opacity: 0; transform: scale(1.45); filter: blur(22px); letter-spacing: .08em; }
  55%  { opacity: 1; filter: blur(0) drop-shadow(0 16px 24px rgba(120,84,20,.22)); }
  80%  { transform: scale(.985); }
  100% { opacity: 1; transform: none; letter-spacing: -.035em; }
}
/* Reflexo dourado: uma única passada */
@keyframes glint { from { background-position: 130% 0; } to { background-position: 30% 0; } }

.anos {
  display: flex; align-items: center; gap: clamp(14px, 2vw, 26px);
  font: 600 clamp(2rem, 5.2vh, 3.8rem)/1 var(--serif);
  letter-spacing: .4em; text-transform: uppercase;
  color: var(--navy);
  margin-top: .06em; padding-left: .4em;
  opacity: 0; animation: anosIn 1.6s var(--ease) 1.5s both;
}
.anos i {
  display: block; width: clamp(60px, 11vw, 150px); height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
@keyframes anosIn {
  from { opacity: 0; letter-spacing: .9em; transform: translateY(10px); }
  to   { opacity: 1; letter-spacing: .4em; transform: none; }
}

/* ----- Título e texto (à direita) ----- */
.hero-copy { position: relative; padding-left: clamp(28px, 3vw, 52px); opacity: 0; animation: fadeUp 1.4s var(--ease) 1.9s both; }
.hero-rule {
  position: absolute; left: 0; top: 2%; bottom: 2%; width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent);
}
.hero-title {
  font: italic 500 clamp(2.8rem, 1.4rem + 4.2vw, 6rem)/1.02 var(--serif);
  color: var(--navy); margin: 0; letter-spacing: -.01em;
  max-width: 9.5em;
}
.hero-title em { font-style: italic; color: var(--navy); }
.title-swoosh { display: block; width: min(100%, 520px); height: 34px; margin: 0 0 clamp(18px, 3vh, 30px); overflow: visible; }
.title-swoosh path { fill: none; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero-lede {
  margin: 0; max-width: 34ch;
  font: 400 clamp(1.2rem, 1rem + .6vw, 1.6rem)/1.45 var(--serif);
  color: var(--navy);
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ----- Botões centralizados na base (WhatsApp e endereço) ----- */
.hero-actions {
  position: relative; z-index: 1;
  display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(40px, 7vh, 72px);
  opacity: 0; animation: fadeUp 1.2s var(--ease) 2.6s both;
}
.action {
  display: flex; align-items: center; gap: 14px;
  min-width: min(100%, 340px); min-height: 60px; padding: 14px 26px 14px 22px;
  border-radius: 14px;
  border: 1px solid rgba(201, 162, 75, .45);
  background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 60%, var(--navy-deep) 100%);
  color: #fff; text-decoration: none;
  font: 600 17px/1.2 var(--sans);
  box-shadow: 0 16px 30px -20px rgba(11, 31, 59, .8), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.action > svg:first-child { flex: none; width: 24px; height: 24px; color: var(--gold-hi); fill: none; }
.action > span { flex: 1; padding-left: 16px; border-left: 1px solid rgba(241, 215, 154, .35); }
.action .arrow { flex: none; width: 18px; height: 18px; color: var(--gold-hi); fill: none; transition: transform .4s var(--ease); }
.action:hover {
  transform: translateY(-3px);
  border-color: rgba(241, 215, 154, .75);
  box-shadow: 0 22px 36px -18px rgba(11, 31, 59, .85), 0 0 0 4px rgba(201, 162, 75, .12);
}
.action:hover .arrow { transform: translateX(4px); }
.action:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; }

/* ----- Onda azul-marinho com acabamento dourado ----- */
.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 150px;
  z-index: 0; pointer-events: none;
}
.wave-fill { fill: var(--navy); }
.wave-line { fill: none; stroke-width: 3; vector-effect: non-scaling-stroke; }

/* ----- Responsivo ----- */
@media (max-width: 960px) {
  .hero { padding: 120px 0 180px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-70 { order: 0; }
  .hero-copy { padding-left: 0; text-align: center; }
  .hero-rule { display: none; }
  .hero-title { margin-inline: auto; }
  .title-swoosh { margin-inline: auto; }
  .hero-lede { margin-inline: auto; }
  .num { font-size: clamp(9rem, 36vh, 16rem); }
}
@media (max-width: 640px) {
  .hero { padding: 110px 0 170px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: .16em; }
  .num { font-size: clamp(8rem, 30vh, 12rem); }
  .anos { letter-spacing: .3em; padding-left: .3em; font-size: 1.8rem; gap: 12px; }
  .anos i { width: 34px; }
  .hero-title { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .action { min-width: 0; min-height: 56px; padding: 12px 18px; font-size: 16px; }
  .hero-wave { height: 110px; }
}

/* ----- Movimento reduzido ----- */
@media (prefers-reduced-motion: reduce) {
  .hero *, .hero *::before, .hero *::after { animation: none !important; transition: none !important; }
  .hero-eyebrow, .anos, .hero-copy, .hero-actions { opacity: 1; }
  .num { background-position: 30% 0; }
}
