/* associationkenko.com : un jardin zen. Sable, galet, sauge, argile ; des cercles ratissés
   qui s'élargissent lentement. Écrit à la main, sans générateur. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/assets/polices/cormorant-garamond-normal-latin.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/assets/polices/cormorant-garamond-normal-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url(/assets/polices/cormorant-garamond-italic-latin.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/polices/manrope-normal-latin.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/polices/manrope-normal-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --sable: #f4eee4;
  --sable-fonce: #e8dfd0;
  --argile: #d8c2b6;
  --galet: #3d3a36;
  --galet-doux: #6f6a63;
  --sauge: #6f8a6c;
  --sauge-fonce: #4e6a4c;
  --blanc: #fffdf9;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--sable); color: var(--galet); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.enveloppe { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

/* En-tête */
.entete { position: absolute; inset: 0 0 auto; z-index: 5; }
.entete .enveloppe { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; padding-bottom: 24px; gap: 20px; }
.marque { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.marque small { font-size: 10px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--sauge-fonce); }
.marque b { font: 500 30px var(--serif); letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }
.entete nav { display: flex; gap: 28px; flex-wrap: wrap; }
.entete nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--galet-doux); transition: color .2s; }
.entete nav a:hover { color: var(--sauge-fonce); }

/* Ouverture : le jardin ratissé */
.hero { position: relative; overflow: hidden; padding: 150px 0 110px; isolation: isolate; }
.hero .enveloppe { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.ratisse { position: absolute; z-index: -1; width: 1100px; height: 1100px; right: -260px; top: -220px; pointer-events: none; }
.ratisse i { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1.5px solid rgba(111,106,99,.13);
  animation: onde 14s linear infinite; opacity: 0; }
.ratisse i:nth-child(2) { animation-delay: -2.8s; }
.ratisse i:nth-child(3) { animation-delay: -5.6s; }
.ratisse i:nth-child(4) { animation-delay: -8.4s; }
.ratisse i:nth-child(5) { animation-delay: -11.2s; }
@keyframes onde { 0% { width: 8%; height: 8%; opacity: 0; } 15% { opacity: 1; } 100% { width: 100%; height: 100%; opacity: 0; } }
.surtitre { font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--sauge-fonce); margin-bottom: 22px; }
.hero h1 { font: 400 clamp(52px, 7.4vw, 104px)/1 var(--serif); letter-spacing: -.01em; margin-bottom: 28px; text-wrap: balance; }
.hero h1 em { color: var(--sauge-fonce); }
.chapo { font-size: clamp(17px, 1.5vw, 19px); max-width: 32em; color: var(--galet-doux); margin-bottom: 36px; }
.bouton { display: inline-flex; gap: 10px; align-items: center; background: var(--galet); color: var(--blanc); text-decoration: none;
  font-weight: 700; font-size: 15px; padding: 15px 28px; border-radius: 999px; transition: background .25s, transform .25s; }
.bouton:hover { background: var(--sauge-fonce); transform: translateY(-2px); }
.bouton span { transition: transform .25s; }
.bouton:hover span { transform: translateX(4px); }
.galet-photo { position: relative; }
.galet-photo::before { content: ""; position: absolute; inset: 10% -6% -6% 12%; background: var(--argile); border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%; z-index: -1;
  animation: respire 9s ease-in-out infinite alternate; }
.galet-photo img { border-radius: 48% 52% 50% 50% / 52% 48% 52% 48%; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: auto;
  box-shadow: 0 40px 80px rgba(61,58,54,.18); }
@keyframes respire { to { border-radius: 54% 46% 44% 56% / 46% 56% 44% 54%; transform: rotate(4deg); } }

/* Sections */
.section { padding: 110px 0; }
.section.claire { background: var(--blanc); }
.section h2 { font: 400 clamp(40px, 4.6vw, 62px)/1.05 var(--serif); margin-bottom: 26px; text-wrap: balance; }
.section h2 em { color: var(--sauge-fonce); }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.deux.inverse > :first-child { order: 2; }
.texte p + p, .texte p + ul, .texte ul + p { margin-top: 18px; }
.texte p { max-width: 36em; }
.puces { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.puces li { position: relative; padding-left: 30px; }
.puces li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 9px; border-radius: 50%; background: var(--sauge); }
.cadre { position: relative; }
.cadre::before { content: ""; position: absolute; inset: 12% 12% -8% -8%; background: var(--argile); border-radius: 24px; z-index: 0; }
.cadre img { position: relative; z-index: 1; border-radius: 20px; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.inverse .cadre::before { inset: 12% -8% -8% 12%; }

/* Valeurs : cinq pierres posées */
.valeurs { list-style: none; display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--sable-fonce); }
.valeurs li { display: grid; grid-template-columns: 190px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--sable-fonce); align-items: baseline; }
.valeurs b { font: 500 26px/1.2 var(--serif); color: var(--sauge-fonce); }

