@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --black: #0a0a0a;
  --off-white: #f5f2ed;
  --warm-white: #ede8e0;
  --grey: #8a8580;
  --light-grey: #c4bfb8;
  --serif: 'Libre Baskerville', 'Baskerville', Georgia, serif;
  --sans: 'Montserrat', sans-serif;
}

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

body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

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

/* ===== SPLASH SCREEN ===== */
.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s ease;
}

.splash.fade-out {
  opacity: 0;
  pointer-events: none;
}

.splash-logo {
  height: 180px;
  width: auto;
  object-fit: contain;
  opacity: 0;
  animation: splashIn 1.2s ease forwards 0.3s;
}

@keyframes splashIn {
  0%   { opacity: 0; transform: scale(0.92); }
  60%  { opacity: 1; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}

/* Hero AWA Group logo */
.hero-group-logo {
  height: 160px;
  width: auto;
  object-fit: contain;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards 0.3s;
}

/* Hide nav during splash on home */
body.has-splash nav {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 2.6s;
}
nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  transition: background 0.4s ease, padding 0.3s ease;
}

/* Scrolled state: solid black bg */
body.nav-scrolled nav {
  background: var(--black);
  padding-top: 18px;
  padding-bottom: 18px;
}

.nav-logo {
  pointer-events: all;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.nav-logo img {
  height: 68px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height 0.4s ease;
}

/* Larger logo on subsidiary pages */
.nav-logo.nav-logo-sub img {
  height: 143px;
}

.nav-links {
  display: flex;
  gap: 56px;
  list-style: none;
  pointer-events: all;
  align-items: center;
}

.nav-links > li { position: static; }

.nav-links a {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.nav-links a:hover { opacity: 0.55; }
.nav-links a.active { opacity: 1; }

/* ===== MEGA-MENU "3 expertises" ===== */
.mega-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: var(--black);
  padding: 128px 48px 64px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
  z-index: 999;
  pointer-events: none;
}

.has-mega:hover .mega-menu,
.mega-menu:hover,
.has-mega.open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s;
  pointer-events: all;
}

.mega-inner { max-width: 1200px; margin: 0 auto; }

.mega-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--off-white);
  text-align: center;
}

.mega-divider {
  width: 200px;
  height: 1px;
  background: var(--light-grey);
  margin: 14px auto 40px;
}

.mega-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mega-card {
  position: relative;
  display: block;
  height: 440px;
  overflow: hidden;
  text-decoration: none;
}

.mega-card-bg { position: absolute; inset: 0; }
.mega-card-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.mega-card:hover .mega-card-bg img { transform: scale(1.05); }

.mega-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.25) 60%, rgba(10,10,10,0.35) 100%);
}

.mega-card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 24px;
}

.mega-card-logo { height: 140px; width: auto; object-fit: contain; margin-bottom: 24px; }

.mega-card-desc {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: var(--light-grey);
  line-height: 1.6;
  max-width: 220px;
}

/* ===== HERO ===== */
.hero {
  height: 100vh;
  height: 100dvh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img { filter: brightness(0.3) saturate(0.8); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.2) 50%, rgba(10,10,10,0.05) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 80px;
  max-width: 900px;
}

.hero-logo {
  height: 128px;
  width: auto;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards 0.15s;
  object-fit: contain;
}

.hero-tagline {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards 0.3s;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.25;
  font-weight: 400;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards 0.6s;
}

.hero-sub {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.85;
  font-weight: 300;
  color: var(--light-grey);
  max-width: 600px;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards 0.9s;
}

.hero.hero-sub-page {
  height: 70vh;
  min-height: 500px;
  align-items: center;
}

.hero.hero-sub-page .hero-content {
  padding: 100px 48px 0;
}

/* ===== BLOCKS ===== */
.block {
  padding: 120px 48px;
  position: relative;
}

.block.dark { background: var(--black); color: var(--off-white); }
.block.light { background: var(--off-white); color: var(--black); }

.block-inner {
  max-width: 800px;
  margin: 0 auto;
}

.block-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 40px;
  font-weight: 500;
}

