/* Espace du Petit Paradis
   Palette et typographie : modifier ici. */
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans"; src: url("../fonts/source-sans.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --fond: #faf7f2;      /* blanc chaud */
  --sable: #f1eadf;     /* sable clair */
  --sable-2: #e6dccd;
  --sauge: #8c9a7e;     /* vert sauge */
  --olive: #45503d;     /* vert profond */
  --argile: #a8735a;    /* terre douce, accent */
  --texte: #36332e;
  --doux: #6f6a61;
  --ligne: #e2d9cb;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans: "Source Sans", "Segoe UI", Arial, sans-serif;
  --rayon: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 1.075rem; line-height: 1.7; color: var(--texte); background: var(--fond); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--argile); }
:focus-visible { outline: 2px solid var(--argile); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--olive); margin: 0 0 .45em; }
h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 500; }
h1 em { font-style: italic; color: var(--argile); }
h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 500; }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
figure { margin: 0; }
small { color: var(--doux); }
.wrap { width: min(1140px, 100% - 2.75rem); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 1rem; top: -60px; background: #fff; padding: .5rem 1rem; z-index: 99; }
.skip:focus { top: .5rem; }
.plain { padding-left: 1.2rem; }
.plain li { margin-bottom: .35rem; }
.small { font-size: .95rem; color: var(--doux); }

.btn { display: inline-block; padding: .8rem 1.5rem; border-radius: 999px; background: var(--olive); color: var(--fond); text-decoration: none; font-weight: 600; font-size: 1rem; transition: background .25s, color .25s; }
.btn:hover { background: var(--argile); color: #fff; }
.btn-soft { background: transparent; color: var(--olive); box-shadow: inset 0 0 0 1px var(--sauge); }
.btn-soft:hover { background: var(--sable); color: var(--olive); }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(250, 247, 242, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ligne); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 1rem; }
.brand { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--olive); text-decoration: none; letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav ul { display: flex; gap: 1.8rem; list-style: none; }
.nav a { text-decoration: none; color: var(--texte); font-size: 1rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--argile); }
.lang { font-size: .85rem; font-weight: 600; letter-spacing: .05em; padding: .3rem .7rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--sable-2); }
.menu-btn { display: none; background: none; border: 1px solid var(--sable-2); border-radius: 999px; padding: .45rem 1rem; font: inherit; color: var(--olive); cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 74px; background: var(--fond); border-bottom: 1px solid var(--ligne); flex-direction: column; align-items: flex-start; padding: .6rem 1.4rem 1.2rem; gap: .8rem; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; width: 100%; }
  .nav li a { display: block; padding: .7rem 0; border-bottom: 1px solid var(--ligne); font-size: 1.1rem; }
}

/* Accueil : ouverture */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); background: linear-gradient(180deg, var(--fond) 0%, var(--sable) 100%); }
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-addr { font-size: .95rem; letter-spacing: .04em; color: var(--doux); margin-bottom: 1.2rem; }
.lead { font-size: 1.22rem; color: var(--texte); max-width: 32rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2.15; object-fit: cover; object-position: 50% 30%; border-radius: var(--rayon); box-shadow: 0 24px 50px -30px rgba(69, 80, 61, .55); }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; } .hero-photo { order: -1; } }

/* Techniques */
.techniques { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-head { text-align: center; max-width: 38rem; margin: 0 auto 2.6rem; }
.section-head p { color: var(--doux); }
.tgrid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.tcard { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--rayon); padding: 1.7rem 1.7rem 1.5rem; box-shadow: 0 1px 0 var(--ligne), 0 10px 30px -24px rgba(69, 80, 61, .45); transition: transform .3s, box-shadow .3s; }
.tcard:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--ligne), 0 18px 36px -22px rgba(69, 80, 61, .5); }
.tcard h3 { font-size: 1.7rem; margin-bottom: .35rem; }
.tcard h3 a { color: var(--olive); text-decoration: none; }
.tcard h3 a.stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--rayon); }
.tcard > p { color: var(--doux); font-size: 1rem; flex: 1; margin-bottom: 1.3rem; }
.tfoot { display: flex; align-items: center; gap: .7rem; font-size: .97rem; padding-top: 1rem; border-top: 1px solid var(--sable); }
.tfoot a { position: relative; z-index: 1; }
.faces { display: inline-flex; flex: none; }
.face { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-right: -10px; background: var(--sable); }
.faces > :last-child { margin-right: 0; }
.mono { display: inline-grid; place-items: center; font-family: var(--serif); font-weight: 600; color: var(--olive); background: var(--sable); }
.face.mono { font-size: .95rem; }
.tmore { margin-top: .9rem; font-size: .92rem; font-weight: 600; color: var(--argile); }
@media (max-width: 980px) { .tgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tgrid { grid-template-columns: 1fr; } }

