/*
Theme Name: Lauramar
Template: blocksy
Version: 0.4.0
Description: Tema filho do Blocksy com a identidade visual da Lauramar.
Author: LSV Tecnologia
Text Domain: lauramar
*/

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

html:root {
  --lauramar-petroleo: #02515f;
  --lauramar-petroleo-escuro: #013b45;
  --lauramar-turquesa: #41c1b1;
  --lauramar-sol: #fea605;
  --lauramar-coral: #fd6b23;
  --lauramar-coral-escuro: #de5614;
  --lauramar-creme: #fcf4ee;
  --lauramar-areia: #f5e6da;
  --lauramar-fonte: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --theme-font-family: var(--lauramar-fonte);
  --theme-palette-color-1: var(--lauramar-petroleo);
  --theme-palette-color-2: var(--lauramar-petroleo-escuro);
  --theme-palette-color-3: #33464b;
  --theme-palette-color-4: var(--lauramar-petroleo);
  --theme-palette-color-5: #e9d8ca;
  --theme-palette-color-6: var(--lauramar-areia);
  --theme-palette-color-7: var(--lauramar-creme);
  --theme-palette-color-8: #ffffff;

  --theme-button-background-initial-color: var(--lauramar-coral);
  --theme-button-background-hover-color: var(--lauramar-coral-escuro);
  --theme-button-text-initial-color: #ffffff;
  --theme-button-text-hover-color: #ffffff;
  --theme-button-border-radius: 999px;
}

body {
  background-color: var(--lauramar-creme);
  font-family: var(--lauramar-fonte);
}

h1, h2, h3, h4, h5, h6,
.site-title,
.ct-menu-link,
.wp-block-button__link,
.lauramar-botao {
  font-family: var(--lauramar-fonte);
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wp-block-button__link,
.lauramar-botao,
.woocommerce .button,
.wc-block-components-button {
  border-radius: 999px;
}

/* Cabeçalho */

#header [data-row="top"] {
  --height: 36px;
  background-color: var(--lauramar-petroleo);
}

#header [data-row="top"] .ct-header-text {
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#header [data-row="top"] .ct-header-text p {
  margin: 0;
}

#header [data-row="middle"] {
  --height: 84px;
}

#header .ct-menu-link {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-logo-container img {
  max-height: 64px;
  width: auto;
}

.site-title-container {
  display: none;
}

body.home #header [data-device="desktop"] [data-row="middle"],
body.home #header [data-device="mobile"] [data-row="middle"] {
  background-color: transparent;
  box-shadow: none;
}

body.home #header {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 20;
}

body.home #header [data-row="middle"] .ct-menu-link,
body.home #header [data-row="middle"] .ct-header-search,
body.home #header [data-row="middle"] .ct-header-cart,
body.home #header [data-row="middle"] .ct-header-trigger,
body.home #header [data-row="middle"] .ct-icon {
  --theme-link-initial-color: #ffffff;
  --theme-link-hover-color: var(--lauramar-sol);
  color: #ffffff;
}

#header .ct-header-cart .ct-cart-content {
  --mini-cart-background-color: #ffffff;
  --mini-cart-divider-color: var(--theme-palette-color-5);
  --theme-link-initial-color: var(--lauramar-petroleo);
  --theme-link-hover-color: var(--lauramar-petroleo-escuro);
  color: var(--theme-palette-color-3);
  box-shadow: 0 16px 40px rgba(1, 59, 69, 0.25);
}

body.home #header [data-row="middle"] .site-logo-container img {
  content: url("assets/img/logo-clara.webp");
}

body.home .hero-section {
  display: none;
}

body.home .ct-container-full[data-vertical-spacing] {
  padding-top: 0;
}

/* Hero */

.lauramar-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100vw;
  max-width: none;
  min-height: 92vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  color: #ffffff;
  isolation: isolate;
  overflow: hidden;
}

.lauramar-hero__foto {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.lauramar-hero__foto img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.lauramar-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(1, 59, 69, 0.35) 0%, rgba(1, 59, 69, 0) 30%, rgba(1, 59, 69, 0) 50%, rgba(1, 59, 69, 0.82) 100%),
    linear-gradient(90deg, rgba(1, 59, 69, 0.45) 0%, rgba(1, 59, 69, 0) 55%);
}

.lauramar-hero__conteudo {
  width: min(1200px, 100% - 3rem);
  margin: 0 auto;
  padding: 9rem 0 3.5rem;
}

.lauramar-hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lauramar-sol);
}

.lauramar-hero__titulo {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-weight: 900;
  font-stretch: 118%;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #ffffff;
}

.lauramar-hero__sub {
  margin: 1.2rem 0 0;
  font-size: clamp(1.4rem, 3.2vw, 2.6rem);
  font-weight: 500;
  font-stretch: 110%;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.lauramar-hero__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.lauramar-botao {
  display: inline-block;
  padding: 0.95rem 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.lauramar-botao--coral {
  background-color: var(--lauramar-coral);
  color: #ffffff;
}

.lauramar-botao--coral:hover {
  background-color: var(--lauramar-coral-escuro);
  color: #ffffff;
}

.lauramar-botao--vazado {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.lauramar-botao--vazado:hover {
  background-color: #ffffff;
  color: var(--lauramar-petroleo);
}

/* Categorias */

.lauramar-categorias {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: min(1200px, 100% - 3rem);
  margin: 1rem auto 0;
}

.lauramar-categoria {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
  isolation: isolate;
}

.lauramar-categoria img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
}

.lauramar-categoria:hover img {
  transform: scale(1.04);
}

.lauramar-categoria::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 59, 69, 0) 55%, rgba(1, 59, 69, 0.75) 100%);
}

