@import url("https://fonts.googleapis.com/css2?family=Onest:wght@500;600;700&family=Work+Sans:wght@400;500;600&display=swap");

:root {
  --terracotta: #bd7053;
  --terracotta-deep: #a9543d;
  --terracotta-soft: #d79b81;
  --sand: #ede3d0;
  --sand-light: #f6eddf;
  --olive: #737a5d;
  --olive-deep: #5e654b;
  --brown: #3e332a;
  --chocolate: #583827;
  --paper: #fbf5ea;
  --white: #fffaf2;
  --muted: #6b5e53;
  --line: rgb(62 51 42 / 20%);
  --line-light: rgb(255 250 242 / 28%);
  --shadow-soft: 0 24px 70px rgb(62 51 42 / 10%);
  --radius-card: 24px;
  --page-gutter: clamp(1.35rem, 6vw, 6.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--brown);
  font-family: "Work Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--terracotta);
  color: var(--white);
}

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

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

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

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

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid rgb(115 122 93 / 62%);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 1.5rem 4vw;
  gap: 2rem;
  border-bottom: 1px solid rgb(255 255 255 / 24%);
  color: var(--white);
}

.site-header.is-sticky,
.site-header.scrolled {
  position: fixed;
  background: rgb(62 51 42 / 93%);
  box-shadow: 0 10px 35px rgb(35 24 17 / 14%);
  backdrop-filter: blur(16px);
  animation: header-in 420ms ease both;
}

