/* ============================================================
   LUCAS MACHUT VISUALS — STYLESHEET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300..600;1,6..72,300..600&family=Inter+Tight:wght@300;400;500;600&display=swap');

/* --- Variables ------------------------------------------- */
:root {
  --bg:         #FAF6EC;
  --bg-alt:     #E7D9B8;
  --bg-dark:    #1F1812;
  --text:       #1F1812;
  --text-muted: #5A3E22;
  --accent:     #B08D4E;
  --line:       rgba(31, 24, 18, 0.12);
  --cream:      #FAF6EC;

  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans:  'Inter Tight', system-ui, -apple-system, sans-serif;

  --s1:  0.5rem;
  --s2:  1rem;
  --s3:  1.5rem;
  --s4:  2rem;
  --s5:  2.5rem;
  --s6:  3rem;
  --s8:  4rem;
  --s10: 5rem;
  --s12: 6rem;
  --s16: 8rem;
  --s20: 10rem;
  --s24: 12rem;

  --max:      1320px;
  --text-max: 780px;
  --nav-h:    5rem;
}

/* --- Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { font-family: inherit; }

/* --- Typography ------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

/* Editorial emphasis: bronze + italic on important words */
em {
  color: var(--accent);
  font-style: italic;
}

.label {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.label--light { color: rgba(250, 246, 236,0.45); }

/* --- Buttons --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.88rem 2.2rem;
  border: 1px solid currentColor;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  background: transparent;
  line-height: 1;
}

.btn--dark {
  background: var(--text);
  color: var(--cream);
  border-color: var(--text);
}
.btn--dark:hover { background: var(--accent); border-color: var(--accent); }

.btn--outline {
  color: var(--text);
  border-color: var(--text);
}
.btn--outline:hover { background: var(--text); color: var(--cream); }

.btn--outline-light {
  color: var(--cream);
  border-color: rgba(250, 246, 236,0.5);
}
.btn--outline-light:hover { background: var(--cream); color: var(--text); }

/* --- Layout --------------------------------------------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s8);
}

.section { padding: var(--s16) 0; }
.section--alt  { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--cream); }

/* --- Image placeholder ----------------------------------- */
.img-ph {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #E4D9CA 0%, #C9B89E 50%, #B8A48A 100%);
}

.img-ph--2 { background: linear-gradient(145deg, #DDCFBE 0%, #C0A888 50%, #A8906E 100%); }
.img-ph--3 { background: linear-gradient(145deg, #E8E0D2 0%, #D0C4AE 50%, #BCAB90 100%); }
.img-ph--4 { background: linear-gradient(145deg, #D8CABC 0%, #BCA898 50%, #A49078 100%); }
.img-ph--dark { background: linear-gradient(145deg, #2A2018 0%, #3A2E22 50%, #241C12 100%); }

.img-ph::after {
  content: attr(data-replace);
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 0.6rem;
  font-family: var(--font-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* --- Fade-in animations ---------------------------------- */
.fi {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.fi.on { opacity: 1; transform: none; }
.fi-d1 { transition-delay: 0.1s; }
.fi-d2 { transition-delay: 0.22s; }
.fi-d3 { transition-delay: 0.36s; }
.fi-d4 { transition-delay: 0.5s; }

/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.6rem var(--s8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.45s ease, padding 0.4s ease, border-color 0.45s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(250, 246, 236,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.1rem var(--s8);
  border-color: var(--line);
}

/* Nav sur la vidéo hero (non scrollée) : texte clair */
.header:not(.scrolled) .logo,
.header:not(.scrolled) .nav__link {
  color: var(--cream);
}
.header:not(.scrolled) .nav__link::after {
  background: var(--cream);
}
.header:not(.scrolled) .nav__toggle span {
  background: var(--cream);
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s6);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s5);
}

.nav__link {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.nav__link--regard {
  border: 1px solid var(--accent);
  padding: 0.35rem 0.75rem;
  color: var(--accent);
  transition: background 0.3s ease, color 0.3s ease;
}
.nav__link--regard::after { display: none; }
.nav__link--regard:hover {
  background: var(--accent);
  color: var(--cream);
}

.header:not(.scrolled) .nav__link--regard {
  border-color: rgba(176, 141, 78, 0.7);
  color: rgba(250, 246, 236, 0.9);
}
.header:not(.scrolled) .nav__link--regard:hover {
  background: rgba(176, 141, 78, 0.25);
  color: var(--cream);
}


/* Mobile toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  flex-direction: column;
  gap: 6px;
}
.nav__toggle span {
  display: block;
  width: 26px; height: 1px;
  background: var(--text);
  transition: all 0.3s ease;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Quand le menu est ouvert, le X doit rester visible (fond crème) */
.nav__toggle.open span { background: var(--text); }

/* Mobile menu overlay */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s4);
  padding: var(--s8);
}
.nav__mobile.open { display: flex; }

.nav__mobile-link {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}
.nav__mobile-link:hover { color: var(--accent); }

.nav__mobile-link--regard {
  border: 1px solid var(--accent);
  padding: 0.3rem 1rem;
  color: var(--accent);
}

/* Language switcher */
.nav__lang {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-left: var(--s3);
  border: 1px solid var(--accent);
  border-radius: 2px;
  overflow: hidden;
}
.nav__lang-link {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  padding: 4px 8px;
  transition: background 0.2s ease, color 0.2s ease;
  line-height: 1;
}
.nav__lang-link:hover { background: rgba(176, 141, 78, 0.15); }
.nav__lang-link--active {
  background: var(--accent);
  color: var(--cream);
  font-weight: 600;
}
.nav__lang-link + .nav__lang-link {
  border-left: 1px solid var(--accent);
}

.header:not(.scrolled) .nav__lang { border-color: rgba(176, 141, 78, 0.7); }
.header:not(.scrolled) .nav__lang-link { color: rgba(250, 246, 236, 0.9); }
.header:not(.scrolled) .nav__lang-link:hover { background: rgba(176, 141, 78, 0.25); }
.header:not(.scrolled) .nav__lang-link--active {
  background: rgba(176, 141, 78, 0.85);
  color: var(--cream);
}
.header:not(.scrolled) .nav__lang-link + .nav__lang-link { border-color: rgba(176, 141, 78, 0.5); }

/* Language switcher in mobile menu */
.nav__mobile-lang {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: var(--s4);
  border: 1px solid var(--accent);
  border-radius: 2px;
  overflow: hidden;
  align-self: flex-start;
}
.nav__mobile-lang .nav__lang-link {
  font-size: 13px;
  padding: 6px 14px;
  color: var(--accent);
}
.nav__mobile-lang .nav__lang-link--active {
  background: var(--accent);
  color: var(--cream);
}
.nav__mobile-lang .nav__lang-link + .nav__lang-link {
  border-left: 1px solid var(--accent);
}

.nav__mobile-cta {
  margin-top: var(--s4);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border: 1px solid var(--text);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
}
.nav__mobile-cta:hover { background: var(--text); color: var(--cream); }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--bg-dark);
  color: var(--cream);
  padding: var(--s12) 0 var(--s8);
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s8);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--s8);
  padding-bottom: var(--s8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: var(--s3);
}

.footer__brand-desc {
  font-size: 0.85rem;
  color: rgba(250, 246, 236,0.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer__col-title {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 246, 236,0.35);
  margin-bottom: var(--s3);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(250, 246, 236,0.65);
  transition: color 0.3s ease;
}
.footer__links a:hover { color: var(--cream); }

.footer__bottom {
  max-width: var(--max);
  margin: var(--s4) auto 0;
  padding: 0 var(--s8);
  font-size: 0.72rem;
  color: rgba(250, 246, 236,0.28);
}

/* ============================================================
   HOME — HERO
   ============================================================ */

/* Vidéo pleine hauteur collée au haut — la nav passe par dessus */
.hero__video-wrap {
  position: relative;
  width: 100%;
  height: 100svh;
}

.hero__video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero__video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
  z-index: 0;
}

.hero__video--mobile { display: none; }

@media (max-width: 680px) {
  .hero__video--desktop { display: none; }
  .hero__video--mobile  { display: block; }
}

.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 11, 7, 0.35);
  z-index: 1;
}

.hero__video-logo {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero__video-logo img {
  width: clamp(360px, 56vw, 840px);
  height: auto;
  opacity: 0.92;
}

/* Bloc texte + image sous la vidéo */
.hero__text-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s8);
  padding: var(--s8) var(--s8) var(--s10);
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
}

.hero__text-content {
  display: flex;
  flex-direction: column;
}

.hero__text-img {
  overflow: hidden;
}

.hero__text-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__label { margin-bottom: var(--s5); }

.hero__h1 {
  font-size: clamp(2.5rem, 4.2vw, 4.4rem);
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 640px;
  margin-bottom: var(--s6);
}

.hero__p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: var(--s8);
}

.hero__actions {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
}

/* ============================================================
   HOME — PERCEPÇÃO
   ============================================================ */

.s-percepcao {
  padding: var(--s16) 0;
}

.s-percepcao__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s8);
  align-items: center;
}

.s-percepcao__img {
  overflow: hidden;
}

.s-percepcao__img img {
  width: 100%;
  height: auto;
  display: block;
}

.s-percepcao__label {
  display: block;
  margin-bottom: var(--s4);
}

.s-percepcao__h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin-bottom: var(--s6);
  max-width: 620px;
}

