:root {
  --sage: #536a58;
  --sage-dark: #3f5344;
  --sage-soft: #dfe6dc;
  --cream: #f6f1e8;
  --cream-deep: #ede5d8;
  --ink: #1d1d1d;
  --muted: #62635f;
  --white: #ffffff;
  --line: rgba(63, 83, 68, 0.18);
  --shadow: 0 18px 55px rgba(29, 29, 29, 0.08);
  --radius: 22px;
  --content: 1220px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
.btn,
.cta {
  min-height: 46px;
}

:focus-visible {
  outline: 3px solid #b17918;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  width: 100%;
  padding: 14px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(83, 106, 88, 0.08);
  background: rgba(246, 241, 232, 0.94);
  backdrop-filter: blur(14px);
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: 68px;
  height: 68px;
  object-fit: cover;
}

.navbar nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 38px);
}

.navbar nav a {
  padding: 10px 0;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 6px;
}

.navbar nav a:hover {
  color: var(--sage-dark);
  text-decoration: underline;
}

.btn,
.cta,
.contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 2px solid var(--sage);
  border-radius: 999px;
  background: var(--sage);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.cta:hover,
.contact-form button[type="submit"]:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  box-shadow: 0 12px 28px rgba(63, 83, 68, 0.24);
  transform: translateY(-2px);
}

.contact-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

main > section {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding: clamp(58px, 7vw, 104px) clamp(20px, 4vw, 48px);
}

h1,
h2,
h3 {
  margin-top: 0;
  text-wrap: balance;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 850px;
  margin-bottom: 26px;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: 0.96;
}

h2 {
  max-width: 980px;
  margin-bottom: 42px;
  font-size: clamp(2.5rem, 4.5vw, 4.4rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
}

p {
  text-wrap: pretty;
}

.eyebrow,
.card-kicker {
  margin: 0 0 18px;
  color: var(--sage-dark);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.section-intro {
  max-width: 800px;
  margin: -18px auto 36px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
  text-align: center;
}

.section-intro.align-left {
  margin-left: 0;
  text-align: left;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px);
  margin: 0;
  padding: 0;
}

.card {
  min-width: 0;
}

.hero {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 98px);
  padding: clamp(54px, 7vw, 100px) clamp(20px, 5vw, 72px);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
  width: min(100%, 1460px);
  margin-inline: auto;
}

.hero-text {
  min-width: 0;
}

.hero-lead {
  max-width: 720px;
  margin: 0 0 28px;
  color: #444641;
  font-size: clamp(1.06rem, 1.5vw, 1.25rem);
}

.cta-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.trust-badges li {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #4e554d;
  font-size: 0.86rem;
}

.trust-badges li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--sage-dark);
  font-weight: 800;
}

.hero-image {
  position: relative;
  isolation: isolate;
}

.hero-image::before {
  position: absolute;
  inset: 14% 9%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(83, 106, 88, 0.17);
  filter: blur(60px);
  content: "";
}

.hero-image img {
  width: min(100%, 650px);
  margin-inline: auto;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

#pourquoi-nous {
  border-top: 1px solid var(--line);
}

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

.manifesto {
  padding-top: 24px;
  border-top: 2px solid var(--sage);
}

.manifesto h3,
.editorial-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 600;
}

.manifesto p,
.editorial-card p,
.service-card p,
.result-card p,
.zone-card p {
  color: var(--muted);
}

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

.editorial-card {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.process-grid {
  list-style: none;
}

.step-number {
  display: block;
  margin-bottom: 24px;
  color: var(--sage);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
}

#services,
#benefices {
  width: min(calc(100% - 32px), 1320px);
  border-radius: 34px;
  background: var(--ink);
  color: var(--cream);
}