/* Two-column block */
.two-col-block {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Vertical text */
.vertical-text {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 2.1;
  font-weight: 300;
}

.dark .vertical-text { color: var(--light-grey); }
.light .vertical-text { color: #4a4540; }

.vertical-text strong {
  font-weight: 500;
  display: block;
}

.dark .vertical-text strong { color: var(--off-white); }
.light .vertical-text strong { color: var(--black); }

.vertical-text .spacer { height: 28px; }

/* Larger spacer for breathing */
.spacer-lg { height: 40px; }

/* Highlighted phrase — serif, larger, stands alone */
.highlight-text {
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.55;
  margin: 28px 0;
}

.dark .highlight-text { color: var(--off-white); }
.light .highlight-text { color: var(--black); }

/* Principles visual block */
.principles-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 32px 0;
  padding: 32px 0;
  border-top: 1px solid rgba(245,242,237,0.1);
  border-bottom: 1px solid rgba(245,242,237,0.1);
}

.principles-block span {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--off-white);
  padding: 10px 0;
  letter-spacing: 0.5px;
}

/* Hook + Principles side by side */
.hook-principles-block {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.hook-quote {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.3;
  color: var(--off-white);
}

.hook-right .vertical-text {
  margin-bottom: 8px;
}

/* Pillar card (for Ventures 3 pillars) */
.pillar-card {
  padding: 36px;
  border: 1px solid rgba(245,242,237,0.08);
  margin-bottom: 2px;
  transition: border-color 0.3s;
}

.pillar-card:hover { border-color: rgba(245,242,237,0.2); }

.pillar-card-num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--grey);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.pillar-card-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--off-white);
  margin-bottom: 14px;
  line-height: 1.4;
}

.pillar-card-text {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.85;
  font-weight: 300;
  color: var(--light-grey);
}

/* Invite link block */
.invite-block {
  text-align: center;
  padding: 80px 48px;
  background: var(--black);
}

.invite-text {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--light-grey);
  margin-bottom: 28px;
  line-height: 1.7;
}

.invite-link {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--off-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(245,242,237,0.3);
  padding-bottom: 4px;
  transition: border-color 0.3s;
}

.invite-link:hover { border-color: var(--off-white); }

.values-list {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 2.2;
  margin: 32px 0;
}

.dark .values-list { color: var(--off-white); }
.light .values-list { color: var(--black); }

/* ===== ACTIVITIES GRID (3 col) ===== */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
}

.activity-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.activity-card-bg {
  position: absolute;
  inset: 0;
}

.activity-card-bg img {
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.35) saturate(0.8);
}

.activity-card:hover .activity-card-bg img {
  transform: scale(1.05);
  filter: brightness(0.45) saturate(0.9);
}

.activity-card-content {
  position: relative;
  z-index: 2;
  padding: 40px 32px;
}

.activity-card-logo {
  height: 132px;
  width: auto;
  margin-bottom: 16px;
  object-fit: contain;
}

.activity-card-name {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  margin-bottom: 12px;
  font-weight: 400;
}

.activity-card-desc {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.6;
  color: var(--light-grey);
}

.activity-card-arrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s;
}

.activity-card:hover .activity-card-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PAGE SECTIONS ===== */
.page-section {
  padding: 120px 48px;
  position: relative;
}

.page-section.light { background: var(--off-white); color: var(--black); }
.page-section.dark { background: var(--black); color: var(--off-white); }

.page-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.page-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 24px;
  font-weight: 500;
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.3;
  font-weight: 400;
  margin-bottom: 16px;
}

.page-subtitle {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 44px;
  opacity: 0.75;
}