.s-percepcao__body p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 540px;
}
.s-percepcao__body p + p { margin-top: var(--s3); }

/* ============================================================
   HOME — O QUE EU CRIO
   ============================================================ */

.s-crio { background: var(--bg-alt); padding: var(--s16) 0; }

.section-header { margin-bottom: var(--s10); }

.section-header .label { margin-bottom: var(--s3); }

.section-header__h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin-bottom: var(--s4);
}

.section-header__text {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.78;
}

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

.crio-item {
  padding: var(--s5) var(--s4) var(--s5) 0;
  border-bottom: 1px solid var(--line);
}
.crio-item:nth-child(3n) { padding-right: 0; }

.crio-item h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: var(--s2);
}

.crio-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* ============================================================
   HOME — REGARD
   ============================================================ */

.s-regard {
  position: relative;
  background-color: #1F1812;
  background-image: url('../photos/regard.jpg');
  background-size: 70% auto;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--cream);
  padding: var(--s16) 0;
}

/* Overlay léger pour conserver la lisibilité tout en laissant l'image respirer */
.s-regard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 11, 7, 0.55) 0%, rgba(15, 11, 7, 0.40) 50%, rgba(15, 11, 7, 0.55) 100%);
  z-index: 1;
}

/* Tout le contenu passe au-dessus de l'overlay */
.s-regard .wrap {
  position: relative;
  z-index: 2;
}

