@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/poppins-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/poppins-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/poppins-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/poppins-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --accent: #9a6429; /* couleur primaire (contraste ≥ 4.5 avec le blanc) : fonds à texte blanc ET texte sur fond clair */
  --accent-dark: color-mix(in srgb, var(--accent) 78%, #000); /* survols */
  --accent-ink: color-mix(in srgb, var(--accent) 82%, #000); /* texte sur fond teinté (marge de contraste) */
  --beige: color-mix(in srgb, var(--accent) 7%, transparent); /* primaire à 7 % */
  --text: #000;
  --muted: #555;
  --bg: #fff;
  --font: "Poppins", sans-serif;

  /* Échelle typographique (reprise des styles du site Framer) */
  --fs-hero: 84px;     /* titre d'accueil, 700 */
  --fs-h1: 64px;       /* titres de section, 600 */
  --fs-h2: 36px;       /* sous-titres, 600 */
  --fs-price: 64px;    /* prix, 700 */
  --fs-body: 16px;     /* texte courant, libellés, boutons */
  --fs-tag: 14px;      /* étiquettes, 600 */
  --fs-small: 12px;    /* mentions sous les prix */
  --ls-tight: -0.02em;

  /* Espacements (gap des conteneurs flex) */
  --gap-section: 100px; /* entre deux sections */
  --gap-block: 120px;   /* entre deux blocs d'une même section */
  --gap-title: 16px;    /* entre un titre et son contenu */
}
@media (max-width: 1199px) {
  :root { --fs-hero: 64px; --fs-h1: 48px; --fs-h2: 28px; --fs-price: 56px; }
}
@media (max-width: 809px) {
  :root { --fs-hero: 47px; --fs-h1: 34px; --fs-h2: 22px; --fs-price: 48px; --fs-body: 16px; --gap-section: 80px; --gap-block: 80px; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font); font-size: var(--fs-body); color: var(--text); background: var(--bg); line-height: 1.6;
  display: flex; flex-direction: column; gap: var(--gap-section); /* main → footer */
}
main { display: flex; flex-direction: column; gap: var(--gap-section); } /* entre les sections */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.stack { display: flex; flex-direction: column; gap: var(--gap-title); }

h1, h2, h3, h4 { line-height: 1.2; }
.title { font-size: var(--fs-h1); font-weight: 600; }
.title span { color: var(--accent); }
h3 { font-size: var(--fs-h2); font-weight: 600; }
p { color: var(--muted); }

/* Boutons */
.btn {
  display: inline-block; padding: 8px 14px; border-radius: 55px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; font-size: var(--fs-body); letter-spacing: var(--ls-tight); line-height: 1.6;
  transition: background .25s, transform .25s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--accent); }