/* Citation */
.quote { background: var(--olive); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.quote blockquote { margin: 0 auto; max-width: 46rem; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.35; color: var(--fond); }

/* Le lieu */
.lieu { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.lieu-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.lieu-side { background: var(--sable); border-radius: var(--rayon); padding: 2rem 2.2rem; }
.lieu-side h3 { font-size: 1.8rem; }
.soft-list { list-style: none; }
.soft-list li { position: relative; padding: .55rem 0 .55rem 1.6rem; border-bottom: 1px solid var(--sable-2); }
.soft-list li:last-child { border-bottom: 0; }
.soft-list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 8px; height: 8px; border-radius: 50%; background: var(--sauge); }
@media (max-width: 860px) { .lieu-in { grid-template-columns: 1fr; } }

/* Équipe */
.equipe { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: var(--sable); }
.equipe h2 { text-align: center; margin-bottom: 2.4rem; }
.team { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem 1.4rem; }
.member a { display: block; text-decoration: none; color: var(--texte); text-align: center; }
.member .photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon); margin-bottom: .9rem; transition: transform .4s; }
.member a:hover .photo { transform: scale(1.02); }
.member span.photo { display: grid; font-size: 2.6rem; background: var(--sable-2); }
.member strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--olive); line-height: 1.2; }
.member span:not(.photo) { display: block; font-size: .93rem; color: var(--doux); line-height: 1.45; margin-top: .2rem; }
.member small { display: block; margin-top: .35rem; color: var(--argile); font-weight: 600; white-space: nowrap; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .team { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; } .member strong { font-size: 1.25rem; } }