.s-regard .label { margin-bottom: var(--s4); }

.s-regard__mobile-bg {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

@media (max-width: 680px) {
  .s-regard {
    background-image: none;
  }
  .s-regard__mobile-bg {
    display: block;
  }
  .s-regard::before {
    background: linear-gradient(to bottom, rgba(15, 11, 7, 0.55) 0%, rgba(15, 11, 7, 0.35) 50%, rgba(15, 11, 7, 0.55) 100%);
  }
}

@media (max-width: 680px) {
  .s-regard__mobile-img {
    display: block;
    width: 100%;
    height: 60vw;
    object-fit: cover;
    object-position: top;
    margin-bottom: var(--s6);
  }
}

.s-regard__h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  max-width: 660px;
  margin-bottom: var(--s8);
  color: var(--cream);
}

.s-regard__lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(250, 246, 236,0.8);
  max-width: 600px;
  line-height: 1.82;
  margin-bottom: var(--s5);
}

.s-regard__text {
  font-size: 0.95rem;
  color: rgba(250, 246, 236,0.55);
  max-width: 540px;
  line-height: 1.85;
  margin-bottom: var(--s12);
}
.s-regard__text p + p { margin-top: var(--s2); }

.regard-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--s12);
}

.regard-block {
  padding: var(--s6) var(--s5) var(--s6) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.regard-block__num {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  font-style: italic;
  color: rgba(250, 246, 236,0.28);
  margin-bottom: var(--s3);
}

.regard-block h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: var(--s2);
}

