:root {
  --green: #075b43;
  --green-bright: #0f8a60;
  --green-soft: #dcece6;
  --ink: #111814;
  --black: #090d0b;
  --cream: #f7f6f1;
  --white: #ffffff;
  --muted: #66726c;
  --line: #dfe5e1;
  --shadow: 0 24px 70px rgba(10, 36, 27, .14);
  --container: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--white);
  color: var(--black);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }
.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 92px;
  background: rgba(9, 13, 11, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--white);
}

.brand-logo img { width: 54px; height: 54px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: .92rem; letter-spacing: .04em; }
.brand-copy small {
  margin-top: 6px;
  color: rgba(255, 255, 255, .62);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, .78);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--white); }
.main-nav a[aria-current="page"] { color: var(--green-bright); }
.main-nav .nav-cta {
  margin-left: 10px;
  padding: 12px 20px;
  background: var(--green-bright);
  color: var(--white);
}
.main-nav .nav-cta:hover { background: var(--green); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 13, 10, .96) 0%, rgba(3, 13, 10, .78) 38%, rgba(3, 13, 10, .24) 70%, rgba(3, 13, 10, .18) 100%),
    linear-gradient(0deg, rgba(3, 13, 10, .58), transparent 45%);
}

.hero-inner { padding-block: 110px 140px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--green-bright);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow.light { color: #83d8b7; }
.eyebrow span { display: inline-block; width: 34px; height: 1px; margin: 0 10px 3px; background: currentColor; }

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 6.2vw, 6.15rem);
  line-height: .98;
  letter-spacing: -.055em;
}

h1 em, h2 em {
  color: #75c7a8;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

.hero-lead {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 25px;
  border: 1px solid transparent;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green-bright); color: var(--white); }