.service-card,
.result-card {
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(246, 241, 232, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.service-card p,
.result-card p {
  color: #d0d1cd;
}

.service-card .card-kicker {
  color: #b8c8b4;
}

.centered-section {
  text-align: center;
}

.centered-section h2 {
  margin-inline: auto;
}

.showcase-grid {
  align-items: stretch;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 34px rgba(29, 29, 29, 0.05);
}

.showcase-card h3 {
  margin-top: 24px;
}

.showcase-card p {
  margin-bottom: 8px;
  color: var(--muted);
}

.badge-demo {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--white);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-wrapper {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: var(--white);
}

.demo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.demo-image.contain {
  object-fit: contain;
}

.showcase-card:hover .demo-image {
  transform: scale(1.035);
}

.section-cta {
  padding: 34px 20px 72px;
  text-align: center;
}

.zone-card {
  padding: 28px;
  border-left: 3px solid var(--sage);
  background: rgba(255, 255, 255, 0.5);
}

#faq {
  max-width: 1000px;
}

#faq h2 {
  margin-inline: auto;
  text-align: center;
}

.faq-container {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.faq-item summary {
  position: relative;
  padding: 21px 42px 21px 0;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--sage-dark);
  font-size: 1.45rem;
  line-height: 1;
  transform: translateY(-50%);
  content: "+";
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 0 24px;
  color: var(--muted);
}

#contact {
  width: min(calc(100% - 32px), 1320px);
  margin-bottom: 40px;
  border-radius: 34px;
  background: #e7e0d4;
}

.contact-heading {
  max-width: 820px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.audit-benefits {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--cream);
}

.audit-benefits h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
}

.audit-benefits ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.audit-benefits li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 26px;
  color: #d6d7d3;
}

.audit-benefits li::before {
  position: absolute;
  left: 0;
  color: #b8c8b4;
  font-weight: 800;
  content: "✓";
}

.audit-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #b8c8b4;
  font-size: 0.9rem;
}

.contact-direct {
  display: grid;
  gap: 6px;
  margin-top: 32px;
}

.contact-direct p {
  margin-bottom: 4px;
}

.contact-direct a {
  color: var(--cream);
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

.contact-form {
  min-width: 0;
}

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

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid rgba(29, 29, 29, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
}

.form-field input {
  min-height: 48px;
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--sage-dark);
  outline: 3px solid rgba(83, 106, 88, 0.22);
}

.required-note,
.form-rgpd,
.form-status {
  font-size: 0.84rem;
}

.required-note {
  margin: -4px 0 10px;
  color: var(--muted);
}

.form-rgpd {
  margin: 0 0 18px;
  color: #50524e;
}

.form-rgpd a {
  color: var(--sage-dark);
  font-weight: 700;
  text-underline-offset: 3px;
}

.form-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: var(--sage-dark);
  font-weight: 700;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.footer {
  width: 100%;
  background: var(--ink);
  color: var(--cream);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  width: min(100%, 1380px);
  margin-inline: auto;
  padding: 58px clamp(20px, 5vw, 70px);
}

