/* Caroline Lillaz, psychologue à Annecy.
   Un intérieur calme : lin, sable, ardoise. Titres en capitales espacées, sous-titres en serif. */
@font-face { font-family: "Josefin Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/josefin-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Josefin Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/josefin-sans-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "Josefin Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/josefin-sans-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Josefin Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/josefin-sans-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "Gilda Display"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/gilda-display-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Gilda Display"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/gilda-display-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --bg: #f4f0ea;
  --paper: #fbf9f5;
  --sand: #e8e0d4;
  --ink: #26323d;
  --muted: #56616b;
  --slate: #2c3a46;
  --slate-ink: #f4f0ea;
  --slate-soft: #c9d0d6;

  --caps: "Josefin Sans", "Futura", "Avenir Next", system-ui, sans-serif;
  --serif: "Gilda Display", "Didot", Georgia, serif;

  --small: 0.875rem;
  --body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  --head: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  --display: clamp(2.5rem, 1.5rem + 4vw, 5rem);

  --margin: clamp(20px, 5vw, 80px);
  --section: clamp(96px, 11vw, 168px);
  --radius: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--body)/1.65 var(--caps); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 4px; }
::selection { background: var(--slate); color: var(--slate-ink); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
h1, h2 { font-family: var(--caps); text-transform: uppercase; letter-spacing: 0.14em; line-height: 1.15; }
h2 { font-size: var(--head); }
h3 { font-family: var(--serif); font-weight: 400; font-size: var(--lead); line-height: 1.25; letter-spacing: 0; }
.sous-titre { font-family: var(--serif); font-size: var(--lead); line-height: 1.35; color: var(--muted); }
.centre { text-align: center; }
.cadre { padding-left: max(var(--margin), env(safe-area-inset-left, 0px)); padding-right: max(var(--margin), env(safe-area-inset-right, 0px)); max-width: 1440px; margin-left: auto; margin-right: auto; }
.lien-evitement { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 10px 16px; z-index: 30; }
.lien-evitement:focus { left: 8px; }
.a-completer { background: var(--sand); padding: 0 6px; font-style: normal; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 28px; border-radius: 999px; font: 600 var(--small)/1 var(--caps); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.bouton:active { transform: translateY(1px); }
.bouton-plein { background: var(--slate); color: var(--slate-ink); }
.bouton-plein:hover { background: var(--ink); }
.bouton-contour { border-color: var(--slate); color: var(--slate); }
.bouton-contour:hover { background: var(--slate); color: var(--slate-ink); }
.bouton-clair { background: var(--bg); color: var(--slate); }
.bouton-clair:hover { background: var(--paper); }
.bouton-contour-clair { border-color: var(--slate-soft); color: var(--slate-ink); }
.bouton-contour-clair:hover { background: var(--slate-ink); color: var(--slate); }
.lien-suite { font-family: var(--serif); font-size: var(--body); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
.lien-suite:hover { text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }

/* Bandeau démo */
.demo { background: var(--slate); color: var(--slate-ink); font-size: var(--small); text-align: center; padding: 8px 20px; }

/* En-tête */
.entete { background: var(--paper); position: sticky; top: 0; z-index: 20; }
.entete-int { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.marque { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.marque-nom { font-family: var(--caps); font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; font-size: 1.125rem; }
.marque-metier { font-family: var(--serif); color: var(--muted); font-size: var(--small); margin-top: 4px; }
.liens { display: flex; gap: 32px; }
.liens a { text-decoration: none; font-size: var(--small); text-transform: uppercase; letter-spacing: 0.12em; padding-block: 6px; }
.liens a:hover, .liens a[aria-current="page"] { text-decoration: underline; }
.menu { display: none; }
@media (max-width: 980px) {
  .liens, .entete-rdv { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; font-family: var(--serif); font-size: var(--lead); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu .panneau { position: absolute; right: 0; top: 52px; background: var(--slate); color: var(--slate-ink); width: min(84vw, 320px); padding: 16px 24px; display: flex; flex-direction: column; border-radius: 16px; }
  .menu .panneau a { min-height: 44px; display: flex; align-items: center; text-decoration: none; }
}

/* ===== Accueil ===== */
.heros { position: relative; min-height: min(80svh, 800px); display: flex; align-items: flex-start; overflow: hidden; }
.heros-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.heros::before { content: ""; position: absolute; inset: 0; background: rgba(244, 240, 234, 0.38); z-index: 1; }
.heros-texte { position: relative; z-index: 2; width: 100%; text-align: center; padding-top: clamp(56px, 10vh, 120px); padding-bottom: 72px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.heros h1 { font-size: var(--display); letter-spacing: 0.16em; line-height: 1.05; }
.heros-sous { font-family: var(--serif); font-size: var(--lead); }
.heros-titre { margin-top: -4px; font-family: var(--caps); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.heros-phrase { max-width: 44ch; font-size: var(--body); }
.heros .actions { justify-content: center; margin-top: 10px; }
.heros .lien-suite { color: #141c23; font-size: var(--lead); text-decoration-thickness: 2px; text-shadow: 0 0 10px rgba(244, 240, 234, 0.95), 0 0 2px rgba(244, 240, 234, 0.9); }

.apropos { padding-block: var(--section); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.apropos-texte { display: flex; flex-direction: column; gap: 20px; max-width: 60ch; }
.apropos .actions { margin-top: 12px; }
.galet { margin: 0; overflow: hidden; border-radius: 48% 52% 44% 56% / 56% 46% 54% 44%; aspect-ratio: 4 / 5; }
.galet img { width: 100%; height: 100%; object-fit: cover; }
.galet-grand { max-width: 520px; justify-self: center; width: 100%; }

.propose { background: var(--paper); padding-block: var(--section); text-align: center; }
.propose h2 + .sous-titre { margin-top: 14px; }
.ronds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 56px 40px; margin-top: 64px; }
.ronds .rond { grid-column: span 2; }
.ronds .rond:nth-child(4) { grid-column: 2 / span 2; }
.ronds.ronds-3 .rond:nth-child(4) { grid-column: span 2; }
.rond { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; text-decoration: none; }
.rond-photo { width: min(220px, 60vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 10px; }
.rond-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.rond:hover .rond-photo img, .rond:focus-visible .rond-photo img { transform: scale(1.06); }
.rond p { color: var(--muted); max-width: 30ch; }
.rond .lien-suite { margin-top: 4px; }
/* Cartes alignées : photos, titres, textes et liens « En savoir plus » sur la même ligne d'une carte à l'autre */
.rond .lien-suite { margin-top: auto; }
@supports (grid-template-rows: subgrid) {
  .propose .ronds { row-gap: 0; }
  .rond { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 12px; justify-items: center; align-items: start; padding-bottom: 56px; }
  .rond .lien-suite { margin-top: 4px; }
}

.pourquoi { padding-block: var(--section); text-align: center; }
.pourquoi-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 56px; text-align: left; }
.pourquoi-grille div { display: flex; flex-direction: column; gap: 10px; }
.pourquoi-grille p { color: var(--muted); }
.bandeau-rdv { margin-top: 80px; background: var(--slate); color: var(--slate-ink); border-radius: var(--radius); padding: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; text-align: left; }
.bandeau-rdv p { font-family: var(--serif); font-size: var(--lead); max-width: 30ch; }

.formation { padding-block: var(--section); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.formation-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.formation-photo img { width: 100%; height: 100%; object-fit: cover; }
.formation-texte { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.pastilles { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; width: 100%; }
.pastilles li { background: var(--sand); border-radius: 999px; padding: 14px 26px; font-family: var(--serif); font-size: var(--body); line-height: 1.4; }

.questions-accueil, .faq-page { background: var(--paper); padding-block: var(--section); }
.questions-accueil h2, .faq-page h2 { text-align: center; }
.faq-colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(40px, 6vw, 96px); margin-top: 56px; }
.faq-colonnes .q { display: flex; flex-direction: column; gap: 10px; }
.faq-colonnes h3 { font-size: var(--lead); }
.faq-colonnes p { color: var(--muted); max-width: 58ch; }

.cabinet { position: relative; min-height: min(92svh, 900px); display: flex; align-items: center; overflow: hidden; }
.cabinet-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.06); }
.cabinet-int { position: relative; width: 100%; display: flex; justify-content: flex-end; padding-block: 80px; }
.carte { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 3vw, 44px); width: min(440px, 100%); display: flex; flex-direction: column; gap: 18px; }
.carte h2 { font-size: var(--lead); }
.carte dl, .en-bref dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.carte dt, .en-bref dt { font-size: var(--small); color: var(--muted); }
.carte dd, .en-bref dd { margin: 2px 0 0; font-family: var(--serif); }

/* Pied de page */
.pied { background: var(--slate); color: var(--slate-ink); padding-block: 80px 32px; }
.pied a { color: inherit; }
.pied-int { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.pied h2 { font-family: var(--serif); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: var(--lead); margin-bottom: 10px; }
.pied p { color: var(--slate-soft); }
.pied-marque .marque-nom { font-size: 1.25rem; display: block; margin-bottom: 10px; }
.pied-bas { margin-top: 64px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: var(--small); color: var(--slate-soft); }
.pied-bas nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* ===== Pages intérieures ===== */
.tete-page { background: var(--sand); }
.tete-int { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(32px, 4vw, 56px); }
.tete-texte { display: flex; flex-direction: column; gap: 20px; }
.tete-page h1 { font-family: var(--serif); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: clamp(2.25rem, 1.2rem + 2.6vw, 3.75rem); line-height: 1.08; }
.tete-page .chapo { font-family: var(--serif); font-size: var(--lead); line-height: 1.4; max-width: 40ch; }
.tete-page .fil { font-size: var(--small); color: var(--muted); }
.tete-page .galet { max-width: 680px; width: 100%; justify-self: end; border-radius: 340px 340px var(--radius) var(--radius); aspect-ratio: 1 / 1.08; }

.contenu { padding-block: var(--section); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.prose { display: flex; flex-direction: column; gap: 20px; max-width: 66ch; }
.prose h2 { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: var(--head); line-height: 1.15; margin-top: 36px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { color: var(--slate); }
.prose strong { font-weight: 600; }
.en-bref { position: sticky; top: 116px; background: var(--paper); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.en-bref h2 { font-size: var(--lead); }
.en-bref .bouton { width: 100%; }
.urgences strong { font-weight: 600; }

.voir-aussi { padding-block: var(--section); text-align: center; }
.appel { background: var(--slate); color: var(--slate-ink); padding-block: clamp(72px, 9vw, 128px); text-align: center; }
.appel-int { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.appel p { max-width: 54ch; color: var(--slate-soft); }
.appel .actions { justify-content: center; margin-top: 8px; }

/* Téléphone et tablette */
@media (max-width: 980px) {
  .ronds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
  .ronds .rond, .ronds .rond:nth-child(4), .ronds.ronds-3 .rond:nth-child(4) { grid-column: auto; }
  .ronds .rond:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pourquoi-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied-int { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .tete-int, .contenu { grid-template-columns: 1fr; }
  .tete-page .galet { justify-self: stretch; max-width: none; grid-row: 1; aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .en-bref { position: static; }
}
@media (max-width: 760px) {
  .apropos, .formation { grid-template-columns: 1fr; }
  .galet-grand { max-width: 82%; }
  .tete-page .galet { justify-self: stretch; max-width: none; grid-row: 1; aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .tete-page h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; letter-spacing: 0.08em; }
  .pourquoi-grille, .faq-colonnes { grid-template-columns: 1fr; }
  .rond-photo { width: min(150px, 38vw); }
  .ronds { column-gap: 16px; }
  .rond { row-gap: 10px; }
  @supports (grid-template-rows: subgrid) { .rond { padding-bottom: 44px; } }
  .rond h3 { font-size: 1.25rem; line-height: 1.2; }
  .rond p { font-size: 0.95rem; line-height: 1.5; }
  .rond .lien-suite { font-size: 1rem; }
  .bandeau-rdv .actions, .bandeau-rdv .bouton { width: 100%; }
  .cabinet { min-height: 0; flex-direction: column; align-items: stretch; }
  .cabinet-photo { position: relative; height: 56svh; }
  .cabinet-int { padding-block: 0 40px; margin-top: -80px; }
  .en-bref { position: static; }
  .pied-int { grid-template-columns: 1fr; }
  .heros .actions { flex-direction: column; }
  .heros h1 { font-size: 2.25rem; letter-spacing: 0.12em; }
}

/* Apparition des sections (le contenu reste visible sans script) */
.js [data-entree] > * { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-entree].vu > * { opacity: 1; transform: none; }
.js [data-entree].vu > *:nth-child(2) { transition-delay: .08s; }
.js [data-entree].vu > *:nth-child(3) { transition-delay: .16s; }
.js [data-entree].vu > *:nth-child(4) { transition-delay: .24s; }
.js [data-entree].vu > *:nth-child(5) { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-entree] > * { opacity: 1; transform: none; transition: none; }
  .cabinet-photo { transform: none !important; }
  * { transition-duration: 0.01ms !important; }
}

/* Annecy en images, sur les pages pratiques */
.annecy { padding-bottom: var(--section); }
.annecy h2 { text-align: center; margin-bottom: 48px; }
.annecy-photos { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 20px; align-items: end; }
.annecy-photos figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.annecy-photos img { width: 100%; height: 100%; object-fit: cover; }
.annecy-photos figure:nth-child(1) { aspect-ratio: 4 / 3; }
.annecy-photos figure:nth-child(2) { aspect-ratio: 3 / 4; }
.annecy-photos figure:nth-child(3) { aspect-ratio: 1; }
@media (max-width: 760px) { .annecy-photos { grid-template-columns: 1fr 1fr; } .annecy-photos figure:nth-child(1) { grid-column: 1 / -1; } }
