/* ============================================================
   AvecMonArtisan — « Savoir-faire chaleureux »
   Palette matière : terre cuite, ocre, ardoise, chaux
   ============================================================ */

:root{
  --cream:#F6F0E4;
  --cream-2:#EFE6D3;
  --surface:#FDFAF3;
  --terra:#BC5633;
  --terra-deep:#9C4526;
  --ochre:#C98A2D;
  --slate:#2E3A3B;
  --slate-2:#26302F;
  --slate-soft:#55605F;
  --line:#E3D8C2;
  --ok:#3E7C4F;
  --font-display:"Fraunces",Georgia,serif;
  --font-body:"Inter",system-ui,-apple-system,sans-serif;
  --r-chip:10px;
  --r-card:16px;
  --r-panel:28px;
  --shadow-card:0 2px 6px rgba(46,58,59,.06),0 18px 50px -18px rgba(46,58,59,.28);
  --shadow-soft:0 1px 3px rgba(46,58,59,.05),0 10px 30px -14px rgba(46,58,59,.18);
  --ease:cubic-bezier(.22,.75,.28,1);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.65;
  color:var(--slate);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul,ol{margin:0;padding:0;list-style:none}
h1,h2,h3{font-family:var(--font-display);font-weight:520;line-height:1.08;margin:0;letter-spacing:-.01em}
h1 em,h2 em{font-style:italic;font-weight:460;color:var(--terra)}
p{margin:0}
.wrap{width:min(1180px,100% - 48px);margin-inline:auto}
::selection{background:var(--ochre);color:var(--slate)}

:focus-visible{outline:2.5px solid var(--terra);outline-offset:3px;border-radius:4px}

/* ---------------- Header ---------------- */
.header{
  position:sticky;top:0;z-index:50;
  background:rgba(246,240,228,.88);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.header-in{display:flex;align-items:center;gap:32px;height:72px}
.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}
.brand-name{font-family:var(--font-display);font-size:21px;font-weight:560;letter-spacing:-.01em}
.brand-name em{font-style:italic;color:var(--terra);font-weight:480}
.nav{display:flex;gap:26px;margin-left:auto}
.nav a{
  font-size:15px;font-weight:500;color:var(--slate-soft);
  padding:6px 2px;border-bottom:2px solid transparent;
  transition:color .25s var(--ease),border-color .25s var(--ease);
}
.nav a:hover{color:var(--terra-deep);border-color:var(--terra)}
.header-cta{display:flex;gap:12px;align-items:center}

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font-family:var(--font-body);font-size:15.5px;font-weight:600;
  padding:13px 24px;border-radius:999px;border:1.5px solid transparent;
  cursor:pointer;transition:transform .18s var(--ease),background .25s var(--ease),box-shadow .25s var(--ease),border-color .25s;
  white-space:nowrap;
}
.btn:active{transform:scale(.97)}
.btn-primary{background:var(--terra);color:var(--surface);box-shadow:0 10px 24px -10px rgba(188,86,51,.55)}
.btn-primary:hover{background:var(--terra-deep);transform:translateY(-1px);box-shadow:0 14px 30px -10px rgba(156,69,38,.6)}
.btn-ghost{background:transparent;color:var(--slate);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--terra);color:var(--terra-deep)}
.btn-soft{background:var(--cream);color:var(--terra-deep);border-color:var(--line)}
.btn-soft:hover{border-color:var(--terra);background:var(--cream-2)}
.btn-secondary{background:var(--slate);color:var(--cream)}
.btn-secondary:hover{background:var(--slate-2);transform:translateY(-1px)}
.btn-cream{background:var(--cream);color:var(--terra-deep)}
.btn-cream:hover{background:var(--surface);transform:translateY(-1px)}
.btn-outline-cream{background:transparent;color:var(--cream);border-color:rgba(246,240,228,.5)}
.btn-outline-cream:hover{border-color:var(--cream);background:rgba(246,240,228,.08)}
.btn-big{padding:16px 32px;font-size:16.5px}
.btn-block{width:100%;margin-top:auto}
.btn svg{width:18px;height:18px;flex-shrink:0}

