/* ==========================================================================
   Béatrice Vassent-Bodard — feuille de style du site
   Version 3.0 — 12/11/2026 — SYSINNOV
   Direction « clair et net » : blanc, bleu canard, sable ; cartes à ombres
   douces, pictogrammes au trait, police Manrope.
   ========================================================================== */

/* --- Police hébergée sur le site (aucun appel à un serveur tiers) -------- */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); }

/* --- Jetons --------------------------------------------------------------- */
:root {
  --ink: #0D3640;        /* titres, texte */
  --primary: #0F5C6B;    /* bleu canard : boutons, liens, pictogrammes */
  --primary-dark: #0B4955;
  --soft: #E4EEF1;       /* fonds de pictogrammes, volets clairs */
  --sand: #F4EBDD;       /* accent chaud */
  --sand-ink: #6B4E1F;
  --green: #2E7D62;
  --green-soft: #E3F1EA;
  --muted: #51707A;      /* texte secondaire */
  --bg: #F7FAFB;
  --white: #FFFFFF;
  --line: rgba(13, 54, 64, 0.12);
  --shadow-sm: 0 14px 34px rgba(13, 54, 64, 0.08);
  --shadow-md: 0 18px 40px rgba(13, 54, 64, 0.16);
  --shadow-lg: 0 30px 60px rgba(13, 54, 64, 0.18);
  --r-card: 22px;
  --r-lg: 28px;
  --padx: clamp(20px, 5vw, 72px);
  --pady: clamp(56px, 7vw, 96px);
  /* visuel « lumière de fenêtre » */
  --wall-1: #E9F0F1; --wall-2: #C5D8DD; --ray: rgba(255, 255, 255, 0.92);
  --shade: rgba(20, 60, 70, 0.14); --floor: rgba(15, 92, 107, 0.16);
  color-scheme: light;
}

