/* Óticas Quel · paleta tirada do logo e da loja */
:root {
  --oliva: #4a6030;
  --oliva-escuro: #3a4c25;
  --oliva-profundo: #28351a;
  --dourado: #d8c890;
  --dourado-claro: #ece2bd;
  --dourado-texto: #7d6a33;
  --creme: #f6f1e4;
  --papel: #fffdf7;
  --madeira: #b88b5e;
  --agua: #bfe5dd;
  --tinta: #222a18;
  --texto: #3d4433;
  --texto-suave: #656b5a;
  --linha: #e4dcc6;

  --fonte-titulo: "Fraunces", Georgia, serif;
  --fonte-texto: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --verde-hero: #384026;
  --dourado-botao: #ead2a0;

  --raio: 20px;
  --raio-pequeno: 12px;
  --sombra: 0 18px 40px -22px rgba(40, 53, 26, .45);
  --largura: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 104px; }

body {
  margin: 0;
  background: var(--papel);
  color: var(--texto);
  font-family: var(--fonte-texto);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  color: var(--tinta);
  font-family: var(--fonte-titulo);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
}
h1 em, h2 em { font-style: italic; font-weight: 400; }

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 24px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.pular {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--dourado);
  color: var(--oliva-profundo);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.pular:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--dourado); outline-offset: 3px; border-radius: 6px; }

/* Botões */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--fonte-texto);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.botao svg { width: 20px; height: 20px; flex: none; }
.botao:hover { transform: translateY(-2px); }

.botao--dourado { background: var(--dourado-botao); color: var(--oliva-profundo); }
.botao--dourado:hover { background: var(--dourado-claro); }

.botao--oliva { background: var(--oliva); color: var(--papel); }
.botao--oliva:hover { background: var(--oliva-escuro); }

.botao--contorno { border-color: var(--dourado-botao); color: var(--dourado-botao); }
.botao--contorno:hover { border-color: var(--dourado); background: rgba(216, 200, 144, .1); }

.botao--contorno-escuro { border-color: var(--linha); color: var(--oliva-escuro); background: var(--papel); }
.botao--contorno-escuro:hover { border-color: var(--oliva); }

/* Topo */
.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(56, 64, 38, .97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(234, 210, 160, .32);
}
.topo__barra {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  height: 92px;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  justify-self: start;
  text-decoration: none;
}
.marca__monograma { width: 66px; height: 42px; color: var(--dourado-botao); }
.marca__nome {
  color: var(--dourado-botao);
  font-family: var(--fonte-texto);
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -.01em;
  line-height: 1;
}
.marca__nome strong { font-weight: 700; }

.menu { display: flex; gap: 48px; }
.menu a {
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  text-decoration: none;
  opacity: .92;
  transition: opacity .2s, color .2s;
}
.menu a:hover { opacity: 1; color: var(--dourado-botao); }

.topo__cta { justify-self: end; min-height: 56px; padding: 0 28px; font-size: 17px; }

.menu-botao {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(234, 210, 160, .12);
  cursor: pointer;
}
.menu-botao span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--dourado-botao);
  border-radius: 2px;
  transition: transform .25s ease;
}
.menu-botao[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-botao[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Abertura */
.topo .container,
.hero .container { max-width: 1640px; padding-left: clamp(20px, 5vw, 84px); padding-right: clamp(20px, 5vw, 84px); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 34% 50% at 4% 28%, rgba(96, 120, 64, .38), transparent 70%),
    radial-gradient(ellipse 30% 22% at 16% 100%, rgba(216, 196, 150, .22), transparent 70%),
    var(--verde-hero);
  color: #fff;
}

.hero__foto {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
}
.hero__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 30%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%);
  mask-image: linear-gradient(to right, transparent 0, #000 18%);
}