/* ---------------- Eyebrow / heads ---------------- */
.eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  font-size:12.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--terra-deep);margin:0 0 18px;
}
.eyebrow .dot{width:8px;height:8px;border-radius:50%;background:var(--ochre);flex-shrink:0}
.eyebrow--light{color:var(--ochre)}
.section-head{max-width:680px;margin-bottom:56px}
.section-head h2, .pro-copy h2, .cta-in h2{font-size:clamp(34px,4.4vw,52px)}
.section-sub{font-size:18px;color:var(--slate-soft);margin-top:18px;max-width:60ch}

/* ---------------- Sections ---------------- */
.section{padding:112px 0;position:relative}
.section--tinted{background:var(--cream-2)}
.section--tinted::before,
.section--tinted::after{
  content:"";position:absolute;left:0;right:0;height:1px;
  background-image:linear-gradient(90deg,var(--terra) 0 7px,transparent 7px 14px);
  opacity:.35;
}
.section--tinted::before{top:0}
.section--tinted::after{bottom:0}
.section--dark{background:var(--slate);color:var(--cream)}
.section--dark .section-sub{color:rgba(246,240,228,.72)}
.section--dark h2 em{color:var(--ochre)}

/* ---------------- Hero ---------------- */
.hero{padding:84px 0 96px;position:relative;overflow:clip}
.hero::before{
  content:"";position:absolute;inset:0;
  background:url("./assets/img/texture-platre.jpg") center/cover;
  opacity:.06;pointer-events:none;
}
.hero-grid{position:relative;display:grid;grid-template-columns:1.05fr .95fr;gap:72px;align-items:center}
.hero-copy h1{font-size:clamp(42px,5.6vw,72px);max-width:12ch}
.hero-copy .lead{font-size:19px;color:var(--slate-soft);margin-top:22px;max-width:52ch}

/* Recherche — posée comme un devis sur la table */
.search{
  margin-top:34px;display:flex;gap:14px;align-items:stretch;
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-card);padding:14px;
  box-shadow:var(--shadow-card);
  position:relative;
}
.search::after{
  content:"100% gratuit";
  position:absolute;top:-13px;right:22px;
  font-family:var(--font-display);font-style:italic;font-size:14px;
  color:var(--terra-deep);background:var(--cream);
  border:1px solid var(--line);border-radius:999px;padding:2px 12px;
  transform:rotate(2deg);
}
.search-field{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.search-field label{font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--slate-soft);padding-left:14px}
.search-input{display:flex;align-items:center;gap:10px;padding:0 14px;height:52px;border-radius:12px;transition:background .2s}
.search-input svg{width:20px;height:20px;color:var(--ochre);flex-shrink:0}
.search-input input{
  border:0;outline:0;background:transparent;width:100%;
  font-family:var(--font-body);font-size:16.5px;color:var(--slate);
}
.search-input input::placeholder{color:#9A917E}
.search-field:focus-within .search-input{background:var(--cream)}
.search-field--cp{flex:0 0 170px;border-left:1px dashed var(--line);padding-left:14px}
.btn-search{height:52px;margin-top:auto;align-self:flex-end}
.btn-search svg{width:17px;height:17px}

.hero-trust{display:flex;flex-wrap:wrap;gap:10px 26px;margin-top:30px}
.hero-trust li{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:500;color:var(--slate-soft)}
.hero-trust svg{width:19px;height:19px;color:var(--terra);flex-shrink:0}

/* Visuel hero */
.hero-visual{position:relative}
.hero-photo{
  margin:0;border-radius:var(--r-panel);overflow:hidden;
  box-shadow:0 30px 80px -30px rgba(46,58,59,.45);
  transform:rotate(.6deg);
  border:6px solid var(--surface);
}
.hero-photo img{width:100%;height:100%;object-fit:cover;aspect-ratio:1/1.02}
.hero-card{
  position:absolute;background:var(--surface);
  border:1px solid var(--line);border-radius:14px;
  box-shadow:var(--shadow-card);padding:14px 18px;
}
.hero-card--devis{top:26px;left:-38px;transform:rotate(-2.5deg)}
.hero-card-label{font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--slate-soft)}
.hero-card-price{font-family:var(--font-display);font-size:30px;font-weight:560;margin:2px 0 8px}
.hero-card-meta{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--slate-soft)}
.hero-card--artisan{
  bottom:34px;right:-30px;display:flex;gap:13px;align-items:center;
  transform:rotate(1.5deg);max-width:290px;
}
.hero-card--artisan img{width:52px;height:52px;border-radius:50%;object-fit:cover;object-position:top;flex-shrink:0;border:2px solid var(--cream)}
.hero-card-name{font-weight:700;font-size:15px;display:flex;align-items:center;gap:6px;margin:0}
.badge-check{width:16px;height:16px;color:var(--terra);flex-shrink:0}
.hero-card-sub{font-size:13px;color:var(--slate-soft)}
.hero-card-stars{font-size:13.5px;font-weight:600;display:flex;align-items:center;gap:5px;margin-top:2px}
.hero-card-stars svg{width:14px;height:14px;color:var(--ochre)}
.hero-card-stars .ok{color:var(--ok)}
.hero-caption{
  margin-top:16px;font-family:var(--font-display);font-style:italic;
  font-size:15px;color:var(--slate-soft);text-align:right;padding-right:8px;
}