@keyframes header-in {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.brand {
  width: 138px;
  filter: brightness(0) invert(1);
}

.site-header nav {
  display: flex;
  gap: clamp(1.2rem, 2.3vw, 2rem);
  font-size: 0.8rem;
  font-weight: 500;
}

.site-header nav a {
  position: relative;
  opacity: 0.9;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  justify-self: end;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgb(255 255 255 / 78%);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.header-cta:hover {
  background: var(--white);
  color: var(--brown);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(760px, 100svh);
  overflow: hidden;
  background: var(--chocolate);
  color: var(--white);
}

.hero-photo {
  position: absolute;
  inset: -1.5%;
  background: url("/ninette-buffet-avocat-wraps.jpg") center 55% / cover no-repeat;
  transform: scale(1.025);
  animation: hero-breathe 14s ease-out both;
}

@keyframes hero-breathe {
  from { transform: scale(1.09); }
  to { transform: scale(1.025); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(40 27 19 / 86%) 0%, rgb(40 27 19 / 34%) 62%, rgb(40 27 19 / 8%) 100%),
    linear-gradient(180deg, rgb(20 13 9 / 6%) 45%, rgb(30 19 13 / 52%) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(800px, 76vw);
  padding: 0 5vw clamp(3.5rem, 7vh, 6.25rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--olive-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--sand);
}

.hero h1 {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-size: clamp(4.2rem, 9.8vw, 9.4rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.hero-copy {
  max-width: 610px;
  margin: 2.1rem 0 0;
  font-size: clamp(1.08rem, 1.5vw, 1.45rem);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2.35rem;
  gap: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0 1.65rem;
  gap: 1rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgb(47 31 22 / 18%);
}

.button-light {
  background: var(--paper);
  color: var(--brown);
}

.button-dark {
  background: var(--brown);
  color: var(--white);
}

.button-olive {
  background: var(--olive);
  color: var(--white);
}

.text-link {
  padding-bottom: 0.3rem;
  border-bottom: 1px solid;
  font-size: 0.8rem;
  font-weight: 600;
}

.light-link {
  color: var(--white);
}

.hero-stamp {
  position: absolute;
  z-index: 3;
  right: 4.5vw;
  bottom: 5vh;
  display: grid;
  place-items: center;
  width: 128px;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 76%);
  border-radius: 50%;
  text-align: center;
  font-family: "Onest", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
  transform: rotate(8deg);
}

.section {
  padding: clamp(5.25rem, 9vw, 7.5rem) var(--page-gutter);
}

h2 {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-size: clamp(2.75rem, 5vw, 4.9rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.section-title,
.title-terracotta,
.manifesto h2,
.experience-copy h2,
.trusted-clients h2 {
  color: var(--terracotta-deep);
}

.title-olive,
.commitment h2,
.process h2 {
  color: var(--olive-deep);
}

.title-sand,
.story-strip h2,
.quote-section h2 {
  color: var(--paper);
}

.manifesto {
  background:
    radial-gradient(circle at 100% 0%, rgb(189 112 83 / 10%), transparent 31rem),
    var(--sand);
}

.manifesto-intro {
  max-width: 860px;
  margin-bottom: clamp(3rem, 6vw, 4.8rem);
}

.manifesto-intro > p:last-child {
  max-width: 570px;
  margin: 2.2rem 0 0 auto;
  font-size: 1.1rem;
  line-height: 1.65;
}

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

.word-card {
  min-height: 300px;
  padding: 1.8rem 2.1rem;
  border-right: 1px solid var(--line);
  transition: background 300ms ease, color 300ms ease, transform 300ms ease;
}

.word-card:last-child {
  border-right: 0;
}

.word-card > span,
.service-list li > span,
.commitment-grid article > span,
.process li > span {
  color: var(--terracotta-deep);
  font-size: 0.7rem;
  font-weight: 600;
}

.word-card h3 {
  margin: 4.5rem 0 0.9rem;
  font-family: "Onest", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.9rem);
  letter-spacing: -0.05em;
}

.word-card p {
  max-width: 280px;
  margin: 0;
  line-height: 1.55;
}

.word-card:hover {
  background: var(--terracotta);
  color: var(--paper);
  transform: translateY(-0.35rem);
}

.word-card:hover > span {
  color: var(--paper);
}

.experience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 860px;
  background: var(--paper);
}

.experience-image {
  position: relative;
  min-height: 720px;
  overflow: hidden;
}

.experience-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.experience-image:hover > img {
  transform: scale(1.035);
}

.floating-note {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  display: grid;
  place-items: center;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--paper);
  text-align: center;
  font-family: "Onest", sans-serif;
  font-weight: 600;
  line-height: 1.25;
  transform: rotate(7deg);
}

.experience-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6.25rem 7vw;
}

.experience-copy .lead {
  max-width: 560px;
  margin: 2rem 0 2.8rem;
  font-size: 1.1rem;
  line-height: 1.65;
}

.service-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  padding: 1.3rem 0;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.service-list strong {
  font-family: "Onest", sans-serif;
  font-size: 1.1rem;
}

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

.commitment {
  background:
    linear-gradient(145deg, rgb(115 122 93 / 5%), transparent 42%),
    var(--sand);
}

.commitment-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4.4rem;
  gap: 2rem;
}

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

.commitment-grid article {
  min-height: 280px;
  margin-right: 1.55rem;
  padding: 1.55rem 1.55rem 1rem 0;
  border-right: 1px solid var(--line);
}

.commitment-grid article:last-child {
  margin-right: 0;
  border-right: 0;
}

.commitment-grid h3 {
  margin: 4.6rem 0 0.9rem;
  color: var(--olive-deep);
  font-family: "Onest", sans-serif;
  font-size: 1.75rem;
}

.commitment-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.58;
}

.story-strip {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  min-height: 620px;
  background: var(--chocolate);
  color: var(--paper);
}

.story-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 5rem var(--page-gutter);
}

.n-mark {
  position: absolute;
  top: 2.4rem;
  right: 3rem;
  color: var(--terracotta-soft);
  font-family: "Onest", sans-serif;
  font-size: 5.6rem;
  font-weight: 600;
  line-height: 1;
  opacity: 0.8;
}