.light .page-subtitle { color: #4a4540; }

.page-body {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 2;
  font-weight: 300;
}

.light .page-body { color: #3a3530; }
.dark .page-body { color: var(--light-grey); }
.page-body p + p { margin-top: 20px; }
.page-body strong { font-weight: 500; }
.light .page-body strong { color: var(--black); }
.dark .page-body strong { color: var(--off-white); }

/* ===== IMAGES ===== */
.section-image {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.section-image.portrait { aspect-ratio: 3/4; }
.section-image.landscape { aspect-ratio: 16/10; }
.section-image.square { aspect-ratio: 1; }
.section-image img { transition: transform 0.6s ease; }
.section-image:hover img { transform: scale(1.03); }

.image-band {
  width: 100%;
  height: 60vh;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-band img {
  filter: brightness(0.55) saturate(0.85);
  position: absolute;
  inset: 0;
}

.image-band-text {
  position: relative;
  z-index: 2;
  color: white;
  font-family: var(--serif);
  text-align: center;
  font-size: clamp(18px, 3vw, 30px);
  line-height: 1.55;
  max-width: 700px;
  padding: 0 32px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.dual-image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.dual-image-row .section-image { aspect-ratio: 16/10; }

.gallery-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}

.gallery-mosaic .section-image { aspect-ratio: 1; }
.gallery-mosaic .section-image:nth-child(1) { grid-column: 1 / 3; aspect-ratio: 2/1; }

.img-caption {
  font-family: var(--serif);
  font-size: 12px;
  margin-top: 16px;
  opacity: 0.6;
}

/* ===== VENTURES PILLARS ===== */
.ventures-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 40px;
}

.pillar {
  padding: 32px;
  border: 1px solid rgba(245,242,237,0.08);
  transition: border-color 0.3s;
}

.pillar:hover { border-color: rgba(245,242,237,0.2); }

.pillar-title {
  font-family: var(--serif);
  font-size: 15px;
  margin-bottom: 12px;
  font-weight: 400;
  color: var(--off-white);
}

.pillar-text {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--light-grey);
}

/* ===== QUOTE ===== */
.quote-block {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  padding-left: 24px;
  margin: 40px 0;
  position: relative;
}

.quote-block::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 1px;
}

.dark .quote-block::before { background: rgba(245,242,237,0.2); }
.light .quote-block::before { background: rgba(10,10,10,0.2); }

.quote-attribution {
  font-family: var(--sans);
  font-size: 12px;
  font-style: normal;
  color: var(--grey);
  margin-top: 8px;
}

.signature-line {
  width: 40px; height: 1px;
  margin: 40px 0;
}

.dark .signature-line { background: rgba(245,242,237,0.2); }
.light .signature-line { background: rgba(10,10,10,0.2); }

/* ===== CONTACT ===== */
.contact-section {
  padding: 120px 48px;
  background: var(--off-white);
  color: var(--black);
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.35;
  margin-bottom: 32px;
}

.contact-text {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.85;
  font-weight: 300;
  color: #4a4540;
  margin-bottom: 48px;
}

.contact-link {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid rgba(10,10,10,0.3);
  padding-bottom: 4px;
  transition: border-color 0.3s;
}

.contact-link:hover { border-color: var(--black); }

/* Contact form */
.contact-form {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 10px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--black);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(10,10,10,0.2);
  padding: 12px 0;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--black);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--light-grey);
  font-family: var(--serif);
  font-size: 13px;
}

.form-group select {
  cursor: pointer;
  color: var(--grey);
}

.form-group select option {
  font-family: var(--sans);
  color: var(--black);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

.form-submit {
  display: inline-block;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--black);
  background: transparent;
  border: 1px solid var(--black);
  padding: 14px 40px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background 0.3s, color 0.3s;
  margin-top: 12px;
}

.form-submit:hover {
  background: var(--black);
  color: var(--off-white);
}

.form-note {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--grey);
  margin-top: 20px;
  text-align: center;
  font-weight: 300;
}

.form-message {
  display: none;
  text-align: center;
  margin-top: 40px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  padding: 32px;
}

.form-success { color: #3a3530; }
.form-error { color: #8a3030; }

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  color: var(--off-white);
  padding: 56px 48px 48px;
  margin-top: auto;
}

.footer-divider {
  height: 1px;
  background: rgba(245,242,237,0.18);
  margin: 28px 0 32px;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
}

.footer-links a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light-grey);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--off-white); }

/* ===== DECORATIVE ===== */
.deco-rect {
  position: absolute;
  border: 1px solid;
  pointer-events: none;
}

.dark .deco-rect { border-color: rgba(245,242,237,0.05); }
.light .deco-rect { border-color: rgba(10,10,10,0.06); }

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== GRAIN ===== */
html::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== MOBILE BURGER MENU ===== */
.burger {
  display: none;
  pointer-events: all;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: white;
  margin: 6px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.burger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile overlay menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--black);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
}

.mobile-menu a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--off-white);
  text-decoration: none;
  transition: opacity 0.3s;
}

.mobile-menu a:hover { opacity: 0.5; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .activities-grid { grid-template-columns: 1fr; }
  .activity-card { aspect-ratio: 16/9; }
}

