:root {
  --bordo: #711e0a;
  --bege: #ccb595;
  --marfim: #ffeed7;
  --texto: #584c34;
  --musgo: #5b5a41;
  --teal: #294344;
  --salvia: #bbbcaa;
  --noite: #17282f;
  --ouro: #cda146;
  --ouro-claro: #e3c77a;
  --pad: clamp(1.25rem, 4.2vw, 4.75rem);
  --header: 4.75rem;
  --serif: "Tinos", "Times New Roman", Times, serif;
  --sans: "Lato", "Arimo", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--marfim);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

p,
h1,
h2,
h3,
ol,
ul,
figure {
  margin: 0;
}

a {
  color: inherit;
}

::selection {
  background: var(--salvia);
  color: var(--noite);
}

:focus-visible {
  outline: 2px solid var(--bordo);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: var(--pad);
  top: 0.75rem;
  transform: translateY(-160%);
  background: var(--noite);
  color: var(--marfim);
  padding: 0.6rem 0.9rem;
  z-index: 30;
}

.skip:focus {
  transform: none;
}

.masthead {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header);
  padding: 0.85rem max(var(--pad), env(safe-area-inset-right)) 0.85rem max(var(--pad), env(safe-area-inset-left));
  background: transparent;
  border-bottom: 1px solid transparent;
}

.masthead.solido {
  background: rgba(255, 238, 215, 0.94);
  border-bottom-color: var(--ouro);
}

.marca-topo {
  display: block;
  line-height: 0;
}

.marca-topo img {
  height: 52px;
  width: auto;
}

.marca-topo .marca-borboleta {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 2vw, 1.75rem);
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.15rem;
  color: var(--bordo);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav a:hover {
  color: #4a1306;
}

.menu-botao {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bordo);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.32rem;
  cursor: pointer;
}

.menu-botao span {
  display: block;
  width: 1.3rem;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
}

.masthead.menu-aberto .menu-botao span:nth-child(1) {
  transform: translateY(0.4rem) rotate(40deg);
}

.masthead.menu-aberto .menu-botao span:nth-child(2) {
  opacity: 0;
}

.masthead.menu-aberto .menu-botao span:nth-child(3) {
  transform: translateY(-0.4rem) rotate(-40deg);
}

.kicker {
  margin-bottom: 1.1rem;
  color: var(--musgo);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero,
.beneficios,
.sobre,
.contato {
  scroll-margin-top: var(--header);
}

.hero {
  display: grid;
  grid-template-columns: minmax(16rem, 0.78fr) minmax(20rem, 1.22fr);
  align-items: stretch;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  padding-left: max(var(--pad), env(safe-area-inset-left));
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  max-width: 34rem;
  padding: calc(var(--header) + 1rem) clamp(0.5rem, 2vw, 1.5rem) clamp(1.25rem, 4vh, 3rem) 0;
}

h1,
h2,
.eixo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.35rem;
  color: var(--bordo);
  line-height: 0.96;
}

.hero h1 {
  margin-bottom: clamp(0.7rem, 2vh, 1.35rem);
  font-size: clamp(2.15rem, min(5.2vw, 8.2vh), 5.4rem);
}

.lead,
.sobre-copy p,
.contato-lead {
  max-width: 32rem;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.6;
}

.hero-modo {
  margin: 0.85rem 0 0;
  color: var(--musgo);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.4;
}

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 1.35rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--ouro);
  color: var(--bordo);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.cta:hover {
  color: var(--noite);
  border-bottom-color: var(--bordo);
}

.hero-figure,
.sobre-figure,
.contato-figure {
  position: relative;
  margin: 0;
}

.hero-figure img,
.sobre-figure img,
.contato-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  object-fit: cover;
}

.hero-figure {
  height: 100%;
  min-height: 0;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  object-position: 64% 0%;
  clip-path: url("#hero-curva");
}

.hero-recorte {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.beneficios {
  position: relative;
  overflow: hidden;
  background: var(--bege);
  padding: clamp(3.4rem, 7vw, 5.5rem) max(var(--pad), env(safe-area-inset-right)) clamp(1.5rem, 4vw, 2.5rem) max(var(--pad), env(safe-area-inset-left));
}

.beneficios-grade {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(16rem, 0.82fr) minmax(18rem, 1.18fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: start;
}

.beneficios h2 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2.45rem, 4vw, 3.7rem);
}

.beneficios-intro p {
  max-width: 28rem;
  color: var(--texto);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
}

.beneficios-lista {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0;
  padding: 0.35rem 0 0;
  list-style: none;
}

.beneficios-lista li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 3.35rem;
  padding: 0.7rem 1rem;
  background: var(--marfim);
  border-radius: 12px;
}

.beneficio-icone {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  color: var(--musgo);
}

.beneficio-icone svg {
  display: block;
  width: 100%;
  height: 100%;
}