.button-primary:hover { background: #12a06e; }
.button-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.button-ghost:hover { border-color: var(--white); background: var(--white); color: var(--black); }
.button-light { background: var(--white); color: var(--green); }

.scroll-cue {
  position: absolute;
  right: 38px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(255,255,255,.68);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(-100%);
  transform-origin: right bottom;
}
.scroll-cue i { width: 54px; height: 1px; background: currentColor; }

.section { padding: 112px 0; }
.section-heading { max-width: 780px; margin-bottom: 66px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .about-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.3rem, 4.4vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}
.section-heading p:not(.eyebrow) { max-width: 650px; margin: 24px auto 0; color: var(--muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  min-height: 340px;
  padding: 46px 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.service-card:hover { z-index: 2; background: var(--green); color: var(--white); transform: translateY(-5px); box-shadow: var(--shadow); }
.service-icon { width: 56px; height: 56px; margin-bottom: 30px; color: var(--green-bright); }
.service-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-icon { color: #8de0bd; }
.service-card h3 { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.3; }
.service-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.service-card:hover p { color: rgba(255,255,255,.72); }

.manifesto { display: grid; grid-template-columns: 1fr 1fr; min-height: 660px; }
.manifesto-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(60px, 8vw, 130px); }
.manifesto-green { background: var(--green); color: var(--white); }
.manifesto-green h2 { max-width: 600px; margin: 0; font-size: clamp(2.2rem, 4vw, 4.1rem); line-height: 1.02; letter-spacing: -.045em; }
.manifesto-green > p:not(.eyebrow) { max-width: 590px; margin: 28px 0 36px; color: rgba(255,255,255,.76); }
.manifesto-green .button { align-self: flex-start; }
.manifesto-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(15,138,96,.28), transparent 26%),
    linear-gradient(135deg, #101a16, var(--black));
  color: var(--white);
}
.manifesto-dark::after {
  content: "UV";
  position: absolute;
  right: -5%;
  bottom: -20%;
  color: rgba(255,255,255,.035);
  font-size: 26vw;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
}
.quote-mark { position: relative; z-index: 1; color: #70d0aa; font-family: Georgia, serif; font-size: 7rem; line-height: .6; }
.manifesto blockquote { position: relative; z-index: 1; max-width: 560px; margin: 26px 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.7rem, 3vw, 3rem); line-height: 1.25; }
.manifesto-dark p { position: relative; z-index: 1; color: #70d0aa; font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(50px, 8vw, 110px); }
.about-copy .lead { margin-top: 30px; color: var(--ink); font-size: 1.12rem; font-weight: 600; }
.about-copy > p:not(.eyebrow):not(.lead) { color: var(--muted); }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 38px; }
.about-facts div { padding-top: 18px; border-top: 2px solid var(--green); }
.about-facts strong, .about-facts span { display: block; }
.about-facts strong { font-size: .84rem; }
.about-facts span { margin-top: 5px; color: var(--muted); font-size: .7rem; }
.about-visual {
  position: relative;
  min-height: 590px;
  background: var(--black) url("assets/media/about/equipe-usemi-vizuri.png") center / contain no-repeat;
  box-shadow: var(--shadow);
}
.about-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,20,14,.52), transparent 58%); }
.about-badge { position: absolute; left: -34px; bottom: 34px; display: grid; min-width: 210px; padding: 24px 28px; background: var(--green); color: var(--white); }
.about-badge strong { font-size: 2.7rem; font-style: italic; line-height: 1; }
.about-badge span { margin-top: 8px; font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.yebela {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(15, 138, 96, .34), transparent 30%),
    linear-gradient(135deg, #08110d, #101c17 58%, #06100c);
  color: var(--white);
}
.yebela-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(54px, 9vw, 130px); }
.yebela-intro { position: relative; min-height: 500px; display: flex; flex-direction: column; justify-content: center; }
.yebela-logo {
  position: relative;
  width: min(100%, 440px);
  height: auto;
  max-height: 220px;
  margin: 18px 0 4px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, .22));
}.yebela-intro h2:not(.sr-only) { position: relative; margin: 0; font-size: clamp(4.3rem, 10vw, 8rem); line-height: .9; letter-spacing: -.07em; }
.yebela-tagline { position: relative; max-width: 560px; margin: 28px 0 0; color: #83d8b7; font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.45rem, 2.7vw, 2.25rem); line-height: 1.25; }
.yebela-copy > p { color: rgba(255, 255, 255, .72); }
.yebela-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(130px, 15vw, 185px);
  gap: 14px;
  margin-top: 12px;
}
.yebela-gallery figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 4px;
  background: #06130e;
  box-shadow: 0 24px 55px rgba(0, 0, 0, .24);
  animation: yebela-card-drift 10s ease-in-out infinite;
}
.yebela-gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.yebela-gallery figure:nth-child(2),
.yebela-gallery figure:nth-child(3) { grid-column: span 1; }
.yebela-gallery figure:nth-child(4),
.yebela-gallery figure:nth-child(5),
.yebela-gallery figure:nth-child(6) { grid-column: span 2; }
.yebela-gallery figure:nth-child(2) { animation-delay: -2s; }
.yebela-gallery figure:nth-child(3) { animation-delay: -5s; }
.yebela-gallery figure:nth-child(4) { animation-delay: -7s; }
.yebela-gallery figure:nth-child(5) { animation-delay: -3s; }
.yebela-gallery figure:nth-child(6) { animation-delay: -8s; }
.yebela-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s ease, filter .65s ease;
}
.yebela-gallery figure::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 58%, rgba(2, 12, 8, .3));
  pointer-events: none;
}
.yebela-gallery:hover figure { animation-play-state: paused; }
.yebela-gallery figure:hover img { transform: scale(1.025); filter: saturate(1.06); }
@keyframes yebela-card-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.yebela-focus { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; }
.yebela-focus span { padding: 9px 13px; border: 1px solid rgba(131, 216, 183, .35); color: #a6e5ca; font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.yebela-date { margin-bottom: 32px; padding-left: 18px; border-left: 3px solid var(--green-bright); }
.yebela-date strong { color: var(--white); }
.yebela-copy .button { width: auto; }

.clients { background: var(--white); }
.client-shell { position: relative; display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; gap: 18px; }
.client-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc(25% - 14px); gap: 18px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.client-track::-webkit-scrollbar { display: none; }
.client-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 26px 22px;
  overflow: hidden;
  scroll-snap-align: start;
  isolation: isolate;
  background-color: var(--green);
  background-position: center;
  background-size: cover;
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.client-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(3,13,10,.08) 25%, rgba(3,13,10,.92) 100%);
  transition: background .25s ease;
}
.client-card:hover::before { background: linear-gradient(180deg, rgba(7,91,67,.1), rgba(3,13,10,.95)); }
.client-card span { font-family: "Playfair Display", Georgia, serif; font-size: 1.38rem; font-weight: 700; line-height: 1.2; }
.client-card strong { color: #a6e5ca; font-size: .62rem; letter-spacing: .09em; text-transform: uppercase; }
.client-arrow { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--green); cursor: pointer; transition: background .2s, color .2s; }
.client-arrow:hover { background: var(--green); color: var(--white); }