@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  .nav-links { gap: 28px; }
  .nav-links a { font-size: 15px; }
  .page-grid { grid-template-columns: 1fr; gap: 48px; }
  .two-col-block { grid-template-columns: 1fr; gap: 60px; }
  .hook-principles-block { grid-template-columns: 1fr; gap: 40px; }
  .hook-quote { font-size: clamp(26px, 7vw, 36px); }
  .page-section { padding: 80px 24px; }
  .block { padding: 80px 24px; }
  .hero-content { padding: 0 24px 60px; }
  .ventures-pillars { grid-template-columns: 1fr; }
  .dual-image-row { grid-template-columns: 1fr; }
  footer { padding: 40px 24px; }
  .footer-links { justify-content: center; gap: 16px 24px; }
  .footer-links a { font-size: 10px; letter-spacing: 1.5px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Nav: solid background, no blend mode */
  nav {
    mix-blend-mode: normal;
    background: var(--black);
    padding: 16px 20px;
    align-items: center;
  }

  /* Show burger, hide desktop links */
  .burger { display: block; }
  .nav-links { display: none; }

  /* Nav logo smaller on mobile */
  .nav-logo img { height: 52px; }

  /* Activity cards: stack, proper sizing */
  .activities-grid { grid-template-columns: 1fr; gap: 2px; }
  .activity-card { aspect-ratio: 4/3; }
  .activity-card-logo { height: 80px; }
  .activity-card-content { padding: 28px 24px; }
  .activity-card-arrow { opacity: 1; transform: translateY(0); }

  /* Hero group logo */
  .hero-group-logo { height: 100px; }
  .splash-logo { height: 120px; }

  /* Hero sub-page logos */
  .hero-logo { height: 80px; }

  /* Blocks */
  .block { padding: 60px 20px; }
  .page-section { padding: 60px 20px; }
  .hero-content { padding: 0 20px 48px; }
  .hero.hero-sub-page .hero-content { padding: 80px 20px 0; }
  .hero-title { font-size: clamp(26px, 7vw, 40px); }

  /* Gallery mosaic */
  .gallery-mosaic { grid-template-columns: 1fr; }
  .gallery-mosaic .section-image:nth-child(1) { grid-column: 1; aspect-ratio: 4/3; }

  /* Image bands */
  .image-band { height: 50vh; min-height: 320px; }
  .image-band-text { font-size: 16px; line-height: 1.7; padding: 0 24px; }
  .image-band-text br { display: none; }
  .highlight-text br { display: none; }
  .vertical-text br { display: none; }

  /* Contact */
  .contact-section { padding: 60px 20px; }
  .contact-title { font-size: clamp(20px, 5vw, 30px); }

  /* Pillar cards */
  .pillar-card { padding: 28px 20px; }

  /* Invite block */
  .invite-block { padding: 60px 20px; }
  .invite-text { font-size: 14px; }
}

/* ==========================================================================
   HOME V3 — sections refonte (fidèle maquette « Home page V3 »)
   ========================================================================== */

/* Hero pleine image */
.hero-v3 {
  position: relative;
  width: 100%;
  height: 66vh;
  min-height: 380px;
  overflow: hidden;
  background: var(--black);
}
.hero-v3 img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0 0 200px 500px;
}

/* Déclaration centrée */
.statement-block {
  background: var(--black);
  padding: 56px 48px;
  display: flex;
  justify-content: center;
}
.statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.7;
  text-align: center;
  max-width: 980px;
  color: var(--off-white);
}

/* Ligne intro : texte gauche + image fenêtre droite */
.intro-row {
  background: var(--off-white);
  display: grid;
  grid-template-columns: 30% 70%;
  align-items: center;
  gap: 64px;
  padding: 100px 48px 120px;
  width: 100%;
  margin: 0;
}
.intro-text { text-align: center; }
.intro-text p {
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.7;
  font-weight: 400;
  color: var(--black);
  max-width: 420px;
  margin: 0 auto;
}
.intro-img { height: 560px; overflow: hidden; }
.intro-img img { width: 100%; height: 100%; object-fit: cover; }

/* En-tête de section centré (« 3 activités ») */
.section-head {
  background: var(--black);
  text-align: center;
  padding: 40px 48px 56px;
}
.section-head-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  color: var(--off-white);
}
.section-head-divider {
  width: 220px; height: 1px;
  background: var(--light-grey);
  margin: 16px auto 0;
}

