/* ==========================================================================
   Conciergerie d'Oran — couche commune chargée en dernier
   Corrige la mise en page mobile des feuilles existantes et ajoute les
   composants : en-tête, prise de rendez-vous, devis, pages légales,
   bandeau cookies.
   ========================================================================== */

:root {
  --primary-color: rgb(14, 49, 83);
  --accent-color: rgb(230, 158, 66);
  --navy: rgb(14, 49, 83);
  --navy-rgb: 14, 49, 83;
  --accent: rgb(230, 158, 66);
  --accent-dark: #b9741f;
  --cream: #FFFCF6;
  --sand: #FAF0E0;
  --ink: #2c3440;
  --muted: #6b7280;
  --line: #e9dfcf;
  --radius: 14px;
  --header-h: 96px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body { color: var(--ink); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(230, 158, 66, .7); outline-offset: 2px; border-radius: 4px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* Puces des listes (remplace l'icône Font Awesome, plus chargée) */
.fa-solid.fa-circle { display: inline-block; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header { transition: box-shadow .3s ease, padding .3s ease; padding: .75rem var(--gutter); gap: 1rem; flex-wrap: nowrap; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(14, 49, 83, .08); }
.logo-link { display: inline-flex; flex-shrink: 0; }
.logo { width: 180px; height: 72px; object-fit: contain; }

.nav-wrapper nav a, .dropdown-trigger { font-size: 1.02rem; }
nav a.is-current { color: var(--accent); }
.dropdown-trigger {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer;
  color: var(--primary-color); padding: .5rem; font-family: 'El Messiri', sans-serif; transition: color .3s;
}
.dropdown-trigger:hover, .dropdown.open .dropdown-trigger { color: var(--accent); }
.dropdown-trigger svg { transition: transform .25s; }
.dropdown.open .dropdown-trigger svg { transform: rotate(180deg); }
.dropdown-content { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.dropdown:focus-within .dropdown-content { display: block; opacity: 1; transform: none; pointer-events: auto; }

/* Bouton burger */
.menu-toggle { width: 44px; height: 44px; padding: 0; position: relative; border-radius: 10px; }
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .3s, opacity .3s, top .3s;
}
.menu-toggle-bars { top: 21px; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ''; left: 0; right: 0; }
.menu-toggle-bars::before { top: -7px; }
.menu-toggle-bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1180px) and (min-width: 993px) {
  .nav-wrapper nav { gap: .25rem; }
  .nav-wrapper nav a, .dropdown-trigger { font-size: .95rem; padding: .5rem .35rem; }
  .logo { width: 150px; height: 60px; }
  .btn-devis { padding: .8rem 1rem; }
}

@media (max-width: 992px) {
  :root { --header-h: 76px; }
  .site-header { flex-wrap: wrap; }
  .logo { width: 140px; height: 56px; }
  .nav-wrapper {
    padding: 0 var(--gutter);
    max-height: 0; box-shadow: 0 18px 30px rgba(14, 49, 83, .08);
    border-bottom: 1px solid transparent;
  }
  .nav-wrapper.active { max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: .5rem var(--gutter) 1.25rem; border-bottom-color: var(--line); }
  .nav-wrapper nav a, .dropdown-trigger { width: 100%; padding: .85rem 0; border-bottom: 1px solid rgba(14, 49, 83, .07); font-size: 1.1rem; }
  .dropdown-trigger { justify-content: space-between; }
  .dropdown-content { border: 0; background: transparent; min-width: 0; }
  .dropdown:hover .dropdown-content { display: none; }
  .dropdown.open .dropdown-content, .dropdown:focus-within .dropdown-content { display: block; }
  .dropdown-content a { padding: .7rem 0 .7rem 1rem !important; }
  .btnd { display: inline-block; margin: .75rem 0 .25rem; padding: .85rem 1.2rem; border-radius: 10px; color: #fff !important; text-align: center; width: 100%; }
  .btnd:hover { color: #fff; }
  body.menu-open { overflow: hidden; }
}

/* ==========================================================================
   Bandeaux (hero) : voile pour la lisibilité, hauteur adaptée au mobile
   ========================================================================== */
.hero { height: auto; min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--navy-rgb), .55) 0%, rgba(var(--navy-rgb), .25) 55%, rgba(var(--navy-rgb), .45) 100%); }
.hero .ligne { margin-bottom: 1.5rem; height: auto; width: 160px; }
.hero h2 { margin-top: 0; font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.15; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.hero p { font-size: clamp(1.02rem, 2.2vw, 1.25rem); text-shadow: 0 1px 12px rgba(0, 0, 0, .3); }
.btn-hero { opacity: 1; top: 0; display: inline-block; margin-top: .5rem; backdrop-filter: blur(3px); }
.btn-hero:hover { background-color: rgba(255, 255, 255, .14); }
.hero-small { min-height: 58vh; min-height: 58svh; }

/* ==========================================================================
   Titres et sections : tailles fluides, marges réduites sur mobile
   ========================================================================== */
.about-container .about-left h1, .services h1, .processus h1, .engagements h1, .testimonial-carousel h1,
.menage-intro h1, .services-menage h1, .prendre-rdv h1, .btp-item .intro h1, .cta-box h1, .section-title {
  font-size: clamp(1.75rem, 4.2vw, 3rem); line-height: 1.2;
}
.services h1, .processus h1, .engagements h1, .testimonial-carousel h1 { margin-top: 0; }

@media (max-width: 768px) {
  .about, .services, .processus, .engagements, .gallery, .testimonial-carousel, .menage-intro,
  .services-menage, .cta-menage, .btp, .btp-avantages { padding-left: var(--gutter); padding-right: var(--gutter); padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .menage-intro p { font-size: 1.05rem; }
  .about-container { gap: 2rem; }
  .about-container .about-left h1 { margin-top: 0; }
  .about-right img { max-height: 420px; width: 100%; object-fit: cover; border-radius: var(--radius); }
  .service-card img { height: 220px; }
  .gallery-main img { height: 260px; }
  .gallery-row img { height: 200px; }
  .cta-box { max-width: 100%; padding: 2.5rem 1.25rem; border-radius: var(--radius); }
  .btp-container2 { gap: 2rem; }
  .btp-circle { width: 110px; height: 110px; font-size: 2.6rem; }
  .services-menage h1 { margin-bottom: 1.5rem; }
  .services-menage .service-item { padding: 1rem; }
}

/* Processus : frise lisible sur mobile, sans flottement permanent */
.timeline--entry { animation: none; opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; border-radius: 10px; }
.timeline--entry.visible { opacity: 1; transform: none; }
@media (max-width: 767px) {
  .wrapper { padding: 1em 1rem 1em 4.25rem; margin: 2rem auto; }
  .timeline:before { left: -2.4em; width: 6px; }
  .timeline--entry { margin-bottom: 1.5rem; }
  .timeline--entry:before { left: -3.6em; width: 2.6em; height: 2.6em; }
  .timeline--entry__title { font-size: 1.2rem; padding: .8em 1em .2em; }
}

.floaty { animation: none; }
@media (prefers-reduced-motion: no-preference) and (min-width: 769px) {
  .floaty { animation: float 4s ease-in-out infinite; }
}

/* Animations d'apparition (gérées par js/site.js) */
.animate-up { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.animate-up.active { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .animate-left, .animate-right, .animate-up, .animate-on-scroll, .timeline--entry { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-content { animation: none; }
}

/* Cartes services (accueil) */
.services-grid > a { color: inherit; display: block; border-radius: var(--radius); }
.service-card { height: 100%; border-radius: var(--radius); }
.service-card h3, .service-card p { padding: 0 1.5rem; }
.service-card p { padding-bottom: 1.5rem; }
.service-card img { margin-bottom: 1.25rem; }

/* Avis clients */
.carousel-wrapper { padding: 0 3rem; }
.testimonial-avatar { width: 60px; height: 60px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--sand); color: var(--navy); font-family: 'El Messiri', sans-serif; font-size: 1.6rem; font-weight: 700; flex-shrink: 0; }
.testimonial-role { color: var(--muted); font-size: .9rem; margin: 0; font-family: 'PT Sans', sans-serif; }
.testimonial-name { margin: 0 0 .1rem; }
.carousel-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(14, 49, 83, .12); padding: 0; }
.carousel-btn.left { left: 0; }
.carousel-btn.right { right: 0; }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 1rem; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: #d9cdb8; cursor: pointer; transition: background .3s, transform .3s; }
.carousel-dots button[aria-current="true"] { background: var(--accent); transform: scale(1.25); }
@media (max-width: 600px) {
  .carousel-wrapper { padding: 0; }
  .carousel-btn { display: none; }
}

/* Pied de page */
.footer-column a, .footer-link-btn { display: block; color: #ddd; text-decoration: none; margin-bottom: .6rem; font-family: 'PT Sans', sans-serif; transition: color .2s; }
.footer-column a:hover, .footer-link-btn:hover { color: var(--accent); }
.footer-column p a { display: inline; margin: 0; }
.footer-link-btn { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font-size: .95rem; }
.footer-column p { display: flex; gap: .55rem; align-items: flex-start; }
.footer-column .ico { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 3px; fill: var(--accent); }
.footer-hours { color: #bbb !important; font-style: italic; }
.footer-socials { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .8rem; }
.footer-socials a { margin: 0; color: var(--accent); }
.footer-logo { width: 150px; height: auto; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
@media (max-width: 600px) {
  .site-footer { padding: 3rem var(--gutter) 1.5rem; }
  .footer-container { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-logo { width: 110px; }
}

/* Bouton WhatsApp flottant */
.whatsapp-fab { position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #25d366; color: #fff; box-shadow: 0 10px 25px rgba(0, 0, 0, .18); transition: transform .2s; }
.whatsapp-fab:hover { transform: scale(1.06); }
.whatsapp-fab svg { width: 30px; height: 30px; }

/* ==========================================================================
   Éléments de formulaire communs
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: .4rem; text-align: left; }
.field label, .field-label { font-weight: 700; color: var(--navy); font-family: 'PT Sans', sans-serif; font-size: .95rem; }
.field .req { color: #c0392b; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; font: inherit; font-family: 'PT Sans', sans-serif; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #d8cfc0; border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(230, 158, 66, .2); }
.field.has-error input, .field.has-error textarea { border-color: #c0392b; }
.field-error { color: #b42318; font-size: .88rem; font-family: 'PT Sans', sans-serif; }
.field-hint { color: var(--muted); font-size: .85rem; font-family: 'PT Sans', sans-serif; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.field-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } }

.consent { display: flex; gap: .7rem; align-items: flex-start; text-align: left; font-family: 'PT Sans', sans-serif; font-size: .92rem; color: #4b5563; line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.consent a { color: var(--navy); }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }

.btn-primary-oran {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: 1rem 2rem; border: 0; border-radius: 12px;
  background: var(--navy); color: #fff; font-family: 'PT Sans', sans-serif; font-size: 1.05rem; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: background .2s, transform .2s, opacity .2s;
}
.btn-primary-oran:hover { background: rgba(var(--navy-rgb), .9); }
.btn-primary-oran:active { transform: translateY(1px); }
.btn-primary-oran:disabled { opacity: .55; cursor: not-allowed; }
.btn-outline-oran { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 12px; border: 1px solid var(--navy); color: var(--navy); text-decoration: none; font-weight: 700; font-family: 'PT Sans', sans-serif; background: transparent; cursor: pointer; }
.btn-outline-oran:hover { background: rgba(var(--navy-rgb), .05); }

.notice { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: var(--radius); font-family: 'PT Sans', sans-serif; text-align: left; line-height: 1.55; }
.notice-success { background: #ecf8f0; border: 1px solid #b7e3c7; color: #14532d; }
.notice-error { background: #fdf0ef; border: 1px solid #f3c2bd; color: #7f1d1d; }
.notice svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
.notice ul { margin: .35rem 0 0; padding-left: 1.1rem; }

/* ==========================================================================
   Page Contact & prise de rendez-vous
   ========================================================================== */
.contact-cards { max-width: 1200px; margin: 0 auto; padding: 3.5rem var(--gutter) 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: center; padding: 1.25rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
a.contact-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(14, 49, 83, .08); }
.contact-card img { width: 26px; height: 26px; object-fit: contain; }
.contact-card-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--sand); display: flex; align-items: center; justify-content: center; }
.contact-card-label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: 'PT Sans', sans-serif; }
.contact-card-value { display: block; color: var(--navy); font-weight: 700; font-family: 'PT Sans', sans-serif; word-break: break-word; }

.booking { max-width: 1200px; margin: 0 auto; padding: 3rem var(--gutter) 5rem; }
.booking-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.booking-head .eyebrow { color: var(--accent); font-family: 'PT Sans', sans-serif; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; }
.booking-head h1 { color: var(--navy); margin: .3rem 0 .6rem; }
.booking-head p { color: #555; font-size: 1.08rem; line-height: 1.6; }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; }
@media (max-width: 960px) { .booking-layout { grid-template-columns: 1fr; } }

.booking-step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.25rem, 3vw, 2rem); margin-bottom: 1.25rem; transition: opacity .3s; }
.booking-step.is-locked { opacity: .5; }
.booking-step.is-locked .step-body { pointer-events: none; }
.step-title { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.25rem; font-family: 'El Messiri', sans-serif; color: var(--navy); font-size: 1.35rem; }
.step-num { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; font-family: 'PT Sans', sans-serif; font-size: 1rem; font-weight: 700; }
.booking-step.is-done .step-num { background: #1e8e4e; }
.booking-step.is-done .step-num::after { content: '✓'; }
.booking-step.is-done .step-num span { display: none; }

.service-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .75rem; }
.service-choice { position: relative; }
.service-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.service-choice label { display: flex; align-items: center; gap: .7rem; height: 100%; padding: 1rem; border: 1.5px solid #e2d8c7; border-radius: 12px; cursor: pointer; font-family: 'PT Sans', sans-serif; font-weight: 700; color: var(--navy); transition: border-color .2s, background .2s, box-shadow .2s; }
.service-choice label img { width: 30px; height: 30px; object-fit: contain; }
.service-choice input:checked + label { border-color: var(--accent); background: #fff8ee; box-shadow: 0 0 0 3px rgba(230, 158, 66, .18); }
.service-choice input:focus-visible + label { outline: 3px solid rgba(230, 158, 66, .7); outline-offset: 2px; }

.cal { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.cal-head h3 { margin: 0; font-family: 'El Messiri', sans-serif; color: var(--navy); font-size: 1.25rem; text-transform: capitalize; }
.cal-nav { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { text-align: center; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: .3rem 0; font-family: 'PT Sans', sans-serif; }
.cal-day { aspect-ratio: 1 / 1; max-height: 58px; width: 100%; border: 1px solid transparent; border-radius: 10px; background: #f4f1ec; color: #b4aca0; font-family: 'PT Sans', sans-serif; font-size: 1rem; cursor: default; display: flex; align-items: center; justify-content: center; position: relative; }
.cal-day.is-available { background: #fff; border-color: #e2d8c7; color: var(--navy); font-weight: 700; cursor: pointer; transition: border-color .2s, background .2s; }
.cal-day.is-available::after { content: ''; position: absolute; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: #1e8e4e; }
.cal-day.is-available:hover { border-color: var(--accent); }
.cal-day.is-selected { background: var(--navy) !important; border-color: var(--navy) !important; color: #fff !important; }
.cal-day.is-selected::after { background: var(--accent); }
.cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--accent); }
.cal-day.is-empty { background: transparent; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .9rem; font-size: .85rem; color: var(--muted); font-family: 'PT Sans', sans-serif; }
.cal-legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.cal-legend .lg-free::before { background: #fff; border: 1px solid #e2d8c7; box-shadow: inset 0 -3px 0 #1e8e4e; }
.cal-legend .lg-off::before { background: #f4f1ec; }

.slots { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px dashed var(--line); }
.slots-title { font-family: 'PT Sans', sans-serif; font-weight: 700; color: var(--navy); margin: 0 0 .75rem; }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: .5rem; }
.slot { padding: .7rem .4rem; border-radius: 10px; border: 1.5px solid #e2d8c7; background: #fff; color: var(--navy); font-family: 'PT Sans', sans-serif; font-weight: 700; font-size: 1rem; cursor: pointer; transition: border-color .2s, background .2s; }
.slot:hover:not(:disabled) { border-color: var(--accent); }
.slot[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.slot:disabled { background: #f4f1ec; color: #b4aca0; border-color: transparent; text-decoration: line-through; cursor: not-allowed; }
.booking-empty { padding: 1.25rem; background: var(--sand); border-radius: 12px; color: #5b4a2e; font-family: 'PT Sans', sans-serif; line-height: 1.55; }

.booking-summary { position: sticky; top: calc(var(--header-h) + 16px); background: var(--navy); color: #fff; border-radius: 18px; padding: 1.75rem; }
.booking-summary h2 { font-family: 'El Messiri', sans-serif; font-size: 1.35rem; margin: 0 0 1.1rem; color: #fff; }
.summary-row { display: flex; gap: .8rem; padding: .75rem 0; border-top: 1px solid rgba(255, 255, 255, .12); font-family: 'PT Sans', sans-serif; }
.summary-row:first-of-type { border-top: 0; }
.summary-row dt { color: rgba(255, 255, 255, .6); width: 90px; flex-shrink: 0; font-size: .9rem; }
.summary-row dd { margin: 0; font-weight: 700; }
.summary-row dd.is-empty { color: rgba(255, 255, 255, .4); font-weight: 400; font-style: italic; }
.summary-perks { list-style: none; margin: 1.25rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: .6rem; font-family: 'PT Sans', sans-serif; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.summary-perks li { display: flex; gap: .55rem; }
.summary-perks li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.summary-call { margin-top: 1.25rem; font-size: .9rem; color: rgba(255, 255, 255, .7); font-family: 'PT Sans', sans-serif; }
.summary-call a { color: #fff; font-weight: 700; }
@media (max-width: 960px) { .booking-summary { position: static; order: -1; } .booking-summary .summary-perks, .booking-summary .summary-call { display: none; } }

.booking-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.booking-submit .btn-primary-oran { min-width: 260px; }
@media (max-width: 640px) { .booking-submit .btn-primary-oran { width: 100%; min-width: 0; } }

.booking-success { max-width: 720px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.75rem, 5vw, 3rem); }
.booking-success .check { width: 72px; height: 72px; border-radius: 50%; background: #ecf8f0; color: #1e8e4e; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.booking-success .check svg { width: 36px; height: 36px; }
.booking-success h2 { font-family: 'El Messiri', sans-serif; color: var(--navy); font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 .5rem; }
.booking-success p { color: #555; font-size: 1.05rem; line-height: 1.6; font-family: 'PT Sans', sans-serif; }
.booking-success .when { display: inline-block; margin: 1rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--accent); background: #faf6ef; border-radius: 10px; color: var(--navy); font-weight: 700; font-size: 1.15rem; }
.booking-success .actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.25rem; }

.map-section { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter) 5rem; }
.map-frame { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; min-height: 320px; background: #eee6d8; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Page devis
   ========================================================================== */
.devis-page { max-width: 1100px; margin: 0 auto; padding: 4rem var(--gutter) 5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 2.5rem; align-items: start; }
.devis-aside h1 { color: var(--navy); margin: .2rem 0 1rem; }
.devis-aside .eyebrow { color: var(--accent); font-family: 'PT Sans', sans-serif; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; }
.devis-aside p { color: #555; line-height: 1.7; font-family: 'PT Sans', sans-serif; font-size: 1.05rem; }
.devis-steps { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; counter-reset: s; }
.devis-steps li { display: flex; gap: .9rem; align-items: flex-start; font-family: 'PT Sans', sans-serif; color: #444; line-height: 1.5; }
.devis-steps li::before { counter-increment: s; content: counter(s); width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--sand); color: var(--navy); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.devis-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.25rem, 3.5vw, 2.25rem); display: grid; gap: 1.25rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-check label { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px; border: 1.5px solid #e2d8c7; background: #fff; cursor: pointer; font-family: 'PT Sans', sans-serif; color: var(--navy); font-size: .95rem; transition: all .2s; }
.chip-check label::before { content: '+'; font-weight: 700; color: var(--accent); }
.chip-check input:checked + label { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip-check input:checked + label::before { content: '✓'; color: var(--accent); }
.chip-check input:focus-visible + label { outline: 3px solid rgba(230, 158, 66, .7); outline-offset: 2px; }
@media (max-width: 860px) { .devis-page { grid-template-columns: 1fr; padding-top: 2.5rem; gap: 1.5rem; } }

/* ==========================================================================
   Pages légales
   ========================================================================== */
.legal { max-width: 860px; margin: 0 auto; padding: calc(var(--header-h) + 3rem) var(--gutter) 5rem; font-family: 'PT Sans', sans-serif; color: #3a3f47; line-height: 1.75; }
.legal .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; }
.legal h1 { font-family: 'El Messiri', sans-serif; color: var(--navy); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin: .3rem 0 .5rem; }
.legal .updated { color: var(--muted); font-size: .95rem; margin-bottom: 2.5rem; }
.legal h2 { font-family: 'El Messiri', sans-serif; color: var(--navy); font-size: 1.5rem; margin: 2.5rem 0 .75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.legal h3 { color: var(--navy); font-size: 1.1rem; margin: 1.5rem 0 .4rem; }
.legal a { color: var(--navy); text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: .5rem 1.25rem; margin: 0; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; color: var(--ink); font-weight: 700; }
.legal .table-wrap { overflow-x: auto; margin: 1rem 0; border: 1px solid var(--line); border-radius: 12px; }
.legal table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: #faf6ef; color: var(--navy); }
.legal tr:last-child td { border-bottom: 0; }
.legal code { background: #f4efe6; padding: 1px 6px; border-radius: 5px; font-size: .9em; }
.legal .callout { background: var(--sand); border-radius: 12px; padding: 1rem 1.25rem; margin: 1.25rem 0; }
@media (max-width: 640px) { .legal dl { grid-template-columns: 1fr; gap: 0; } .legal dd { margin-bottom: .75rem; } }

/* ==========================================================================
   Bandeau cookies
   ========================================================================== */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500; max-width: 780px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; padding: 1.25rem 1.4rem; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(14, 49, 83, .18);
  font-family: 'PT Sans', sans-serif; font-size: .93rem; line-height: 1.6; color: #4b5563;
  animation: cookie-in .45s cubic-bezier(.215, .61, .355, 1);
}
.cookie-banner[hidden] { display: none; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } }
.cookie-banner-text { flex: 1 1 340px; }
.cookie-banner-text strong { display: block; color: var(--navy); font-family: 'El Messiri', sans-serif; font-size: 1.1rem; margin-bottom: .15rem; }
.cookie-banner a { color: var(--navy); }
.cookie-banner-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-btn { padding: .75rem 1.25rem; border-radius: 10px; cursor: pointer; border: 1px solid var(--navy); background: #fff; color: var(--navy); font-family: 'PT Sans', sans-serif; font-weight: 700; font-size: .95rem; text-decoration: none; }
.cookie-btn:hover { background: rgba(var(--navy-rgb), .05); }
.cookie-btn-primary { background: var(--navy); color: #fff; }
.cookie-btn-primary:hover { background: rgba(var(--navy-rgb), .9); }
@media (max-width: 600px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 1.1rem; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn { flex: 1; }
}
.consent-placeholder { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1.5rem; text-align: center; background: #f4efe6; color: #4b5563; font-family: 'PT Sans', sans-serif; }
.consent-placeholder strong { color: var(--navy); font-family: 'El Messiri', sans-serif; font-size: 1.15rem; }
.consent-placeholder .consent-actions { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
body:has(.cookie-banner:not([hidden])) .whatsapp-fab { bottom: 150px; }