/* Actions */
.intro { max-width: 40em; color: var(--galet-doux); }
.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.action { background: var(--blanc); border-radius: 22px; padding: 34px 30px; border: 1px solid var(--sable-fonce); }
.action svg { width: 46px; height: 46px; color: var(--sauge-fonce); margin-bottom: 20px; }
.action h3 { font: 500 27px/1.15 var(--serif); margin-bottom: 12px; }
.action p { color: var(--galet-doux); font-size: 16px; }

/* Salons */
.salons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.salon { text-decoration: none; display: flex; flex-direction: column; background: var(--blanc); border-radius: 22px; overflow: hidden;
  border: 1px solid var(--sable-fonce); transition: transform .35s, box-shadow .35s; }
.salon:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(61,58,54,.14); }
.salon-image { aspect-ratio: 16 / 10; overflow: hidden; }
.salon-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.salon:hover .salon-image img { transform: scale(1.05); }
.salon-corps { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.salon-lieu { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sauge-fonce); }
.salon h3 { font: 500 32px/1.1 var(--serif); }
.salon-lien { margin-top: auto; padding-top: 14px; font-weight: 700; font-size: 14px; }
.salon-lien span { display: inline-block; transition: transform .25s; }
.salon:hover .salon-lien span { transform: translateX(4px); }

/* Contact */
.contact { text-align: center; padding: 120px 0; position: relative; overflow: hidden; isolation: isolate; }
.contact .ratisse { right: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 900px; height: 900px; }
.contact p { color: var(--galet-doux); max-width: 34em; margin: 0 auto 26px; }
.courriel { font: 400 clamp(26px, 4vw, 44px) var(--serif); text-decoration: none; border-bottom: 1px solid var(--argile);
  padding-bottom: 4px; word-break: break-word; transition: color .2s, border-color .2s; }
.courriel:hover { color: var(--sauge-fonce); border-color: var(--sauge); }

.pied { border-top: 1px solid var(--sable-fonce); padding: 28px 0 36px; font-size: 14px; color: var(--galet-doux); }
.pied .enveloppe { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--sauge-fonce); }
.ic-copyright { font-size: 12px; opacity: .7; }

/* Pages de texte (mentions) */
.page-texte { padding: 150px 0 90px; }
.page-texte h1 { font: 400 clamp(40px, 5vw, 60px)/1.05 var(--serif); margin-bottom: 30px; }
.page-texte h2 { font: 500 26px var(--serif); margin: 34px 0 8px; }
.page-texte p { max-width: 40em; }

/* Apparition douce (posée par site.js sous la ligne de flottaison seulement) */
.apparait { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.apparait.vu { opacity: 1; transform: none; }
.hero .entree { animation: entree 1.1s cubic-bezier(.2,.7,.2,1) both; }
.hero .entree:nth-child(2) { animation-delay: .12s; }
.hero .entree:nth-child(3) { animation-delay: .24s; }
.hero .entree:nth-child(4) { animation-delay: .36s; }
@keyframes entree { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero { padding-top: 130px; }
  .hero .enveloppe, .deux { grid-template-columns: 1fr; gap: 44px; }
  .deux.inverse > :first-child { order: 0; }
  .galet-photo { max-width: 440px; }
  .actions, .salons { grid-template-columns: 1fr; }
  .cadre img { aspect-ratio: 4 / 3; }
  .valeurs li { grid-template-columns: 1fr; gap: 2px; }
  .entete nav a:not(:last-child) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ratisse i, .galet-photo::before, .hero .entree { animation: none; }
  .ratisse i { opacity: .6; width: 60%; height: 60%; }
  .apparait { opacity: 1; transform: none; }
}