/* ---------------- Métiers ---------------- */
.trades-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.trade-card{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-card);overflow:hidden;
  transition:transform .35s var(--ease),box-shadow .35s var(--ease);
  display:block;
}
.trade-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-card)}
.trade-card figure{margin:0;overflow:hidden;aspect-ratio:16/10}
.trade-card figure img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.trade-card:hover figure img{transform:scale(1.05)}
.trade-body{padding:22px 24px 26px;position:relative}
.trade-icon{
  width:44px;height:44px;padding:10px;border-radius:12px;
  background:var(--cream);color:var(--terra-deep);border:1px solid var(--line);
  position:absolute;top:-22px;left:24px;
  transition:background .3s,color .3s,transform .35s var(--ease);
}
.trade-card:hover .trade-icon{background:var(--terra);color:var(--surface);transform:rotate(-6deg)}
.trade-body h3{font-size:23px;margin:14px 0 6px}
.trade-body p{font-size:15px;color:var(--slate-soft);line-height:1.55}
.trade-meta{display:block;margin-top:14px;font-size:13px;font-weight:600;color:var(--terra-deep);letter-spacing:.02em}
.trades-more{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}
.chip{
  font-size:14px;font-weight:500;color:var(--slate-soft);
  background:var(--surface);border:1px solid var(--line);
  padding:8px 16px;border-radius:999px;
  transition:border-color .25s,color .25s,transform .25s var(--ease);
  cursor:pointer;
}
.chip:hover{border-color:var(--terra);color:var(--terra-deep);transform:translateY(-2px)}

/* ---------------- Étapes ---------------- */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;counter-reset:step}
.step{position:relative}
.step-photo{
  margin:0;border-radius:var(--r-card);overflow:hidden;
  aspect-ratio:16/11;box-shadow:var(--shadow-soft);
  border:1px solid var(--line);
}
.step-photo img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.step:hover .step-photo img{transform:scale(1.04)}
.step-body{padding:24px 8px 0;position:relative}
.step-num{
  font-family:var(--font-display);font-style:italic;font-weight:480;
  font-size:60px;line-height:1;color:transparent;
  -webkit-text-stroke:1.4px var(--terra);
  position:absolute;top:-46px;left:14px;
  background:var(--cream-2);padding:0 10px;
}
.step-body h3{font-size:25px;margin-bottom:10px}
.step-body p{font-size:15.5px;color:var(--slate-soft)}

