:root {
  --bg: #efe7dd;
  --bg-soft: #f6f1e8;
  --paper: rgba(255, 251, 246, 0.78);
  --paper-strong: #fffaf4;
  --line: rgba(65, 48, 38, 0.12);
  --ink: #26211c;
  --muted: #6a6258;
  --sage: #95a388;
  --sage-deep: #5e6e54;
  --moss: #44513c;
  --terra: #b97f62;
  --wine: #6a423d;
  --wine-deep: #43221f;
  --accent: #cfb486;
  --shadow: 0 24px 70px rgba(57, 41, 31, 0.14);
  --shadow-soft: 0 18px 40px rgba(57, 41, 31, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100vw - 2rem));
  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(207, 180, 134, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(149, 163, 136, 0.2), transparent 30%),
    var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.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;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: clamp(2.5rem, 4vh, 4rem) 0;
  scroll-margin-top: 102px;
}

[id] {
  scroll-margin-top: 102px;
}

/* Per-section scroll-offset fine-tuning
   (default 102px = 72px sticky header + 30px breathing room)
   Higher value = stops higher on page (section appears lower in viewport) */
#difference { scroll-margin-top: 107px; }  /* 5px plus haut */
#expertises { scroll-margin-top: 32px; }   /* 70px plus bas */
#parcours   { scroll-margin-top: 122px; }  /* 20px plus haut */
#economies  { scroll-margin-top: 82px; }   /* 20px plus bas */
#equipe     { scroll-margin-top: 57px; }   /* 45px plus bas */
#faq        { scroll-margin-top: 82px; }   /* 20px plus bas */
#contact    { scroll-margin-top: 102px; }  /* OK */

.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.section-heading p,
.content-block p {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.7rem;
  color: var(--wine);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.9rem, 3.1vw, 3.05rem);
  margin-bottom: 0.85rem;
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  margin-bottom: 0.75rem;
  line-height: 1.05;
}

h3 {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  margin-bottom: 0.4rem;
  line-height: 1.12;
}

p {
  margin: 0 0 0.8rem;
}

.button,
.link-button {
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 46px;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.button:hover,
.button:focus-visible,
.link-button:hover,
.link-button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--wine), var(--wine-deep));
  color: #fff8f1;
  box-shadow: 0 18px 38px rgba(67, 34, 31, 0.2);
}

.button-secondary {
  border-color: rgba(67, 34, 31, 0.16);
  background: rgba(255, 250, 244, 0.75);
  color: var(--wine-deep);
  backdrop-filter: blur(14px);
}

.button-full {
  width: 100%;
}

.link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--wine);
  font-weight: 700;
}

.page-noise,
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.page-noise {
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black, transparent 85%);
}

.page-glow {
  filter: blur(90px);
}

.page-glow-a {
  top: -20vh;
  left: -10vw;
  width: 40vw;
  height: 40vw;
  background: rgba(149, 163, 136, 0.32);
}

