@font-face {
  font-family: 'Open Sans';
  src: url('assets/fonts/OpenSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('assets/fonts/OpenSans-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('assets/fonts/OpenSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('assets/fonts/OpenSans-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
:root {
  --background: #F6F6EE;
  --ink: #353025;
  --mint: #89B4A1; /* nuance historique — accent, pas CTA */
  --primary: #4F7565; /* camino-app: --brand-sage-deep / --primary */
  --primary-hover: #456959;
  --primary-active: #3E5F51;
  --olive: #7B7554;
  --pale: #EAEAD4;
  --privacy-background: #E1DFC7;
  --sand: #D3CCA3;
  --blue-green: #83A6A6;
  --border: rgba(123, 117, 84, .23);
  --max-content: 1220px;
  --page-gutter: clamp(24px, 4.2vw, 54px);
  --desktop-section-gap: 75px;
  --mobile-section-gap: 40px;
  --stories-section-gap: 64px;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--background);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--background); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue-green); outline-offset: 4px; }
.container { width: min(100% - (2 * var(--page-gutter)), var(--max-content)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 50; top: -100px; left: 20px; background: white; padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--border); }
.header-inner { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; }
.brand img { display: block; width: 128px; height: auto; }
.header-actions { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.login-link { text-decoration: none; font-weight: 600; font-size: 1.08rem; text-underline-offset: 5px; }
.login-link:hover { text-decoration: underline; }
.button { border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 12px 21px; min-height: 49px; text-decoration: none; font-weight: 700; font-size: 1.09rem; line-height: 1.4; white-space: nowrap; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--primary); color: #fff; }
.button-primary:hover { background: var(--primary-hover); }
.button-primary:active { background: var(--primary-active); }
.button-outline { color: var(--primary); background: transparent; border-color: var(--primary); }
.button-outline:hover { background: #F1F6F4; border-color: var(--primary-hover); color: var(--primary-hover); }
.button-outline:active { background: var(--pale); border-color: var(--primary-active); color: var(--primary-active); }
.button-large { min-height: 60px; padding: 16px 26px; font-size: 1.13rem; }
.play-icon { height: 22px; width: 22px; fill: none; stroke: currentColor; stroke-width: 1.55; }
.play-icon path { fill: currentColor; stroke: none; }
.hero { display: grid; grid-template-columns: minmax(0, .41fr) minmax(0, .59fr); align-items: center; padding-top: 59px; }
.hero-copy { padding: 0 16px 6px 0; }
.hero h1 { font-size: var(--page-title-size); line-height: 1.09; font-weight: 800; letter-spacing: -.045em; margin: 0 0 22px; }
.accent-period { color: var(--primary); }
.hero-intro { font-size: clamp(1.2rem, 1.47vw, 1.31rem); line-height: 1.55; max-width: 490px; margin: 0; }
.hero-intro + .hero-intro { margin-top: 4px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 39px; }
.hero-photo { margin: 0; border-radius: 21px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--background); position: relative; }
/* Fondu sur la gauche du visuel : il se mêle à la couleur de fond sans modifier l’interface sur l’écran. */
.hero-photo::after { content: ""; position: absolute; pointer-events: none; inset: 0; background: linear-gradient(90deg, var(--background) 0%, rgba(246,246,238,.45) 4%, rgba(246,246,238,0) 16%); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.spaced-section { margin-top: var(--desktop-section-gap); }
.benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: clamp(24px, 3vw, 45px); }
.benefit { display: grid; grid-template-columns: 62px minmax(0,1fr); gap: 15px; align-items: start; position: relative; }
.benefit:not(:last-child)::after { content: ''; position: absolute; right: calc(-1 * clamp(12px, 1.5vw, 22px)); top: 5px; bottom: 5px; width: 1px; background: var(--border); }
.benefit-icon { color: var(--olive); width: 54px; height: 54px; }
.benefit-icon svg { width: 100%; height: 100%; }
.benefit h2 { margin: 1px 0 10px; font-size: 1.6rem; letter-spacing: -.025em; font-weight: 800; line-height: 1.2; }
.benefit p { margin: 0; line-height: 1.6; font-size: 1.13rem; max-width: 225px; }
.shared-stories { display: grid; grid-template-columns: minmax(0, 1.23fr) minmax(0, .77fr); gap: clamp(42px, 6vw, 91px); align-items: center; }
.shared-stories.spaced-section, .shared-stories + .privacy { margin-top: var(--stories-section-gap); }
.stories-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(4px, .8vw, 12px);
  padding: clamp(7px, 1.1vw, 16px) clamp(4px, .6vw, 9px);
}
.story-print {
  position: relative;
  margin: 0;
  border: clamp(4px, .58vw, 8px) solid #fff;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(53, 48, 37, .20), 0 1px 4px rgba(53, 48, 37, .10);
  transform: rotate(-4deg);
}
.story-print:nth-child(2) { transform: translateY(2%) rotate(4.2deg); }
.story-print:nth-child(3) { margin-top: -3%; transform: rotate(3deg); }
.story-print:nth-child(4) { margin-top: -2%; transform: translateY(2%) rotate(-3.7deg); }
.story-print img { display: block; width: 100%; height: auto; }
.shared-copy { max-width: 440px; }
.shared-copy h2, .final-cta h2 { font-weight: 800; letter-spacing: -.04em; }
.shared-copy h2 { font-size: clamp(2.15rem, 3vw, 2.75rem); line-height: 1.22; margin: 0 0 25px; }
.shared-copy p { font-size: 1.27rem; line-height: 1.85; margin: 0; }
.privacy { display: flex; gap: 29px; align-items: center; border: 0; border-radius: 21px; padding: 28px 34px; max-width: 1100px; background: var(--privacy-background); }
.privacy-icon { flex: none; width: 50px; height: 50px; color: var(--olive); }
.privacy-icon svg { width: 100%; height: 100%; }
.privacy h2 { font-weight: 800; font-size: 1.5rem; margin: 0 0 8px; }
.privacy p { font-size: 1.14rem; line-height: 1.6; margin: 0; }
.final-cta { text-align: center; padding-bottom: 0; }
.final-cta h2 { font-size: clamp(2.3rem, 3.25vw, 3.05rem); line-height: 1.24; margin: 0 0 31px; }
.site-footer { border-top: 0; margin-top: 24px; }
.footer-landscape { position: relative; width: 100%; aspect-ratio: 3.75; overflow: hidden; }
.footer-landscape img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 82%; mask-image: linear-gradient(transparent, #000 15%); }
/* Les ondulations appartiennent à la mise en page, le fichier photo reste intact. */
@supports (clip-path: shape(from 0 0, line to 100% 100%, close)) {
  .footer-landscape::before, .footer-landscape::after { content: ''; position: absolute; z-index: 1; inset: auto 0 0; height: 14%; pointer-events: none; }
  .footer-landscape::before {
    background: var(--pale);
    clip-path: shape(from 0 56%, curve to 47% 91% with 15% -66% / 31% 107%, curve to 100% 0 with 65% 79% / 88% 76%, line to 100% 100%, line to 0 100%, close);
  }
  .footer-landscape::after {
    background: var(--background);
    clip-path: shape(from 0 69%, curve to 47% 99% with 15% -4% / 31% 132%, curve to 100% 74% with 64% 100% / 86% 12%, line to 100% 100%, line to 0 100%, close);
  }
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 30px; }
.brand-footer img { width: 80px; }
.footer-links { display: flex; gap: clamp(16px, 2.7vw, 36px); flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { text-decoration: none; font-size: .97rem; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.dialog-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(29, 28, 22, .67); align-items: center; justify-content: center; padding: 26px; overflow-y: auto; }
.dialog-backdrop:not([hidden]) { display: flex; }
.dialog-panel { width: min(100%, 875px); max-height: 100%; overflow-y: auto; border-radius: 20px; padding: clamp(20px, 3vw, 32px); background: var(--background); box-shadow: 0 30px 100px rgba(0,0,0,.25); }
.dialog-header { display: flex; justify-content: space-between; align-items: start; gap: 15px; margin-bottom: 20px; }
.dialog-eyebrow { margin: 0 0 5px; color: var(--olive); font-size: 1.03rem; font-weight: 700; }
.dialog-header h2 { margin: 0; font-size: clamp(1.65rem, 2.65vw, 2.25rem); font-weight: 800; letter-spacing: -.03em; }
.dialog-close { border: 1px solid var(--border); border-radius: 50%; background: var(--background); width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; cursor: pointer; }
.dialog-close:hover { background: var(--pale); }
.dialog-close svg { width: 21px; height: 21px; }
.video-shell { background: #eae9d9; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; position: relative; }
.video-shell video { width: 100%; height: 100%; object-fit: contain; background: #171713; }
.dialog-description { margin: 17px 0 0; color: var(--ink); line-height: 1.55; font-size: 1.06rem; }
[hidden] { display: none !important; }
@media (min-width: 1101px) {
 .hero-title-line { display: block; }
 .hero-actions { margin-top: 29px; }
 .benefits.spaced-section { margin-top: 48px; }
 .final-cta.spaced-section { margin-top: 54px; }
}
@media (max-width: 1100px) {
 :root { --stories-section-gap: 58px; }
 .hero { padding-top: 44px; }
 .button-large { padding-inline: 20px; }
 .benefit { grid-template-columns: 48px minmax(0,1fr); gap: 12px; }
 .benefit-icon { width: 46px; height: 46px; }
 .benefit h2 { font-size: 1.39rem; }
 .benefit p { font-size: 1.07rem; }
 .spaced-section { margin-top: 60px; }
}
@media (max-width: 790px) {
 .header-inner { min-height: 85px; }
 .brand img { width: 112px; }
 .hero { grid-template-columns: 1fr; padding-top: 37px; gap: 50px; }
 .hero-copy { max-width: 625px; padding-right: 0; }
 .hero-intro { max-width: 610px; }
 .benefits { gap: 37px 18px; }
 .benefit { display: flex; flex-direction: column; gap: 8px; }
 .benefit:not(:last-child)::after { display: none; }
 .shared-stories { grid-template-columns: 1fr; gap: 38px; }
 .shared-copy { max-width: 630px; }
 .footer-inner { flex-direction: column; align-items: start; padding: 18px 0; gap: 12px; }
 .footer-links { justify-content: flex-start; }
}
@media (max-width: 560px) {
 :root { --page-gutter: 22px; --stories-section-gap: 49px; }
 .header-inner { min-height: 76px; }
 .brand img { width: 91px; }
 .header-actions { gap: 12px; }
 .login-link { font-size: 1rem; }
 .button-header { display: none; }
 .hero { padding-top: 29px; gap: 39px; }
 .hero h1 { margin-bottom: 24px; }
 .hero-intro { font-size: 1.17rem; line-height: 1.7; }
 .hero-actions { margin-top: 32px; align-items: stretch; gap: 11px; }
 .hero-actions .button { width: 100%; }
 .hero-photo { border-radius: 16px; }
 .spaced-section { margin-top: var(--mobile-section-gap); }
 .benefits { grid-template-columns: 1fr; gap: 35px; }
 .benefit { display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
 .benefit-icon { width: 48px; height: 48px; }
 .benefit h2 { font-size: 1.43rem; }
 .benefit p { max-width: none; font-size: 1.1rem; }
 .shared-stories { gap: 25px; }
 .shared-copy h2 { font-size: 2.1rem; margin-bottom: 18px; }
 .shared-copy p { font-size: 1.2rem; }
 .privacy { gap: 17px; align-items: start; padding-block: 25px; }
 .privacy-icon { height: 39px; width: 39px; }
 .privacy h2 { font-size: 1.31rem; }
 .privacy p { font-size: 1.1rem; }
 .final-cta { padding-bottom: 0; }
 .final-cta h2 { font-size: 2.08rem; }
 .final-cta .button { width: 100%; }
 .site-footer { margin-top: 20px; }
 .footer-landscape { height: 170px; }
 .footer-landscape img { object-position: center 79%; }
 .footer-links { gap: 13px 22px; }
 .footer-inner { padding: 12px 0 16px; gap: 8px; }
 .dialog-backdrop { padding: 12px; }
 .dialog-panel { border-radius: 14px; padding: 16px; }
}
@media (orientation: landscape) and (max-height: 480px) {
 .dialog-panel { padding: 12px; }
 .dialog-header { margin-bottom: 12px; }
 .video-shell { width: min(100%, max(180px, calc((100dvh - 155px) * 1.7778))); margin-inline: auto; }
 .dialog-description { margin-top: 10px; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