/* ---------------- Artisans à l'honneur ---------------- */
.pros-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.pro-card{
  display:grid;grid-template-columns:200px 1fr;
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-card);overflow:hidden;
  transition:transform .35s var(--ease),box-shadow .35s var(--ease);
}
.pro-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-card)}
.pro-photo{margin:0;position:relative;overflow:hidden}
.pro-photo img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .8s var(--ease)}
.pro-card:hover .pro-photo img{transform:scale(1.04)}
.pro-status{
  position:absolute;left:12px;bottom:12px;
  display:inline-flex;align-items:center;gap:7px;
  font-size:12.5px;font-weight:600;
  background:rgba(46,58,59,.82);color:var(--cream);
  backdrop-filter:blur(6px);
  padding:6px 12px;border-radius:999px;
}
.status-dot{width:7px;height:7px;border-radius:50%;background:currentColor;flex-shrink:0}
.pro-status.ok .status-dot{background:#7BC98F}
.pro-status.busy .status-dot{background:var(--ochre)}
.pro-body{padding:24px 26px;display:flex;flex-direction:column;gap:10px}
.pro-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.pro-head h3{font-size:24px}
.pro-rating{display:flex;align-items:center;gap:6px;font-weight:700;font-size:15px;white-space:nowrap}
.pro-rating svg{width:15px;height:15px;color:var(--ochre)}
.pro-rating span{font-weight:500;color:var(--slate-soft);font-size:13px}
.pro-trade{font-size:14px;font-weight:600;color:var(--terra-deep)}
.pro-quote{
  font-family:var(--font-display);font-style:italic;font-size:16.5px;
  line-height:1.5;color:var(--slate-soft);
}
.pro-badges{display:flex;flex-wrap:wrap;gap:8px}
.pro-badges li{
  display:inline-flex;align-items:center;gap:6px;
  font-size:12.5px;font-weight:600;color:var(--slate-soft);
  border:1px solid var(--line);border-radius:999px;padding:5px 11px;
}
.pro-badges svg{width:14px;height:14px;color:var(--terra)}
.pro-body .btn{margin-top:8px;align-self:flex-start;padding:10px 20px;font-size:14px}

/* ---------------- Features (section sombre) ---------------- */
.features-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:36px;margin-bottom:64px}
.feature svg{width:38px;height:38px;color:var(--ochre);margin-bottom:16px}
.feature h3{font-size:21px;margin-bottom:8px;color:var(--cream)}
.feature p{font-size:14.5px;color:rgba(246,240,228,.68);line-height:1.6}

/* ---------------- Panels (mock UI) ---------------- */
.panel{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-card);box-shadow:var(--shadow-card);
  padding:26px 28px;max-width:760px;margin-inline:auto;
  color:var(--slate);
}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:18px;border-bottom:1px dashed var(--line);margin-bottom:8px}
.panel-title{font-family:var(--font-display);font-size:20px;font-weight:560}
.panel-list li{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:15px 4px;border-bottom:1px solid var(--cream-2);
}
.panel-list li:last-child{border-bottom:0}
.panel-item-title{font-weight:600;font-size:15.5px}
.panel-item-sub{font-size:13.5px;color:var(--slate-soft)}
.panel-item-right{text-align:right}
.panel-item-price{font-family:var(--font-display);font-size:19px;font-weight:560;margin-bottom:4px}

/* Pills */
.pill{
  display:inline-flex;align-items:center;gap:6px;
  font-size:12px;font-weight:700;letter-spacing:.04em;
  padding:4px 11px;border-radius:999px;white-space:nowrap;
}
.pill-done{background:rgba(62,124,79,.13);color:var(--ok)}
.pill-progress{background:rgba(201,138,45,.16);color:#96691A}
.pill-wait{background:rgba(188,86,51,.12);color:var(--terra-deep)}
.pill-new{background:var(--terra);color:var(--surface)}
.pill-ok{background:rgba(62,124,79,.13);color:var(--ok)}

/* ---------------- Section artisans (pro-grid) ---------------- */
.pro-grid{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.pro-points{display:flex;flex-direction:column;gap:20px;margin:30px 0 36px}
.pro-points li{display:flex;gap:15px;align-items:flex-start}
.pro-points svg{width:24px;height:24px;color:var(--terra);flex-shrink:0;margin-top:3px}
.pro-points strong{display:block;font-size:16.5px}
.pro-points span{display:block;font-size:14.5px;color:var(--slate-soft);margin-top:2px}
.dash-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:18px 0;border-bottom:1px dashed var(--line);margin-bottom:8px}
.dash-num{font-family:var(--font-display);font-size:26px;font-weight:560;line-height:1.1}
.dash-num-sub{font-size:15px;color:var(--slate-soft)}
.dash-label{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--slate-soft);margin-top:4px}
.panel--light{max-width:none;margin:0;transform:rotate(.8deg)}