.btn--light:hover { background: #f5ece2; }
.btn--dark { background: #000; }
.btn--dark:hover { background: #333; }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
/* Au défilement : simple fond translucide flouté, sans changement de forme */
.nav.is-scrolled {
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
  border-bottom-color: rgba(0, 0, 0, .06);
}
.nav__inner { display: flex; align-items: center; gap: 28px; width: min(1160px, 100% - 32px); margin-inline: auto; height: 76px; }
.nav__logo img { width: 40px; height: 40px; object-fit: contain; }
.nav__links { display: flex; align-items: center; gap: 30px; flex: 1; }
.nav__links .btn { margin-left: auto; } /* pousse le bouton à droite */
.nav__links a:not(.btn) { color: #fff; text-decoration: none; font-weight: 600; font-size: var(--fs-body); letter-spacing: var(--ls-tight); transition: color .2s; }
.nav.is-scrolled .nav__links a:not(.btn) { color: var(--text); }
.nav__links a:not(.btn):hover { color: var(--accent); }
.nav__burger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; width: 32px; height: 32px; position: relative; }
.nav__burger::after { content: ""; position: absolute; inset: -6px; } /* zone de clic 44px */
.nav__burger span { position: absolute; left: 4px; right: 4px; height: 2px; background: #fff; transition: transform .3s, top .3s; }
.nav__burger span:nth-child(1) { top: 8px; }
.nav__burger span:nth-child(2) { top: 15px; transition: opacity .2s; }
.nav__burger span:nth-child(3) { top: 22px; }
.nav.is-scrolled .nav__burger span, .nav.is-open .nav__burger span { background: var(--text); }
.nav.is-open .nav__burger span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { top: 15px; transform: rotate(-45deg); }
body.menu-open { overflow: hidden; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2); }
.hero__content { position: relative; z-index: 1; padding-block: 120px 80px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__tag { display: inline-block; border: 1px solid var(--accent); color: var(--accent); border-radius: 8px; padding: 2px 8px; font-size: var(--fs-tag); font-weight: 600; }
.hero__title { font-size: var(--fs-hero); font-weight: 700; text-transform: uppercase; letter-spacing: var(--ls-tight); line-height: 1; padding-block: 6px 8px; }
.hero__title span { color: var(--accent); }
.hero__text { max-width: 700px; color: #fff; }

/* Intro */
.intro { display: flex; justify-content: space-between; gap: 64px; align-items: center; }
.intro__text { display: flex; flex-direction: column; gap: 36px; }
.intro h2 { font-size: var(--fs-h2); font-weight: 600; max-width: 680px; }
.contact { display: flex; flex-wrap: wrap; gap: 30px; }
.contact__item { display: flex; align-items: center; gap: 12px; }
.contact__icon { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border: 1px solid #ccc; border-radius: 50%; }
.contact__icon svg { width: 20px; height: 20px; fill: none; stroke: #333; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact__label { color: var(--text); line-height: 1.4; }
.contact a { color: var(--muted); text-decoration: none; word-break: break-word; }
.contact a:hover { color: var(--accent); }
.intro__photo { border-radius: 20px; width: 290px; aspect-ratio: 1; object-fit: cover; flex: none; }

/* Approche */
.approche__text p { display: inline; } /* un seul paragraphe sur ordinateur */
.values, .pills { display: flex; flex-wrap: wrap; gap: 6px; }
.values li, .pills li { background: color-mix(in srgb, var(--accent) 5%, transparent); border: 1px solid var(--accent); color: var(--accent-ink); padding: 2px 7px; border-radius: 8px; font-size: var(--fs-tag); font-weight: 600; }

/* Onglets */
.tabs { display: flex; flex-direction: column; gap: 24px; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs__list button { min-height: 44px; border: 1px solid #fff; background: none; color: #fff; padding: 8px 15px; border-radius: 55px; font: 600 var(--fs-body)/1.6 var(--font); letter-spacing: var(--ls-tight); cursor: pointer; transition: background .25s, color .25s; }
.tabs__list button[aria-selected="true"] { background: #fff; color: var(--accent); }
.tabs__panel:not([hidden]) { animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

/* Actions de l'association : un seul bloc cuivre (onglets + liste + fiche), comme « Les objectifs »
   La ligne active et la fiche partagent le même fond blanc : elles se « rejoignent » */
/* Arrondis imbriqués : intérieur = extérieur − marge (32 − 12 = 20, puis 20 − 12 = 8) */
.actions .tabs { background: var(--accent); border-radius: 32px; padding: 12px; gap: 12px; }
.actions .tabs__list { padding: 8px 8px 0; }
.actions__layout { display: grid; grid-template-columns: 1fr 1fr; }
.actions__list { display: flex; flex-direction: column; gap: 4px; }
.action__head {
  width: 100%; display: flex; align-items: center; gap: 20px; padding: 18px 20px;
  background: none; border: 0; border-radius: 20px 0 0 20px; cursor: pointer; text-align: left;
  font: 500 20px/1.3 var(--font); letter-spacing: var(--ls-tight); color: #fff;
  transition: color .25s, background .25s;
}
.action__num { flex: none; width: 24px; font-size: var(--fs-tag); font-weight: 600; color: #fff; transition: color .25s; }
.action__name { flex: 1; }
.action__icon { flex: none; width: 20px; height: 20px; position: relative; color: #fff; opacity: 0; transition: opacity .25s, transform .25s; }
.action__icon::before { content: "→"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; line-height: 1; }
.action__head:hover { color: #fff; background: rgba(255, 255, 255, .15); }
.action.is-active .action__head { color: var(--text); background: #fff; }
.action.is-active .action__num { color: var(--accent); }
.action.is-active .action__icon { opacity: 1; color: var(--accent); }
.action__head:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
/* zones de clic confortables (≥ 44px) pour les liens en ligne */
.contact a, .footer__inner a, .footer__legal a, .nav__links a:not(.btn) { display: inline-block; padding-block: 10px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; border-radius: 4px; }
.action__media { display: none; } /* contenu intégré : mobile uniquement */

/* Fiche : toutes superposées dans la même case, seule l'active est visible */
.actions__detail { display: grid; background: #fff; border-radius: 20px; padding: 12px; transition: border-radius .25s; }
/* 1re ligne active : elle se colle au coin haut de la fiche */
.actions__layout:has(.tabs__panel:not([hidden]) > .action:first-child.is-active) .actions__detail { border-top-left-radius: 0; }
.actions__item { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 16px; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s .2s; }
.actions__item.is-active { opacity: 1; visibility: visible; transition: opacity .2s ease; }
.actions__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.actions__item h3 { font-size: 22px; padding-inline: 8px; }
.actions__item p { padding: 0 8px 8px; }

/* Sophrologie */
.sophro { display: flex; flex-direction: column; gap: var(--gap-block); }
.box { background: var(--accent); color: #fff; border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.box h3 { color: #fff; }
/* Toutes les cases ont la même hauteur ; les textes longs prennent 2 colonnes (.wide) */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 108px; grid-auto-flow: dense; gap: 10px; }
.tiles li { background: #fff; color: var(--muted); border-radius: 12px; padding: 12px 18px; display: grid; place-items: center; text-align: center; letter-spacing: var(--ls-tight); }
.tiles .wide { grid-column: span 2; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pillar { background: var(--beige); border-radius: 22px; padding: 44px 24px; }
.pillar h4 { font-size: 16px; font-weight: 600; line-height: 1.6; }
.pillar p { color: var(--text); }

/* Tarifs */
.tarifs { gap: 48px; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { background: #fff; border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); border-radius: 20px; padding: 20px; letter-spacing: var(--ls-tight); display: flex; flex-direction: column; gap: 16px; transition: transform .25s ease, box-shadow .25s ease; }
.price:hover { transform: translateY(-4px); box-shadow: 0 12px 32px color-mix(in srgb, var(--accent) 15%, transparent); }
.price p { color: var(--text); }
.price__head { display: flex; flex-direction: column; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.price__name { font-weight: 600; color: var(--accent) !important; }
.price__amount { display: flex; align-items: center; gap: 12px; font-size: var(--fs-price); font-weight: 700; line-height: 1; }
.price__amount small { font-size: var(--fs-body); font-weight: 400; letter-spacing: 0; line-height: 1.5; color: var(--muted); }
.price__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.price__chip { font-size: var(--fs-tag); font-weight: 500; letter-spacing: 0; padding: 4px 12px; border-radius: 999px; background: var(--beige); color: var(--accent-ink); }
.price__desc { display: flex; flex-direction: column; gap: 10px; color: var(--muted); }
.price__desc p { color: var(--muted); }
.tarifs__cta { align-self: center; text-align: center; }
.price--featured { background: var(--accent); border-color: var(--accent); }
.price--featured p, .price--featured .price__desc p, .price--featured .price__amount small { color: #fff !important; }
.price--featured .price__head { border-color: rgba(255, 255, 255, .35); }
.price--featured .price__chip { background: rgba(0, 0, 0, .15); color: #fff; }

/* Footer */
.footer { background: var(--beige); padding: 44px 0 16px; letter-spacing: var(--ls-tight); }
.footer > .container { display: flex; flex-direction: column; gap: 36px; }
.footer__inner { display: flex; gap: 32px; align-items: center; }
.footer__logo { width: 80px; height: auto; }
.footer__inner p { color: var(--muted); line-height: 1.4; }
.footer__name { font-weight: 600; color: var(--text) !important; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer__legal { text-align: center; color: var(--text) !important; }
.footer__legal a { text-decoration: underline; margin-left: 6px; }

/* Page mentions légales */
.legal { padding-top: 140px; max-width: 800px; display: flex; flex-direction: column; gap: 40px; }
.legal h1 { font-size: var(--fs-h1); font-weight: 600; }
.legal h2 { font-size: var(--fs-h2); font-weight: 600; color: var(--accent); }
.legal section { display: flex; flex-direction: column; gap: 12px; }
.legal li { color: var(--muted); }
.legal li::before { content: "– "; }

/* Apparition au défilement */
/* Animation retirée des textes : seules les images apparaissent en fondu */
.reveal:is(img, .pillars, .prices, .box) { opacity: 0; transition: opacity .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1000px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav__burger { display: block; }
  /* Menu mobile : panneau plein écran sous la barre, éléments alignés à gauche */
  .nav__links {
    position: fixed; inset: 76px 0 0; flex-direction: column; align-items: flex-start; gap: 24px;
    padding: 32px 16px; background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .nav__links .btn { margin-left: 0; }
  /* Menu ouvert : barre blanche pleine, sans flou (le backdrop-filter enfermerait le panneau « fixed » dans la barre) */
  .nav.is-open, .nav.is-open.is-scrolled { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
  .nav__links a:not(.btn) { color: var(--text); }
  .intro { flex-direction: column-reverse; align-items: flex-start; gap: 32px; }
  .intro__photo { width: 200px; }
  .pillars, .prices { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .tiles li { min-height: 90px; padding: 14px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* Mobile : marges latérales de 20 px, comme sur le site Framer */
@media (max-width: 809px) {
  .container, .nav__inner { width: calc(100% - 40px); }
  .nav__links { padding: 32px 20px; gap: 12px; --fs-body: 16px; }
  .nav__links .btn { margin-top: 12px; }
  .approche__text { display: flex; flex-direction: column; gap: 24px; } /* deux paragraphes sur mobile */
  .approche__text p { display: block; }
  /* Actions : accordéon, l'image et le texte s'ouvrent sous l'action active */
  .actions__layout { grid-template-columns: 1fr; }
  .actions__detail { display: none; }
  .action { border-radius: 20px; transition: background .25s; }
  .action.is-active { background: #fff; } /* la ligne et son contenu forment une seule carte */
  .action__head { font-size: 16px; gap: 14px; padding: 16px; border-radius: 20px; }
  .action.is-active .action__head { background: none; }
  .action__icon::before { content: "+"; font-size: 22px; font-weight: 400; }
  .action.is-active .action__icon { transform: rotate(45deg); }
  .action__icon { opacity: 1; }
  .action__media { padding-inline: 12px; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
  .action__media > div { overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
  .action__media img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; border-radius: 8px; }
  .action__media p { padding: 0 4px 16px; } /* 12 + 4 = aligné sur le titre */
  .action.is-active .action__media { grid-template-rows: 1fr; }
}