/* Filet de séparation centré sur fond noir (Venture, Gallery) */
.dark-sep { background: var(--black); padding: 0 24px; }
.dark-sep span {
  display: block;
  width: 220px; height: 1px;
  background: rgba(245,242,237,0.28);
  margin: 0 auto;
}

/* Blocs filiales : panneau texte + image */
.filiales { background: var(--black); }
.filiale {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  height: 660px;
  text-decoration: none;
  border-top: 1px solid rgba(245,242,237,0.08);
}
/* Activité du milieu (Venture) inversée : image à gauche, texte à droite */
.filiale:nth-child(2) .filiale-img { order: -1; }
.filiale:last-child { border-bottom: 1px solid rgba(245,242,237,0.08); }
.filiale-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 64px;
  gap: 28px;
}
.filiale-logo { height: 120px; width: auto; object-fit: contain; }
.filiale-desc {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--light-grey);
  max-width: 340px;
}
.filiale-cta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--off-white);
  border: 1px solid rgba(245,242,237,0.4);
  border-radius: 40px;
  padding: 14px 28px;
  transition: background 0.3s, color 0.3s;
}
.filiale:hover .filiale-cta { background: var(--off-white); color: var(--black); }
.filiale-img { position: relative; min-height: 0; height: 100%; overflow: hidden; }
.filiale-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.filiale:hover .filiale-img img { transform: scale(1.04); }

/* Bloc vision fondateur */
.vision-block {
  background: var(--black);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 56px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 48px;
}
.vision-portrait {
  width: 180px; height: 180px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.vision-portrait img { width: 100%; height: 100%; object-fit: cover; }
.vision-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--off-white);
  margin-bottom: 24px;
}
.vision-text {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--light-grey);
  max-width: 560px;
  margin-bottom: 32px;
}
.vision-cta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--off-white);
  text-decoration: none;
  border: 1px solid rgba(245,242,237,0.4);
  border-radius: 40px;
  padding: 14px 28px;
  transition: background 0.3s, color 0.3s;
}
.vision-cta:hover { background: var(--off-white); color: var(--black); }

/* Contact V3 (sombre, 2 colonnes : formulaire + image) */
.contact-v3 {
  background: var(--black);
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: stretch;
  min-height: 640px;
}
.contact-v3-left { padding: 100px 64px; display: flex; flex-direction: column; justify-content: center; }
.contact-v3-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.4;
  color: var(--off-white);
  margin-bottom: 48px;
}
.contact-form-v3 { width: 100%; max-width: 620px; }
.contact-v3 .form-group label { color: var(--grey); }
.contact-v3 .form-group input,
.contact-v3 .form-group textarea {
  color: var(--off-white);
  border-bottom: 1px solid rgba(245,242,237,0.25);
}
.contact-v3 .form-group input:focus,
.contact-v3 .form-group textarea:focus { border-color: var(--off-white); }
.contact-v3 .form-group input::placeholder,
.contact-v3 .form-group textarea::placeholder { color: var(--grey); }
.contact-v3 .form-submit {
  margin-top: 24px;
  color: var(--off-white);
  border-color: var(--off-white);
}
.contact-v3 .form-submit:hover { background: var(--off-white); color: var(--black); }
.contact-v3-right { position: relative; overflow: hidden; }
.contact-v3-right img:first-child {
  position: absolute;
  top: 100px; left: 0; right: 0;
  width: 100%; height: calc(100% - 200px);
  object-fit: cover; object-position: center bottom;
}
.contact-v3-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 160px; height: auto;
  object-fit: contain;
}

/* Responsive Home V3 */
@media (max-width: 900px) {
  .intro-row { grid-template-columns: 1fr; gap: 32px; padding: 64px 24px 72px; }
  .intro-img { height: 420px; }
  .statement-block { padding: 40px 24px; }
  .filiale { grid-template-columns: 1fr; height: auto; }
  .filiale-text { padding: 48px 24px; }
  .filiale-img { min-height: 360px; height: 360px; order: -1; }
  .vision-block { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 80px 24px; }
  .contact-v3 { grid-template-columns: 1fr; }
  .contact-v3-left { padding: 64px 24px; }
  .contact-v3-right { height: 360px; }
  .contact-v3-right img:first-child { position: absolute; top: 0; height: 100%; }
  .hero-v3 { height: 56vh; }
  .hero-v3 img { border-radius: 0 0 40px 100px; }
}