/* ---------------- Garanties ---------------- */
.guarantees{display:grid;grid-template-columns:repeat(4,1fr);gap:36px}
.guarantee svg{width:36px;height:36px;color:var(--terra);margin-bottom:14px}
.guarantee h3{font-size:20px;margin-bottom:8px}
.guarantee p{font-size:14.5px;color:var(--slate-soft);line-height:1.6}
.stats-band{
  display:grid;grid-template-columns:repeat(4,1fr);gap:24px;
  margin-top:72px;padding:44px 48px;
  background:var(--slate);border-radius:var(--r-panel);
  color:var(--cream);text-align:center;
}
.stat-num{font-family:var(--font-display);font-size:clamp(30px,3.4vw,44px);font-weight:560;color:var(--ochre)}
.stat-label{font-size:13.5px;color:rgba(246,240,228,.7);margin-top:4px}

/* ---------------- Tarifs ---------------- */
.pricing{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;max-width:880px;margin-inline:auto}
.price-card{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-panel);padding:40px 42px;
  display:flex;flex-direction:column;
  box-shadow:var(--shadow-soft);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease);
}
.price-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-card)}
.price-card--pro{background:var(--slate);color:var(--cream);border-color:var(--slate)}
.price-audience{font-size:12.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--terra-deep)}
.price-card--pro .price-audience{color:var(--ochre)}
.price-num{font-family:var(--font-display);font-size:54px;font-weight:560;line-height:1;margin:14px 0 26px}
.price-num span{font-family:var(--font-body);font-size:15px;font-weight:500;color:var(--slate-soft);font-style:italic}
.price-card--pro .price-num span{color:rgba(246,240,228,.6)}
.price-card ul{display:flex;flex-direction:column;gap:12px;margin-bottom:32px}
.price-card li{position:relative;padding-left:28px;font-size:15.5px}
.price-card li::before{
  content:"";position:absolute;left:0;top:8px;width:14px;height:8px;
  border-left:2.2px solid var(--terra);border-bottom:2.2px solid var(--terra);
  transform:rotate(-45deg);border-radius:1px;
}
.price-card--pro li::before{border-color:var(--ochre)}
.price-card--pro .btn-secondary{background:var(--terra);box-shadow:0 10px 24px -10px rgba(188,86,51,.5)}
.price-card--pro .btn-secondary:hover{background:var(--terra-deep)}
.price-note{font-size:13px;color:rgba(246,240,228,.55);margin-top:16px;text-align:center}
.pricing-foot{text-align:center;font-size:14px;color:var(--slate-soft);margin-top:28px}

/* ---------------- CTA final ---------------- */
.cta-final{
  background:var(--terra);color:var(--cream);
  padding:104px 0;position:relative;overflow:clip;
}
.cta-final::before{
  content:"";position:absolute;inset:0;
  background:url("./assets/img/texture-platre.jpg") center/cover;
  opacity:.12;mix-blend-mode:multiply;pointer-events:none;
}
.cta-in{position:relative;text-align:center;max-width:760px;margin-inline:auto}
.cta-in h2 em{color:var(--cream);opacity:.85}
.cta-in p{font-size:18.5px;margin:20px 0 36px;opacity:.88}

/* ---------------- Footer ---------------- */
.footer{
  background:var(--slate-2);color:rgba(246,240,228,.72);
  padding:72px 0 0;position:relative;
}
.footer::before{
  content:"";position:absolute;inset:0;
  background:url("./assets/img/texture-bois.jpg") center/cover;
  opacity:.07;pointer-events:none;
}
.footer-grid{position:relative;display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:48px;padding-bottom:56px}
.footer-brand p{font-size:14.5px;margin-top:16px;max-width:34ch;line-height:1.65}
.brand--footer .brand-name{color:var(--cream)}
.brand--footer .brand-name em{color:var(--ochre)}
.footer-title{font-size:12.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--cream);margin-bottom:18px}
.footer-col{display:flex;flex-direction:column;gap:11px}
.footer-col a{font-size:14.5px;transition:color .2s}
.footer-col a:hover{color:var(--ochre)}
.footer-bottom{
  position:relative;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
  padding:22px 0;border-top:1px solid rgba(246,240,228,.12);
  font-size:13px;color:rgba(246,240,228,.5);
}