.hero__grade {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(600px, calc(100vh - 92px), 840px);
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero__texto { max-width: 640px; }

.hero h1 {
  color: #fff;
  font-size: clamp(52px, 6.2vw, 104px);
  font-weight: 400;
  font-variation-settings: "opsz" 60;
  line-height: 1;
  letter-spacing: 0;
}
.hero h1 em { display: block; color: var(--dourado-botao); font-weight: 400; }

.hero__sub {
  max-width: 15.5em;
  margin-top: 18px;
  color: #fff;
  font-size: clamp(19px, 1.75vw, 29px);
  font-weight: 300;
  line-height: 1.4;
}

.hero__acoes { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 46px; }

.botao--grande { min-height: 74px; padding: 0 38px; font-size: 20px; gap: 14px; }
.botao--grande svg { width: 24px; height: 24px; }
.botao .seta { margin-left: 6px; }

.estrelas { color: #c9a43c; letter-spacing: 2px; font-size: 15px; }

.faixa {
  overflow: hidden;
  background: var(--dourado);
  color: var(--oliva-profundo);
  padding: 14px 0;
}
.faixa__trilho {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: correr 28s linear infinite;
  font-family: var(--fonte-titulo);
  font-size: 22px;
  font-style: italic;
  white-space: nowrap;
}
.faixa__trilho i { font-size: 9px; font-style: normal; align-self: center; opacity: .55; }
@keyframes correr { to { transform: translateX(-50%); } }

/* Seções */
.secao { padding: 104px 0; }
.secao--oliva { background: var(--oliva-escuro); color: var(--creme); }
.secao--creme { background: var(--creme); }

.secao__cabeca { max-width: 640px; margin-bottom: 56px; }
.secao__cabeca h2 { font-size: clamp(34px, 4.4vw, 52px); }
.secao__cabeca h2 em { color: var(--oliva); }
.secao__cabeca p:not(.rotulo) { margin-top: 18px; color: var(--texto-suave); font-size: 18px; }

.secao__cabeca--claro h2 { color: var(--papel); }
.secao__cabeca--claro h2 em { color: var(--dourado); }
.secao__cabeca--claro p:not(.rotulo) { color: rgba(246, 241, 228, .78); }

.secao__cabeca--centro { margin-left: auto; margin-right: auto; text-align: center; }

.rotulo {
  margin-bottom: 16px;
  color: var(--dourado-texto);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.secao--oliva .rotulo { color: var(--dourado); }

/* Cartões de produto */
.cartoes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cartao {
  padding: 32px 26px;
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  background: var(--papel);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cartao:hover { transform: translateY(-4px); box-shadow: var(--sombra); border-color: var(--dourado); }
.cartao__icone {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--creme);
  color: var(--oliva);
}
.cartao__icone svg { width: 38px; height: 38px; }
.cartao h3 { font-size: 23px; margin-bottom: 10px; }
.cartao p { color: var(--texto-suave); font-size: 16px; }
.cartao strong { color: var(--tinta); font-weight: 600; }

.cartao--destaque { background: var(--oliva); border-color: var(--oliva); }
.cartao--destaque h3 { color: var(--papel); }
.cartao--destaque p { color: rgba(246, 241, 228, .82); }
.cartao--destaque strong { color: var(--dourado); }
.cartao--destaque .cartao__icone { background: rgba(216, 200, 144, .16); color: var(--dourado); }

/* Atendimento */
.passos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.passos li {
  padding: 34px 30px;
  border: 1px solid rgba(216, 200, 144, .22);
  border-radius: var(--raio);
  background: rgba(255, 253, 247, .04);
}
.passos__numero {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--dourado);
  color: var(--oliva-profundo);
  font-family: var(--fonte-titulo);
  font-size: 21px;
  font-weight: 600;
}
.passos h3 { color: var(--papel); font-size: 23px; margin-bottom: 10px; }
.passos p { color: rgba(246, 241, 228, .75); font-size: 16px; }

/* Kids */
.kids {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 72px;
}
.kids__foto {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(100%, 380px);
}
.kids__foto::after {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  z-index: -1;
  border-radius: var(--raio);
  background: var(--agua);
}
.kids__foto img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--raio);
}
.kids__texto h2 { font-size: clamp(32px, 4vw, 48px); }
.kids__texto h2 em { color: var(--oliva); }
.kids__texto > p:not(.rotulo) { margin-top: 18px; color: var(--texto-suave); font-size: 18px; }

.kids__projeto {
  margin: 30px 0 34px;
  padding: 24px 26px;
  border-radius: var(--raio-pequeno);
  background: var(--creme);
  border-left: 4px solid var(--dourado);
}
.kids__projeto h3 { font-size: 21px; margin-bottom: 6px; }
.kids__projeto p { color: var(--texto-suave); font-size: 16px; }

/* Avaliações */
.depoimentos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.depoimento {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 30px 26px;
  border-radius: var(--raio);
  background: var(--papel);
  box-shadow: 0 1px 0 var(--linha);
}
.depoimento p { flex: 1; color: var(--texto); font-family: var(--fonte-titulo); font-size: 18px; font-style: italic; line-height: 1.5; }
.depoimento footer { color: var(--tinta); font-weight: 600; font-size: 15px; }
.depoimento footer span { display: block; color: var(--texto-suave); font-weight: 400; font-size: 14px; }

.depoimentos__mais { margin-top: 36px; text-align: center; }
.depoimentos__mais a {
  color: var(--oliva);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--dourado);
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