.regard-block p {
  font-size: 0.875rem;
  color: rgba(250, 246, 236,0.5);
  line-height: 1.72;
}

/* ============================================================
   HOME — PROCESSO
   ============================================================ */

.s-processo {
  padding: var(--s16) 0;
  position: relative;
}

.s-processo__mobile-bg {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  z-index: 0;
}

@media (max-width: 680px) {
  .s-processo__mobile-bg {
    display: block;
  }
  .s-processo .wrap {
    position: relative;
    z-index: 1;
  }
  .s-processo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
      rgba(15, 11, 7, 0.72) 0%,
      rgba(15, 11, 7, 0.72) 40%,
      rgba(15, 11, 7, 0.44) 100%);
    z-index: 1;
  }
  .s-processo .wrap {
    z-index: 2;
  }
  .s-processo * {
    color: #fff !important;
  }
}

.s-processo__intro {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
  margin-top: var(--s6);
}

.processo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s8) var(--s6);
  border-top: 1px solid var(--line);
  padding-top: var(--s8);
  margin-top: var(--s12);
}

.pstep__num {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: var(--s2);
  opacity: 0.7;
}

.pstep h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: var(--s2);
}

.pstep p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* ============================================================
   HOME — O OLHAR
   ============================================================ */

.s-olhar {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--cream);
  padding: var(--s16) 0;
}

/* Overlay sombre pour lisibilité du texte */
.s-olhar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 11, 7,0.70) 30%, rgba(15, 11, 7,0.28) 100%);
  z-index: 1;
}

.s-olhar .wrap {
  position: relative;
  z-index: 2;
}

.s-olhar__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--s12);
  align-items: start;
}

/* Title block (right column) centered vertically — avoids landing
   on the face which sits at the top of the cropped portrait. */
.s-olhar__grid .s-olhar__left {
  align-self: center;
}

.s-olhar__left .label {
  color: var(--accent);
  margin-bottom: var(--s4);
}

.s-olhar__left h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: #FAF6EC;
  margin-bottom: 0;
}

.s-olhar__body p {
  font-size: 1rem;
  color: rgba(250, 246, 236, 0.85);
  line-height: 1.85;
  max-width: 560px;
}

.s-olhar__body p + p { margin-top: var(--s3); }

/* Mobile: image via <img> tag (même pattern que s-regard) */
/* Background photo as <img> (not CSS bg-image) so it can be
   lazy-loaded. Positioned absolute to fill the section. */
.s-olhar__mobile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 60%;
  z-index: 0;
}

@media (max-width: 1024px) {
  .s-olhar__grid { grid-template-columns: 1.5fr 1fr; }
}

@media (max-width: 680px) {
  .s-olhar::before {
    background: rgba(15, 11, 7, 0.62);
  }
  .s-olhar__grid { grid-template-columns: 1fr; gap: var(--s5); }
  /* On mobile, title goes above body (DOM has body first for desktop layout) */
  .s-olhar__grid .s-olhar__left { order: 1; align-self: start; }
  .s-olhar__grid .s-olhar__body { order: 2; }
  .s-olhar__body p { max-width: none; color: rgba(250, 246, 236,0.88); }
}

/* ============================================================
   HOME — PARA QUEM
   ============================================================ */

.s-paraquem { background: var(--bg-alt); padding: var(--s16) 0; }

.s-paraquem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s12);
  align-items: start;
}

.s-paraquem__body h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  max-width: 480px;
  margin-bottom: var(--s6);
}