/* ==========================================================================
   LIVING — page filiale (refonte fidèle maquette « Filiale Awa Living »)
   ========================================================================== */

/* Hero : image plein cadre à bas arrondi en arc + logo centré */
.living-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--black);
}
.living-hero-photo {
  position: relative;
  width: 100%;
  height: 62vh;
  min-height: 360px;
  object-fit: cover;
  border-radius: 0 0 200px 500px;
}
.living-hero-media,
.venture-hero-media,
.gallery-hero-media {
  position: relative;
  width: 100%;
}
.living-hero-logo,
.venture-hero-logo,
.gallery-hero-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: auto; height: 130px;
}
.living-hero-text {
  background: var(--black);
  color: var(--off-white);
  text-align: center;
  padding: 80px 24px 110px;
}
.living-hero-sub {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.7;
  color: var(--off-white);
}

/* Deux métiers : colonnes texte sur fond clair, séparées d'un filet */
.living-duo {
  background: var(--off-white);
  color: var(--black);
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: start;
  gap: 0 64px;
  padding: 96px 48px;
}
.living-duo-divider { background: rgba(15,15,15,0.18); width: 1px; height: 100%; }
.living-duo-col { text-align: center; max-width: 460px; margin: 0 auto; }
.living-duo-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(19px, 1.8vw, 24px);
  margin-bottom: 28px;
}
.living-duo-col p {
  font-family: var(--serif);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.9;
  margin: 0 0 18px;
}

/* Rangée de 3 photos */
.living-trio {
  background: var(--off-white);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 48px 96px;
}
.living-trio .living-trio-img { height: 300px; overflow: hidden; border-radius: 4px; }
.living-trio img { width: 100%; height: 100%; object-fit: cover; }

/* Bandeau titre sur fond clair */
.living-claim {
  background: var(--off-white);
  color: var(--black);
  text-align: center;
  padding: 64px 24px 80px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 30px);
}

/* Deux images en bandeau, radius repris du hero */
.living-showcase {
  background: var(--black);
  padding: 0 48px 60px;
}
.living-showcase-media {
  overflow: hidden;
  border-radius: 0 0 200px 500px;
}
.living-showcase-media img { width: 100%; height: auto; display: block; }

/* Collage de marque sur fond noir (image composée) */
.living-collage {
  background: var(--black);
  padding: 0 48px 120px;
}
.living-collage img { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .living-hero-photo { height: 52vh; min-height: 300px; border-radius: 0 0 40px 100px; object-position: 22% center; }
  .living-hero-logo,
  .venture-hero-logo,
  .gallery-hero-logo { height: 96px; }
  .living-hero-overlay,
  .venture-hero-overlay { padding: 44px 20px 52px; }
  .living-hero-text { padding: 56px 20px 72px; }
  .living-duo { grid-template-columns: 1fr; gap: 0; padding: 64px 24px; }
  .living-duo-divider { display: block; width: 100%; height: 1px; margin: 44px 0; }
  .living-trio { grid-template-columns: 1fr; padding: 0 24px 64px; }
  .living-trio .living-trio-img { height: 240px; }
  .living-collage { padding: 0 24px 80px; }
  .living-showcase { padding: 0 24px 48px; }
  .living-showcase-media { border-radius: 0 0 40px 100px; }
}

/* ==========================================================================
   VENTURES — page filiale (refonte fidèle maquette « Filiale Awa Venture »)
   ========================================================================== */

/* Hero : visuel main + point lumineux, titre superposé */
.venture-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--black);
}
.venture-hero-photo {
  position: relative;
  width: 100%;
  height: 62vh;
  min-height: 360px;
  object-fit: cover;
  object-position: center 60%;
  border-radius: 0 0 200px 500px;
}

/* Manifeste : phrase forte sur noir */
.venture-manifesto {
  background: var(--black);
  color: var(--off-white);
  text-align: center;
  padding: 80px 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.7;
}
.venture-founder {
  background: var(--black);
  color: var(--off-white);
  text-align: center;
  padding: 90px 24px;
}
.venture-founder p {
  font-family: var(--serif);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto 36px;
}
.venture-cta {
  display: inline-block;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--off-white);
  text-decoration: none;
  border: 1px solid rgba(245,242,237,0.5);
  border-radius: 40px;
  padding: 14px 38px;
  transition: background 0.3s, color 0.3s;
}
.venture-cta:hover { background: var(--off-white); color: var(--black); }

