/* ================================================================
   XHEN-SIL PORTUGAL · HAPPY
   Folha de estilos mobile-first, sem frameworks ou fontes externas.
   Tipografia: Georgia (editorial) + Arial (informação e navegação).
   ================================================================ */

:root {
  --ink: #111513;
  --green: #073f32;
  --green-2: #0e5945;
  --ivory: #f2efe7;
  --paper: #faf9f5;
  --pink: #d54282;
  --pink-light: #f2c9d9;
  --gold: #d8c7a7;
  --taupe: #817c73;
  --line: rgba(17, 21, 19, 0.18);
  --page-pad: clamp(1.25rem, 5vw, 5.5rem);
  --header-height: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.view[hidden] {
  display: none;
}

.view.is-active {
  animation: view-entry 0.35s ease both;
}

@keyframes view-entry {
  from {
    opacity: 0;
    transform: translateY(0.4rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Navegação ---------- */

.announcement {
  min-height: 1.75rem;
  padding: 0.45rem var(--page-pad);
  background: var(--green);
  color: #fff;
  font-size: 0.44rem;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-align: center;
}

.site-header {
  min-height: var(--header-height);
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 249, 245, 0.96);
  backdrop-filter: blur(0.75rem);
}

.brand img {
  width: 8.2rem;
  height: auto;
}

.menu-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.4rem;
}

.main-navigation {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 1.5rem var(--page-pad) 2rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.main-navigation.is-open {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.main-navigation a,
.header-contact,
.text-link {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.header-contact {
  display: none;
}

/* ---------- Elementos reutilizáveis ---------- */

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.052em;
}

h1 em,
h2 em,
h2 i {
  color: var(--green-2);
  font-weight: 400;
}

.section-pad {
  padding: 5rem var(--page-pad);
}

.section-number {
  margin: 0;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 1.8rem;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.eyebrow-gold {
  color: var(--gold);
}

.button {
  min-height: 3.25rem;
  padding: 1rem 1.25rem;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-align: center;
}

.button-primary {
  background: var(--green);
  color: #fff;
}

.button-pink {
  background: #bd2c6d;
  color: #fff;
}

.button-outline {
  border: 1px solid currentColor;
  background: transparent;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.actions-wrap {
  flex-wrap: wrap;
}

/* ---------- Hero ---------- */

.hero {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  padding: 4rem var(--page-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  margin: 1.5rem 0;
  font-size: clamp(3rem, 14vw, 7rem);
  line-height: 0.92;
}

.lead {
  max-width: 36rem;
  margin: 0 0 2rem;
  color: #4a4e4b;
  font-size: 0.92rem;
  line-height: 1.75;
}

.proof {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.proof-item {
  opacity: 0;
  transform: translateY(0.75rem);
}

.proof-item.is-visible {
  animation: proof-entry 0.55s ease forwards;
}

.proof-item:nth-child(2) {
  animation-delay: 0.1s;
}

.proof-item:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes proof-entry {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.proof strong {
  display: block;
  color: var(--green);
  font: 1.8rem Georgia, serif;
}

.proof span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.46rem;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero-visual {
  min-height: 33rem;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.45), transparent 35%),
    radial-gradient(circle at 50% 45%, #d9d3c5 0, #c9c2b4 34%, #afa796 100%);
}

.halo {
  width: min(72vw, 23rem);
  aspect-ratio: 1;
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(7, 63, 50, 0.35);
  border-radius: 50%;
  box-shadow:
    0 0 0 4.4rem rgba(255, 255, 255, 0.07),
    0 0 0 8.8rem rgba(255, 255, 255, 0.05);
}

.hero-product {
  height: 75%;
  width: auto;
  max-width: 68%;
  position: absolute;
  left: 50%;
  bottom: 4%;
  z-index: 2;
  transform: translateX(-50%);
  object-fit: contain;
  filter: drop-shadow(0 2rem 1.6rem rgba(0, 0, 0, 0.32));
}

.italy,
.botanical {
  position: absolute;
  z-index: 3;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
}

.italy {
  left: 1.5rem;
  top: 1.5rem;
}

.botanical {
  color: rgba(7, 63, 50, 0.8);
  font-family: Georgia, serif;
  font-style: italic;
  line-height: 1.35;
}

.botanical-left {
  left: 8%;
  bottom: 13%;
}

.botanical-right {
  right: 7%;
  bottom: 10%;
}

.seal {
  width: 6rem;
  height: 6rem;
  position: absolute;
  right: 6%;
  top: 14%;
  z-index: 3;
  border: 1px solid var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 0.4rem;
  letter-spacing: 0.1em;
  line-height: 1.65;
  text-align: center;
  transform: rotate(8deg);
}

/* ---------- Tecnologia ---------- */

.technology {
  background: var(--ivory);
}

.technology > h2,
.colour-section h2,
.care-copy h2,
.happy-copy h2,
.products-section h2 {
  margin: 1.5rem 0;
  font-size: clamp(2.85rem, 10vw, 5.5rem);
  line-height: 0.95;
}

.section-intro {
  max-width: 40rem;
  margin: 0 0 3rem;
  color: #4c514d;
  font: 1.15rem/1.55 Georgia, serif;
}

.technology-grid {
  display: grid;
}

.technology-card {
  min-height: 23rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.technology-card > span {
  font-size: 0.5rem;
  letter-spacing: 0.2em;
}

.technology-card h3 {
  margin: 4rem 0 1.2rem;
  font: 1.8rem Georgia, serif;
}

.technology-card p {
  max-width: 21rem;
  font-size: 0.8rem;
  line-height: 1.75;
}

.technology-card footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid currentColor;
  display: flex;
  justify-content: space-between;
  font-size: 0.48rem;
  letter-spacing: 0.13em;
}

.card-green {
  background: var(--green);
  color: #fff;
}

.card-warm {
  background: #d7d0c1;
}

.card-photo {
  background:
    linear-gradient(145deg, rgba(12, 40, 31, 0.45), rgba(7, 63, 50, 0.96)),
    var(--card-image) center/cover;
  color: #fff;
}

.technology-stat {
  margin-top: auto;
  color: var(--green);
  font: 5.8rem/1 Georgia, serif;
}

.technology-stat small {
  font-size: 2rem;
}

.disclaimer {
  margin: 1.2rem 0 0;
  color: #666;
  font-size: 0.54rem;
  line-height: 1.6;
}

/* ---------- Natureza ---------- */

.nature-section {
  min-height: 42rem;
  padding: 5rem var(--page-pad);
  position: relative;
  overflow: hidden;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
}

.nature-section::before {
  content: "";
  width: 32rem;
  height: 32rem;
  position: absolute;
  left: -15rem;
  top: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgba(255, 255, 255, 0.025),
    0 0 0 10rem rgba(255, 255, 255, 0.018);
}

.nature-word {
  position: absolute;
  left: -1rem;
  bottom: 1rem;
  color: rgba(255, 255, 255, 0.035);
  font: 8rem/1 Georgia, serif;
  letter-spacing: -0.08em;
}

.nature-copy {
  max-width: 42rem;
  position: relative;
  z-index: 2;
}

.nature-copy h2 {
  margin: 1.5rem 0;
  font-size: clamp(3.2rem, 12vw, 6rem);
  line-height: 0.92;
}

.nature-copy h2 em {
  color: var(--gold);
}

.nature-copy > p:not(.eyebrow) {
  color: #d8ded9;
  font: 1rem/1.65 Georgia, serif;
}

.ingredients {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
}

.ingredients > div {
  padding: 1.3rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ingredients b {
  color: var(--gold);
  font-size: 0.5rem;
}

.ingredients strong {
  font: 1rem Georgia, serif;
}

.ingredients span {
  color: #aebcb6;
  font-size: 0.65rem;
}

/* ---------- Universo da cor ---------- */

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-heading > p {
  max-width: 25rem;
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.7;
}

.featured-colours {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
}

.featured-swatch-copy {
  padding: 2rem;
  border-bottom: 1px solid var(--line);
}

.featured-swatch-copy > span,
.catalogue-feature span {
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.large-swatch {
  width: min(13rem, 65vw);
  aspect-ratio: 1;
  margin: 2rem auto;
  display: grid;
  place-items: center;
}

.featured-swatch-copy > strong {
  display: block;
  font: 2.7rem Georgia, serif;
}

.featured-swatch-copy h3 {
  margin: 0.25rem 0 1rem;
  font: 1.5rem Georgia, serif;
}

.featured-swatch-copy p {
  color: #777;
  font-size: 0.55rem;
  line-height: 1.5;
}

.featured-shade-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.featured-shade,
.shade-card {
  min-height: 9.5rem;
  padding: 1rem 0.65rem;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.featured-shade:hover,
.featured-shade.is-active,
.shade-card:hover,
.shade-card.is-active {
  background: #eeeae1;
}

.hair-swatch {
  display: block;
  overflow: visible;
  filter: drop-shadow(0 0.6rem 0.55rem rgba(17, 21, 19, 0.14));
}

.hair-swatch__fibre,
.hair-swatch__fold-edge {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.hair-swatch__fibre {
  stroke-width: 0.48;
}

.hair-swatch__fibre--light {
  stroke: var(--shade-reflex);
  opacity: 0.44;
}

.hair-swatch__fibre--mid {
  stroke: var(--shade-highlight);
  opacity: 0.34;
}

.hair-swatch__fibre--dark {
  stroke: var(--shade-shadow);
  opacity: 0.34;
}

.hair-swatch__fold-edge--shadow {
  stroke: var(--shade-shadow);
  stroke-width: 1.4;
  opacity: 0.44;
}

.hair-swatch__fold-edge--light {
  stroke: var(--shade-highlight);
  stroke-width: 0.45;
  opacity: 0.46;
  transform: translateX(-0.6px);
}

.hair-swatch--large {
  width: 90%;
  height: 100%;
  max-height: 15rem;
}

.small-swatch,
.shade-orb {
  width: 4.2rem;
  height: 5rem;
  margin-bottom: 0.35rem;
  flex: 0 0 auto;
}

.hair-swatch--small .hair-swatch__fibre--detail {
  display: none;
}

.hair-swatch--small .hair-swatch__fibre {
  stroke-width: 0.62;
}

.hair-swatch--small .hair-swatch__fold-edge--shadow {
  stroke-width: 1.65;
}

.featured-shade b,
.shade-card b {
  font: 1.05rem Georgia, serif;
}

.featured-shade small,
.shade-card small {
  margin-top: 0.3rem;
  font-size: 0.43rem;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.section-actions {
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.section-actions p {
  max-width: 34rem;
  margin: 0;
  color: #5f645f;
  font-size: 0.78rem;
  line-height: 1.7;
}

/* ---------- Cuidados profissionais ---------- */

.care-section {
  display: grid;
  background: #d9d2c5;
}

.care-visual {
  min-height: 34rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #b9b0a2, #ece8df);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.care-visual::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(7, 63, 50, 0.25);
  border-radius: 50%;
}

.care-visual img {
  width: min(78%, 30rem);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 1.8rem 1.6rem rgba(0, 0, 0, 0.24));
}

.ten {
  position: absolute;
  left: 7%;
  top: 9%;
  z-index: 3;
  color: var(--green);
  font: 6.5rem/1 Georgia, serif;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ten span {
  font: 0.48rem/1.5 Arial, sans-serif;
  letter-spacing: 0.14em;
}

.care-copy {
  padding: 5rem var(--page-pad);
}

.care-copy > p:not(.section-number) {
  color: #4c504d;
  font-size: 0.86rem;
  line-height: 1.8;
}

.care-list {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.care-list li {
  padding: 1rem 0;
  border-top: 1px solid rgba(17, 21, 19, 0.2);
  font: 1rem Georgia, serif;
}

.care-list span {
  margin-right: 1.5rem;
  color: #6d716e;
  font: 0.5rem Arial, sans-serif;
}

/* ---------- Happy ---------- */

.happy-section {
  min-height: 42rem;
  padding: 5rem var(--page-pad);
  position: relative;
  overflow: hidden;
  background: var(--pink-light);
  display: flex;
  align-items: center;
}

.happy-mark {
  position: absolute;
  left: -3rem;
  bottom: -1rem;
  color: rgba(213, 66, 130, 0.16);
  font-size: 9rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  transform: rotate(-90deg);
}

.happy-copy {
  max-width: 48rem;
  position: relative;
  z-index: 2;
}

.happy-copy > p:not(.eyebrow) {
  max-width: 40rem;
  font-size: 0.9rem;
  line-height: 1.8;
}

.happy-copy h2 i {
  color: #b52e6b;
}

/* ---------- Subvistas ---------- */

.subhero {
  min-height: 35rem;
  padding: 4.5rem var(--page-pad);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(250, 249, 245, 0.97), rgba(242, 239, 231, 0.88)),
    radial-gradient(circle at 82% 36%, rgba(213, 66, 130, 0.11), transparent 36%);
}

.subhero::after {
  content: "";
  width: 28rem;
  height: 28rem;
  position: absolute;
  right: -13rem;
  top: 3rem;
  border: 1px solid rgba(7, 63, 50, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(7, 63, 50, 0.025),
    0 0 0 8rem rgba(7, 63, 50, 0.018);
}

.subhero > * {
  position: relative;
  z-index: 2;
}

.subhero-warm {
  background:
    linear-gradient(90deg, rgba(242, 239, 231, 0.98), rgba(216, 199, 167, 0.52)),
    var(--ivory);
}

.back-link {
  display: inline-block;
  margin-bottom: 4rem;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.53rem;
  letter-spacing: 0.13em;
}

.subhero h1 {
  max-width: 62rem;
  margin: 1.4rem 0;
  font-size: clamp(3.2rem, 13vw, 6.8rem);
  line-height: 0.92;
}

.subhero > p:not(.section-number) {
  max-width: 40rem;
  color: #515651;
  font-size: 0.9rem;
  line-height: 1.75;
}

.commercial-note {
  max-width: 35rem;
  margin-top: 2.5rem;
  padding: 1.4rem;
  border-left: 3px solid var(--pink);
  background: rgba(250, 249, 245, 0.72);
}

.commercial-note span {
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.commercial-note p {
  margin: 0.6rem 0 0;
  font-size: 0.72rem;
  line-height: 1.65;
}

/* ---------- Catálogo completo ---------- */

.catalogue-feature {
  min-height: 26rem;
  border: 1px solid var(--line);
  background: var(--ivory);
  display: grid;
  align-items: center;
}

.catalogue-feature > div,
.catalogue-feature aside {
  padding: 2rem;
  text-align: center;
}

.catalogue-feature strong {
  display: block;
  margin-top: 1.5rem;
  color: var(--green);
  font: 3.8rem/1 Georgia, serif;
}

.catalogue-feature h2 {
  margin: 0.5rem 0;
  font: 2rem Georgia, serif;
}

.catalogue-feature div > p {
  font-size: 0.53rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.catalogue-feature aside {
  border-top: 1px solid var(--line);
}

.catalogue-feature aside p {
  margin: 1.4rem 0 0;
  color: #646964;
  font-size: 0.72rem;
  line-height: 1.75;
}

.catalogue-swatch {
  width: min(16rem, 65vw);
  aspect-ratio: 1;
  margin: 2rem auto;
  display: grid;
  place-items: center;
}

.filter-row {
  margin: 2.5rem 0 1.5rem;
  padding-bottom: 0.75rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.filter-row button {
  flex: 0 0 auto;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.52rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.filter-row button:hover,
.filter-row button.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.shade-card {
  min-height: 14.5rem;
}

.shade-card .shade-orb {
  width: 4.8rem;
  height: 5.7rem;
}

.shade-card em {
  margin-top: auto;
  color: #7b807b;
  font-size: 0.4rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-band {
  padding: 4.5rem var(--page-pad);
  background: var(--green);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.support-band h2,
.contact-section h2 {
  margin: 1rem 0;
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  line-height: 0.98;
}

.support-band > div > p:not(.section-number) {
  max-width: 40rem;
  margin: 0;
  color: #c8d1cd;
  font-size: 0.82rem;
  line-height: 1.7;
}

/* ---------- Gama profissional ---------- */

.product-grid {
  margin-top: 3rem;
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.product-card {
  min-height: 38rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
}

.product-visual {
  min-height: 20rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-visual > span {
  position: absolute;
  left: 1.3rem;
  top: 1.2rem;
  color: #8b8f8b;
  font-size: 0.48rem;
  letter-spacing: 0.15em;
}

.product-visual img {
  width: 78%;
  height: 16rem;
  object-fit: contain;
  filter: drop-shadow(0 1.5rem 1.4rem rgba(0, 0, 0, 0.2));
}

.product-copy {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-copy > span {
  color: var(--pink);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.product-copy h3 {
  margin: 1.2rem 0 1rem;
  font: 1.7rem/1.05 Georgia, serif;
}

.product-copy p {
  margin: 0;
  color: #5a5f5a;
  font-size: 0.72rem;
  line-height: 1.75;
}

.product-copy b {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.52rem;
  letter-spacing: 0.07em;
  line-height: 1.55;
  text-transform: uppercase;
}

.contact-section {
  padding: 4.5rem var(--page-pad);
  background: var(--pink-light);
}

.contact-grid {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(17, 21, 19, 0.2);
  border-left: 1px solid rgba(17, 21, 19, 0.2);
  display: grid;
}

.contact-grid article {
  min-height: 18rem;
  padding: 2rem;
  border-right: 1px solid rgba(17, 21, 19, 0.2);
  border-bottom: 1px solid rgba(17, 21, 19, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-grid article > span {
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.contact-grid h3 {
  margin: 1.6rem 0 0.6rem;
  font: 1.7rem Georgia, serif;
}

.contact-grid p {
  margin: 0 0 1.5rem;
  color: #5e4e56;
  font-size: 0.72rem;
  line-height: 1.65;
}

.contact-grid .button {
  margin-top: auto;
}

/* ---------- Rodapé ---------- */

.site-footer {
  color: #fff;
}

.footer-main {
  padding: 3.5rem var(--page-pad);
  background: var(--ink);
  display: grid;
  gap: 2rem;
  text-align: center;
}

.footer-main > img {
  width: 11rem;
  margin: auto;
}

.footer-main > p {
  font: 1rem/1.5 Georgia, serif;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-contacts b {
  font-size: 0.52rem;
  letter-spacing: 0.18em;
}

.footer-contacts span,
.footer-contacts a {
  color: #aab0ac;
  font-size: 0.62rem;
  line-height: 1.5;
  text-decoration: none;
}

.footer-legal {
  padding: 1.2rem var(--page-pad);
  background: #080a09;
  color: #777;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.47rem;
  letter-spacing: 0.1em;
}

.noscript-message {
  margin: 0;
  padding: 1rem;
  background: #fff2bf;
  color: #2d2919;
  text-align: center;
  font-size: 0.8rem;
}

/* Rodapé — ajustes finais */

/* Centralização de todo o conteúdo no mobile */
@media (max-width: 41.99rem) {
  .footer-main,
  .footer-main > p,
  .footer-contacts,
  .footer-legal {
    text-align: center;
  }

  .footer-contacts,
  .footer-legal {
    align-items: center;
  }
}

/* Logótipo maior no desktop */
@media (min-width: 56.25rem) {
  .footer-main > img {
    width: clamp(14rem, 17vw, 18rem);
    height: auto;
  }
}

/* ---------- Tablet ---------- */

@media (min-width: 42rem) {
  .announcement {
    font-size: 0.5rem;
    letter-spacing: 0.18em;
  }

  .actions {
    flex-direction: row;
    align-items: center;
  }

  .proof strong {
    font-size: 2.2rem;
  }

  .proof span {
    font-size: 0.52rem;
  }

  .technology-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ingredients {
    grid-template-columns: repeat(3, 1fr);
  }

  .ingredients > div {
    padding-right: 1rem;
  }

  .featured-shade-grid,
  .catalogue-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-heading {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .section-actions,
  .support-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    text-align: left;
  }

  .footer-main > img {
    margin: 0;
  }

  .footer-main > p {
    text-align: center;
  }

  .footer-contacts {
    align-items: flex-end;
    text-align: right;
  }

  .footer-legal {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ---------- Desktop ---------- */

@media (min-width: 56.25rem) {
  :root {
    --header-height: 5.25rem;
  }

  .brand img {
    width: 9.6rem;
  }

  .menu-toggle {
    display: none;
  }

  .main-navigation {
    padding: 0;
    position: static;
    display: flex;
    flex-direction: row;
    gap: clamp(1.2rem, 2.2vw, 2rem);
    border: 0;
    background: transparent;
  }

  .main-navigation a {
    font-size: 0.58rem;
  }

  .header-contact {
    display: inline-flex;
    gap: 0.7rem;
  }

  .hero {
    grid-template-columns: 52% 48%;
  }

  .hero-copy {
    padding: 7vh 5vw 5vh 7vw;
  }

  .hero-visual {
    min-height: 42rem;
  }

  .technology-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-intro {
    margin-left: auto;
    font-size: 1.35rem;
  }

  .nature-section {
    justify-content: flex-end;
    padding-right: 8vw;
  }

  .nature-copy {
    width: 56%;
  }

  .featured-colours {
    grid-template-columns: 30% 70%;
  }

  .featured-swatch-copy {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .featured-shade-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .care-section {
    grid-template-columns: 52% 48%;
  }

  .care-visual {
    min-height: 48rem;
  }

  .care-copy {
    padding: 6rem 7vw;
  }

  .happy-section {
    justify-content: flex-end;
    padding-right: 8vw;
  }

  .happy-copy {
    width: 58%;
  }

  .happy-mark {
    left: 2%;
    bottom: auto;
    font-size: 13vw;
    transform: rotate(-90deg);
  }

  .subhero {
    min-height: 39rem;
    padding: 5.3rem 7vw;
  }

  .catalogue-feature {
    grid-template-columns: 1fr 1.2fr 1fr;
  }

  .catalogue-feature aside {
    border-top: 0;
    border-left: 1px solid var(--line);
    text-align: left;
  }

  .catalogue-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Desktop amplo ---------- */

@media (min-width: 75rem) {
  .catalogue-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Respeita a preferência do utilizador por menos movimento. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Cartela fotográfica oficial ---------- */

.official-catalogue-card {
  margin-top: 3rem;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.official-catalogue-copy {
  max-width: 42rem;
}

.official-catalogue-copy h2 {
  margin: 1rem 0;
  color: var(--ink);
  font: 2.2rem/1.05 Georgia, serif;
}

.official-catalogue-copy h2 i {
  color: var(--green-2);
  font-weight: 400;
}

.official-catalogue-copy > p:not(.section-number) {
  margin: 0;
  max-width: 38rem;
  color: #515651;
  font-size: 0.82rem;
  line-height: 1.75;
}

.official-catalogue-copy small {
  display: block;
  margin-top: 1rem;
  max-width: 38rem;
  color: #777c77;
  font-size: 0.62rem;
  line-height: 1.6;
}

.official-catalogue-button {
  flex: 0 0 auto;
  color: var(--green);
}

.official-catalogue-button:hover,
.official-catalogue-button:focus-visible {
  background: var(--green);
  color: #fff;
}

@media (min-width: 56.25rem) {
  .official-catalogue-card {
    padding: 3rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---------- Crédito LM Creative ---------- */

.footer-credit {
  color: #666c68;
  font-size: 0.44rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: none;
}

.footer-credit a {
  color: #8b918d;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: #fff;
}

@media (min-width: 42rem) {
  .footer-legal {
    align-items: center;
  }

  .footer-credit {
    text-align: right;
  }
}