/* --- Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: var(--primary); text-underline-offset: 4px; }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.skip { position: absolute; left: -9999px; top: 0; padding: 12px 18px; border-radius: 12px; background: var(--primary); color: #fff; z-index: 20; }
.skip:focus { left: 8px; top: 8px; color: #fff; }
svg.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* --- Typographie ---------------------------------------------------------- */
.h1 { font-weight: 800; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.h2 { font-weight: 800; font-size: clamp(27px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.h3 { font-weight: 800; font-size: 21px; line-height: 1.3; }
.lead { max-width: 32em; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); }
.prose { max-width: 36em; }

/* --- Boutons -------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 14px; background: var(--primary); color: #fff; font-family: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px rgba(15, 92, 107, 0.25); transition: transform .16s ease, background-color .16s ease; }
.btn:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn svg.ic { width: 20px; height: 20px; }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 15px; box-shadow: none; }
.btn--ghost { background: #fff; color: var(--primary); box-shadow: inset 0 0 0 1.5px rgba(15, 92, 107, 0.35); }
.btn--ghost:hover { background: var(--soft); color: var(--primary-dark); }
.btn--white { background: #fff; color: var(--primary); box-shadow: none; }
.btn--white:hover { background: var(--soft); color: var(--primary-dark); }
.btn--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); }
.btn--line:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 15px; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* --- En-tête -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding: 14px var(--padx); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 26px; line-height: 1; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-weight: 800; font-size: 16px; }
.brand-role { font-size: 13px; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.nav-link:hover { color: var(--primary); }
.nav-link[aria-current="page"] { color: var(--primary); box-shadow: inset 0 -2px 0 var(--primary); }

/* --- Structure ------------------------------------------------------------ */
.section { padding: var(--pady) var(--padx); }
.section--tight { padding-top: 0; }
.section--soft { background: var(--soft); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: clamp(28px, 3.4vw, 44px); }
.intro { display: flex; flex-direction: column; gap: 10px; }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.duo--top { align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }

.pill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: var(--sand); color: var(--sand-ink); font-size: 14px; font-weight: 700; }
.pill svg.ic { width: 18px; height: 18px; }
.dot { display: flex; align-items: center; justify-content: center; flex: none; width: 54px; height: 54px; border-radius: 16px; background: var(--soft); color: var(--primary); }
.dot--sand { background: var(--sand); color: #8A5A16; }
.dot--green { background: var(--green-soft); color: var(--green); }
.dot--white { background: #fff; }
.dot--sm { width: 46px; height: 46px; border-radius: 14px; }

.card { display: flex; flex-direction: column; gap: 14px; padding: 30px 28px; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.card p { font-size: 16px; color: var(--muted); }
.card--flat { box-shadow: none; }
.card--lg { padding: clamp(26px, 3.4vw, 44px); border-radius: var(--r-lg); }

/* --- Accueil : ouverture -------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 64px; align-items: center; padding: clamp(36px, 5vw, 72px) var(--padx) clamp(56px, 6vw, 88px); }
@media (min-width: 940px) { .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; font-weight: 700; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg.ic { width: 20px; height: 20px; color: var(--green); stroke-width: 2.2; }
.visual { position: relative; padding: 0 12px 24px 24px; }
.float { position: absolute; display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-md); }
.float b { display: block; font-size: 15px; font-weight: 800; line-height: 1.3; }
.float span { font-size: 13px; color: var(--muted); }
.float--a { left: -4px; top: 36px; }
.float--b { right: -8px; bottom: 0; }
@media (max-width: 480px) { .visual { padding: 0 0 28px; } .float--a { left: 10px; top: 14px; } .float--b { right: 10px; } }

/* --- Photos --------------------------------------------------------------- */
/* Chaque cadre contient le visuel « lumière de fenêtre » ; la photo le recouvre
   dès que son fichier est présent dans assets/img/. */
.photo { position: relative; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: linear-gradient(165deg, var(--wall-1), var(--wall-2)); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo.is-missing img { display: none; }
.photo--hero { height: clamp(340px, 40vw, 520px); }
.photo--43 { aspect-ratio: 4 / 3; }
.photo--32 { aspect-ratio: 3 / 2; }
.photo--45 { aspect-ratio: 4 / 5; }
.photo--flat { box-shadow: none; }
.photo .panes { position: absolute; left: 14%; top: -18%; width: 74%; height: 130%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 4% 5%; transform: skewY(-20deg) rotate(7deg); filter: blur(9px); }
.photo .panes i { background: var(--ray); }
.photo .leaf { position: absolute; background: var(--shade); filter: blur(7px); border-radius: 100% 0 100% 0; }
.photo .floor { position: absolute; left: 0; right: 0; bottom: 0; height: 16%; background: linear-gradient(180deg, transparent, var(--floor)); }
.photo--sand { --wall-1: #F3E9DA; --wall-2: #DCC7A8; --ray: rgba(255, 252, 244, 0.9); --shade: rgba(90, 60, 20, 0.14); --floor: rgba(138, 90, 22, 0.16); }

/* --- Accueil : « vous vous reconnaissez ? » ------------------------------- */
.talk { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px clamp(24px, 4vw, 56px); align-items: start; }
.chips { display: flex; flex-direction: column; gap: 10px; }
.chip { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 12px 20px; border: 0; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.4; text-align: left; cursor: pointer; transition: box-shadow .16s ease, background-color .16s ease; }
.chip::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--primary); }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--primary); }
.chip[aria-pressed="true"] { background: var(--soft); box-shadow: inset 0 0 0 2px var(--primary); }
.chip[aria-pressed="true"]::before { background: var(--primary); box-shadow: inset 0 0 0 4px var(--soft), 0 0 0 2px var(--primary); }
.reply { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(26px, 3.4vw, 40px); border-radius: var(--r-lg); background: var(--primary); color: #fff; box-shadow: var(--shadow-md); }
.reply .dot { background: rgba(255, 255, 255, 0.16); color: #fff; }
.reply-text { font-size: clamp(20px, 2.1vw, 25px); font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; text-wrap: pretty; }
.reply-sign { font-size: 14px; color: #CFE3E8; }
.reply.is-fresh { animation: rise .35s ease-out; }
@keyframes rise { from { transform: translateY(8px); opacity: 0.5; } to { transform: none; opacity: 1; } }

/* --- Étapes --------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; counter-reset: etape; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-sm); counter-increment: etape; }
.step::before { content: counter(etape); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 18px; }
.step p { font-size: 15px; color: var(--muted); }

/* --- Valeurs -------------------------------------------------------------- */
.value { display: flex; flex-direction: column; gap: 12px; }
.value p { font-size: 16px; color: var(--muted); }

/* --- Bandeau d'appel ------------------------------------------------------ */
.cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 32px 56px; align-items: center; margin: 0 var(--padx); padding: clamp(28px, 4.4vw, 56px); border-radius: var(--r-lg); background: var(--primary); color: #fff; box-shadow: var(--shadow-md); }
.cta .lead { color: #D6E8EC; }
.cta-solo { grid-template-columns: minmax(0, 1fr); }

/* --- Consultations -------------------------------------------------------- */
.page-top { display: flex; flex-direction: column; gap: 18px; padding: clamp(40px, 5vw, 72px) var(--padx) clamp(32px, 4vw, 48px); }
.public { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(22px, 3vw, 36px); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); scroll-margin-top: 96px; }
.public-text { display: flex; flex-direction: column; gap: 16px; padding: 4px clamp(0px, 1vw, 12px); }
.quote { padding-left: 16px; border-left: 3px solid var(--primary); font-size: 18px; font-weight: 700; font-style: italic; line-height: 1.45; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 14px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 600; line-height: 1.35; }
.table-wrap { overflow-x: auto; }
.rates { width: 100%; min-width: 320px; border-collapse: collapse; font-size: 17px; font-variant-numeric: tabular-nums; }
.rates th, .rates td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.rates thead th { padding-top: 0; font-size: 14px; font-weight: 700; color: var(--muted); }
.rates th:first-child, .rates td:first-child { padding-left: 0; }
.rates th:last-child, .rates td:last-child { padding-right: 0; text-align: right; }
.rates tbody th { font-weight: 800; }
.rates tbody td:last-child { font-weight: 800; color: var(--primary); }
.rates tbody tr:last-child th, .rates tbody tr:last-child td { border-bottom: 0; }
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 52em; }
.faq details { padding: 2px 24px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; cursor: pointer; list-style: none; font-weight: 800; font-size: 17px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: var(--soft); color: var(--primary); font-size: 22px; font-weight: 600; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 38em; padding: 0 0 20px; color: var(--muted); }

/* --- Qui je suis ---------------------------------------------------------- */
.ticks { display: flex; flex-direction: column; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.ticks li:last-child { border-bottom: 0; }
.ticks svg.ic { margin-top: 2px; color: var(--green); stroke-width: 2.2; width: 20px; height: 20px; }
.note { display: flex; gap: 20px; align-items: flex-start; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-lg); background: var(--sand); }
.note p { color: #5A4526; }

/* --- Rendez-vous ---------------------------------------------------------- */
.rdv { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; padding: 0 var(--padx) var(--pady); }
.booking { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: clamp(26px, 3.6vw, 44px); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.booking-head { display: flex; align-items: center; gap: 16px; }
.booking-note { font-size: 14px; color: var(--muted); }
.cal-inline { width: 100%; min-height: 620px; overflow: auto; border-radius: 16px; }
.rdv-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.info { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.info h2 { font-size: 14px; font-weight: 700; color: var(--muted); }
.info-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.info--sand { background: var(--sand); box-shadow: none; }
.info--sand h2, .info--sand p { color: #5A4526; }
.tel-xl { color: var(--ink); font-weight: 800; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* --- Pages légales -------------------------------------------------------- */
.legal { display: flex; flex-direction: column; gap: 32px; max-width: 48em; }
.legal h2 { font-weight: 800; font-size: 22px; line-height: 1.25; }
.legal section { display: flex; flex-direction: column; gap: 10px; }
.legal ul { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; list-style: disc; }
.legal p, .legal li { color: var(--muted); }

/* --- Pied de page --------------------------------------------------------- */
.site-footer { display: flex; flex-direction: column; gap: 32px; margin-top: var(--pady); padding: clamp(40px, 5vw, 64px) var(--padx) 28px; background: var(--ink); color: #E6F0F2; font-size: 15px; line-height: 1.6; }
.site-footer a { color: #E6F0F2; }
.site-footer a:hover { color: #fff; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 28px 48px; }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.footer-brand .brand-mark { background: #fff; color: var(--primary); }
.footer-brand b { font-weight: 800; font-size: 16px; color: #fff; }
.footer-title { font-size: 13px; font-weight: 700; color: #9DBAC1; margin-bottom: 4px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 13px; color: #B5CCD2; }
.footer-legal a { color: #B5CCD2; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .chip { transition: none; } .reply.is-fresh { animation: none; } }
@media print { .site-header .nav, .btn, .chips { display: none; } .site-header { position: static; } body { background: #fff; } }