.beneficios-lista p {
  color: var(--texto);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

.ramo {
  display: block;
  width: min(46vw, 460px);
  height: auto;
  margin: 0.4rem 0 0 auto;
  color: var(--musgo);
  opacity: 0.9;
}

.sobre {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 1.12fr) minmax(16rem, 0.88fr);
  gap: clamp(1.75rem, 4.5vw, 5rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 2rem) max(var(--pad), env(safe-area-inset-right)) clamp(5rem, 10vw, 8rem) max(var(--pad), env(safe-area-inset-left));
}

.sobre-figure {
  width: min(100%, 26rem);
  justify-self: start;
}

.sobre-figure::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 10%;
  bottom: 18%;
  left: -0.85rem;
  width: 1px;
  background: var(--ouro);
}

.sobre-figure img,
.contato-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-position: center 18%;
}

.sobre-figure img {
  border-radius: 2.4rem 0.6rem 2.4rem 0.6rem;
}

.sobre-copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.sobre-copy .bio {
  font-size: clamp(1.18rem, 1.6vw, 1.38rem);
  line-height: 1.7;
}

.sobre-copy .bio + .bio {
  margin-top: 1rem;
}

h2 {
  margin-bottom: 1.15rem;
  color: var(--bordo);
  font-size: clamp(2.7rem, 4.4vw, 4.35rem);
  line-height: 0.96;
}

.eixos {
  max-width: 28rem;
  margin-top: 2.4rem;
  padding: 0;
  list-style: none;
}

.eixos li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0 0.7rem;
  border-top: 1px solid rgba(205, 161, 70, 0.7);
}

.eixos li:last-child {
  border-bottom: 1px solid rgba(205, 161, 70, 0.7);
}

.num {
  flex: 0 0 auto;
  color: var(--musgo);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.eixo {
  color: var(--teal);
  font-size: clamp(1.75rem, 2.5vw, 2.4rem);
  line-height: 1.05;
}

.contato {
  display: grid;
  grid-template-columns: minmax(16rem, 0.88fr) minmax(18rem, 1.12fr);
  grid-template-areas: "copy photo";
  column-gap: clamp(1.75rem, 4vw, 4.5rem);
  align-items: center;
  padding: clamp(3.5rem, 7vw, 5.75rem) max(var(--pad), env(safe-area-inset-right)) clamp(3rem, 6vw, 4.5rem) max(var(--pad), env(safe-area-inset-left));
  background: var(--noite);
  color: var(--marfim);
}

.contato :focus-visible {
  outline-color: var(--ouro-claro);
}

.contato-copy {
  grid-area: copy;
}

.contato h2,
.contato-lead,
.dados,
.dados a,
.dados p,
.dados address {
  color: var(--marfim);
}

.kicker-claro {
  color: var(--ouro-claro);
}

.contato-lead {
  color: var(--bege);
}

.dados {
  margin-top: 1.8rem;
  padding: 0;
  list-style: none;
}

.dados a,
.dados p,
.dados address {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.45;
}

.dados a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid rgba(227, 199, 122, 0.85);
  text-decoration: none;
}

.dados a:hover {
  color: var(--ouro-claro);
}

.dados p,
.dados address {
  padding: 0.7rem 0;
}

.dados p.online {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-top: 0.1rem;
  color: var(--bege);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bandeiras {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.bandeira {
  display: block;
  width: 15px;
  height: 10px;
  max-width: 15px;
  max-height: 10px;
  flex: 0 0 auto;
  border-radius: 1px;
  opacity: 0.82;
}

.contato-figure {
  grid-area: photo;
  width: min(100%, 28rem);
  justify-self: end;
}

.contato-figure img {
  border-radius: 0.6rem 2.4rem 0.6rem 2.4rem;
  object-position: center 24%;
}

.rodape {
  background: var(--noite);
  color: var(--marfim);
  border-top: 1px solid var(--ouro);
  padding: clamp(2.5rem, 5vw, 3.75rem) max(var(--pad), env(safe-area-inset-right)) 1.5rem max(var(--pad), env(safe-area-inset-left));
}

.rodape-topo {
  display: grid;
  grid-template-columns: minmax(12rem, 1.2fr) auto minmax(12rem, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.rodape-logo img {
  width: auto;
  height: 58px;
}

.rodape-marca {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.ramo-rodape {
  display: block;
  width: min(100%, 210px);
  height: auto;
  color: var(--ouro);
}

.rodape-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.35rem;
}

.rodape-nav a,
.rodape-contato a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--marfim);
  text-decoration: none;
}

.rodape-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rodape-nav a:hover,
.rodape-contato a:hover,
.rodape-base a:hover {
  color: var(--ouro-claro);
}

.pagina-texto .masthead {
  background: rgba(255, 238, 215, 0.96);
  border-bottom-color: var(--ouro);
}

.texto-legal {
  max-width: 42rem;
  padding: calc(var(--header) + 2.75rem) max(var(--pad), env(safe-area-inset-right)) clamp(3rem, 6vw, 5rem) max(var(--pad), env(safe-area-inset-left));
}

.texto-legal h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
}

.texto-legal .atualizado {
  margin-bottom: 2rem;
  color: var(--musgo);
  font-size: 0.92rem;
}

.texto-legal h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.texto-legal p,
.texto-legal li {
  max-width: 40rem;
  color: var(--texto);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
}

.texto-legal p + p,
.texto-legal ul {
  margin-top: 0.85rem;
}

.texto-legal ul {
  margin-bottom: 0;
  padding-left: 1.15rem;
}

.texto-legal a {
  color: var(--bordo);
}

.rodape-contato {
  justify-self: end;
  text-align: right;
}

.rodape-contato p,
.rodape-contato address,
.rodape-base p {
  margin: 0;
  color: var(--bege);
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.5;
}

.rodape-contato a {
  font-size: 0.98rem;
}

.rodape-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.25rem;
  padding-right: 4.5rem;
  border-top: 1px solid rgba(205, 161, 70, 0.35);
}