.footer-column h2 {
  margin-bottom: 18px;
  color: #b8c8b4;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column p,
.footer-column li,
.footer-column a {
  color: #d6d7d3;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li {
  margin-bottom: 8px;
}

.footer-brand img {
  width: 92px;
  height: 92px;
  margin-bottom: 18px;
  object-fit: cover;
  border-radius: 12px;
}

.footer-brand p {
  max-width: 450px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}

.footer-contact h2 {
  align-self: stretch;
}

.footer-column a,
.footer-bottom a,
.footer-cookie-link {
  text-underline-offset: 4px;
}

.footer-column a:hover,
.footer-bottom a:hover,
.footer-cookie-link:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px clamp(20px, 5vw, 70px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #adaeaa;
  font-size: 0.84rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom a {
  color: #c9cac6;
}

.footer-cookie-link {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c9cac6;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 9999;
  padding: 18px;
  border: 1px solid rgba(246, 241, 232, 0.24);
  border-radius: 18px;
  background: #111111;
  color: var(--cream);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  max-width: 1120px;
  margin-inline: auto;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.cookie-banner .cookie-title {
  margin-bottom: 4px;
  color: var(--white);
  font-weight: 800;
}

.cookie-banner a {
  color: var(--cream);
  font-weight: 700;
  text-underline-offset: 3px;
}

.cookie-banner-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-banner button {
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid var(--cream);
  border-radius: 999px;
  background: var(--cream);
  color: #111111;
  font-weight: 750;
  cursor: pointer;
}

.cookie-banner button:hover {
  background: var(--white);
  border-color: var(--white);
}

.legal-hero {
  width: min(100%, 1000px);
  margin-inline: auto;
  padding: clamp(58px, 8vw, 100px) 20px 34px;
  text-align: center;
}

.legal-subtitle {
  margin-bottom: 12px;
  color: var(--sage-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin-bottom: 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1;
}

.legal-intro {
  max-width: 760px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-page {
  width: min(calc(100% - 32px), 980px);
  margin: 0 auto 80px;
  padding: clamp(28px, 6vw, 66px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-page h2 {
  margin: 48px 0 16px;
  color: var(--sage-dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.05;
}

.legal-page h2:first-child {
  margin-top: 0;
}

.legal-page h3 {
  margin-top: 28px;
}

.legal-page p,
.legal-page li,
.legal-page td,
.legal-page th {
  color: #454743;
}

.legal-page a {
  color: var(--sage-dark);
  font-weight: 700;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-page ul {
  padding-left: 22px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.legal-table th,
.legal-table td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--sage-soft);
}

.legal-update {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.simple-page {
  display: grid;
  min-height: 70vh;
  place-items: center;
  padding: 70px 20px;
}

.simple-page-card {
  max-width: 720px;
  padding: clamp(30px, 7vw, 64px);
  border-radius: 28px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow);
  text-align: center;
}

.simple-page-card h1 {
  margin-inline: auto;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
}

.simple-page-card p {
  color: #d0d1cd;
}

.simple-page-icon {
  margin-bottom: 14px;
  color: #b8c8b4;
  font-size: 3rem;
  font-weight: 800;
}

/* Lecture plus confortable sur les grands écrans, sans modifier le mobile ni la tablette. */
@media (min-width: 981px) {
  body {
    font-size: 21px;
    line-height: 1.72;
  }

  .navbar nav a {
    font-size: 1.08rem;
  }

  .hero-lead {
    font-size: clamp(1.25rem, 1.6vw, 1.42rem);
  }

  .section-intro {
    font-size: 1.35rem;
  }

  .manifesto p,
  .editorial-card p,
  .zone-card p,
  .showcase-card p,
  .faq-item p,
  .legal-page p {
    color: #474a45;
    font-size: 22px;
    line-height: 1.76;
  }

  .service-card p,
  .result-card p {
    color: #d0d1cd;
    font-size: 22px;
    line-height: 1.76;
  }

  .eyebrow,
  .card-kicker {
    font-size: 0.9rem;
  }

  .trust-badges li,
  .required-note,
  .form-rgpd,
  .form-status {
    font-size: 20px;
  }

  .cta-note,
  .audit-note,
  .cookie-banner p {
    font-size: 20px;
  }
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 150px;
  }

  .navbar {
    grid-template-columns: auto 1fr;
    gap: 10px 20px;
  }

  .navbar nav {
    justify-content: flex-end;
    gap: 20px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr 0.7fr;
    gap: 40px;
  }

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

  .showcase-grid,
  .service-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    max-width: 760px;
    margin-inline: auto;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 150px;
  }

  .navbar {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 9px 14px 10px;
  }

  .logo img {
    width: 54px;
    height: 54px;
  }

  .navbar nav {
    width: 100%;
    justify-content: center;
    gap: 8px 16px;
  }

  .navbar nav a {
    padding: 5px 0;
    font-size: 0.82rem;
  }

  main > section {
    padding-inline: 20px;
  }

  .hero {
    padding-top: 50px;
  }

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

  .hero-text {
    text-align: center;
  }

  .hero h1 {
    margin-inline: auto;
    font-size: clamp(3rem, 14vw, 4.35rem);
  }

  .hero-lead {
    margin-inline: auto;
  }

  .trust-badges {
    justify-content: center;
  }

  .hero-image {
    width: min(100%, 480px);
    margin-inline: auto;
  }

  .grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  #services,
  #benefices,
  #contact {
    width: min(calc(100% - 20px), 1320px);
    border-radius: 24px;
  }

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

  .footer-container {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-contact {
    align-items: flex-start;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 16px;
  }

  .cookie-banner-content {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .cookie-banner-actions {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .navbar nav {
    gap: 5px 12px;
  }

  .navbar nav a {
    font-size: 0.78rem;
  }

  .cookie-banner-actions {
    grid-template-columns: 1fr;
  }
}

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

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