.s-paraquem__body p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 460px;
}

.paraquem-list {
  border-top: 1px solid var(--line);
}

.paraquem-list li {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

/* ============================================================
   HOME — PORTFOLIO PREVIEW
   ============================================================ */

.s-portfolio { padding: var(--s16) 0; }

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  margin-top: var(--s10);
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Facade — clean YouTube thumbnail with a sober play button. The
   real iframe is only injected on click (saves ~500 KB of YT JS
   per embed). Visually identical box (.video-embed wraps it). */
.video-facade {
  position: absolute;
  inset: 0;
  cursor: pointer;
  overflow: hidden;
  background: var(--bg-dark);
  border: none;
  padding: 0;
  width: 100%;
  height: 100%;
}

.video-facade__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, opacity 0.3s ease;
}

.video-facade:hover .video-facade__poster,
.video-facade:focus-visible .video-facade__poster {
  transform: scale(1.025);
  opacity: 0.95;
}

.video-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(250, 246, 236, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(250, 246, 236, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.video-facade:hover .video-facade__play,
.video-facade:focus-visible .video-facade__play {
  background: var(--accent);
  border-color: var(--accent);
  transform: translate(-50%, -50%) scale(1.06);
}

.video-facade__play svg {
  width: 18px;
  height: 18px;
  fill: var(--cream);
  margin-left: 3px; /* optical balance for the triangle */
}

@media (max-width: 680px) {
  .video-facade__play {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 680px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.s-portfolio__cta {
  margin-top: var(--s10);
  text-align: center;
}

/* ============================================================
   HOME — PERCEPÇÃO DE VALOR
   ============================================================ */

.s-valor {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--cream);
  padding: var(--s16) 0;
}

/* Desktop: give the section more vertical breathing so more of the
   portrait photo is visible behind the text. */
@media (min-width: 681px) {
  .s-valor {
    padding: var(--s24) 0;
  }
}
.s-valor::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 11, 7, 0.62);
  z-index: 1;
}
.s-valor .wrap { position: relative; z-index: 2; }

/* Background photo as <img> (not CSS bg-image) so it can be
   lazy-loaded. Positioned absolute to fill the section. */
.s-valor__mobile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left 70%;
  z-index: 0;
}

.s-valor__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s12);
  align-items: start;
}

.s-valor__left h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  max-width: 480px;
  margin-bottom: var(--s6);
  color: #FAF6EC;
}

.s-valor__left p {
  font-size: 1rem;
  color: rgba(250, 246, 236, 0.85);
  line-height: 1.82;
  max-width: 460px;
}

.s-valor .label { color: rgba(250, 246, 236, 0.6); letter-spacing: 0.15em; }
.s-valor p { color: rgba(250, 246, 236, 0.85) !important; }

.valor-points {
  border-top: 1px solid var(--line);
}

.valor-point {
  display: flex;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.valor-point__dash {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.valor-point p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
}

/* ============================================================
   HOME — CTA FINAL
   ============================================================ */

.s-cta-final {
  padding: var(--s24) var(--s8);
  text-align: center;
}

.s-cta-final__inner { max-width: 700px; margin: 0 auto; }

.s-cta-final h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: var(--s6);
}

.s-cta-final p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: var(--s8);
  line-height: 1.8;
}

/* ============================================================
   PAGE HERO (Portfolio, Services, Contact)
   ============================================================ */

.page-hero {
  padding: calc(var(--nav-h) + var(--s12)) 0 var(--s10);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  letter-spacing: -0.025em;
  margin-bottom: var(--s4);
  max-width: 800px;
}

.page-hero p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.8;
}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */

.projects-list { padding: 0 0 var(--s16); }

.project-item {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--s8);
  padding: var(--s12) 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.project-item:first-child { border-top: 1px solid var(--line); margin-top: var(--s10); }

.project-item--reverse { grid-template-columns: 2fr 3fr; }
.project-item--reverse .project-item__img { order: 2; }
.project-item--reverse .project-item__meta { order: 1; }

