/* TIBET Fuite (groupe TIBET, cellule de Lyon) — feuille de style unique, mobile d’abord */
:root {
  --blue: #16599D;      /* bleu du logo TIBET */
  --blue-2: #0F4378;
  --cyan: #3B8FD9;
  --teal: #1A6BB8;
  --sky: #EAF2FB;
  --call: #C2410C;
  --call-h: #9A3412;
  --ink: #1B2430;
  --muted: #4A5565;
  --line: #D6DEE8;
  --bg-alt: #F3F7FB;
  --radius: 12px;
  --shadow: 0 6px 20px rgba(11, 45, 91, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: #fff; padding-bottom: 76px; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
h1, h2, h3 { color: var(--blue); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); }
h3, .h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.1rem; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; top: .5rem; }
mark.todo { background: #FFE58F; color: #5A3E00; padding: 0 .2em; border-radius: 3px; font-weight: 600; }
.testbar { background: #FFF4CC; color: #5A3E00; text-align: center; font-size: .85rem; padding: .3rem; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.2rem; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center; }
.btn .ic { width: 20px; height: 20px; flex: none; }
.btn-lg { min-height: 54px; padding: .85rem 1.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-call { background: var(--call); color: #fff; }
.btn-call:hover { background: var(--call-h); color: #fff; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); color: #fff; }
.btn-light { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-light:hover { background: var(--sky); color: var(--blue); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.2rem 0; }
.actions.center { justify-content: center; }
.link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; }
.link .ic { width: 18px; height: 18px; }

/* En-tête */
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: .75rem; min-height: 64px; }
.brand { flex: 1; min-width: 0; }
.brand img { width: 215px; height: auto; }
.header-call, .header-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: .4rem; background: none; border: 2px solid var(--line); border-radius: 10px; padding: .45rem .7rem; font: inherit; font-weight: 700; color: var(--blue); cursor: pointer; min-height: 44px; }
.menu-btn .ic { width: 22px; height: 22px; }
.nav { border-top: 1px solid var(--line); }
.js .nav:not(.open) { display: none; }
.nav ul { list-style: none; margin: 0; padding: .5rem 1.1rem 1rem; }
.nav li a:not(.btn) { display: block; padding: .7rem .2rem; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.nav a[aria-current="page"] { color: var(--teal); }
.nav-cta { margin-top: .8rem; }
.nav-cta .btn { width: 100%; }

/* Barre d'appel collante (mobile) */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem; padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
.callbar .btn { border-radius: 10px; padding: .6rem .5rem; font-size: .98rem; }

/* Héros */
.hero { background: linear-gradient(180deg, var(--sky), #fff); padding: 1.6rem 0 1rem; }
.hero-in { display: grid; gap: 1.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 800; color: var(--teal); margin-bottom: .5rem; }
.lead { font-size: 1.12rem; color: var(--muted); }
.photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sky); }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo figcaption { position: absolute; right: .5rem; bottom: .5rem; background: rgba(0,0,0,.55); color: #fff; font-size: .72rem; padding: .15rem .5rem; border-radius: 99px; }

.checklist { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .55rem; }
.checklist li { display: flex; gap: .55rem; align-items: flex-start; }
.checklist .ic { width: 22px; height: 22px; flex: none; color: #fff; background: var(--teal); border-radius: 50%; padding: 4px; margin-top: .1rem; }

/* Urgences */
.urgences { background: var(--blue); color: #fff; padding: 1.1rem 0; }
.urgences h2 { color: #fff; font-size: 1.15rem; margin-bottom: .6rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a { display: inline-block; padding: .5rem .95rem; border-radius: 99px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); color: #fff; text-decoration: none; font-weight: 600; }
.chips a:hover { background: #fff; color: var(--blue); }

/* Sections */
.section { padding: 2.6rem 0; }
.section.alt { background: var(--bg-alt); }
.cards { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 1rem; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); }
.card h3 a { color: var(--blue); text-decoration: none; }
.card:not(.static) h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card:not(.static):hover { border-color: var(--cyan); }
.card p { color: var(--muted); margin-bottom: .6rem; }
.card-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--sky); color: var(--teal); margin-bottom: .7rem; }
.card-ic .ic { width: 28px; height: 28px; }
.card-ic.big { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1rem; }
.card-ic.big .ic { width: 40px; height: 40px; }
.more { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: var(--teal); font-size: .95rem; }
.more .ic { width: 16px; height: 16px; }
.duo { display: grid; gap: 1rem; }
.panel { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: s; position: relative; padding: 1rem 1rem 1rem 3.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; left: 1rem; top: 1rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps h3 { margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--muted); }
.steps-v li { padding-top: .8rem; padding-bottom: .8rem; }
.steps-v li::before { top: .75rem; }

.refs { text-align: center; }
.refs-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; }
.refs-list li { font-size: 1.35rem; font-weight: 700; color: var(--blue); letter-spacing: .02em; }

.faq details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: .6rem; background: #fff; }
.faq summary { cursor: pointer; padding: .9rem 1rem; font-weight: 700; color: var(--blue); list-style: none; position: relative; padding-right: 2.6rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1rem 1rem; margin: 0; color: var(--muted); }

.cta { background: var(--blue); color: #fff; padding: 2.2rem 0; }
.cta h2 { color: #fff; }
.cta p { color: #D7E6F5; }
.cta .btn-light { border-color: #fff; }

/* Pages intérieures */
.page-head { background: linear-gradient(180deg, var(--sky), #fff); padding: 1.4rem 0 1.6rem; }
.page-head-in { display: grid; gap: 1.5rem; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: .8rem; }
.two-col { display: grid; gap: 2rem; }
.note { background: var(--bg-alt); border-left: 4px solid var(--cyan); padding: .8rem 1rem; border-radius: 6px; color: var(--muted); }
.mini-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.mini-links a { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--blue); font-weight: 600; }
.mini-links .ic { width: 20px; height: 20px; color: var(--teal); }
.mini-links.stacked { flex-direction: column; }
.badge-info { display: inline-block; background: var(--blue); color: #fff; padding: .4rem .9rem; border-radius: 99px; font-weight: 700; font-size: .92rem; }

.price-table { width: 100%; border-collapse: collapse; margin: 0 0 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { background: var(--blue); color: #fff; font-size: .95rem; }
.price-table tbody th { font-weight: 600; }
.price-table td { font-weight: 700; color: var(--blue); }
.plain-list { padding-left: 1.2rem; color: var(--muted); }
.plain-list li { margin-bottom: .5rem; }

.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-list > li > .ic { width: 28px; height: 28px; color: var(--teal); flex: none; }
.contact-list h2 { margin-bottom: .2rem; }
.contact-list p, .contact-list address { margin: 0 0 .3rem; }
.big-tel { font-size: 1.6rem; font-weight: 800; color: var(--call); text-decoration: none; }

.prose h2 { margin-top: 1.8rem; font-size: 1.35rem; }
.prose ul { padding-left: 1.2rem; }

/* Formulaire */
.form fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; }
.form legend, .field > label { display: block; font-weight: 700; color: var(--blue); margin-bottom: .35rem; }
.field { margin-bottom: 1.2rem; }
.field > label .ic { display: inline; width: 20px; height: 20px; vertical-align: -4px; }
.form input[type=text], .form input[type=tel], .form input[type=email], .form select, .form textarea {
  width: 100%; font: inherit; padding: .75rem .85rem; border: 2px solid #9AA9BC; border-radius: 10px; background: #fff; color: var(--ink); min-height: 50px;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--teal); outline: 3px solid rgba(34,184,220,.35); outline-offset: 0; }
.form [aria-invalid="true"] { border-color: #B42318; }
.form input[type=file] { font: inherit; width: 100%; padding: .6rem; border: 2px dashed #9AA9BC; border-radius: 10px; background: var(--bg-alt); }
.radios { display: grid; gap: .5rem; }
.radios.inline { grid-template-columns: repeat(2, minmax(0, 160px)); }
.radio, .check { display: flex; gap: .6rem; align-items: flex-start; padding: .7rem .85rem; border: 2px solid var(--line); border-radius: 10px; cursor: pointer; }
.radio input, .check input { width: 22px; height: 22px; margin: .1rem 0 0; flex: none; accent-color: var(--blue); }
.radio:has(input:checked) { border-color: var(--blue); background: var(--sky); }
.req { color: #B42318; }
.opt { font-weight: 400; color: var(--muted); font-size: .92rem; }
.form-hint { font-size: .92rem; color: var(--muted); }
.field-error { color: #B42318; font-weight: 600; margin: .35rem 0 0; font-size: .95rem; }
.alert { border: 2px solid #B42318; background: #FEF3F2; border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: 1.5rem; }
.alert ul { margin: 0; padding-left: 1.2rem; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.grid-2 { display: grid; gap: 0 1rem; }

/* Pied de page */
.footer { background: #0C2F57; color: #C9D6E6; padding: 2.4rem 0 1rem; font-size: .97rem; }
.footer a { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .35rem; }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-brand { font-size: 1.2rem; font-weight: 800; color: #fff; }
.footer-brand img { width: 240px; height: auto; }
.footer-title { font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.footer-tel { display: inline-flex; align-items: center; gap: .4rem; font-size: 1.2rem; font-weight: 800; text-decoration: none; }
.footer-tel .ic { width: 20px; height: 20px; }
.footer-group { border-top: 1px solid rgba(255,255,255,.15); margin-top: 1.8rem; padding-top: 1.2rem; }
.footer-group ul { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; }
.footer-group li { display: flex; flex-direction: column; }
.footer-group li span, .footer-group li a { font-weight: 700; color: #fff; }
.footer-group li.actuel span { color: #7FD3EC; }
.footer-group small { color: #9FB3CB; font-size: .82rem; }
.agrement { display: flex; gap: .55rem; align-items: center; font-weight: 700; color: var(--blue); background: var(--sky); padding: .7rem 1rem; border-radius: 10px; }
.agrement .ic { width: 22px; height: 22px; flex: none; color: var(--teal); }
.principe { margin-top: 1rem; color: var(--blue); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 1.8rem; padding-top: 1rem; font-size: .85rem; color: #9FB3CB; }

@media (max-width: 639px) {
  .price-table th, .price-table td { display: block; border: 0; padding: .2rem 1rem; }
  .price-table tr { display: block; border-bottom: 1px solid var(--line); padding: .6rem 0; }
  .price-table thead { display: none; }
}

/* Tablette */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .duo { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-addr { grid-template-columns: 2fr 1fr; }
  .radios { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand img { width: 262px; }
}

/* Ordinateur */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .header-call, .header-cta { display: inline-flex; }
  .nav-cta { display: none; }
  .menu-btn { display: none; }
  .nav, .js .nav:not(.open) { display: block; }
  .nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 1rem; margin: 0 auto; padding: .35rem 1.1rem; }
  .nav li a:not(.btn) { border: 0; padding: .5rem 0; font-size: .93rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero-in, .page-head-in { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 2.5rem; }
  .page-head { padding: 2.2rem 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps:not(.steps-v) { grid-template-columns: repeat(3, 1fr); }
  .steps:not(.steps-v) li { padding: 3.6rem 1rem 1rem; }
  .two-col { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .cta-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
  .cta-in .actions { flex: none; margin: 0; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .section { padding: 3.5rem 0; }
}

@media print {
  .header, .callbar, .footer, .cta, .testbar { display: none; }
}

/* =====================================================================
   V6 — touche de design légère sur la présentation d'origine
   (encadrés propres, photos arrondies, rangée de rubriques en onglets)
   Pas de nouvelle structure, pas d'animation.
   ===================================================================== */
:root { --radius: 12px; --shadow: 0 1px 2px rgba(11, 45, 91, .05), 0 4px 16px rgba(11, 45, 91, .08); }

/* Rangée de rubriques du haut : onglets discrets, même disposition */
.nav li a:not(.btn):hover { color: var(--teal); }
@media (min-width: 960px) {
  .nav { background: #F7F9FC; }
  .nav ul { gap: .3rem .35rem; padding: .45rem 1.1rem; }
  .nav li a:not(.btn) { padding: .4rem .65rem; border-radius: 8px; border: 1px solid transparent; color: var(--ink); }
  .nav li a:not(.btn):hover { background: #fff; border-color: var(--line); color: var(--teal); }
  .nav li a[aria-current="page"] { background: #fff; border-color: var(--line); color: var(--teal); box-shadow: inset 0 -2px 0 var(--cyan); }
}

/* Encadrés : fond blanc, bordure fine, ombre douce, coins 12 px */
.card, .panel, .steps li, .faq details, .contact-list li, .mini-links a, .note, .agrement, .alert {
  border-radius: var(--radius);
}
.card, .panel, .steps li, .contact-list li {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.card { padding: 1.5rem; }
.card:not(.static):hover { border-color: var(--cyan); box-shadow: 0 2px 4px rgba(11, 45, 91, .06), 0 10px 26px rgba(11, 45, 91, .12); }
.panel { padding: 1.8rem; }
.steps li { padding-top: 1.1rem; padding-bottom: 1.1rem; }
.faq details { background: #fff; box-shadow: 0 1px 2px rgba(11, 45, 91, .04); }

/* Pages prestation / professionnels : les deux colonnes en encadrés */
.two-col > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.section.alt .two-col > div { background: #fff; }

/* Tarifs : tableaux en encadrés arrondis */
.price-table { border-collapse: separate; border-spacing: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.plain-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem 1.4rem 1rem 2.4rem; }

/* Formulaire dans un encadré */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; }
@media (min-width: 640px) { .form { padding: 2rem; } }

/* Photos : coins arrondis, ombre douce */
.photo { border-radius: var(--radius); box-shadow: 0 2px 6px rgba(11, 45, 91, .08), 0 12px 28px rgba(11, 45, 91, .12); }
@media (min-width: 960px) {
  .nav ul { gap: .2rem; justify-content: space-between; flex-wrap: nowrap; }
  .nav li a:not(.btn) { padding: .38rem .45rem; font-size: .9rem; white-space: nowrap; }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .nav li a:not(.btn) { padding: .38rem .3rem; font-size: .84rem; }
}
@media (min-width: 960px) and (max-width: 1079px) {
  .nav li a:not(.btn) { padding: .38rem .2rem; font-size: .8rem; }
}
.nw { white-space: nowrap; }

/* V7 — astreinte 24 h/24 mise en évidence */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, .22); flex: none; }
.astreinte-badge { display: none; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 700; color: var(--blue); background: #EEF9F1; border: 1px solid #BFE6CB; padding: .35rem .75rem; border-radius: 999px; white-space: nowrap; }
@media (min-width: 1100px) { .astreinte-badge { display: inline-flex; } }
.urg-astreinte { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .95rem; font-weight: 600; color: #D7E6F5; margin-left: .6rem; }
.urg-astreinte a { color: #fff; font-weight: 800; }
.astreinte-line { font-weight: 700; color: var(--ink); }
.footer-astreinte { color: #fff; font-weight: 700; }
@media (max-width: 639px) { .urg-astreinte { display: flex; margin: .35rem 0 0; } }

/* =====================================================================
   TIBET Fuite — marque, pages sans photo, blocs explicatifs (01/11/2026)
   ===================================================================== */
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 118px; height: auto; }
.brand-txt { font-size: .78rem; font-weight: 700; color: var(--blue); line-height: 1.2; border-left: 2px solid var(--line); padding-left: .7rem; max-width: 9.5rem; }
@media (min-width: 640px) { .brand img { width: 150px; } .brand-txt { font-size: .9rem; max-width: none; } }
.footer-brand img { width: 170px; }
.page-head-in.sans-photo { grid-template-columns: 1fr; max-width: 860px; }
.blocs { display: grid; gap: 1rem; }
@media (min-width: 900px) { .blocs { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
.bloc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.bloc p { margin: 0; color: var(--muted); }
.mt { margin-top: 1.6rem; }
.small { font-size: .9rem; color: var(--muted); }
.big-tel { font-size: 1.3rem; font-weight: 800; }
.cta { background: var(--blue); }

/* V2 : message central « On trouve la fuite, on la répare » */
.promesse { padding-top: 2rem; }
.promesse h2 { text-align: center; }
.promesse-etapes { counter-reset: none; }
.promesse-etapes .card { border-top: 4px solid var(--blue); }
.promesse-n { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: .6rem; }
.promesse .note { max-width: 52rem; margin: 0 auto; }
fieldset .radios.types { display: grid; gap: .4rem; }
@media (min-width: 1100px) { .cards.cards-4 { grid-template-columns: repeat(4, 1fr); } }
/* 12/11/2026 : 5 techniques sur une ligne (accueil, page Nos techniques) */
@media (min-width: 1100px) { .cards.cards-5 { grid-template-columns: repeat(5, 1fr); gap: .8rem; } .cards.cards-5 .card { padding-left: .9rem; padding-right: .9rem; } }

/* V3 : familles, zones, tarifs */
.communes { display: flex; flex-wrap: wrap; gap: .4rem .5rem; list-style: none; padding: 0; margin: .5rem 0 1rem; }
.communes li { background: #EEF4FB; color: var(--blue); border-radius: 99px; padding: .3rem .8rem; font-size: .95rem; font-weight: 600; }
.prix-des { font-weight: 700; color: var(--blue); margin-top: .5rem; }
.pros-info { display: block; border-radius: var(--radius); padding: .8rem 1rem; margin: 1rem 0 2rem; }
.pros-info a { color: #fff; text-decoration: underline; }
.zones-sommaire { margin-top: 1rem; }
.zone-accueil { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.zones-sommaire a { background: #EEF4FB; color: var(--blue); border-color: #cfe0f2; }
.zones-sommaire a:hover { background: var(--blue); color: #fff; }

/* =====================================================================
   V6b (02/11/2026, demande de Swil) : mise en page V5 conservée ;
   menu principal plus visible (fond léger, survol, page en cours) ;
   style minimal des pages V6 (déroulement, recrutement), sans illustration.
   ===================================================================== */
@media (min-width: 960px) {
  .nav li a:not(.btn) { background: #fff; border: 1px solid #D6E2F0; color: var(--blue-2); }
  .nav li a:not(.btn):hover, .nav li a:not(.btn):focus-visible { background: #E8F0FA; border-color: var(--cyan); color: var(--blue); }
  .nav li a[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: none; }
  .nav li a[aria-current="page"]:hover { background: var(--blue-2); color: #fff; }
}
@media (max-width: 959px) {
  .nav li a:not(.btn):hover { background: #F2F6FB; }
  .nav li a[aria-current="page"] { color: var(--blue); border-left: 4px solid var(--blue); padding-left: .6rem; background: #F2F6FB; }
}
/* Comment ça marche : étapes numérotées */
.frise { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .8rem; }
.frise-item { display: grid; grid-template-columns: 40px 1fr; gap: .8rem; align-items: start; }
.frise-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; }
.frise-card h3 { margin: .35rem 0 .25rem; }
.frise-card p { margin: 0; }
/* Recrutement : champ CV */
.form input[type=file] { min-height: 50px; }

/* V9 : « Ils nous font confiance » — cartes sobres encadrées comme le menu (bordure fine, survol bleu clair) */
.clients-intro { color: var(--muted); max-width: 46rem; margin: -.3rem 0 1.2rem; }
.clients { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; grid-template-columns: 1fr; }
.client-carte { position: relative; background: #fff; border: 1px solid #D6E2F0; border-radius: 10px; padding: 1rem 1.1rem; transition: background-color .15s, border-color .15s; }
.client-carte:hover, .client-carte:focus-within { background: #E8F0FA; border-color: var(--cyan); }
.client-carte h3 { font-size: 1.02rem; margin: 0 0 .3rem; }
.client-carte h3 a { color: var(--blue); text-decoration: none; }
.client-carte h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.client-carte p { color: var(--muted); margin: 0 0 .5rem; font-size: .95rem; }
.client-carte .more { font-size: .9rem; }
.client-ic { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--sky); color: var(--teal); margin-bottom: .5rem; }
.client-ic .ic { width: 22px; height: 22px; }
@media (min-width: 640px) { .clients { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .clients { grid-template-columns: repeat(4, 1fr); } }
.type-client { margin-top: .8rem; max-width: 26rem; }

/* Tarifs (grille du 12/11/2026) : 4 forfaits croissants en cartes, chacun comprend le précédent */
.forfaits-intro { color: var(--muted); max-width: 46rem; margin: -.2rem 0 1.2rem; }
.forfaits { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 1rem; grid-template-columns: 1fr; counter-reset: none; }
.forfait { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 1.3rem 1.2rem; box-shadow: var(--shadow); min-width: 0; }
.forfait-n { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 800; color: var(--teal); margin: 0 0 .3rem; }
.forfait h3 { margin: 0 0 .4rem; font-size: 1.15rem; overflow-wrap: anywhere; }
.forfait-prix { font-size: 1.45rem; font-weight: 800; color: var(--blue); margin: 0 0 .8rem; line-height: 1.2; }
.forfait-des { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); }
.forfait-prix .nobr { white-space: nowrap; }
.forfait-comprend { font-weight: 700; margin: 0 0 .4rem; color: var(--text, #1f2a37); }
.forfait .checklist { margin: 0; }
.forfait-pro { border-top-color: var(--teal); background: #F7FAFE; }
@media (min-width: 640px) { .forfaits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .forfaits { grid-template-columns: repeat(4, 1fr); gap: .9rem; } .forfait { padding: 1.2rem 1rem; } .forfait h3 { min-height: 2.5em; } }
.forfait-tech { margin-top: 1rem; }

/* ==========================================================================
   13/11/2026 — CHARTE GRAPHIQUE TIBET Fuites (maquette validée par Damien)
   Marine #0f2a47 · bleu #165a9e · ciel #2f7fc0 · police Inter (auto-hébergée, aucun appel à Google)
   Retour arrière : supprimer ce bloc + remettre logo / téléphone / h1 dans config/contenu.php.
   ========================================================================== */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("../fonts/inter-semibold.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("../fonts/inter-bold.woff") format("woff"); }
:root {
  --navy: #0f2a47; --blue: #165a9e; --blue-2: #0f2a47; --cyan: #2f7fc0; --teal: #165a9e; --sky: #eaf3fb;
  --ink: #1d2733; --muted: #22415f; --line: #d5e2ee; --bg-alt: #f2f8fd;
  --call: #165a9e; --call-h: #0f2a47;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --degrade: linear-gradient(105deg, rgba(242,249,254,.93) 0%, rgba(214,234,249,.80) 40%, rgba(150,198,235,.55) 75%, rgba(110,170,220,.35) 100%);
}
h1, h2, h3 { color: var(--navy); letter-spacing: -.01em; }
a { color: var(--blue); } a:hover { color: var(--navy); }
.eyebrow { color: var(--blue); font-weight: 600; letter-spacing: .2em; }
.btn { font-weight: 600; }
.btn-blanc { background: #fff; color: var(--navy); } .btn-blanc:hover { background: var(--sky); color: var(--navy); }
.checklist .ic { background: var(--cyan); }

/* En-tête */
.header { background: rgba(255,255,255,.94); backdrop-filter: saturate(1.2) blur(6px); border-bottom-color: var(--line); }
.brand img { width: 150px; }
@media (min-width: 640px) { .brand img { width: 170px; } }
.brand-txt { color: var(--navy); font-weight: 600; }
.header-call { background: transparent; color: var(--navy); border-color: transparent; font-size: 1.1rem; font-weight: 700; padding-inline: .4rem; }
.header-call:hover { background: var(--sky); color: var(--navy); }
.nav li a:not(.btn) { color: var(--navy); font-weight: 500; }

/* Bandeau d'accueil : photo du bassin + dégradé bleu + gouttes + vague */
.hero-charte { position: relative; overflow: hidden; padding: 2.4rem 0 5.5rem; background: var(--degrade), url("../charte/fond-bassin.jpg") center 40% / cover; }
.hero-gouttes, .cta-gouttes { position: absolute; inset: 0; background: url("../charte/gouttes-hero.svg") 0 0 / 100% 100% no-repeat; pointer-events: none; }
.cta-gouttes { background-image: url("../charte/gouttes-cta.svg"); }
.hero-charte .hero-in { position: relative; display: grid; gap: 2rem; align-items: center; }
.hero-charte h1 { font-size: clamp(2rem, 5.2vw, 3.25rem); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; margin: .4rem 0 1rem; }
.hero-charte .lead { color: var(--muted); font-size: 1.15rem; max-width: 620px; }
.hero-tel { display: inline-flex; align-items: center; gap: .5rem; color: var(--navy); font-weight: 700; font-size: 1.6rem; text-decoration: none; }
.hero-tel .ic { width: 26px; height: 26px; }
.hero-charte .actions { align-items: center; gap: .9rem 1.4rem; }
.hero-marque { display: flex; flex-direction: column; align-items: center; gap: .25rem; text-align: center; }
.hero-marque img { width: 340px; max-width: 90%; }
.hero-marque p { margin: 0; font-size: .9rem; color: #3d5a77; }
.hero-loupe { width: 100%; max-width: 440px; height: 210px; opacity: .92; background: url("../charte/fuite-loupe.jpg") center 60% / cover;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 40%, rgba(0,0,0,.5) 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 40%, rgba(0,0,0,.5) 70%, transparent 100%); }
.vague { position: absolute; left: 0; width: 100%; display: block; }
.vague-bas { bottom: -1px; height: 70px; }
.vague-haut { top: -1px; height: 60px; }
@media (min-width: 960px) {
  .hero-charte { padding: 4.5rem 0 7.5rem; }
  .hero-charte .hero-in { grid-template-columns: 1.6fr 1fr; gap: 2.5rem; }
}
@media (max-width: 639px) { .hero-marque { display: none; } .hero-tel { font-size: 1.35rem; } }

/* Ils nous font déjà confiance */
.logos-confiance { padding: .5rem 0 2.2rem; }
.logos-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.2rem; }
.logos-t { width: 100%; text-align: center; margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
@media (min-width: 960px) { .logos-t { width: auto; margin-right: .5rem; } }
.logo-pastille { background: #fff; border-radius: 14px; box-shadow: 0 2px 8px rgba(15,42,71,.12); height: 64px; padding: 0 18px; display: flex; align-items: center; }
.logo-pastille img { max-height: 42px; max-width: 140px; width: auto; }

/* Forfait contrôle préventif */
.preventif-wrap { padding: 0 0 2.6rem; }
.preventif { background: var(--navy); color: #fff; border-radius: 22px; padding: 2rem; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: space-between; }
.preventif > div { flex: 999 1 420px; min-width: 0; }
.preventif h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: .3rem 0 .6rem; }
.preventif p { color: #d6e6f5; margin: 0; }
.preventif .eyebrow { color: #9cc8ee; }

/* Cartes et sections aux couleurs de la charte */
.card { border: 0; border-top: 4px solid var(--cyan); background: linear-gradient(180deg, #f2f8fd, #e3f0fa); border-radius: 16px; box-shadow: none; }
.card h3 a { color: var(--navy); }
.urgences { background: var(--navy); }

/* Bandeau d'appel (toutes les pages) : photo + dégradé + gouttes + vague */
.cta-charte { position: relative; overflow: hidden; background: var(--degrade), url("../charte/fond-piscine.jpg") center 45% / cover; padding: 5.5rem 0 2.5rem; }
.ctac-in { position: relative; display: grid; gap: 1.8rem; align-items: end; }
.cta-charte h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-bottom: .5rem; }
.cta-charte p { color: var(--muted); }
.cta-coord { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; align-items: flex-end; }
.cta-lab { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.cta-tel { font-size: clamp(1.8rem, 4.5vw, 2.4rem); font-weight: 700; color: var(--navy); text-decoration: none; }
.cta-mail { font-size: 1.2rem; font-weight: 600; }
.cta-marque img { width: 260px; max-width: 80%; }
.cta-marque p { margin: .5rem 0 0; font-size: .9rem; line-height: 1.6; color: var(--muted); }
@media (min-width: 960px) { .ctac-in { grid-template-columns: 1.6fr 1fr; } .cta-marque { text-align: right; } .cta-marque img { margin-left: auto; } }

/* Pied de page marine */
.footer { background: var(--navy); }
@media (max-width: 639px) {
  .brand-txt { display: none; }
  .hero-charte { padding-top: 1.6rem; }
  .hero-charte .lead { font-size: 1.02rem; }
  .hero-charte .eyebrow { letter-spacing: .12em; }
  .callbar .btn-call { background: #fff; color: var(--navy); border-color: var(--blue); }
}

/* Bloc d'appel des pages (partials.php > cta()) : carte marine arrondie, comme le forfait préventif */
.cta { background: transparent; color: #fff; padding: 0 0 2.6rem; }
.cta .cta-in { background: var(--navy); border-radius: 22px; padding: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.cta .cta-in > div:first-child { flex: 999 1 420px; min-width: 0; }
.cta h2 { color: #fff; } .cta p { color: #d6e6f5; margin: 0; }
.cta .btn-call { background: #fff; color: var(--navy); } .cta .btn-call:hover { background: var(--sky); }
.cta .btn-light { background: transparent; color: #fff; border-color: #fff; } .cta .btn-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.footer-brand img { width: 200px; }

/* 13/11/2026 — Nos interventions : galerie de vraies photos de chantier, légendées */
.interv-grille { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin: 1.5rem 0; }
@media (min-width: 640px) { .interv-grille { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .interv-grille { grid-template-columns: repeat(3, 1fr); } }
.interv { margin: 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 10px rgba(15,42,71,.10); display: flex; flex-direction: column; }
.interv[hidden] { display: none; }
.interv-img { position: relative; display: block; }
.interv-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.interv-badge { position: absolute; left: .6rem; right: .6rem; bottom: .6rem; background: rgba(15,42,71,.82); color: #fff; font-size: .82rem; font-weight: 600; padding: .35rem .65rem; border-radius: 8px; line-height: 1.3; }
.interv figcaption { padding: .9rem 1rem 1.1rem; display: grid; gap: .25rem; font-size: .95rem; color: var(--muted); }
.interv figcaption strong { color: var(--navy); font-size: 1rem; }
.interv-lieu { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.interv-filtres { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-f { border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: .5rem 1rem; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; }
.chip-f.actif { background: var(--navy); color: #fff; border-color: var(--navy); }
/* Bandeau de la charte (fond bassin) en tête des pages intérieures */
.hero-page { padding: 2.2rem 0 4.5rem; }
.hero-page .hero-in { grid-template-columns: 1fr !important; }
.hero-page h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
@media (min-width: 960px) { .hero-page { padding: 3.5rem 0 6rem; } }
.interv-page { padding-top: 1rem; }
.nav a[aria-current="page"], .nav a[aria-current="page"]:hover { color: #fff !important; }

/* 13/11/2026 (Damien) : bandeau de la charte en haut de TOUTES les pages intérieures (.page-head) — fond bassin, dégradé, gouttes, vague */
.page-head { position: relative; overflow: hidden; background: var(--degrade), url("../charte/fond-bassin.jpg") center 40% / cover; padding: 2.2rem 0 4.6rem; }
.page-head::before { content: ""; position: absolute; inset: 0; background: url("../charte/gouttes-hero.svg") 0 0 / 100% 100% no-repeat; pointer-events: none; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 210 14' preserveAspectRatio='none'%3E%3Cpath d='M0 14 L0 6 C 55 15, 140 15, 210 2 L210 14 Z' fill='%23ffffff'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.page-head > * { position: relative; z-index: 1; }
.page-head h1 { color: var(--navy); }
.page-head .lead { color: var(--muted); }
@media (min-width: 960px) { .page-head { padding: 3.2rem 0 6rem; } }
