/* Hexa Confort — feuille de style du site (couleurs du logo : bleu nuit + cuivre) */
:root {
  --navy: #1D3557;
  --navy-d: #0F1F38;
  --navy-2: #2A4A75;
  --copper: #C8782F;
  --copper-d: #A85F1E;
  --copper-l: #F6E7D8;
  --cream: #F7F4EF;
  --line: #E4E0D8;
  --ink: #18243A;
  --muted: #5B6676;
  --white: #fff;
  --r: 14px;
  --shadow: 0 18px 50px rgba(15, 31, 56, .12);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--font); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--copper-d); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy-d); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
svg { width: 1.2em; height: 1.2em; flex: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.4em; border-radius: 999px;
  font: 700 1rem/1.1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 1em 1.7em; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn--copper { background: var(--copper); color: #fff; box-shadow: 0 10px 24px rgba(200, 120, 47, .32); }
.btn--copper:hover { background: var(--copper-d); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-d); }
.btn--light { background: #fff; color: var(--navy-d); border-color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }

/* ---------- topbar + header ---------- */
.topbar { background: var(--navy-d); color: #C9D3E2; font-size: .84rem; }
.topbar__in { display: flex; gap: 28px; justify-content: space-between; align-items: center; min-height: 38px; }
.topbar span, .topbar a { display: inline-flex; gap: 7px; align-items: center; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.topbar svg { width: 15px; height: 15px; color: var(--copper); }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 18px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 52px; height: 52px; }
.brand__word { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.32rem; letter-spacing: .06em; }
.brand__word b { color: var(--navy); font-weight: 800; }
.brand__word em { color: var(--copper); font-style: normal; }
.brand__word i { width: 1.5px; height: 1.2em; background: var(--copper); }
.brand--white .brand__word b { color: #fff; }
.nav { display: flex; gap: 0; align-items: center; }
.nav > a, .nav__drop > a { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; padding: .5em .62em; border-radius: 10px; color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav > a:hover, .nav__drop > a:hover, .nav a[aria-current] { color: var(--copper-d); background: var(--cream); }
.nav__drop { position: relative; }
.nav__drop svg { width: 12px; height: 12px; }
.nav__menu { position: absolute; left: -10px; top: 100%; min-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 8px; display: none; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { display: block; }
.nav__menu a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.nav__menu a:hover { background: var(--cream); }
.nav__menu strong { display: block; color: var(--navy-d); }
.nav__menu span { color: var(--muted); font-size: .88rem; }
.burger { display: none; }
.burger summary { list-style: none; cursor: pointer; width: 46px; height: 46px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; }
.burger summary::-webkit-details-marker { display: none; }
.burger summary span, .burger summary span::before, .burger summary span::after { display: block; width: 22px; height: 2px; background: var(--navy); position: relative; }
.burger summary span::before, .burger summary span::after { content: ""; position: absolute; }
.burger summary span::before { top: -7px; } .burger summary span::after { top: 7px; }
.burger__panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px;
  display: grid; gap: 2px; box-shadow: var(--shadow); max-height: calc(100vh - 80px); overflow: auto; }
.burger__panel a { padding: 11px 6px; color: var(--navy-d); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--cream); }
.burger__panel a.sub { padding-left: 22px; font-weight: 500; color: var(--muted); }
.burger__panel .btn { margin-top: 12px; color: #fff; border: 0; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-d); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 31, 56, .94) 0%, rgba(15, 31, 56, .82) 38%, rgba(15, 31, 56, .25) 72%, rgba(15, 31, 56, .05) 100%); }
.hero__in { position: relative; z-index: 1; padding: 84px 20px 92px; max-width: 1200px; }
.hero__in > * { max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero__eyebrow { display: inline-block; background: rgba(200, 120, 47, .18); border: 1px solid rgba(232, 160, 96, .5); color: #F3C9A0;
  padding: .35em .9em; border-radius: 999px; font-size: .86rem; font-weight: 700; letter-spacing: .02em; }
.hero__lead { font-size: 1.15rem; color: #DCE3EE; }
.hero__list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 8px; }
.hero__list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.hero__list svg { color: var(--copper); margin-top: 3px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero--home .hero__in { padding: 120px 20px 130px; }
.crumbs { font-size: .86rem; color: #B9C4D6; margin-bottom: 18px; }
.crumbs a { color: #fff; }

/* ---------- bandeau confiance ---------- */
.trust { background: var(--cream); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust li { display: flex; gap: 12px; align-items: center; }
.trust li > svg { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: #fff; color: var(--copper); }
.trust b { display: block; color: var(--navy-d); font-size: .96rem; }
.trust span { color: var(--muted); font-size: .84rem; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy-d); color: #DCE3EE; }
.section--navy h2, .section--navy h3 { color: #fff; }
.shead { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.eyebrow { color: var(--copper-d); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin-bottom: .6em; }
.eyebrow--light { color: #F0B47A; }
.lead { font-size: 1.1rem; color: var(--muted); }
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.section--cream .card { border-color: transparent; box-shadow: 0 6px 20px rgba(15, 31, 56, .05); }
.card p { color: var(--muted); margin-bottom: .6em; }
.card__ic { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--copper-l); color: var(--copper-d); margin-bottom: 16px; }
.card__ic svg { width: 24px; height: 24px; }
.checks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 7px; }
.checks li { display: flex; gap: 9px; align-items: flex-start; font-size: .96rem; }
.checks svg { color: var(--copper); margin-top: 4px; width: 17px; height: 17px; }

/* cartes métiers avec photo */
.scard { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: 0 8px 28px rgba(15, 31, 56, .08); transition: transform .2s, box-shadow .2s; }
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scard__img { aspect-ratio: 16 / 10; overflow: hidden; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.scard:hover .scard__img img { transform: scale(1.04); }
.scard__body { position: relative; padding: 30px 26px 24px; flex: 1; display: flex; flex-direction: column; }
.scard__ic { position: absolute; top: -26px; left: 24px; width: 52px; height: 52px; border-radius: 14px; background: var(--copper); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 18px rgba(200, 120, 47, .35); }
.scard__ic svg { width: 24px; height: 24px; }
.scard p { color: var(--muted); flex: 1; }
.scard__more { display: inline-flex; gap: 6px; align-items: center; color: var(--copper-d); font-weight: 700; }

/* texte + photo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev .split__img { order: 2; }
.split__img img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.split__txt h2 { margin-bottom: .5em; }
.split__txt p { color: var(--muted); }

/* étapes */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--r); padding: 26px; border: 1px solid var(--line); }
.steps__n { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }

/* contrats */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; display: flex; flex-direction: column; }
.plan--pop { border: 2px solid var(--copper); box-shadow: var(--shadow); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--copper); color: #fff; font-size: .78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; padding: .4em 1em; border-radius: 999px; white-space: nowrap; }
.plan__tag { color: var(--muted); }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.plan__price b { font-size: 2.6rem; color: var(--navy-d); font-weight: 800; }
.plan__price span { color: var(--muted); }
.plan__month { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.plan .checks { flex: 1; margin-bottom: 24px; }
.note { color: var(--muted); font-size: .9rem; text-align: center; margin-top: 20px; }

/* tableau de prix */
.ptable { max-width: 820px; margin: 0 auto; background: #fff; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; }
.ptable table { width: 100%; border-collapse: collapse; }
.ptable th, .ptable td { padding: 16px 22px; border-bottom: 1px solid var(--line); text-align: left; }
.ptable tr:last-child th, .ptable tr:last-child td { border-bottom: 0; }
.ptable th { font-weight: 600; }
.ptable td { text-align: right; font-weight: 800; color: var(--navy-d); white-space: nowrap; }

/* encadré info */
.info { display: flex; gap: 16px; background: var(--copper-l); border-radius: var(--r); padding: 22px 24px; margin-top: 28px; }
.info > svg { color: var(--copper-d); width: 28px; height: 28px; }
.info p { margin: 0; }
.info--navy { background: #E8EDF5; }
.info--navy > svg { color: var(--navy); }

/* réalisations */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery figcaption { padding: 12px 14px; font-size: .9rem; color: var(--muted); }
.gallery figcaption b { display: block; color: var(--navy-d); }

/* zones */
.zones { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.zones span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5em 1.1em; font-weight: 600; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.faq__item summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--navy-d); position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--copper); font-weight: 400; }
.faq__item[open] summary::after { content: "–"; }
.faq__item div { padding: 0 24px 8px; color: var(--muted); }

/* bandeau d'appel */
.ctaband { background: linear-gradient(120deg, var(--copper-d), var(--copper)); color: #fff; }
.ctaband__in { display: flex; gap: 30px; align-items: center; justify-content: space-between; padding: 46px 20px; }
.ctaband h2 { color: #fff; margin-bottom: .2em; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.ctaband p { margin: 0; color: #FFF1E4; }
.ctaband__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ctaband .btn--copper { background: var(--navy-d); box-shadow: none; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__tel { display: inline-flex; gap: 16px; align-items: center; background: var(--copper); color: #fff; text-decoration: none; padding: 16px 26px 16px 20px;
  border-radius: 16px; font-size: 1.7rem; font-weight: 800; margin: 10px 0 26px; }
.contact__tel svg { width: 34px; height: 34px; }
.contact__tel small { display: block; font-size: .8rem; font-weight: 600; opacity: .85; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact__list li { display: flex; gap: 12px; align-items: center; }
.contact__list svg { color: var(--copper); }
.contact__list a { color: #fff; }
.form { background: #fff; color: var(--ink); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.form h3, .section--navy .form h3 { margin: 0; font-size: 1.4rem; color: var(--navy-d); }
.form__sub { color: var(--muted); margin: -6px 0 4px; font-size: .94rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--navy-d); }
.form input, .form select, .form textarea { font: 400 1rem var(--font); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #FBFAF8; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--copper); background: #fff; }
.form .form__rgpd { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .86rem; }
.form__rgpd input { width: auto; margin-top: 3px; }
.form__msg { margin: 0; font-weight: 600; }
.form__msg.ok { color: #1E7A44; } .form__msg.err { color: #B3261E; }
.hp { position: absolute; left: -9999px; }

/* texte légal */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--muted); }

/* footer */
.footer { background: var(--navy-d); color: #AEB9CB; padding-top: 70px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; }
.footer h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.footer h4:not(:first-child) { margin-top: 26px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #DCE3EE; text-decoration: none; }
.footer a:hover { color: #F0B47A; }
.footer address { font-style: normal; margin-top: 14px; line-height: 1.8; }
.footer .brand { margin-bottom: 16px; }
.footer__dep { font-size: .88rem; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 50px; padding: 20px 0 24px; font-size: .84rem; }
.mbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .nav, .header__tel { display: none; }
  .burger { display: block; }
  .header__in { position: relative; }
}
@media (max-width: 1080px) {
  .topbar span:nth-child(2) { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .topbar span:first-child { display: none; }
  .topbar__in { justify-content: center; }
  .header__in { min-height: 66px; }
  .brand__mark { width: 42px; height: 42px; }
  .brand__word { font-size: 1.1rem; gap: 7px; }
  .hero::after { background: linear-gradient(180deg, rgba(15, 31, 56, .55) 0%, rgba(15, 31, 56, .9) 55%, rgba(15, 31, 56, .97) 100%); }
  .hero__in, .hero--home .hero__in { padding: 56px 20px 60px; }
  .hero__cta .btn { width: 100%; }
  .section { padding: 60px 0; }
  .grid--2, .grid--3, .grid--4, .plans, .split, .contact, .footer__grid, .form__row { grid-template-columns: 1fr; }
  .split { gap: 28px; }
  .split--rev .split__img { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .trust ul { grid-template-columns: 1fr; gap: 12px; }
  .ctaband__in { flex-direction: column; align-items: stretch; text-align: center; }
  .ctaband__btns .btn { width: 100%; }
  .plans { gap: 30px; }
  .contact__tel { font-size: 1.4rem; }
  .form { padding: 24px 20px; }
  .ptable th, .ptable td { padding: 13px 14px; font-size: .94rem; }
  .ptable td { white-space: normal; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15, 31, 56, .1); }
  .mbar .btn { padding: .85em .6em; }
}

/* pastilles métiers du hero d'accueil */
.hero__chips { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 700px !important; }
.hero__chips a { display: inline-flex; gap: 7px; align-items: center; padding: .45em .95em; border-radius: 999px; background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28); color: #fff; text-decoration: none; font-weight: 700; font-size: .93rem; }
.hero__chips a:hover { background: var(--copper); border-color: var(--copper); }
.hero__chips svg { width: 16px; height: 16px; color: #F0B47A; }
.hero__chips a:hover svg { color: #fff; }
.card p b { color: var(--navy-d); }
.nav__drop:hover .nav__menu--wide, .nav__drop:focus-within .nav__menu--wide { display: grid; grid-template-columns: 1fr 1fr; min-width: 620px; }

/* pages locales */
.local { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.local__txt p { color: var(--muted); }
.local__box { background: #fff; border-radius: 18px; padding: 28px; box-shadow: var(--shadow); position: sticky; top: 100px; }
.local__box .checks { margin-bottom: 18px; }
.local__box p { margin: 0 0 16px; }
.zones--links a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5em 1.1em; font-weight: 600; text-decoration: none; color: var(--navy-d); }
.zones--links a:hover { border-color: var(--copper); color: var(--copper-d); }
.zgroup { margin-bottom: 34px; }
.zgroup h3 { text-align: center; margin-bottom: 16px; }
.minis__title { text-align: center; margin: 40px 0 16px; }
.minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mini { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  text-decoration: none; color: var(--navy-d); font-weight: 600; font-size: .94rem; }
.mini svg { color: var(--copper); }
.mini:hover { border-color: var(--copper); }
.mini--hub { background: var(--navy); color: #fff; border-color: var(--navy); }
.mini--hub svg { color: #F0B47A; }
@media (max-width: 1080px) { .minis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .local { grid-template-columns: 1fr; gap: 28px; } .local__box { position: static; } .minis { grid-template-columns: 1fr; } }
/* en-tête : le logo ne se tasse jamais */
.brand { flex: none; }
.nav { flex: none; }
@media (min-width: 1241px) {
  .brand__mark { width: 46px; height: 46px; }
  .brand__word { font-size: 1.14rem; gap: 8px; }
  .header__tel { padding: .7em 1.1em; font-size: .95rem; }
}