.project-item__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.project-item__img .img-ph { width: 100%; height: 100%; }

.project-item__index {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--text-muted);
  opacity: 0.65;
  margin-bottom: var(--s2);
}

.project-item__type {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s2);
}

.project-item h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  margin-bottom: var(--s1);
}

.project-item__location {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.project-item__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 380px;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */

.s-servicos { padding: var(--s12) 0 var(--s16); }

.s-servicos__h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: var(--s10);
}

.services-list {
  border-top: 1px solid var(--line);
}

.svc-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--s8);
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.svc-row h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
}

.svc-row p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 560px;
}

/* --- Auditoria Regard ------------------------------------- */
.s-auditoria {
  background: var(--bg-dark);
  color: var(--cream);
  padding: var(--s16) 0;
}

.s-auditoria .label { margin-bottom: var(--s4); }

.s-auditoria__h2 {
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  max-width: 700px;
  margin-bottom: var(--s8);
  color: var(--cream);
}

.s-auditoria__intro {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: rgba(250, 246, 236,0.8);
  max-width: 600px;
  line-height: 1.82;
  margin-bottom: var(--s4);
}

.s-auditoria__text {
  font-size: 0.95rem;
  color: rgba(250, 246, 236,0.55);
  max-width: 560px;
  line-height: 1.85;
  margin-bottom: var(--s12);
}

.audit-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--s10);
}

.audit-ch {
  padding: var(--s5) var(--s4) var(--s5) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.audit-ch:nth-child(3n) { padding-right: 0; }

.audit-ch h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: var(--s2);
}

.audit-ch p {
  font-size: 0.85rem;
  color: rgba(250, 246, 236,0.5);
  line-height: 1.7;
}

.audit-livrable {
  max-width: 580px;
  padding: var(--s5) var(--s6);
  border: 1px solid rgba(255,255,255,0.14);
  margin-bottom: var(--s10);
}

.audit-livrable p {
  font-size: 0.95rem;
  color: rgba(250, 246, 236,0.68);
  line-height: 1.8;
}

/* --- Packages -------------------------------------------- */
.s-packages { padding: var(--s16) 0; }

.s-packages__intro {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.8;
  margin-top: var(--s6);
  margin-bottom: var(--s10);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

.pkg {
  border: 1px solid var(--line);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
}

.pkg__name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: var(--s3);
}

.pkg__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.72;
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s4);
}

.pkg__incl-label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s2);
}

.pkg__incl {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
}

.s-packages__cta {
  margin-top: var(--s10);
  text-align: center;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.s-contact {
  padding: calc(var(--nav-h) + var(--s12)) 0 var(--s16);
}

.s-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: start;
}

.contact-aside h1 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin-bottom: var(--s6);
  max-width: 420px;
  line-height: 1.1;
}

.contact-aside p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.82;
  max-width: 400px;
  margin-bottom: var(--s10);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.contact-link {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--s2);
  transition: color 0.3s ease;
}
.contact-link:hover { color: var(--text); }
.contact-link__dash {
  color: var(--accent);
  font-size: 0.75rem;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}

.form-field label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
  border-radius: 0;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(90, 62, 34,0.45); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent); }

.form-field select {
  -webkit-appearance: none;
  cursor: pointer;
  color: var(--text);
}

.form-field textarea {
  resize: none;
  min-height: 110px;
  line-height: 1.65;
}

.form-field--full { grid-column: 1 / -1; }

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  opacity: 0.7;
}

/* ============================================================
   PROJECT PAGE — Hero, info, gallery
   ============================================================ */

.project-hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
}

.project-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.project-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 24, 18,0.10) 0%, rgba(31, 24, 18,0.20) 55%, rgba(31, 24, 18,0.65) 100%);
  z-index: 2;
}

.project-hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s8) var(--s12);
  color: var(--cream);
}

.project-hero__label {
  color: rgba(250, 246, 236,0.55);
  margin-bottom: var(--s3);
}