.rodape-base a {
  color: var(--marfim);
  text-decoration: none;
  border-bottom: 1px solid rgba(227, 199, 122, 0.85);
}

.whatsapp-flutuante {
  position: fixed;
  z-index: 40;
  right: max(1.15rem, env(safe-area-inset-right));
  bottom: max(1.15rem, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 22px rgba(23, 40, 47, 0.28);
}

.whatsapp-flutuante svg {
  width: 1.85rem;
  height: 1.85rem;
}

.whatsapp-flutuante:hover {
  background: #1ebe5a;
}

.rodape :focus-visible,
.whatsapp-flutuante:focus-visible {
  outline-color: var(--ouro-claro);
}

@media (max-width: 980px) {
  .hero,
  .sobre {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero {
    box-sizing: border-box;
    height: 100svh;
    max-height: 100svh;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
    padding: 0;
    overflow: hidden;
  }

  .hero-copy {
    order: 1;
    padding: clamp(0.75rem, 2vh, 1.35rem) max(4.75rem, env(safe-area-inset-right)) clamp(0.85rem, 2.4vh, 1.5rem) max(var(--pad), env(safe-area-inset-left));
  }

  .hero .kicker {
    margin-bottom: 0.55rem;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 6.4vh, 3.15rem);
  }

  .hero .lead {
    font-size: clamp(0.95rem, 2.15vh, 1.08rem);
  }

  .hero-modo {
    margin-top: 0.45rem;
    font-size: 0.82rem;
  }

  .hero .cta {
    margin-top: clamp(0.55rem, 1.4vh, 1rem);
  }

  .hero-figure {
    order: -1;
    height: 100%;
    min-height: 0;
    margin-top: 0;
  }

  .hero-figure img {
    object-position: center 0%;
  }

  .sobre-figure,
  .contato-figure {
    width: min(100%, 22rem);
    justify-self: center;
  }

  .sobre-figure img,
  .contato-figure img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .sobre {
    gap: 1.75rem;
    padding-top: 0.5rem;
    padding-bottom: 4.5rem;
  }

  .sobre-figure::before {
    left: 0.65rem;
    top: 1rem;
    bottom: auto;
    width: 28%;
    height: 1px;
  }

  .beneficios-grade {
    grid-template-columns: 1fr;
  }

  .beneficios h2 {
    max-width: none;
  }

  .ramo {
    width: min(78vw, 340px);
    margin-top: 1.4rem;
  }

  .contato {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "photo";
    row-gap: 1.75rem;
  }

  .contato-figure img {
    object-position: center 22%;
  }

  .rodape-topo {
    grid-template-columns: 1fr;
  }

  .rodape-contato {
    justify-self: start;
    text-align: left;
  }

  .rodape-base {
    flex-direction: column;
    align-items: flex-start;
    padding-right: 0;
    padding-bottom: 4.5rem;
  }

  .menu-botao {
    display: inline-flex;
  }

  .masthead.menu-aberto {
    background: rgba(255, 238, 215, 0.97);
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.35rem max(var(--pad), env(safe-area-inset-right)) 0.85rem max(var(--pad), env(safe-area-inset-left));
    background: rgba(255, 238, 215, 0.97);
    border-bottom: 1px solid var(--ouro);
  }

  .masthead.menu-aberto .nav {
    display: flex;
  }

  .nav a {
    width: 100%;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header: 4.15rem;
  }

  .marca-topo .marca-completa {
    display: none;
  }

  .marca-topo .marca-borboleta {
    display: block;
    height: 44px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 5.6vh, 2.6rem);
  }

  h2 {
    font-size: clamp(2.45rem, 11vw, 3.3rem);
  }

  .hero-figure img {
    object-position: center 0%;
    transform: translateX(0.5cm);
  }

  .sobre-figure img {
    object-position: center 16%;
  }

  .rodape-topo,
  .rodape-base {
    grid-template-columns: 1fr;
    display: grid;
    justify-items: start;
    text-align: left;
  }

  .rodape-contato {
    justify-self: start;
    text-align: left;
  }

  .rodape-base {
    padding-right: 0;
    padding-bottom: 4.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