.lauramar-categoria__nome {
  position: absolute;
  left: 1.5rem;
  bottom: 1.25rem;
  z-index: 1;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  font-stretch: 110%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
}

/* Seções */

.lauramar-secao {
  padding: 4rem 0 1rem;
}

.lauramar-secao__titulo {
  margin-bottom: 2rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  font-stretch: 110%;
  text-transform: uppercase;
  text-align: center;
}

.entry-content .wc-block-grid__product-link,
.entry-content .wc-block-grid__product-title {
  text-decoration: none;
}

.wc-block-grid .wc-block-grid__product-onsale {
  background-color: var(--lauramar-turquesa);
  border-color: var(--lauramar-turquesa);
  color: #ffffff;
}

.woocommerce span.onsale,
.ct-woo-badge-sale {
  background-color: var(--lauramar-turquesa);
  color: #ffffff;
}

.star-rating,
.ct-woo-rating .star-rating {
  color: var(--lauramar-sol);
}

.lauramar-beneficios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: min(1200px, 100% - 3rem);
  margin: 3rem auto 4rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--theme-palette-color-5);
  border-bottom: 1px solid var(--theme-palette-color-5);
}

.lauramar-beneficio {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lauramar-beneficio strong {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lauramar-petroleo);
}

.lauramar-beneficio span {
  font-size: 0.95rem;
  color: var(--theme-palette-color-3);
}

/* Rodapé */

footer.ct-footer[data-id] {
  --theme-text-color: var(--lauramar-creme);
  --theme-link-initial-color: var(--lauramar-creme);
  --theme-link-hover-color: var(--lauramar-sol);
  background-color: var(--lauramar-petroleo-escuro);
  color: var(--lauramar-creme);
}

footer.ct-footer [data-row],
footer.ct-footer [data-row] > .ct-container,
footer.ct-footer [data-row] > .ct-container-fluid {
  background-color: var(--lauramar-petroleo-escuro);
  border-color: transparent;
}

.ct-footer .ct-footer-copyright,
.ct-footer .ct-footer-copyright p {
  color: var(--lauramar-creme);
}

.lauramar-rodape {
  background-color: var(--lauramar-petroleo-escuro);
  color: var(--lauramar-creme);
  padding: 4.5rem 0 3rem;
}

.lauramar-rodape__grade {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.3fr 1.1fr;
  gap: 3rem;
  width: var(--theme-container-width, min(1290px, 100% - 3rem));
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(252, 244, 238, 0.14);
}

.lauramar-rodape h2 {
  margin: 0 0 1.1rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lauramar-creme);
}

.lauramar-rodape p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(252, 244, 238, 0.78);
}

.lauramar-rodape a {
  color: var(--lauramar-creme);
  text-decoration: none;
  transition: color 0.2s ease;
}

.lauramar-rodape a:hover {
  color: var(--lauramar-sol);
}

.lauramar-rodape__marca img {
  display: block;
  width: 150px;
  height: auto;
  margin: -1.2rem 0 0.4rem -0.25rem;
}

.lauramar-rodape__marca p {
  max-width: 34ch;
}

.lauramar-rodape__redes {
  display: flex;
  gap: 0.6rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.lauramar-rodape__redes a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(252, 244, 238, 0.25);
  border-radius: 999px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lauramar-rodape__redes a:hover {
  background-color: var(--lauramar-coral);
  border-color: var(--lauramar-coral);
  color: #ffffff;
}

.lauramar-icone {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.lauramar-rodape__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lauramar-rodape__links li {
  margin: 0;
  padding: 0.3rem 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.lauramar-rodape__seguro {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.lauramar-icone--cadeado {
  flex: none;
  width: 2rem;
  height: 2rem;
  color: var(--lauramar-turquesa);
}

.lauramar-rodape__pagamentos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.lauramar-selo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 3.4rem;
  height: 2.2rem;
  border-radius: 5px;
  background-color: #ffffff;
  color: #1b1b1b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.lauramar-selo .lauramar-icone {
  width: 1.9rem;
  height: 1.4rem;
}

.lauramar-icone--visa { color: #1434cb; }
.lauramar-icone--mastercard { color: #eb001b; }
.lauramar-icone--amex { color: #2e77bc; }
.lauramar-selo--elo { font-size: 0.95rem; font-weight: 900; letter-spacing: -0.03em; }
.lauramar-selo--hipercard { color: #b3131b; font-size: 0.62rem; font-style: italic; }
.lauramar-selo--pix { color: #32bcad; font-size: 0.8rem; font-weight: 700; }
.lauramar-icone--pix { width: 1.1rem; height: 1.1rem; color: #32bcad; }

.lauramar-rodape__parcelas {
  font-size: 0.85rem;
}

footer.ct-footer[data-id] [data-row="bottom"] > .ct-container {
  padding-top: 0;
}

@media (max-width: 999px) {
  .lauramar-categorias {
    grid-template-columns: 1fr;
  }

  .lauramar-rodape__grade {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }

  .lauramar-categoria {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 767px) {
  .lauramar-rodape {
    padding-top: 3rem;
  }

  .lauramar-rodape__grade {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .lauramar-hero {
    min-height: 86vh;
    align-items: flex-end;
  }

  .lauramar-hero::after {
    background: linear-gradient(180deg, rgba(1, 59, 69, 0.15) 0%, rgba(1, 59, 69, 0.2) 45%, rgba(1, 59, 69, 0.85) 100%);
  }

  .lauramar-hero__foto img {
    width: 100%;
    object-position: center top;
  }

  .lauramar-hero__eyebrow {
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(1, 59, 69, 0.6);
  }

  .lauramar-hero__conteudo {
    padding: 6rem 0 2.5rem;
  }

  .lauramar-beneficios {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