.project-hero__title {
  font-size: clamp(3rem, 7vw, 6.8rem);
  letter-spacing: -0.025em;
  margin-bottom: var(--s2);
}

.project-hero__loc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(250, 246, 236,0.78);
}

/* Info block */
.project-info {
  padding: var(--s12) 0 var(--s10);
  border-bottom: 1px solid var(--line);
}

.project-info__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--s10);
  align-items: start;
}

.project-info__meta {
  display: flex;
  flex-direction: column;
}

.project-info__meta-row {
  border-top: 1px solid var(--line);
  padding: var(--s3) 0;
}

.project-info__meta-row:first-child {
  border-top: none;
  padding-top: 0;
}

.project-info__key {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s1);
}

.project-info__value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
}

.project-info__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 620px;
}

/* Project info without a description — meta stays in a sane column,
   not stretched across the whole wrap, and the grid collapses so
   there's no empty 1.6fr gap on the right. */
.project-info--solo .project-info__meta,
.project-info__grid > .project-info__meta:only-child {
  max-width: 420px;
}

.project-info__grid:has(> .project-info__meta:only-child) {
  grid-template-columns: 1fr;
}

.project-info__desc p + p { margin-top: var(--s3); }

/* Project film — full-bleed dark band, the film is the centerpiece */
.project-film {
  background: var(--bg-dark);
  color: var(--cream);
  padding: var(--s12) var(--s3);
}

.project-film .wrap {
  max-width: none;
  padding: 0;
}

.project-film__label {
  text-align: center;
  color: rgba(250, 246, 236,0.6);
  letter-spacing: 0.28em;
  margin-bottom: var(--s5);
}

.project-film__embed {
  max-width: none;
  margin: 0 auto;
}

/* Stacked films: multiple embeds (horizontal + vertical Shorts) one under the other */
.project-film__stack {
  display: flex;
  flex-direction: column;
  gap: var(--s8);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s3);
}

.video-embed--short {
  aspect-ratio: 9 / 16;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 680px) {
  .project-film__stack {
    gap: var(--s6);
    padding: 0;
  }
  .video-embed--short {
    max-width: 320px;
  }
}

/* Gallery (masonry via CSS columns) */
.project-gallery {
  padding: var(--s10) 0 var(--s16);
}

.project-gallery__inner {
  column-count: 3;
  column-gap: var(--s2);
}

.project-gallery__item {
  break-inside: avoid;
  margin-bottom: var(--s2);
  overflow: hidden;
  background: var(--bg-alt);
}

.project-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s ease, opacity 0.4s ease;
}

.project-gallery__item:hover img { transform: scale(1.025); }

/* Back link */
.project-back { padding: calc(var(--nav-h) + var(--s6)) 0 0; }

.project-back .wrap { padding-top: 0; padding-bottom: 0; }

.project-back__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.project-back__link:hover { color: var(--text); }

.project-back__link::before {
  content: "←";
  margin-right: 0.7rem;
  font-size: 1rem;
}

/* Real image variants for portfolio cards */
.project-item__img--real {
  position: relative;
  background: var(--bg-alt);
}

.project-item__img--real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project-item__link {
  display: contents;
  color: inherit;
}

.project-item--linked { transition: opacity 0.3s ease; }
.project-item--linked:hover { opacity: 0.92; }
.project-item--linked:hover .project-item__img--real img { transform: scale(1.03); }

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */

@media (max-width: 1024px) {
  :root {
    --s16: 5.5rem;
    --s12: 4rem;
    --s24: 7rem;
    --s8:  3.5rem;
  }

  .hero__text-block {
    grid-template-columns: 1fr;
    padding: var(--s6) var(--s6) var(--s8);
  }
  .hero__text-img { max-height: 60vw; }

  .s-percepcao__grid { grid-template-columns: 1fr; gap: var(--s4); }

  .crio-grid { grid-template-columns: 1fr 1fr; }

  .regard-blocks { grid-template-columns: 1fr; }

  .processo-steps { grid-template-columns: 1fr 1fr; }

  .s-paraquem__grid { grid-template-columns: 1fr; }

  .portfolio-preview-grid { grid-template-columns: 1fr 1fr; }

  .s-valor__grid { grid-template-columns: 1fr; }

  .project-item {
    grid-template-columns: 1fr;
    padding: var(--s4) 0;
    gap: var(--s3);
  }
  .project-item:first-child { margin-top: var(--s4); }
  .project-item--reverse .project-item__img { order: 0; }
  .project-item--reverse .project-item__meta { order: 0; }

  .project-info__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .project-gallery__inner { column-count: 2; }
  .project-hero__content { padding: 0 var(--s6) var(--s10); }

  .svc-row { grid-template-columns: 1fr; gap: var(--s2); }

  .audit-channels { grid-template-columns: 1fr 1fr; }

  .packages-grid { grid-template-columns: 1fr; max-width: 480px; }

  .s-contact__grid { grid-template-columns: 1fr; gap: var(--s8); }

  .footer__inner { grid-template-columns: 1fr 1fr; }

  .wrap { padding: 0 var(--s6); }
  .s-cta-final { padding: var(--s16) var(--s6); }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 680px)
   ============================================================ */

@media (max-width: 680px) {
  :root {
    --s16: 4rem;
    --s12: 3rem;
    --s10: 3rem;
    --s8:  2.5rem;
    --s6:  2rem;
    --s24: 5rem;
  }

  .header { padding: 1.2rem var(--s4); }
  .header.scrolled { padding: 0.9rem var(--s4); }

  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .hero__text-block {
    grid-template-columns: 1fr;
    padding: var(--s5) var(--s4) var(--s6);
  }
  .btn {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .hero__text-img {
    max-height: none;
    margin-left: calc(-1 * var(--s4));
    margin-right: calc(-1 * var(--s4));
    width: 100vw;
  }

  .s-percepcao__img {
    margin-left: calc(-1 * var(--s4));
    margin-right: calc(-1 * var(--s4));
    width: 100vw;
    order: 2;
  }

  .s-percepcao__body {
    order: 1;
  }

  .project-item__img {
    margin-left: calc(-1 * var(--s4));
    margin-right: calc(-1 * var(--s4));
    width: 100vw;
  }

  .project-hero { height: 82vh; min-height: 520px; }
  .project-hero__content { padding: 0 var(--s4) var(--s8); }
  .project-info { padding: var(--s10) 0 var(--s8); }

  /* Mobile: tighter side padding so the player reaches ~95vw,
     and a touch of margin to breathe between info and gallery. */
  .project-film {
    padding: var(--s10) 2.5vw;
    margin-top: var(--s5);
    margin-bottom: var(--s5);
  }
  .project-film__label {
    font-size: 0.7rem;
  }

  .project-gallery { padding: var(--s8) 0 var(--s12); }
  .project-gallery__inner { column-count: 1; column-gap: 0; }
  .project-gallery__item { margin-bottom: var(--s2); }
  .project-back { padding-top: calc(var(--nav-h) + var(--s4)); }

  .wrap { padding: 0 var(--s4); }
  .s-cta-final { padding: var(--s16) var(--s4); }
  .page-hero { padding-left: var(--s4); padding-right: var(--s4); }

  .s-percepcao__grid,
  .s-paraquem__grid,
  .s-valor__grid { grid-template-columns: 1fr; }

  .crio-grid { grid-template-columns: 1fr; }
  .processo-steps { grid-template-columns: 1fr; }
  .portfolio-preview-grid { grid-template-columns: 1fr; }
  .regard-blocks { grid-template-columns: 1fr; }
  .audit-channels { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: var(--s6); }
  .footer__inner,
  .footer__bottom { padding-left: var(--s4); padding-right: var(--s4); }

  .s-contact__grid { gap: var(--s8); }
  .contact-aside h1 { max-width: 100%; }

  .svc-row { grid-template-columns: 1fr; }
}