/* Thèse d'investissement */
.venture-thesis-head {
  background: var(--off-white);
  color: var(--black);
  text-align: center;
  padding: 70px 24px 36px;
}
.venture-thesis-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: 1px;
}
.venture-thesis-sub {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 22px;
}

/* 3 conditions : lignes alternées image / texte */
.venture-conds { background: var(--off-white); }
.venture-cond {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  height: 460px; /* hauteur identique pour les 3 lignes 01/02/03 */
}
.venture-cond.dark { background: var(--black); color: var(--off-white); }
.venture-cond.light { background: var(--off-white); color: var(--black); }
.venture-cond .vc-media { overflow: hidden; }
.venture-cond .vc-media img { width: 100%; height: 100%; object-fit: cover; }
.venture-cond .vc-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px 72px;
}
.venture-cond-num {
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 400;
  margin-bottom: 24px;
}
.venture-cond-text {
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  max-width: 420px;
}

/* Bandeau origine */
.venture-origin {
  background: var(--off-white);
  color: var(--black);
  text-align: center;
  padding: 80px 24px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 1.6;
}
.venture-origin span { display: block; max-width: 900px; margin: 0 auto; }

/* Formulaire « Soumettre mon projet » + Eiffel */
.venture-contact {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--black);
}
.venture-contact-form { padding: 80px 64px; color: var(--off-white); }
.venture-contact-intro {
  font-family: var(--serif);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--off-white);
  margin-bottom: 48px;
  max-width: 520px;
}
.vform-legend {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--grey);
  margin: 36px 0 16px;
}
.vform-legend:first-of-type { margin-top: 0; }
.vform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vform-grid .full { grid-column: 1 / -1; }
.venture-contact-form input[type="text"],
.venture-contact-form input[type="email"],
.venture-contact-form select,
.venture-contact-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(245,242,237,0.28);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--off-white);
  font-family: var(--sans);
  font-size: 13px;
  box-sizing: border-box;
}
.venture-contact-form textarea { min-height: 90px; resize: vertical; }
.venture-contact-form input::placeholder,
.venture-contact-form textarea::placeholder { color: rgba(245,242,237,0.45); }
.venture-contact-form select { color: rgba(245,242,237,0.6); }
.venture-contact-form input:focus,
.venture-contact-form select:focus,
.venture-contact-form textarea:focus { outline: none; border-color: var(--off-white); }
.vform-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.vform-checks label {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--off-white);
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
}
.vform-submit {
  width: 100%;
  margin-top: 32px;
  background: transparent;
  border: 1px solid var(--off-white);
  color: var(--off-white);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.vform-submit:hover { background: var(--off-white); color: var(--black); }

/* Joindre un document */
.vform-file {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px dashed rgba(245,242,237,0.28);
  border-radius: 4px;
  padding: 13px 14px;
  cursor: pointer;
  transition: border-color 0.3s;
}
.vform-file:hover { border-color: var(--off-white); }
.vform-file input[type="file"] {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(245,242,237,0.6);
  max-width: 100%;
}
.vform-file input[type="file"]::file-selector-button {
  background: transparent;
  border: 1px solid rgba(245,242,237,0.4);
  border-radius: 4px;
  color: var(--off-white);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 14px;
  margin-right: 12px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.vform-file input[type="file"]::file-selector-button:hover { background: var(--off-white); color: var(--black); }
.vform-file-label {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(245,242,237,0.45);
}

/* Popup de confirmation « message envoyé » */
.venture-toast,
.site-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  background: var(--off-white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 1px;
  padding: 16px 30px;
  border-radius: 40px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
  z-index: 9999;
}
.venture-toast.show,
.site-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.venture-contact-img { position: relative; overflow: hidden; min-height: 480px; }
.venture-contact-img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .venture-hero-photo { height: 52vh; min-height: 300px; border-radius: 0 0 40px 100px; }
  .venture-cond { grid-template-columns: 1fr; height: auto; }
  .venture-cond .vc-media { min-height: 260px; order: -1; }
  .venture-cond .vc-text { padding: 48px 24px; }
  .venture-contact { grid-template-columns: 1fr; }
  .venture-contact-form { padding: 56px 24px; min-width: 0; }
  .vform-grid { grid-template-columns: 1fr; }
  .vform-file { min-width: 0; }
  .vform-file input[type="file"] { min-width: 0; max-width: 100%; }
  .venture-contact-img { min-height: 320px; order: -1; }
}

/* ==========================================================================
   GALLERY — page filiale (refonte fidèle maquette « Filiale Awa Gallery »)
   ========================================================================== */

/* Hero plein cadre */
.gallery-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--black);
}
.gallery-hero-photo {
  position: relative;
  width: 100%;
  height: 62vh;
  min-height: 360px;
  object-fit: cover;
  border-radius: 0 0 200px 500px;
}
.gallery-hero-overlay,
.living-hero-overlay,
.venture-hero-overlay {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--black);
  padding: 56px 24px 64px;
}
.gallery-hero-caption,
.living-hero-lead,
.venture-hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.55;
  color: var(--off-white);
  max-width: 640px;
  margin-top: 30px;
}

