/* M3 Studio · « le gars du coin » + démonstration
   Couleurs et polices réglées ici, en haut : changez une valeur, tout le site suit. */
@font-face { font-family: 'Sora'; src: url('../fonts/sora-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('../fonts/sora-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('../fonts/caveat-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --ink: #12131A;
  --red: #FF2A3A;
  --red-dark: #E0182A;
  --grey: #6F7480;
  --text: #2F323B;
  --paper: #FBF8F3;
  --paper-2: #F3EEE5;
  --line: #E4DDD1;
  --slate: #1C1E24;
  --chalk: #F2F0EA;
  --radius: 18px;
  --wrap: 1120px;
  --hand: 'Caveat', 'Segoe Print', cursive;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
/* Each page hides itself in its <head> until this file is loaded: no flash of unstyled page on reload. */
body { visibility: visible !important; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 'Inter', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Sora', 'Inter', sans-serif; color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-weight: 800; font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-weight: 700; font-size: 1.15rem; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.hand { font-family: var(--hand); font-weight: 700; color: var(--red); line-height: 1.05; }
.red { color: var(--red); }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 12px; font: 600 1rem/1.2 'Inter', sans-serif; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-dark); }
.btn-red:hover { background: var(--red-dark); }
.btn-line { border-color: var(--ink); color: var(--ink); background: #fff; box-shadow: 0 4px 0 var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 0.93rem; box-shadow: none; }

/* en-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(251,248,243,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.brand img { width: 158px; height: auto; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a { text-decoration: none; font-weight: 500; color: var(--ink); font-size: 0.97rem; }
.menu a:not(.btn):hover { color: var(--red); }
.burger { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; color: var(--ink); }
.burger svg { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .burger { display: block; }
  .menu { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(18,19,26,.08); transform: translateY(-120%); transition: transform .25s ease; }
  .menu.open { transform: none; }
  .menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 14px; }
}

section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.head { max-width: 720px; margin-bottom: clamp(30px, 5vw, 48px); }
.head p { margin-top: 14px; color: var(--grey); font-size: 1.08rem; }
.head .hand { font-size: 1.7rem; display: block; margin-bottom: 4px; transform: rotate(-2deg); transform-origin: left; }

/* ---------- haut de page : la recherche ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 80px); text-align: center; }
.search { display: flex; align-items: center; gap: 14px; max-width: 620px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 15px 22px; box-shadow: 0 10px 30px rgba(18,19,26,.08); font-size: clamp(1.02rem, 2.2vw, 1.25rem); color: var(--ink); text-align: left; }
.search svg { width: 22px; height: 22px; color: var(--grey); flex: none; }
.search .typed { min-height: 1.4em; white-space: nowrap; overflow: hidden; }
.search .caret { width: 2px; height: 1.3em; background: var(--red); animation: blink 1s steps(1) infinite; flex: none; margin-left: -12px; }
@keyframes blink { 50% { opacity: 0; } }
.hero .note { margin: 18px auto 0; font-size: 1.6rem; transform: rotate(-1.5deg); }
.hero h1 { margin: 26px auto 0; max-width: 15em; }
.hero .lead { margin: 20px auto 0; max-width: 34em; font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.hero .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero .small { margin-top: 18px; color: var(--grey); font-size: 0.95rem; }

/* ---------- avant / après ---------- */
.compare-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .compare-wrap { grid-template-columns: 1fr; } }
.compare { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(18,19,26,.10); user-select: none; aspect-ratio: 4 / 3.6; }
.cmp-pane { position: absolute; inset: 0; padding: 22px 22px 0; background: #fff; }
.cmp-after { clip-path: inset(0 0 0 var(--cut, 50%)); background: #fff; }
.cmp-label { position: absolute; top: 14px; font: 700 1.4rem var(--hand); z-index: 3; }
.cmp-before .cmp-label { left: 18px; color: var(--grey); }
.cmp-after .cmp-label { right: 18px; color: #1F7A4D; }
.q { margin-top: 30px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 0.92rem; color: var(--ink); }
.q svg { width: 16px; height: 16px; color: var(--grey); }
.res { margin-top: 14px; padding: 12px 0; border-bottom: 1px solid #F0ECE4; font-size: 0.86rem; color: var(--grey); }
.res b { display: block; color: #3045A8; font-weight: 500; font-size: 0.98rem; }
.res small { color: #A0A4AE; }
.res.faded { opacity: .55; }
.res.top { margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); }
.res.top b { color: var(--ink); font-weight: 700; font-family: 'Sora', sans-serif; }
.res .open { color: #1F7A4D; font-weight: 600; }
.chips { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.chips span { font-size: 0.8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #EEF1FB; color: #3045A8; }
.chips span:first-child { background: var(--red); color: #fff; }
/* search results drawn like a real results page (fictional example) */
.serp { font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; color: #202124; padding: 46px 22px 0; }
.serp .cmp-label { font-family: var(--hand); }
.s-bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px 0 20px; border-radius: 24px; box-shadow: 0 1px 6px rgba(32,33,36,.28); font-size: 15px; }
.s-bar span { flex: 1; }
.s-bar i { font-style: normal; color: #70757a; font-size: 15px; padding-right: 10px; border-right: 1px solid #dadce0; }
.s-bar svg { width: 20px; height: 20px; flex: none; }
.s-tabs { display: flex; gap: 18px; margin: 14px 0 0 4px; font-size: 13px; color: #5f6368; border-bottom: 1px solid #ebebeb; }
.s-tabs > * { padding-bottom: 9px; }
.s-tabs b { font-weight: 400; color: #1a73e8; border-bottom: 3px solid #1a73e8; }
.s-res { margin-top: 18px; }
.s-site { display: flex; align-items: center; gap: 10px; }
.fav { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 700 13px Arial, sans-serif; flex: none; }
.s-site em { display: block; font-style: normal; font-size: 13px; color: #202124; line-height: 1.2; }
.s-site small { display: block; font-size: 11.5px; color: #4d5156; line-height: 1.3; }
.s-title { display: block; margin-top: 5px; font-size: 17px; line-height: 1.3; color: #1a0dab; cursor: default; }
.s-snip { margin-top: 3px; font-size: 13px; line-height: 1.55; color: #4d5156; }
.s-old { color: #b3261e; }
.s-links { display: flex; gap: 16px; margin-top: 6px; }
.s-links a { font-size: 13px; color: #1a0dab; cursor: default; }
.s-place { margin-top: 16px; padding: 14px 16px; border: 1px solid #dadce0; border-radius: 8px; }
.s-place-name { font-size: 19px; color: #202124; }
.s-place-meta { margin-top: 3px; font-size: 13px; color: #4d5156; }
.s-open { color: #188038; }
.s-btns { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.s-btns span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #1a73e8; border: 1px solid #dadce0; border-radius: 18px; padding: 6px 14px; white-space: nowrap; }
.s-btns svg { width: 15px; height: 15px; flex: none; }
@media (max-width: 520px) { .serp { padding: 44px 14px 0; } .s-title { font-size: 15.5px; } .s-tabs { gap: 12px; } }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; margin: 0; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 3px; background: var(--ink); transform: translateX(-1.5px); z-index: 4; pointer-events: none; }
.cmp-handle::after { content: "◂ ▸"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--ink); color: #fff; font-size: 0.8rem; letter-spacing: 2px; padding: 9px 10px; border-radius: 999px; white-space: nowrap; }
.compare-note { margin-top: 14px; font-size: 0.85rem; color: var(--grey); text-align: center; }

/* ---------- la preuve : téléphone qu'on fait défiler ---------- */
.proof { background: var(--paper-2); }
.proof-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; } }
.phone-wrap { position: relative; justify-self: center; width: min(300px, 80%); }
.phone { border-radius: 38px; padding: 11px; background: var(--ink); box-shadow: 0 30px 60px rgba(18,19,26,.25); }
.phone-screen { border-radius: 28px; overflow-y: auto; overflow-x: hidden; aspect-ratio: 9 / 18.5; background: #fff; scrollbar-width: none; overscroll-behavior: contain; }
.phone-screen::-webkit-scrollbar { display: none; }
.phone-screen img { width: 100%; }
.scribble { position: absolute; font: 700 1.55rem/1.05 var(--hand); color: var(--red); width: 170px; }
.scribble svg { width: 70px; height: 50px; display: block; color: var(--red); }
.scribble.s1 { left: -190px; top: 30px; transform: rotate(-6deg); text-align: right; }
.scribble.s1 svg { margin-left: auto; }
.scribble.s2 { right: -40px; bottom: -78px; transform: rotate(-3deg); width: 220px; display: flex; align-items: flex-end; gap: 4px; }
.scribble.s2 svg { flex: none; margin-bottom: 18px; }
@media (max-width: 1100px) { .scribble { display: none; } }
.proof-text .where { margin-top: 6px; color: var(--grey); }
.proof-text p + p { margin-top: 16px; }
.proof-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.proof-list li { display: flex; gap: 12px; align-items: baseline; }
.proof-list li::before { content: "✓"; color: var(--red); font-weight: 800; }
.proof-text .link { display: inline-block; margin-top: 22px; font-weight: 600; color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---------- ce que je fais ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }
.service { padding: 28px 28px 30px 0; }
.service + .service { padding-left: 28px; border-left: 1px solid var(--line); }
@media (max-width: 900px) { .service, .service + .service { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); } }
.service .num { font: 700 2rem var(--hand); color: var(--red); }
.service h3 { margin-top: 6px; }
.service p { margin-top: 10px; }

/* ---------- la carte des Mauges ---------- */
.map-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .map-grid { grid-template-columns: 1fr; } }
.map { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; box-shadow: 0 16px 40px rgba(18,19,26,.08); transform: rotate(-1deg); }
.map svg { width: 100%; height: auto; display: block; }
.map .town circle { fill: var(--ink); }
.map .town text { font: 500 15px 'Inter', sans-serif; fill: var(--ink); }
.map .home circle { fill: var(--red); }
.map .home text { font: 700 24px 'Caveat', cursive; fill: var(--red); }
.map .loire { fill: none; stroke: #9CC3E0; stroke-width: 9; stroke-linecap: round; }
.map .loire-label { font: 700 20px 'Caveat', cursive; fill: #5E93BA; }
.map .client circle { fill: #fff; stroke: var(--red); stroke-width: 3; }
.map .client text { font: 700 20px 'Caveat', cursive; fill: var(--red); }

/* ---------- l'ardoise des tarifs ---------- */
.slate { background: var(--slate); color: var(--chalk); border-radius: 22px; padding: clamp(28px, 5vw, 56px); box-shadow: inset 0 0 0 10px #2B2E36, 0 24px 50px rgba(18,19,26,.25); max-width: 860px; margin-inline: auto; }
.slate h2 { color: #fff; font: 700 clamp(2.4rem, 5vw, 3.2rem)/1 var(--hand); letter-spacing: 0; text-align: center; }
.slate .sub { text-align: center; color: #B9BBC2; margin-top: 10px; }
.menu-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 26px; }
.menu-list .line { display: flex; align-items: baseline; gap: 12px; }
.menu-list .name { font: 700 1.25rem 'Sora', sans-serif; color: #fff; }
.menu-list .dots { flex: 1; border-bottom: 2px dotted #5A5E68; transform: translateY(-5px); }
.menu-list .price { font: 700 2rem/1 var(--hand); color: #FFD34D; white-space: nowrap; }
.menu-list .price small { font-size: 1.2rem; color: #D9D6CC; }
.menu-list p { margin-top: 6px; color: #C9CBD1; max-width: 36em; }
.slate .fine { margin-top: 30px; text-align: center; font-size: 0.88rem; color: #9C9FA8; }

/* ---------- comment ça se passe ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: #FFF6C9; padding: 22px 20px 24px; border-radius: 4px; box-shadow: 0 10px 20px rgba(18,19,26,.08); position: relative; }
.step:nth-child(odd) { transform: rotate(-1.4deg); }
.step:nth-child(even) { transform: rotate(1.2deg); background: #FFE9EC; }
.step .n { font: 700 2.2rem/1 var(--hand); color: var(--red); }
.step p { margin-top: 8px; color: var(--ink); }

/* ---------- questions ---------- */
.faq { max-width: 800px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 19px 34px 19px 0; position: relative; font: 700 1.03rem/1.4 'Sora', sans-serif; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 700 1.6rem/1 'Inter', sans-serif; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; }

/* ---------- contact ---------- */
.contact { background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.big-phone { display: inline-block; margin-top: 14px; font: 800 clamp(2rem, 4.4vw, 2.8rem)/1 'Sora', sans-serif; color: var(--red); text-decoration: none; }
.big-phone:hover { color: var(--red-dark); }
.contact-info > p { margin-top: 18px; }
.contact-info a:not(.big-phone) { color: var(--ink); text-underline-offset: 3px; }
.me { display: flex; gap: 18px; align-items: center; margin-top: 30px; }
.polaroid { background: #fff; padding: 8px 8px 26px; box-shadow: 0 10px 22px rgba(18,19,26,.14); transform: rotate(-4deg); flex: none; position: relative; }
.polaroid img { width: 92px; height: 92px; object-fit: cover; }
.polaroid span { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font: 700 1.05rem var(--hand); color: var(--ink); }
.me p { font-size: 0.98rem; }
.form { background: #fff; border-radius: var(--radius); padding: clamp(22px, 4vw, 32px); box-shadow: 0 16px 40px rgba(18,19,26,.08); border: 1px solid var(--line); }
.form .hand { font-size: 1.7rem; display: block; margin-bottom: 12px; transform: rotate(-1.5deg); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; color: var(--ink); font-size: 0.93rem; margin: 16px 0 6px; }
.form .row label, .form > label:first-of-type { margin-top: 0; }
.form input, .form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid #D9D3C8; border-radius: 10px; background: #FFFDF9; color: var(--ink); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { width: 100%; margin-top: 20px; }
.form .hint { margin-top: 12px; font-size: 0.84rem; color: var(--grey); text-align: center; }
.form .status { margin-top: 12px; font-weight: 600; text-align: center; min-height: 1.4em; }
.form .status.ok { color: #1F7A4D; }
.form .status.err { color: var(--red-dark); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- pied de page ---------- */
.foot { background: var(--ink); color: #A3A7B2; padding: 50px 0 32px; font-size: 0.93rem; }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.foot img { width: 150px; }
.foot p { margin-top: 12px; max-width: 320px; }
.foot nav { display: flex; gap: 10px 26px; flex-wrap: wrap; }
.foot a { color: #E6E7EB; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid #262833; display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: space-between; }

/* barre d'appel sur téléphone */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; gap: 10px; }
  .callbar .btn { flex: 1; box-shadow: 0 10px 24px rgba(18,19,26,.2); }
  body { padding-bottom: 80px; }
}

/* pages légales */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.25rem; margin-top: 36px; }
.legal p, .legal li { margin-top: 10px; }
.legal .todo { background: #FFF4D6; color: #7A5B00; padding: 2px 6px; border-radius: 4px; }