/* ---------------- Burger / menu mobile ---------------- */
.burger{
  display:none;flex-direction:column;gap:5px;
  background:none;border:0;padding:10px;cursor:pointer;margin-left:auto;
}
.burger span{width:24px;height:2.2px;background:var(--slate);border-radius:2px;transition:transform .3s var(--ease),opacity .2s}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7.2px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7.2px) rotate(-45deg)}
.mobilemenu{
  display:none;flex-direction:column;gap:4px;
  padding:16px 24px 26px;border-bottom:1px solid var(--line);
  background:var(--cream);
}
.mobilemenu:not([hidden]){display:flex}
.mobilemenu a{padding:13px 4px;font-size:17px;font-weight:500;border-bottom:1px solid var(--cream-2)}
.mobilemenu-cta{display:flex;flex-direction:column;gap:10px;margin-top:16px}

/* ---------------- Reveal (JS enhancement uniquement) ----------------
   Défaut = VISIBLE. L'état caché n'existe que sous .js + .reveal, et un filet
   CSS @keyframes révèle tout après 2s même si le JS n'ajoute jamais .is-in. */
.reveal{opacity:1;transform:none}
.js .reveal{
  opacity:0;transform:translateY(26px);
  transition:opacity .8s var(--ease),transform .8s var(--ease);
  animation:reveal-failsafe .6s var(--ease) 2s forwards;
}
.js .reveal.is-in{opacity:1;transform:none;animation:none}
@keyframes reveal-failsafe{to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms !important;animation-duration:.01ms !important}
  .js .reveal{opacity:1;transform:none;animation:none}
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1080px){
  .hero-grid{gap:48px}
  .hero-card--devis{left:-10px}
  .hero-card--artisan{right:-6px}
  .features-grid{grid-template-columns:repeat(2,1fr)}
  .guarantees{grid-template-columns:repeat(2,1fr)}
  .pros-grid{grid-template-columns:1fr}
  .pro-card{grid-template-columns:220px 1fr}
}

@media (max-width:920px){
  .nav,.header-cta{display:none}
  .burger{display:flex}
  .hero{padding:56px 0 72px}
  .hero-grid{grid-template-columns:1fr;gap:64px}
  .hero-copy h1{max-width:100%}
  .hero-visual{max-width:560px;margin-inline:auto;width:100%}
  .trades-grid{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:1fr;gap:48px;max-width:560px;margin-inline:auto}
  .pro-grid{grid-template-columns:1fr;gap:56px}
  .panel--light{transform:none;max-width:560px}
  .pricing{grid-template-columns:1fr;max-width:520px}
  .footer-grid{grid-template-columns:1fr 1fr}
}

@media (max-width:620px){
  body{font-size:16px}
  .wrap{width:calc(100% - 40px)}
  .section{padding:80px 0}
  .section-head{margin-bottom:44px}
  .hero-copy h1{font-size:clamp(38px,10vw,46px)}
  .search{flex-direction:column;padding:16px}
  .search::after{top:-14px;right:14px}
  .search-field--cp{border-left:0;border-top:1px dashed var(--line);padding:8px 0 0;flex:1}
  .btn-search{width:100%;margin-top:6px}
  .hero-trust{flex-direction:column;gap:12px}
  .hero-card--devis{top:14px;left:8px;padding:11px 14px}
  .hero-card-price{font-size:24px}
  .hero-card--artisan{bottom:14px;right:8px;left:8px;max-width:none;transform:rotate(0)}
  .hero-caption{text-align:left;font-size:14px}
  .trades-grid{grid-template-columns:1fr}
  .pro-card{grid-template-columns:1fr}
  .pro-photo{aspect-ratio:16/10}
  .pro-photo img{object-position:center 22%}
  .features-grid{grid-template-columns:1fr;gap:28px}
  .guarantees{grid-template-columns:1fr;gap:28px}
  .stats-band{grid-template-columns:repeat(2,1fr);padding:36px 28px;gap:32px 16px}
  .dash-stats{grid-template-columns:repeat(2,1fr);gap:16px}
  .panel{padding:20px 18px}
  .panel-list li{align-items:flex-start;flex-direction:column;gap:8px}
  .panel-item-right{text-align:left;display:flex;align-items:center;gap:12px}
  .panel-item-price{margin:0}
  .price-card{padding:32px 26px}
  .cta-actions{display:flex;flex-direction:column;gap:14px;align-items:stretch}
  .footer-grid{grid-template-columns:1fr;gap:36px}
}