/* Présentation : logo + texte centré sur noir */
.gallery-intro {
  background: var(--black);
  color: var(--off-white);
  text-align: center;
  padding: 90px 24px 100px;
}
.gallery-intro-lead {
  font-family: var(--serif);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.85;
  max-width: 760px;
  margin: 0 auto 32px;
}
.gallery-intro-list {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: left;
  display: inline-block;
}
.gallery-intro-ai {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
  color: var(--off-white);
}

/* Deux offres : Création (artistes IA) + Production Gallery */
.gallery-offer {
  background: #f5efe7;
  color: var(--black);
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 40px;
  padding: 80px 48px 100px;
  align-items: stretch;
}
/* Cartes crème */
.gallery-creation,
.gallery-production {
  background: #eceae3;
  border-radius: 8px;
  overflow: hidden;
}
.gallery-creation { padding: 56px 56px 44px; }
.gallery-offer-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #b9892f;
  margin-bottom: 20px;
}
.gallery-offer-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
  margin-bottom: 18px;
}
.gallery-offer-title strong { font-weight: 700; }
.gallery-offer-desc {
  font-family: var(--serif);
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 340px;
}

/* Création : texte + visuel côte à côte, puis étapes */
.gallery-creation-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.gallery-creation-intro { display: flex; flex-direction: column; }
.gallery-creation-media { display: flex; justify-content: center; align-items: center; }
.gallery-creation-media img { max-height: 400px; max-width: 100%; width: auto; border-radius: 4px; }
.gallery-btn {
  align-self: flex-start;
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  border: 1px solid var(--black);
  border-radius: 40px;
  padding: 14px 34px;
  transition: background 0.3s, color 0.3s;
}
.gallery-btn:hover { background: var(--black); color: var(--off-white); }
.gallery-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid rgba(15,15,15,0.12);
}
.gallery-step { text-align: center; }
.gallery-step-icon {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  color: var(--black);
}
.gallery-step-icon svg { width: 44px; height: 44px; stroke-linecap: round; stroke-linejoin: round; }
.gallery-step-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.5px;
  line-height: 1.5;
  color: #555;
}

/* Production Gallery : texte puis image flush en bas de carte */
.gallery-production { display: flex; flex-direction: column; }
.gallery-production-text { padding: 56px 48px 32px; }
.gallery-production-text .gallery-offer-desc { margin-bottom: 0; }
.gallery-production-media { flex: 1; overflow: hidden; }
.gallery-production-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .gallery-hero-photo { height: 52vh; min-height: 300px; border-radius: 0 0 40px 100px; }
  .gallery-hero-overlay { padding: 44px 20px 52px; }
  .gallery-hero-caption,
  .living-hero-lead,
  .venture-hero-title { font-size: 15px; line-height: 1.5; margin-top: 18px; max-width: 440px; }
  .gallery-intro { padding: 64px 20px 72px; }
  .gallery-offer { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 72px; }
  .gallery-creation { padding: 40px 28px 32px; }
  .gallery-creation-top { grid-template-columns: 1fr; gap: 24px; }
  .gallery-steps { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .gallery-production-text { padding: 40px 28px 24px; }
  .gallery-production-media { min-height: 280px; }
}

/* ===== Accessibilité : contenu réservé aux lecteurs d'écran ===== */
.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;
}