/* Visite */
.visite {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.visite__info h2 { font-size: clamp(32px, 4vw, 48px); }
.visite__info h2 em { color: var(--oliva); }
.visite__info > p:not(.rotulo) { margin-top: 18px; color: var(--texto-suave); font-size: 18px; }

.dados { display: grid; gap: 22px; margin: 34px 0 36px; }
.dados div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--linha); }
.dados dt { display: flex; align-items: flex-start; gap: 10px; color: var(--tinta); font-weight: 600; }
.dados dt svg { width: 20px; height: 20px; margin-top: 3px; color: var(--oliva); flex: none; }
.dados dd { margin: 0; color: var(--texto-suave); }
.dados dd a { color: var(--oliva); font-weight: 600; }

.visite__acoes { display: flex; flex-wrap: wrap; gap: 14px; }

.visite__mapa {
  overflow: hidden;
  min-height: 460px;
  border-radius: var(--raio);
  border: 1px solid var(--linha);
  background: var(--creme);
}
.visite__mapa iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }

/* Chamada final */
.chamada { padding: 0 0 104px; }
.chamada__caixa {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 32px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 200, 144, .2), transparent 60%),
    var(--oliva);
  text-align: center;
}
.chamada__selo { width: 96px; height: 96px; margin-bottom: 26px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(216, 200, 144, .45); }
.chamada h2 { color: var(--papel); font-size: clamp(32px, 4.4vw, 50px); }
.chamada p { max-width: 520px; margin: 16px 0 32px; color: rgba(246, 241, 228, .8); font-size: 18px; }

/* Rodapé */
.rodape { background: var(--oliva-profundo); color: rgba(246, 241, 228, .75); font-size: 15px; }
.rodape__grade {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr .9fr 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 48px;
}
.rodape h3 {
  margin-bottom: 14px;
  color: var(--dourado);
  font-family: var(--fonte-texto);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.rodape a { color: var(--creme); text-decoration: none; }
.rodape a:hover { color: var(--dourado); }
.rodape__marca .marca__nome { font-size: 28px; }
.rodape__marca p { margin-top: 8px; }
.rodape__pequeno { font-size: 14px; color: rgba(246, 241, 228, .55); }
.rodape__base { padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(216, 200, 144, .14); font-size: 13px; color: rgba(246, 241, 228, .5); }

/* WhatsApp flutuante */
.whats-flutuante {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45);
  transition: transform .2s ease;
}
.whats-flutuante:hover { transform: scale(1.06); }
.whats-flutuante svg { width: 32px; height: 32px; }

/* Responsivo */
@media (max-width: 1180px) {
  .menu { gap: 32px; }
  .topo__cta { padding: 0 22px; font-size: 16px; }
  .marca__nome { font-size: 26px; }
  .hero__foto { width: 62%; }
}

@media (max-width: 1080px) {
  .cartoes, .depoimentos { grid-template-columns: repeat(2, 1fr); }
  .rodape__grade { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .menu-botao { display: block; }
  .topo__cta { display: none; }
  .topo__barra { display: flex; justify-content: space-between; height: 76px; }
  .marca__monograma { width: 54px; height: 34px; }
  .menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    background: var(--verde-hero);
    border-bottom: 1px solid rgba(234, 210, 160, .25);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .menu.aberto { transform: none; opacity: 1; visibility: visible; }
  .menu a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(216, 200, 144, .12); }

  .hero__foto { position: relative; width: 100%; height: min(62vh, 560px); }
  .hero__foto img {
    object-position: 40% 20%;
    -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  }
  .hero__grade { min-height: 0; margin-top: -96px; padding-top: 0; padding-bottom: 64px; }

  .passos { grid-template-columns: 1fr; }
  .kids, .visite { grid-template-columns: 1fr; gap: 56px; }
  .kids__foto { width: min(100% - 24px, 340px); }
  .secao { padding: 80px 0; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .marca__nome { font-size: 22px; }
  .marca { gap: 12px; }
  .hero__foto { height: 54vh; }
  .hero__acoes { gap: 14px; margin-top: 32px; }
  .hero__acoes .botao { flex: 1 1 100%; }
  .botao--grande { min-height: 60px; font-size: 17px; }
  .cartoes, .depoimentos, .rodape__grade { grid-template-columns: 1fr; }
  .dados div { grid-template-columns: 1fr; gap: 6px; }
  .visite__acoes .botao { flex: 1 1 100%; }
  .visite__mapa, .visite__mapa iframe { min-height: 340px; }
  .chamada__caixa { padding: 56px 22px; border-radius: 24px; }
  .chamada .botao { width: 100%; }
  .whats-flutuante { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faixa__trilho { animation: none; }
  .botao, .cartao, .whats-flutuante { transition: none; }
}