/* Événements (accueil) */
.agenda { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.agenda-in { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.3rem; }
.agenda-in > div { background: #fff; border-radius: var(--rayon); padding: 2rem 2.2rem; box-shadow: 0 1px 0 var(--ligne); }
.agenda h2 { font-size: 1rem; font-family: var(--sans); font-weight: 600; letter-spacing: .06em; color: var(--argile); margin-bottom: .6rem; }
.agenda h3 { font-size: 1.8rem; }
.agenda-in > div:last-child h3 { font-size: 1.5rem; margin-top: 1.9rem; }
@media (max-width: 760px) { .agenda-in { grid-template-columns: 1fr; } .agenda-in > div:last-child h3 { margin-top: 0; } }

/* Nous trouver */
.venir { background: var(--olive); color: var(--sable); padding: clamp(3rem, 6vw, 4rem) 0; }
.venir h2 { color: var(--fond); }
.venir a { color: var(--fond); }
.venir a:hover { color: #e9c9b4; }
.venir-in { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; }
@media (max-width: 760px) { .venir-in { grid-template-columns: 1fr; } }

/* Pages intérieures */
.page { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 4.5rem); }
.page > h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page > .lead { color: var(--doux); max-width: 40rem; }
.back { margin: 1.6rem 0 1.4rem; font-size: .97rem; }
.back a { text-decoration: none; color: var(--doux); }
.back a:hover { color: var(--argile); }
.prat-head { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; background: var(--sable); border-radius: calc(var(--rayon) + 6px); padding: clamp(1.5rem, 3vw, 2.5rem); }
.prat-head h1 { font-size: clamp(2.6rem, 5vw, 3.8rem); margin-bottom: .2rem; }
.prat-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon); }
span.prat-photo { display: grid; font-size: 3.4rem; background: var(--sable-2); }
.prat-titre { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.3; color: var(--argile); margin-bottom: 1.2rem; }
.prat-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4rem); padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.prat-main { max-width: 44rem; }
.prat-main > h2 { font-size: 2rem; margin-top: 2.2rem; }
.prat-main > h2:first-child { margin-top: 0; }
.parcours { border-collapse: collapse; width: 100%; }
.parcours th, .parcours td { text-align: left; vertical-align: top; padding: .65rem 0; border-bottom: 1px solid var(--ligne); }
.parcours th { width: 8rem; font-weight: 600; color: var(--argile); padding-right: 1rem; white-space: nowrap; }
.tech { margin-top: 3.2rem; padding-top: 2.4rem; border-top: 1px solid var(--ligne); }
.tech h2 { font-size: clamp(2.1rem, 3.5vw, 2.6rem); }
.tech-lead { font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.4; color: var(--doux); }
.tech h3 { margin-top: 1.8rem; font-size: 1.5rem; }
.tech ul { list-style: none; }
.tech li { position: relative; padding-left: 1.4rem; margin-bottom: .4rem; }
.tech li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--sauge); }
.also { font-size: .97rem; }
.prat-aside { align-self: start; position: sticky; top: 96px; background: #fff; padding: 1.7rem 1.8rem; border-radius: var(--rayon); box-shadow: 0 1px 0 var(--ligne), 0 12px 30px -24px rgba(69, 80, 61, .45); }
.prat-aside h2 { font-size: 1.8rem; }
.contact-dl { margin: 0 0 1rem; }
.contact-dl dt { font-size: .85rem; color: var(--doux); letter-spacing: .03em; }
.contact-dl dd { margin: 0 0 .7rem; font-weight: 600; word-break: break-word; }
@media (max-width: 860px) {
  .prat-head, .prat-body { grid-template-columns: 1fr; }
  .prat-head .prat-photo { max-width: 280px; }
  .prat-aside { position: static; }
  .parcours th { width: 6.5rem; white-space: normal; }
}

/* Contact */
.contacts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.4rem; }
.contacts li { background: #fff; border-radius: var(--rayon); padding: 1.7rem 1.8rem; box-shadow: 0 1px 0 var(--ligne), 0 10px 30px -26px rgba(69, 80, 61, .45); }
.contacts h2 { font-size: 1.8rem; }
.contacts h2 a { text-decoration: none; }
.ctech { font-size: .9rem; color: var(--argile); font-weight: 600; margin-bottom: .4rem; }
@media (max-width: 960px) { .contacts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .contacts { grid-template-columns: 1fr; } }

/* Événements */
.event { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); margin-top: 2.2rem; background: #fff; border-radius: calc(var(--rayon) + 6px); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: 0 1px 0 var(--ligne); }
.event h2 { font-size: 2.3rem; }
.event h3 { margin-top: 1.5rem; font-size: 1.4rem; }
.event-meta { font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.35; color: var(--argile); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.flyer img { border-radius: 12px; }
.flyer figcaption { font-size: .9rem; color: var(--doux); margin-top: .5rem; }
.salle { margin-top: 1.3rem; background: var(--sable); border-radius: var(--rayon); padding: 1.8rem 2.2rem; }
.salle h2 { font-size: 1.9rem; }
.salle p { margin: 0; color: var(--doux); }
@media (max-width: 860px) { .event, .cols { grid-template-columns: 1fr; } }

/* Pied de page */
.site-footer { padding: 2rem 0; font-size: .95rem; color: var(--doux); background: var(--fond); }
.footer-in { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.footer-in p { margin: 0; }
.footer-in strong { font-family: var(--serif); font-size: 1.25rem; color: var(--olive); }
.footer-links a { color: var(--doux); }

/* Ajustements */
h1 em { white-space: nowrap; }
.member span.arr { display: inline; margin: 0; font-size: inherit; color: inherit; }
@media (max-width: 860px) {
  .hero-photo { order: 0; }
  .hero-photo img { aspect-ratio: 16 / 10; }
  .hero-cta .btn { padding: .7rem 1.2rem; }
}