.contact-section {
  padding: 112px 0;
  color: rgba(255,255,255,.74);
  background:
    radial-gradient(circle at 12% 22%, rgba(15,138,96,.3), transparent 30%),
    #050e0a;
}
.contact-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, .78fr); gap: clamp(55px, 8vw, 105px); align-items: start; }
.contact-copy h2 { margin: 0; color: var(--white); font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1; letter-spacing: -.05em; }
.contact-copy > p:not(.eyebrow) { max-width: 610px; margin-top: 28px; font-size: 1.02rem; }
.contact-details { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 46px; }
.contact-details span { display: block; margin-bottom: 7px; color: #83d8b7; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-details a { color: rgba(255,255,255,.9); font-size: .86rem; overflow-wrap: anywhere; }
.contact-details a:hover { color: #83d8b7; }

.contact-form { padding: 36px; color: var(--ink); background: var(--white); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.form-heading { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 27px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form-heading span { color: var(--green); font-size: 1.12rem; font-weight: 800; }
.form-heading b { color: var(--muted); font-size: .7rem; font-weight: 600; }
.contact-form label { display: block; margin-bottom: 18px; color: var(--ink); font-size: .75rem; font-weight: 800; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  color: var(--ink);
  background: #f7faf8;
  border: 1px solid #d5ded9;
  border-radius: 0;
  outline: none;
  font: inherit;
  font-size: .88rem;
  font-weight: 400;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { min-height: 145px; resize: vertical; }
.newsletter-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 11px;
  margin: 2px 0 22px !important;
  color: var(--muted) !important;
  font-size: .72rem !important;
  font-weight: 500 !important;
  line-height: 1.5;
}
.contact-form .newsletter-consent input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--green-bright);
  box-shadow: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--green-bright); box-shadow: 0 0 0 3px rgba(15,138,96,.12); }
.form-trap { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.submit-button { position: relative; width: 100%; gap: 10px; border: 0; cursor: pointer; }
.submit-button-loader { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: var(--white); border-radius: 50%; animation: submit-spin .75s linear infinite; }
.submit-button.is-loading .submit-button-loader { display: inline-block; }
.contact-form button:disabled { cursor: wait; opacity: .82; transform: none; }
.form-note { margin: 13px 0 0; color: var(--muted); font-size: .68rem; text-align: center; }
.contact-form-status { min-height: 24px; margin: 8px 0 0; color: var(--green); font-size: .76rem; text-align: center; }
.contact-form-status.is-error { color: #b42318; }
.submission-receipt { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 15px; margin-top: 22px; padding: 21px; text-align: left; background: #effcf5; border: 1px solid #a6e3c3; }
.submission-receipt[hidden] { display: none; }
.receipt-check { display: grid; width: 40px; height: 40px; place-items: center; color: var(--white); background: #14804a; border-radius: 50%; font-size: 1.2rem; font-weight: 900; }
.receipt-eyebrow { color: #127447; font-size: .65rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.receipt-content h3 { margin: 4px 0 5px; color: var(--ink); font-size: 1rem; }
.receipt-content > p { margin: 0; color: var(--muted); font-size: .72rem; }
.receipt-details { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 9px; margin: 16px 0 0; }
.receipt-details div { min-width: 0; padding-top: 9px; border-top: 1px solid rgba(20,128,74,.2); }
.receipt-details dt { color: #527064; font-size: .59rem; font-weight: 800; text-transform: uppercase; }
.receipt-details dd { margin: 4px 0 0; color: #0d5633; overflow-wrap: anywhere; font-size: .73rem; font-weight: 800; }
@keyframes submit-spin { to { transform: rotate(360deg); } }

.media-cta { padding: 84px 0; background: var(--green-bright); }
.media-card {
  padding: clamp(55px, 8vw, 110px);
  text-align: center;
  background:
    linear-gradient(rgba(6,13,10,.91), rgba(6,13,10,.91)),
    url("assets/hero-usemi-vizuri.png") center / cover no-repeat;
  color: var(--white);
  box-shadow: 0 30px 60px rgba(0,0,0,.22);
}
.media-card h2 { max-width: 850px; margin: 0 auto; font-size: clamp(2rem, 4.3vw, 4rem); line-height: 1.06; letter-spacing: -.04em; }
.media-card > p:not(.eyebrow) { max-width: 670px; margin: 24px auto 34px; color: rgba(255,255,255,.72); }

.site-footer { background: var(--black); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr .8fr; gap: 50px; padding-block: 80px 70px; }
.footer-logo .brand-logo { width: 72px; height: 72px; }
.footer-brand > p { margin: 25px 0; color: rgba(255,255,255,.56); font-size: .78rem; }
.social-links { display: flex; gap: 9px; }
.social-links a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; font-size: .72rem; font-weight: 700; }
.social-links a:hover { background: var(--green-bright); border-color: var(--green-bright); }
.site-footer h2 { margin: 0 0 24px; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-contact ul { margin: 0; padding: 0; list-style: none; }
.footer-contact li { margin-bottom: 17px; }
.footer-contact li span { display: block; color: rgba(255,255,255,.38); font-size: .61rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-contact li a, .footer-contact li strong { font-size: .78rem; font-weight: 500; overflow-wrap: anywhere; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links a { margin-bottom: 10px; color: rgba(255,255,255,.58); font-size: .77rem; }
.footer-links a:hover { color: #7bd4b1; }
.form-status { min-height: 20px; margin-top: 10px !important; color: #7bd4b1 !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .container { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.38); font-size: .65rem; }
.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 44px; height: 44px; display: grid; place-items: center; background: var(--green-bright); color: var(--white); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s, transform .2s; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    max-height: 0;
    padding: 0 24px;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,.08);
    transform: translateY(-8px);
    transition: max-height .3s ease, padding .3s ease, opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .main-nav.is-open { max-height: calc(100vh - 82px); padding-block: 18px 24px; overflow-y: auto; visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .76rem; }
  .main-nav .nav-cta { margin: 10px 0 0; padding: 14px; text-align: center; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto-panel { min-height: 560px; }
  .about-grid { grid-template-columns: 1fr; }
  .yebela-grid { grid-template-columns: 1fr; }
  .yebela-intro { min-height: 360px; }
  .about-copy { max-width: 760px; }
  .about-visual { min-height: 520px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-copy { max-width: 760px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .yebela-gallery {
    grid-template-columns: none;
    grid-template-rows: min(62vw, 360px);
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 430px);
    gap: 14px;
    margin-inline: -15px;
    padding: 8px 15px 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .yebela-gallery figure,
  .yebela-gallery figure:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: center;
  }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 78px; }
  .container { width: min(100% - 30px, var(--container)); }
  .site-header, .header-inner { min-height: 78px; }
  .brand-logo { width: 54px; height: 54px; }
  .brand-logo img { width: 45px; height: 45px; }
  .brand-copy { display: none; }
  .hero { min-height: calc(100svh - 78px); background-position: 64% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(2,13,9,.96) 0%, rgba(2,13,9,.7) 64%, rgba(2,13,9,.28) 100%); }
  .hero-inner { padding-block: 115px 120px; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.4rem); }
  .hero-lead { font-size: .93rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .scroll-cue { display: none; }
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 44px; }
  .section-heading h2, .about-copy h2 { font-size: clamp(2.2rem, 10vw, 3.25rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 38px 28px; }
  .manifesto-panel { min-height: 520px; padding: 68px 24px; }
  .manifesto-dark::after { font-size: 56vw; }
  .about-grid { gap: 55px; }
  .about-facts { grid-template-columns: 1fr; }
  .about-visual { min-height: 420px; background-position: 64% center; }
  .about-badge { left: 15px; right: 15px; bottom: 15px; min-width: 0; }
  .yebela-grid { gap: 28px; }
  .yebela-intro { min-height: 300px; }
  .yebela-logo { width: min(100%, 340px); max-height: 170px; margin-top: 10px; }
  .yebela-copy .button {
    display: block;
    width: 100%;
    min-width: 0;
    padding-inline: 18px;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    font-size: .62rem;
    letter-spacing: .05em;
    line-height: 1.35;
  }
  .clients .section-heading { margin-bottom: 38px; }
  .client-shell { grid-template-columns: 1fr; }
  .client-arrow { display: none; }
  .client-track { grid-auto-columns: 78%; }
  .client-card { min-height: 320px; }
  .contact-section { padding: 82px 0; }
  .contact-layout { gap: 48px; }
  .contact-form { padding: 27px 20px; }
  .receipt-details { grid-template-columns: 1fr; }
  .media-cta { padding: 42px 0; }
  .media-card { padding: 60px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 42px; padding-block: 60px; }
  .footer-bottom .container { padding-block: 20px; flex-direction: column; justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .media-marquee { overflow-x: auto; }
  .media-marquee-track { animation: none; }
  .media-marquee-copy { display: none; }
  .yebela-gallery figure { animation: none; }
}
/* Pages intérieures */
.page-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 150px 0 82px;
  background:
    linear-gradient(90deg, rgba(3, 13, 10, .96), rgba(3, 13, 10, .55)),
    var(--page-image, url("assets/media/photos/IMG-20260814-WA0048_traitee.png")) center / cover no-repeat;
  color: var(--white);
}
.page-hero::after {
  position: absolute;
  inset: auto -8% -46% auto;
  z-index: -1;
  width: 420px;
  aspect-ratio: 1;
  border: 1px solid rgba(131, 216, 183, .18);
  border-radius: 50%;
  content: "";
}
.page-hero .container { position: relative; z-index: 1; }
.yebela-page-hero {
  background: linear-gradient(135deg, #06130e, #0f3f2c 58%, #06130e);
}
.yebela-page-logo {
  display: block;
  width: min(72vw, 420px);
  max-height: 170px;
  margin: 18px 0 24px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, .24));
}
.page-hero h1 {
  max-width: 900px;
  margin: 12px 0 18px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: .94;
  letter-spacing: -.06em;
}
.page-hero p:not(.eyebrow) { max-width: 720px; color: rgba(255, 255, 255, .76); font-size: 1.05rem; }
.page-nav { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 32px; }
.page-nav a { color: #a6e5ca; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.page-nav a::after { margin-left: 8px; content: "→"; }
.page-content { background: var(--white); }
.page-content .section-heading { margin-bottom: 52px; }
.page-cta { padding: 78px 0; text-align: center; color: var(--white); background: #06130e; }
.page-cta h2 { max-width: 800px; margin: 0 auto 28px; font-size: clamp(2rem, 4.5vw, 4rem); }
.page-cta .button { width: auto; }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.detail-card { padding: 32px; border: 1px solid var(--line); background: #f7faf8; }
.detail-card h3 { margin-top: 0; color: var(--green); }
.detail-card p { margin-bottom: 0; color: var(--muted); }
.split-copy { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 90px); align-items: start; }
.split-copy h2 { margin-top: 0; font-size: clamp(2.3rem, 4.5vw, 4.5rem); line-height: 1; }
.split-copy .lead { font-size: 1.1rem; }
.inner-contact { padding-top: 92px; }
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .split-copy { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .page-hero { min-height: 390px; padding: 128px 0 60px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-card { padding: 25px; }
}
/* Photothèque Usemi Vizuri */
.hero {
  min-height: calc(100vh - 92px);
  background:
    radial-gradient(circle at 76% 28%, rgba(15, 138, 96, .24), transparent 26%),
    linear-gradient(135deg, #020a07, #07150f 56%, #030b08);
}
.hero-layout {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .62fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  padding-block: 72px 90px;
}
.hero .hero-inner { position: relative; z-index: 2; padding: 0; }
.hero h1 { max-width: 760px; }
.hero-portrait {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 640px;
  margin: 0;
  overflow: hidden;
  background: #0a1712;
  box-shadow: 0 38px 100px rgba(0, 0, 0, .38);
}
.hero-portrait::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, transparent 52%, rgba(2, 12, 8, .92));
  pointer-events: none;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero-portrait figcaption {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 28px;
  z-index: 2;
  display: grid;
  gap: 5px;
  color: var(--white);
}
.hero-portrait figcaption span { color: #83d8b7; font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-portrait figcaption strong { max-width: 330px; font-family: "Playfair Display", Georgia, serif; font-size: 1.3rem; line-height: 1.2; }
.hero-shade { background: linear-gradient(90deg, rgba(2, 12, 8, .38), transparent 62%); }

.media-flow { overflow: hidden; background: var(--cream); }
.media-flow-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 50px; }
.media-flow-heading h2 { max-width: 820px; margin: 0; color: var(--ink); font-size: clamp(2.3rem, 4.4vw, 4.5rem); line-height: 1.03; letter-spacing: -.045em; }
.text-link { flex: 0 0 auto; padding-bottom: 6px; border-bottom: 1px solid var(--green); color: var(--green); font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.media-marquee { width: 100%; overflow: hidden; padding-block: 6px 14px; }
.media-marquee-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: media-circulation 58s linear infinite;
  will-change: transform;
}
.media-marquee-copy { display: contents; }
.media-marquee:hover .media-marquee-track,
.media-marquee:focus-within .media-marquee-track { animation-play-state: paused; }
.media-marquee figure {
  position: relative;
  width: clamp(280px, 34vw, 460px);
  aspect-ratio: 1.3;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  background: #0b1712;
  box-shadow: 0 18px 38px rgba(2, 12, 8, .16);
}
.media-marquee figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(2, 12, 8, .78));
  content: "";
  pointer-events: none;
}
.media-marquee img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s ease;
}
.media-marquee figure:hover img { transform: scale(1.025); }
.media-marquee figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(2, 12, 8, .72);
  color: var(--white);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
@keyframes media-circulation { to { transform: translateX(calc(-50% - 10px)); } }
.client-card-one { background-image: url("assets/media/photos/IMG-20260814-WA0048_traitee.png"); }
.client-card-two { background-image: url("assets/media/photos/IMG-20260814-WA0050_traitee.png"); }
.client-card-three { background-image: url("assets/media/photos/IMG-20260814-WA0066_traitee.png"); }
.client-card-four { background-image: url("assets/media/photos/IMG-20260814-WA0054_traitee.png"); }
.client-card-five { background-image: url("assets/media/graphiques/IMG-20260814-WA0036_traitee.png"); }
.client-card-six { background-image: url("assets/media/photos/IMG-20260814-WA0046_traitee.png"); }
.client-card-seven { background-image: url("assets/media/photos/IMG-20260814-WA0086_traitee.png"); }

.client-portfolio { background: var(--cream); }
.client-portfolio-heading { display: grid; grid-template-columns: minmax(180px, .42fr) minmax(0, 1fr); align-items: end; gap: 40px; margin-bottom: 58px; }
.client-portfolio-heading h2 { margin: 0; color: var(--ink); font-size: clamp(2.55rem, 5.8vw, 5.8rem); line-height: .95; letter-spacing: -.055em; }
.client-portfolio-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 14px; }
.client-portfolio-card { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #dfe5e1; }
.client-portfolio-card-featured { grid-column: span 2; grid-row: span 2; }
.client-portfolio-card:nth-child(6) { grid-column: span 2; }
.client-portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.client-portfolio-card:hover img { transform: scale(1.025); }
.portfolio-services-intro { padding-block: 90px; color: var(--white); background: var(--green); }
.portfolio-services-intro-grid { display: grid; grid-template-columns: minmax(180px, .42fr) minmax(0, 1fr); align-items: end; gap: 40px; }
.portfolio-services-intro h2 { margin: 0; font-size: clamp(2.55rem, 5.8vw, 5.8rem); line-height: .95; letter-spacing: -.055em; }
.portfolio-services-intro em { color: #83d4b4; }
.portfolio-feature { background: var(--cream); }
.portfolio-feature-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 22px; }
.portfolio-feature-card { position: relative; min-height: 650px; margin: 0; overflow: hidden; background: #0a1712; }
.portfolio-feature-card.portrait { min-height: 650px; }
.portfolio-feature-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 50%, rgba(2,12,8,.94)); }
.portfolio-feature-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.portfolio-feature-card:hover img { transform: scale(1.025); }
.portfolio-feature-card figcaption { position: absolute; left: 32px; right: 32px; bottom: 30px; z-index: 1; display: grid; gap: 7px; color: var(--white); }
.portfolio-feature-card figcaption span { color: #8bdfbd; font-size: .64rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.portfolio-feature-card figcaption strong { max-width: 560px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.35rem, 2.5vw, 2.2rem); line-height: 1.2; }
.portfolio-category { overflow: hidden; background: var(--white); }
.portfolio-category + .portfolio-category { border-top: 1px solid var(--line); }
.portfolio-category-dark { color: var(--white); background: #06110d; }
.portfolio-category-soft { background: var(--cream); }
.portfolio-category-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.portfolio-category-heading h2 { margin: 0; color: var(--ink); font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -.045em; }
.portfolio-category-dark .portfolio-category-heading h2 { color: var(--white); }
.gallery-controls { display: flex; gap: 9px; }
.gallery-controls button { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--green); font: inherit; cursor: pointer; transition: .2s ease; }
.gallery-controls button:hover, .gallery-controls button:focus-visible { border-color: var(--green); background: var(--green); color: var(--white); }
.portfolio-category-dark .gallery-controls button { border-color: rgba(255,255,255,.2); color: #8bdfbd; }
.media-gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(285px, 34%); gap: 18px; overflow-x: auto; padding-bottom: 14px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--green-bright) transparent; }
.media-gallery-card { position: relative; min-height: 470px; margin: 0; overflow: hidden; scroll-snap-align: start; background: #0b1712; }
.media-gallery-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 56%, rgba(2,12,8,.9)); pointer-events: none; }
.media-gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.media-gallery-card:hover img { transform: scale(1.035); }
.media-gallery-card figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: var(--white); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.media-gallery-card.wide { grid-column: span 2; }
.media-gallery-card.graphic { min-height: 540px; background: #eef1ef; }
.media-gallery-card.graphic img { object-fit: contain; }

@media (max-width: 1020px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, .58fr); gap: 34px; }
  .hero-portrait { min-height: 560px; }
  .portfolio-feature-grid { grid-template-columns: 1fr 1fr; }
  .media-gallery-track { grid-auto-columns: 48%; }
  .client-portfolio-grid { grid-auto-rows: 190px; }
}

@media (max-width: 700px) {
  .hero { min-height: auto; }
  .hero-layout { min-height: auto; grid-template-columns: 1fr; gap: 0; padding: 0 0 92px; }
  .hero-portrait { order: -1; width: calc(100% + 30px); min-height: 54svh; max-height: 610px; margin-inline: -15px; }
  .hero-portrait img { object-position: center; }
  .hero-portrait figcaption { left: 20px; right: 20px; bottom: 18px; }
  .hero .hero-inner { padding-top: 44px; }
  .hero-shade { background: linear-gradient(0deg, rgba(2,12,8,.48), transparent 58%); }
  .media-flow-heading { align-items: flex-start; flex-direction: column; margin-bottom: 36px; }
  .media-marquee figure { width: min(82vw, 360px); }
  .portfolio-feature-grid { grid-template-columns: 1fr; }
  .portfolio-feature-card, .portfolio-feature-card.portrait { min-height: 520px; }
  .portfolio-category-heading { align-items: flex-start; flex-direction: column; }
  .media-gallery-track { grid-auto-columns: 82%; }
  .media-gallery-card { min-height: 430px; }
  .media-gallery-card.wide { grid-column: span 1; }
  .media-gallery-card.graphic { min-height: 500px; }
  .client-portfolio-heading, .portfolio-services-intro-grid { grid-template-columns: 1fr; gap: 18px; }
  .client-portfolio-heading { margin-bottom: 38px; }
  .client-portfolio-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; grid-template-rows: 420px; gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .client-portfolio-card, .client-portfolio-card-featured, .client-portfolio-card:nth-child(6) { grid-column: auto; grid-row: auto; scroll-snap-align: start; }
  .portfolio-services-intro { padding-block: 70px; }
  .page-hero h1 { max-width: 100%; font-size: clamp(1.95rem, 9.2vw, 2.25rem); line-height: 1; letter-spacing: -.045em; overflow-wrap: break-word; }
  .client-portfolio-heading h2, .portfolio-services-intro h2 { max-width: 100%; font-size: clamp(2.2rem, 11vw, 3.2rem); overflow-wrap: break-word; }
  .client-portfolio-heading h2 em { font-size: .78em; line-height: 1.05; }
}