.page-glow-b {
  right: -12vw;
  bottom: -24vh;
  width: 34vw;
  height: 34vw;
  background: rgba(185, 127, 98, 0.26);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.55rem 0;
  transition:
    background-color var(--transition),
    backdrop-filter var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.site-header.is-scrolled {
  background: rgba(247, 241, 232, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(57, 41, 31, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(106, 66, 61, 0.48);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(106, 66, 61, 0.98), rgba(83, 49, 45, 0.98));
  box-shadow:
    0 14px 34px rgba(57, 41, 31, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-logo {
  width: auto;
  height: 68px;
  display: block;
  filter:
    drop-shadow(0 1px 0 rgba(255, 248, 232, 0.12))
    drop-shadow(0 8px 18px rgba(24, 12, 11, 0.28));
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-size: 0.92rem;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 0.95rem;
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset: calc(100% + 0.35rem) auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--wine), var(--terra));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a.is-active,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.nav-toggle {
  display: none;
}

.hero {
  display: flex;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding-top: 2.4rem;
  padding-bottom: 2.8rem;
}

.hero-grid {
  gap: 2.8rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 3.9vw, 3.9rem);
  margin-bottom: 1.1rem;
}

.hero-lead {
  font-size: 1.06rem;
  line-height: 1.65;
  margin-bottom: 0.7rem;
}

.hero-visual {
  min-height: min(78svh, 680px);
}

.hero-grid,
.split-layout,
.pathway-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.split-layout-reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.hero-lead {
  max-width: 44rem;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 0.6rem;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.hero-points {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.3rem;
  margin-top: 1.2rem;
}

.hero-points span {
  flex: 0 0 auto;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.82);
  border: 1px solid rgba(67, 34, 31, 0.12);
  color: var(--moss);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(57, 41, 31, 0.05);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.stat-card,
.difference-card,
.service-card,
.economy-card,
.audience-card,
.team-card,
.case-card,
.insight-card,
.contact-card,
.contact-panel,
.feature-panel,
.quote-card,
.faq-item {
  border: 1px solid rgba(67, 34, 31, 0.08);
  background: var(--paper);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  padding: 1.15rem 0.85rem 1.1rem;
  border-radius: 18px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.stat-card strong {
  display: block;
  margin: 0 auto 0.3rem;
  color: var(--wine-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
}

.hero-visual {
  position: relative;
  min-height: min(48svh, 430px);
}

.hero-image-frame,
.media-card,
.mosaic-grid figure,
.team-photo,
.feature-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-image-frame {
  position: absolute;
  inset: 0 0 2rem 0;
}

.hero-image-frame::after,
.media-card::after,
.mosaic-grid figure::after,
.feature-panel::after,
.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(38, 33, 28, 0.2),
    transparent 42%,
    rgba(255, 255, 255, 0.02)
  );
  pointer-events: none;
}

.hero-image-frame img,
.media-card img,
.mosaic-grid img,
.team-photo img,
.feature-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-note {
  position: absolute;
  max-width: 220px;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(255, 250, 244, 0.88);
  border: 1px solid rgba(67, 34, 31, 0.1);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.floating-note span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--wine);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.floating-note strong {
  font-size: 0.9rem;
  line-height: 1.25;
}

.note-a {
  left: -0.25rem;
  top: 0;
}

.note-b {
  right: -0.2rem;
  top: auto;
  bottom: 1.5rem;
}

.note-c {
  bottom: -0.25rem;
  left: 12%;
}

.marquee-band {
  overflow: hidden;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(67, 34, 31, 0.08);
  border-bottom: 1px solid rgba(67, 34, 31, 0.08);
  background: rgba(255, 251, 246, 0.58);
  backdrop-filter: blur(10px);
}

.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "•";
  color: var(--accent);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.media-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-bottom: 3rem;
}

.media-card {
  margin: 0;
  min-height: 0;
  border-radius: var(--radius-xl);
}

.mosaic-grid figure {
  margin: 0;
}

.media-card-large {
  aspect-ratio: 4 / 5;
  max-height: 620px;
}

.media-card-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card-small {
  position: absolute;
  right: -1.25rem;
  bottom: 0;
  width: 48%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 6px solid var(--bg);
  box-shadow: var(--shadow);
}

.media-card-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.difference-grid,
.economy-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

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

.difference-card,
.economy-card,
.audience-card,
.case-card,
.insight-card,
.contact-card {
  padding: 1rem;
  border-radius: 18px;
}

.services-grid,
.team-grid,
.case-grid,
.audience-grid {
  display: grid;
  gap: 1rem;
}

.services-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.service-card {
  grid-column: span 3;
  padding: 0.55rem;
  border-radius: 20px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card-featured {
  grid-column: span 3;
  background:
    linear-gradient(180deg, rgba(106, 66, 61, 0.09), rgba(255, 250, 244, 0.92)),
    var(--paper);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.7rem;
  border-radius: 12px;
  background: rgba(149, 163, 136, 0.2);
  color: var(--sage-deep);
  font-weight: 800;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.timeline-item {
  position: relative;
  padding: 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(67, 34, 31, 0.08);
  background: rgba(255, 251, 246, 0.72);
}

.timeline-step,
.insight-type,
.team-tag,
.case-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(149, 163, 136, 0.14);
  color: var(--sage-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 0;
}

.feature-panel img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.feature-panel figcaption {
  display: grid;
  gap: 0.3rem;
  padding: 1.1rem 1.25rem 1.25rem;
  background: linear-gradient(180deg, rgba(38, 33, 28, 0.92), rgba(20, 16, 12, 0.95));
  color: #f7f2ea;
}

.feature-panel figcaption strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.15;
}

.feature-panel figcaption span {
  color: rgba(247, 242, 234, 0.82);
  font-size: 0.88rem;
  line-height: 1.5;
}

.feature-panel::after {
  display: none;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 260px 260px;
  gap: 0.9rem;
}

.mosaic-grid figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mosaic-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-tall {
  grid-row: 1 / span 2;
}

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

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

.team-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 0;
  display: grid;
  grid-template-columns: 44% 1fr;
  align-items: stretch;
}

.team-photo {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 4 / 5;
}

.team-photo::after {
  display: none;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.team-body {
  padding: 0.95rem 1.05rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.team-body h3 {
  font-size: 1.05rem;
  line-height: 1.15;
  margin-bottom: 0.28rem;
}

.team-role {
  color: var(--wine);
  font-weight: 800;
  font-size: 0.78rem;
  margin-bottom: 0.45rem;
  line-height: 1.25;
}

.team-card p:not(.team-role) {
  font-size: 0.78rem;
  line-height: 1.42;
  color: var(--muted);
  margin: 0;
}

.team-tag {
  align-self: flex-start;
  min-height: 22px;
  padding: 0.1rem 0.55rem;
  font-size: 0.64rem;
  margin-bottom: 0.45rem;
}

.team-grid {
  gap: 1.2rem 0.9rem;
}

.team-section {
  padding: 3rem 0 3rem;
}

.team-section .section-heading {
  margin-bottom: 1.8rem;
  max-width: 900px;
}

.team-section .section-heading .eyebrow {
  margin-bottom: 0.7rem;
}

.team-section .section-heading h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  margin-bottom: 0;
  line-height: 1.1;
}

.quote-card {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 1rem;
  border-radius: var(--radius-xl);
}

.quote-card p {
  margin: 0;
  color: var(--wine-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.05;
}

.method-header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.8rem;
}

.method-heading h2 {
  margin-bottom: 0;
}

.method-quote {
  margin: 0;
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  border-left: 2px solid var(--wine);
  color: var(--wine-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.3;
  font-style: italic;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.method-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.15rem 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(67, 34, 31, 0.08);
  background: rgba(255, 251, 246, 0.75);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.method-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.method-step-index {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(106, 66, 61, 0.14), rgba(149, 163, 136, 0.18));
  color: var(--wine);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.method-step h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.1;
}

.method-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

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

.section-outro {
  max-width: 720px;
  margin: 1.8rem auto 0;
  padding: 0.95rem 1.4rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
  text-align: center;
  border-top: 1px solid rgba(67, 34, 31, 0.08);
  border-bottom: 1px solid rgba(67, 34, 31, 0.08);
  font-style: italic;
}

.insight-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  border-radius: var(--radius-lg);
  padding: 0 1.2rem;
}

.faq-item summary {
  list-style: none;
  padding: 1.2rem 0;
  font-weight: 800;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding-bottom: 1.2rem;
}

.contact-grid {
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 1.2rem;
}

.contact-panel {
  padding: 1rem;
  border-radius: var(--radius-xl);
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(67, 34, 31, 0.12);
  background: rgba(255, 252, 248, 0.9);
  color: var(--ink);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(106, 66, 61, 0.5);
  box-shadow: 0 0 0 4px rgba(106, 66, 61, 0.08);
  background: #fffdf9;
}

.contact-panel {
  padding: 1.1rem 1.15rem 1.25rem;
}

.contact-form {
  gap: 0.7rem;
}

.contact-form label {
  gap: 0.35rem;
  font-size: 0.82rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  font-size: 0.9rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 88px;
}

.contact-fieldset {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  border: 0;
  transition: opacity var(--transition);
}

.contact-fieldset[disabled] {
  opacity: 0.45;
  filter: saturate(0.7);
}

.contact-fieldset[disabled] * {
  cursor: not-allowed;
}

/* --- Contact shell: blur underneath + Cloudflare Turnstile gate on top --- */
.contact-intro {
  max-width: 720px;
  margin-bottom: 1.4rem;
}

.contact-shell {
  position: relative;
  isolation: isolate;
}

.contact-shell .contact-grid {
  transition: filter 0.4s ease, opacity 0.4s ease;
}

.contact-shell[data-locked="true"] .contact-grid {
  filter: blur(8px) saturate(0.8);
  opacity: 0.65;
  pointer-events: none;
  user-select: none;
}

.contact-shell[data-locked="false"] .contact-grid {
  filter: none;
  opacity: 1;
  pointer-events: auto;
}

.turnstile-gate {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  padding: 1rem;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.contact-shell[data-locked="false"] .turnstile-gate {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.turnstile-gate-inner {
  max-width: 420px;
  width: 100%;
  padding: 1.6rem 1.5rem 1.4rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 252, 248, 0.96);
  border: 1px solid rgba(67, 34, 31, 0.14);
  backdrop-filter: blur(16px);
  box-shadow:
    0 30px 80px rgba(38, 33, 28, 0.22),
    0 8px 24px rgba(38, 33, 28, 0.12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.turnstile-gate-lock {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(106, 66, 61, 0.12), rgba(149, 163, 136, 0.18));
  color: var(--wine);
}

.turnstile-gate-inner h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  color: var(--wine-deep);
  line-height: 1.1;
}

.turnstile-gate-inner > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 340px;
}

.turnstile-gate-inner .cf-turnstile {
  width: 100%;
  display: flex;
  justify-content: center;
}

.turnstile-gate-footnote {
  margin: 0 !important;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(67, 34, 31, 0.08);
  color: var(--muted);
  font-size: 0.72rem !important;
  line-height: 1.4;
  font-style: italic;
}

@media (max-width: 640px) {
  .turnstile-gate {
    padding: 0.5rem;
  }
  .turnstile-gate-inner {
    padding: 1.2rem 1rem 1.1rem;
  }
  .turnstile-gate-inner h3 {
    font-size: 1.25rem;
  }
}

/* --- Gated contact cards --- */
.contact-card-gated .gated-placeholder {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-style: italic;
}

.contact-card-gated[data-unlocked="true"] .gated-placeholder {
  display: none;
}

.contact-card-gated .gated-value {
  color: var(--wine-deep);
  font-weight: 800;
  font-size: 0.98rem;
  word-break: break-word;
}

.gated-lock {
  font-style: normal;
}

.honeypot {
  position: absolute;
  left: -5000px;
  opacity: 0;
  pointer-events: none;
}

.form-feedback {
  min-height: 1.4rem;
  color: var(--wine);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-feedback.is-success {
  color: var(--sage-deep);
}

.site-footer {
  padding: 2rem 0 1.2rem;
  border-top: 1px solid rgba(67, 34, 31, 0.08);
  background: rgba(255, 251, 246, 0.35);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-lead {
  max-width: 560px;
}

.footer-lead-inline {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-lead p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.footer-brand-logo {
  width: auto;
  height: 58px;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(38, 26, 24, 0.12));
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
  justify-content: flex-end;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--wine);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(67, 34, 31, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}


.hero .button,
.header-cta {
  white-space: nowrap;
}

.hero-copy,
.content-block,
.contact-copy {
  max-width: 100%;
}

.services-section,
.difference-section,
.pathway-section,
.economy-section,
.audience-section,
.method-section,
.case-section,
.insight-section,
.faq-section,
.contact-section {
  padding: clamp(3.2rem, 6vh, 5.2rem) 0;
}

.team-section.section {
  padding: 3rem 0 3rem;
}

.team-card p,
.service-card p,
.audience-card p,
.case-card p,
.difference-card p,
.economy-card p,
.insight-card p,
.method-step p,
.timeline-item p {
  font-size: 0.92rem;
  line-height: 1.45;
}

.team-card h3,
.service-card h3,
.audience-card h3,
.case-card h3,
.difference-card h3,
.economy-card h3,
.insight-card h3 {
  line-height: 0.95;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    width: min(92vw, 560px);
    padding: 1rem;
    border-radius: 24px;
    background: rgba(247, 241, 232, 0.96);
    border: 1px solid rgba(67, 34, 31, 0.08);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    transform: translate(-50%, -6px);
    opacity: 0;
    pointer-events: none;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(67, 34, 31, 0.12);
    background: rgba(255, 250, 244, 0.82);
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--wine-deep);
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .split-layout,
  .pathway-grid,
  .contact-grid,
  .split-layout-reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy,
  .hero-visual,
  .content-block,
  .contact-copy,
  .contact-panel,
  .media-stack {
    min-width: 0;
  }

  .hero-points {
    flex-wrap: wrap;
  }

  .hero-visual,
  .feature-panel {
    min-height: 340px;
  }

  .hero-stats,
  .timeline,
  .insight-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .method-header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .difference-grid,
  .audience-grid,
  .case-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .service-card,
  .service-card-featured {
    grid-column: auto;
  }

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

@media (max-width: 760px) {
  .section {
    padding: 3.5rem 0;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .hero-stats,
  .difference-grid,
  .services-grid,
  .audience-grid,
  .team-grid,
  .case-grid,
  .footer-grid,
  .form-row,
  .timeline,
  .insight-list {
    grid-template-columns: 1fr;
  }

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

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-visual {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    min-height: auto;
  }

  .hero-image-frame {
    position: relative;
    inset: auto;
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
  }

  .floating-note {
    position: static;
    flex: 1 1 calc(50% - 0.28rem);
    min-width: 0;
    margin: 0;
    max-width: none;
    padding: 0.6rem 0.8rem;
    border-radius: 14px;
  }

  .floating-note span {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.15rem;
  }

  .floating-note strong {
    font-size: 0.82rem;
    line-height: 1.22;
  }

  .note-c {
    display: none;
  }

  .media-stack,
  .mosaic-grid {
    grid-template-columns: 1fr;
  }

  .media-stack {
    min-height: auto;
    padding: 0;
  }

  .media-card {
    min-height: 250px;
  }

  .media-card-small {
    position: static;
    width: 100%;
    min-height: 160px;
    border-radius: 20px;
    border-width: 0;
  }

  .mosaic-grid {
    grid-template-rows: none;
  }

  .mosaic-tall {
    grid-row: auto;
  }

  .feature-panel {
    min-height: 300px;
  }

  .team-photo {
    aspect-ratio: 3 / 4;
  }

  .captcha-box {
    grid-template-columns: 1fr;
  }
}

/* --- Phone-specific refinements (≤ 560px) --- */
@media (max-width: 560px) {
  :root {
    --container: min(1180px, calc(100vw - 1.6rem));
  }

  .section {
    padding: 2.8rem 0;
  }

  .services-section,
  .difference-section,
  .pathway-section,
  .economy-section,
  .audience-section,
  .method-section,
  .case-section,
  .insight-section,
  .faq-section,
  .contact-section {
    padding: 2.8rem 0;
  }

  h1 {
    font-size: clamp(2rem, 8.5vw, 2.7rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(1.6rem, 7.5vw, 2.2rem);
    line-height: 1.08;
  }

  h3 {
    font-size: 1.05rem;
    line-height: 1.2;
  }

  p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .eyebrow {
    font-size: 0.7rem;
  }

  .eyebrow::before {
    width: 1.6rem;
  }

  .button {
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
  }

  /* Header / nav */
  .header-inner {
    padding: 0 0.25rem;
  }

  .brand-logo {
    height: 56px;
  }

  .footer-lead-inline {
    align-items: flex-start;
    gap: 0.8rem;
  }

  .footer-brand-logo {
    height: 48px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .site-nav {
    width: min(94vw, 420px);
    padding: 0.85rem;
  }

  /* Hero */
  .hero {
    padding-top: 1.5rem;
    padding-bottom: 1.8rem;
    min-height: auto;
  }

  .hero-grid {
    gap: 1.6rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
    margin-bottom: 0.85rem;
  }

  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.55rem;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    gap: 0.35rem;
    margin-top: 0.9rem;
  }

  .hero-points span {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 1.2rem;
  }

  .stat-card {
    padding: 0.9rem 0.5rem 0.85rem;
  }

  .stat-card strong {
    font-size: 1.85rem;
  }

  .stat-card span {
    font-size: 0.7rem;
  }

  .hero-visual {
    min-height: 240px;
  }

  .hero-image-frame {
    inset: 0;
  }

  /* Marquee */
  .marquee-track span {
    font-size: 0.74rem;
  }

  /* Media stack (difference section) → mini-mosaïque 2 colonnes */
  .media-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding-bottom: 0;
  }

  .media-card-large {
    aspect-ratio: 3 / 4;
    max-height: none;
    margin: 0;
  }

  .media-card-small {
    position: static;
    width: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
    border: 0;
    border-radius: var(--radius-lg);
    margin: 0;
  }

  /* Mosaïque (section économies) → mosaïque L compacte */
  .mosaic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.5rem;
  }

  .mosaic-grid > figure {
    margin: 0;
    aspect-ratio: 4 / 3;
  }

  .mosaic-grid .mosaic-tall {
    grid-row: 1 / span 2;
    grid-column: 1;
    aspect-ratio: auto;
    height: 100%;
  }


  /* Services */
  .services-grid {
    gap: 0.75rem;
  }

  .service-card,
  .service-card-featured {
    padding: 0.9rem;
  }

  .service-icon {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-photo {
    aspect-ratio: 5 / 4;
    height: auto;
  }

  .team-photo img {
    object-position: top;
  }

  .team-body {
    padding: 1rem 1.1rem 1.1rem;
  }

  .team-body h3 {
    font-size: 1.1rem;
  }

  .team-role {
    font-size: 0.82rem;
  }

  .team-card p:not(.team-role) {
    font-size: 0.86rem;
  }

  /* Method */
  .method-step {
    padding: 0.95rem 0.9rem;
  }

  .method-step h3 {
    font-size: 1.1rem;
  }

  /* Cases / difference / audience / insight cards */
  .difference-card,
  .economy-card,
  .audience-card,
  .case-card,
  .insight-card,
  .contact-card {
    padding: 0.95rem;
  }

  /* FAQ */
  .faq-item {
    padding: 0 1rem;
  }

  .faq-item summary {
    padding: 1rem 0;
    font-size: 0.95rem;
  }

  .faq-item p {
    padding-bottom: 1rem;
    font-size: 0.9rem;
  }

  /* Contact */
  .contact-panel {
    padding: 1rem 0.95rem 1.05rem;
  }

  .contact-form label {
    font-size: 0.8rem;
  }

  .turnstile-gate-inner {
    padding: 1.2rem 1rem 1rem;
  }

  /* Footer */
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 0.25rem 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    margin-top: 1.2rem;
  }
}

/* --- Extra-small phones (≤ 380px) --- */
@media (max-width: 380px) {
  :root {
    --container: min(1180px, calc(100vw - 1.2rem));
  }

  .hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.75rem;
    text-align: left;
    padding: 0.8rem 0.95rem;
  }

  .stat-card strong {
    font-size: 1.7rem;
    margin: 0;
  }

  .stat-card span {
    text-align: left;
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