.story-copy blockquote {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.story-image {
  background:
    linear-gradient(rgb(62 51 42 / 14%), rgb(62 51 42 / 14%)),
    url("/ninette-gateau-fruits.jpg") center 68% / cover no-repeat;
}

.process {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 10vw;
  background: var(--paper);
}

.process ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process li {
  display: grid;
  grid-template-columns: 55px 1fr;
  padding: 1.75rem 0;
  gap: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.process h3 {
  margin: 0 0 0.5rem;
  color: var(--terracotta-deep);
  font-family: "Onest", sans-serif;
  font-size: 1.35rem;
}

.process li p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

/* Carte de la zone de service : le SVG reste net à toutes les tailles. */
.var-map-section,
.delivery-zone {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  background: var(--sand-light);
}

.var-map-copy p,
.delivery-zone-copy p {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.var-map-card,
.delivery-map {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgb(62 51 42 / 10%);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 50% 48%, rgb(255 250 242 / 86%), rgb(255 250 242 / 36%) 51%, transparent 72%),
    linear-gradient(145deg, rgb(189 112 83 / 10%), rgb(115 122 93 / 7%));
  box-shadow: var(--shadow-soft);
}

.var-map-card::before,
.delivery-map::before {
  position: absolute;
  inset: 1rem;
  border: 1px dashed rgb(189 112 83 / 28%);
  border-radius: calc(var(--radius-card) - 8px);
  content: "";
}

.var-map-shape,
.delivery-map svg,
.var-map-card svg {
  position: relative;
  z-index: 1;
  width: min(70%, 390px);
  max-height: 340px;
  overflow: visible;
  color: var(--terracotta);
  filter: drop-shadow(0 18px 28px rgb(114 63 46 / 16%));
}

.var-map-shape path,
.delivery-map svg path,
.var-map-card svg path {
  fill: var(--terracotta);
  stroke: var(--terracotta-deep);
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.map-pin,
.var-map-pin {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--olive-deep);
  box-shadow: 0 0 0 6px rgb(115 122 93 / 22%);
}

.map-label,
.var-map-label {
  position: absolute;
  z-index: 3;
  padding: 0.58rem 0.8rem;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 10px 25px rgb(62 51 42 / 14%);
  color: var(--brown);
  font-size: 0.72rem;
  font-weight: 600;
}

.quote-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  padding: clamp(5.5rem, 8vw, 7rem) var(--page-gutter);
  gap: 7vw;
  background: var(--terracotta);
  color: var(--paper);
}

.quote-intro {
  position: sticky;
  top: 3.2rem;
  align-self: start;
}

.quote-intro > p:not(.eyebrow) {
  max-width: 480px;
  margin: 2rem 0;
  font-size: 1.05rem;
  line-height: 1.65;
}

.contact-card {
  display: flex;
  flex-direction: column;
  margin-top: 3.7rem;
  padding-top: 1.4rem;
  gap: 0.45rem;
  border-top: 1px solid rgb(255 255 255 / 35%);
}

.contact-card span {
  font-size: 0.75rem;
  opacity: 0.82;
}

.contact-card a {
  font-family: "Onest", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 600;
}

.contact-card .contact-email {
  margin-top: 0.15rem;
  font-family: "Work Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.form-panel {
  min-height: 650px;
  padding: clamp(1.7rem, 4vw, 2.8rem);
  border-radius: var(--radius-card);
  background: var(--paper);
  box-shadow: 0 24px 60px rgb(83 47 33 / 15%);
  color: var(--brown);
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 1.4rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.form-row.full,
fieldset.full {
  grid-column: 1 / -1;
}

.form-row label,
.form-row legend {
  font-size: 0.75rem;
  font-weight: 600;
}

fieldset.form-row {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.15rem;
  border: 0;
  border-bottom: 1px solid #b7aa9a;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--brown);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--terracotta-deep);
  box-shadow: 0 2px 0 var(--terracotta-deep);
}

textarea {
  min-height: 8rem;
  resize: vertical;
  padding: 0.9rem;
  border: 1px solid #cbbfaf;
  border-radius: 10px;
}

/* Le même composant accueille des boutons radio : un seul accompagnement possible. */
.choice-grid,
.radio-grid {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0.25rem;
  gap: 0.55rem;
}

.choice,
.radio-choice {
  position: relative;
  cursor: pointer;
}

.choice input,
.radio-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.choice span,
.radio-choice span {
  display: block;
  padding: 0.65rem 0.9rem;
  border: 1px solid #c7b9a8;
  border-radius: 999px;
  background: rgb(255 255 255 / 30%);
  font-size: 0.75rem;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.choice:hover span,
.radio-choice:hover span {
  border-color: var(--olive);
  transform: translateY(-1px);
}

.choice input:checked + span,
.radio-choice input:checked + span {
  border-color: var(--olive);
  background: var(--olive);
  box-shadow: 0 7px 18px rgb(76 83 58 / 17%);
  color: var(--white);
}

.choice input:focus-visible + span,
.radio-choice input:focus-visible + span {
  outline: 3px solid rgb(115 122 93 / 45%);
  outline-offset: 3px;
}

.privacy {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.45;
}

.privacy input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--olive);
}

.privacy a {
  text-decoration: underline;
}

.submit-button {
  grid-column: 1 / -1;
  justify-self: start;
}

.mail-handoff {
  grid-column: 1 / -1;
  margin: -0.6rem 0 0;
  color: var(--brown);
  font-size: 0.8rem;
  line-height: 1.5;
}

.mail-handoff a {
  color: var(--terracotta-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-summary {
  grid-column: 1 / -1;
  margin: -0.5rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.privacy-summary a,
.privacy-info a {
  color: var(--terracotta-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-info {
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.3fr);
  gap: 2rem;
  padding: 3.5rem var(--page-gutter);
  background: var(--sand-light);
}

.privacy-info h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.1;
}

.privacy-info > p {
  max-width: 820px;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.7;
}

.success-message {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-message > img {
  width: 145px;
  margin-bottom: 2.2rem;
}

.success-message h3 {
  max-width: 520px;
  margin: 0;
  color: var(--terracotta-deep);
  font-family: "Onest", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.success-message > p:not(.eyebrow) {
  max-width: 430px;
  margin: 1.5rem 0;
  line-height: 1.6;
}

/* Références : fonctionne aussi si la section n'utilise pas un module CSS. */
.trusted-clients {
  padding: clamp(5rem, 9vw, 8.5rem) var(--page-gutter);
  border-block: 1px solid rgb(62 51 42 / 10%);
  background:
    radial-gradient(circle at 10% 0%, rgb(189 112 83 / 10%), transparent 34rem),
    #f4efe7;
}

.trusted-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 82rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
  gap: 2rem;
}

.trusted-heading h2 {
  max-width: 14ch;
}

.trusted-logo-grid,
.clients-grid,
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 82rem;
  margin: 0 auto;
  gap: clamp(0.65rem, 1.2vw, 1rem);
}

.trusted-logo-card,
.client-logo,
.logo-card {
  display: grid;
  min-width: 0;
  min-height: 10.5rem;
  place-items: center;
  padding: clamp(1.25rem, 2.2vw, 2rem);
  overflow: hidden;
  border: 1px solid rgb(41 36 31 / 11%);
  border-radius: 0.4rem;
  background: rgb(255 253 249 / 82%);
  box-shadow: 0 1.1rem 2.5rem rgb(62 47 37 / 5%);
  transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.trusted-logo-card:hover,
.client-logo:hover,
.logo-card:hover {
  border-color: rgb(189 112 83 / 34%);
  box-shadow: 0 1.5rem 3.25rem rgb(62 47 37 / 10%);
  transform: translateY(-0.35rem);
}

.trusted-logo-card img,
.client-logo img,
.logo-card img {
  width: 100%;
  height: auto;
  max-height: 5.2rem;
  object-fit: contain;
}

/* Défilement progressif. Le script ajoute .reveal-ready puis .is-visible. */
[data-reveal],
.reveal {
  opacity: 1;
  transform: none;
}

html.reveal-ready [data-reveal],
html.reveal-ready .reveal,
.reveal.reveal-hidden,
[data-reveal].reveal-hidden {
  opacity: 0;
  transform: translate3d(0, 2rem, 0);
  transition:
    opacity 800ms cubic-bezier(0.2, 0.65, 0.25, 1),
    transform 800ms cubic-bezier(0.2, 0.65, 0.25, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.reveal-ready [data-reveal="left"],
html.reveal-ready .reveal-left {
  transform: translate3d(-2.5rem, 0, 0);
}

html.reveal-ready [data-reveal="right"],
html.reveal-ready .reveal-right {
  transform: translate3d(2.5rem, 0, 0);
}

html.reveal-ready [data-reveal="scale"],
html.reveal-ready .reveal-scale {
  transform: scale(0.965);
}

html.reveal-ready [data-reveal].is-visible,
html.reveal-ready [data-reveal].reveal-visible,
html.reveal-ready .reveal.is-visible,
html.reveal-ready .reveal.reveal-visible,
.reveal.reveal-hidden.is-visible,
[data-reveal].reveal-hidden.is-visible {
  opacity: 1;
  transform: none;
}

footer {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  padding: 4.7rem var(--page-gutter) 6rem;
  gap: 3rem;
  background: var(--brown);
  color: var(--sand);
}

.footer-brand > img {
  width: 150px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin: 0;
  line-height: 1.55;
}

.footer-contact,
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.footer-contact a {
  font-family: "Onest", sans-serif;
  font-size: 1.35rem;
}

.footer-contact .footer-email {
  font-family: "Work Sans", sans-serif;
  font-size: 0.75rem;
}

.footer-contact span,
.footer-links a,
.footer-links small {
  font-size: 0.75rem;
  opacity: 0.78;
}

.copyright {
  position: absolute;
  right: var(--page-gutter);
  bottom: 1.6rem;
  left: var(--page-gutter);
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgb(237 227 208 / 20%);
  font-size: 0.63rem;
  opacity: 0.55;
}

@media (max-width: 68rem) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero-content {
    width: 90vw;
  }

  .three-words {
    grid-template-columns: 1fr;
  }

  .word-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .word-card h3 {
    margin-top: 2.2rem;
  }

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

  .experience-image {
    min-height: 600px;
  }

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

  .story-strip {
    grid-template-columns: 1fr;
  }

  .story-copy,
  .story-image {
    min-height: 500px;
  }

  .process,
  .quote-section,
  .var-map-section,
  .delivery-zone {
    grid-template-columns: 1fr;
  }

  .quote-intro {
    position: static;
  }

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

@media (max-width: 52rem) {
  .hero-stamp {
    display: none;
  }

  .privacy-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 44rem) {
  .site-header {
    padding: 1.2rem 1.1rem;
  }

  .brand {
    width: 112px;
  }

  .header-cta {
    padding: 0.6rem 0.8rem;
    font-size: 0.64rem;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    width: 100%;
    padding: 0 1.25rem 3rem;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 18vw, 5.3rem);
  }

  .hero-copy {
    font-size: 1.03rem;
  }

  .hero-stamp {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .section {
    padding: 5rem 1.35rem;
  }

  h2 {
    font-size: clamp(2.55rem, 13vw, 3.4rem);
  }

  .manifesto-intro > p:last-child {
    font-size: 1rem;
  }

  .word-card {
    padding: 1.7rem 0.9rem;
  }

  .experience-image {
    min-height: 480px;
  }

  .experience-copy {
    padding: 4.7rem 1.35rem;
  }

  .floating-note {
    right: 1rem;
    bottom: 1rem;
    width: 122px;
    font-size: 0.8rem;
  }

  .commitment-heading,
  .trusted-heading {
    display: block;
  }

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

  .commitment-grid article {
    min-height: auto;
    margin-right: 0;
    padding-bottom: 2rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .commitment-grid h3 {
    margin-top: 2.5rem;
  }

  .story-copy {
    min-height: 450px;
    padding: 4.4rem 1.35rem;
  }

  .story-image {
    min-height: 350px;
  }

  .process {
    gap: 3.4rem;
  }

  .var-map-card,
  .delivery-map {
    min-height: 330px;
  }

  .quote-section {
    padding: 5rem 1.1rem;
  }

  .form-panel {
    padding: 1.9rem 1.25rem;
    border-radius: 17px;
  }

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

  .form-row.full,
  fieldset.full,
  .privacy,
  .submit-button {
    grid-column: 1;
  }

  .choice-grid,
  .radio-grid {
    flex-direction: column;
  }

  .choice span,
  .radio-choice span {
    text-align: center;
  }

  .trusted-clients {
    padding-inline: 1.35rem;
  }

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

  .trusted-logo-card,
  .client-logo,
  .logo-card {
    min-height: 8.75rem;
    padding: 1.1rem;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 4rem 1.5rem 6.8rem;
  }

  .copyright {
    right: 1.5rem;
    left: 1.5rem;
  }
}

@media (max-width: 27rem) {
  .trusted-logo-grid,
  .clients-grid,
  .logo-grid {
    grid-template-columns: 1fr;
  }
}

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

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

  html.reveal-ready [data-reveal],
  html.reveal-ready .reveal,
  .reveal.reveal-hidden,
  [data-reveal].reveal-hidden {
    opacity: 1;
    transform: none;
  }
}


/* Version 4 — identité Ninette, carte du Var et références animées. */
.brand img, .footer-brand img { object-fit: contain; }
.hero-stamp { padding: .55rem; border: 0; border-radius: 50%; background: rgb(251 245 234 / 94%); box-shadow: 0 14px 34px rgb(32 24 18 / 18%); }
.hero-stamp img { display: block; width: 100%; height: 100%; object-fit: contain; }
.n-mark { display: grid; place-items: center; }
.n-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.var-map-inline { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; gap: 1.25rem; margin: 0 0 2.35rem; padding: 1.15rem 1.35rem; border: 1px solid rgb(62 51 42 / 10%); border-radius: 1rem; background: linear-gradient(145deg, rgb(193 123 92 / 12%), rgb(124 130 104 / 8%)); box-shadow: 0 18px 45px rgb(62 51 42 / 8%); }
.var-map-inline .var-map-shape { width: 132px; max-height: 112px; filter: drop-shadow(0 10px 16px rgb(90 58 40 / 15%)); }
.var-map-inline .var-map-shape > path:first-child { fill: var(--terracotta); stroke: var(--terracotta-deep); stroke-width: 1.4; }
.var-map-inline .var-map-coast { fill: none !important; stroke: var(--paper) !important; stroke-width: 2.2 !important; opacity: .9; }
.var-map-city-dot { fill: var(--olive-deep); stroke: var(--paper); stroke-width: 2; }
.var-map-city-ring { fill: none; stroke: var(--olive-deep); stroke-width: 2; opacity: .6; }
.var-map-number { fill: var(--paper); font-family: "Onest", sans-serif; font-size: 34px; font-weight: 700; }
.var-map-name, .var-map-city { fill: var(--paper); font-family: "Work Sans", sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .13em; }
.var-map-city { font-size: 8px; }
.var-map-inline figcaption { color: var(--brown); font-family: "Onest", sans-serif; font-size: .97rem; font-weight: 600; line-height: 1.35; }
.trusted-logo-card--allianz img { max-width: 108px; }
.trusted-logo-card--renault img { max-width: 94px; }
.trusted-logo-card--alm img { max-width: 112px; }
.trusted-logo-card--sunny img { max-width: 90px; border-radius: 50%; }
.trusted-logo-card--bnp-paribas img { max-width: 124px; }
.trusted-logo-marquee { --marquee-gap: clamp(.75rem, 1.2vw, 1rem); position: relative; max-width: 100%; margin: 0 auto; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.trusted-logo-track { display: flex; width: max-content; gap: var(--marquee-gap); animation: trusted-logos-scroll 34s linear infinite; will-change: transform; }
.trusted-logo-sequence { display: flex; flex: none; gap: var(--marquee-gap); }
.trusted-logo-marquee .trusted-logo-card { width: clamp(10.5rem, 16vw, 14rem); flex: 0 0 auto; }
.trusted-logo-marquee:hover .trusted-logo-track,
.trusted-logo-marquee:focus-within .trusted-logo-track { animation-play-state: paused; }
@keyframes trusted-logos-scroll { to { transform: translate3d(calc(-50% - (var(--marquee-gap) / 2)), 0, 0); } }
.success-message > img { width: min(230px, 65%); height: auto; margin-bottom: 1.2rem; }
@media (max-width: 700px) { .var-map-inline { grid-template-columns: 105px minmax(0, 1fr); } .var-map-inline .var-map-shape { width: 105px; } .trusted-logo-marquee .trusted-logo-card { width: 11rem; } }
@media (prefers-reduced-motion: reduce) {
  .trusted-logo-marquee { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .trusted-logo-track { display: block; width: auto; animation: none; transform: none; }
  .trusted-logo-sequence:first-child { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
  .trusted-logo-sequence[aria-hidden="true"] { display: none; }
  .trusted-logo-marquee .trusted-logo-card { width: auto; }
}
