/* Style interface */
/* Style interface */

:root{--yellow:#ffc400;--yellow2:#ffd23d;--panel:rgba(9,9,9,.78);--text:#fff;--muted:#d6d6d6;--container:min(1240px,calc(100% - 40px));--shadow:0 20px 55px rgba(0,0,0,.35)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#fff;background:#080808}
body::before{content:"";position:fixed;inset:0;z-index:-3;background-position:center;background-size:cover;transform:scale(1.015)}
body::after{content:"";position:fixed;inset:0;z-index:-2;background:radial-gradient(circle at 50% 42%,rgba(0,0,0,.04),rgba(0,0,0,.23) 50%,rgba(0,0,0,.55)),linear-gradient(180deg,rgba(0,0,0,.34),rgba(0,0,0,.48))}
.page-home::before{background-image:url("assets/bg-home.jpg")}.page-bons-reductions-concours::before{background-image:url("assets/bg-bons-reductions-concours.jpg")}.page-covoiturage::before{background-image:url("assets/bg-covoiturage.jpg")}.page-partenaires::before{background-image:url("assets/bg-partenaires.jpg")}.page-services-entraide::before{background-image:url("assets/bg-services-entraide.jpg")}.page-sorties-opportunites::before{background-image:url("assets/bg-sorties-opportunites.jpg")}.page-proposer-reduction-concours::before{background-image:url("assets/bg-proposer-reduction-concours.jpg")}.page-apropos::before{background-image:url("assets/bg-apropos.jpg")}.page-contact::before{background-image:url("assets/bg-contact.jpg")}
a{color:inherit}img{max-width:100%;display:block}button,input,select,textarea{font:inherit}
.site-header{position:sticky;top:0;z-index:50;background:rgba(7,7,7,.66);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.06)}
.header-inner{width:var(--container);min-height:78px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-weight:900}.brand img{width:48px;height:48px;border-radius:50%;object-fit:cover;box-shadow:0 8px 20px rgba(0,0,0,.3)}.brand span{font-size:17px}
.main-nav{display:flex;align-items:center;gap:16px}.main-nav a{text-decoration:none;font-size:14px;font-weight:800}.main-nav>a:not(.nav-cta){padding:10px 4px}.main-nav>a:not(.nav-cta):hover{color:var(--yellow)}
.nav-cta{min-height:42px;padding:0 16px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center}.nav-cta.primary{background:var(--yellow);color:#111}.nav-cta.primary:hover{background:var(--yellow2)}.nav-cta.secondary{border:1px solid rgba(255,196,0,.72);background:rgba(0,0,0,.25)}
.menu-toggle{display:none;width:44px;height:44px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#fff;font-size:22px}
.container{width:var(--container);margin:auto}
.home-hero{min-height:calc(100vh - 78px);display:grid;place-items:center;padding:16px 20px 44px}.home-wheel{width:min(760px,86vw,82vh);min-width:440px}.service-wheel{display:block;width:100%;filter:drop-shadow(0 24px 44px rgba(0,0,0,.42))}
.sector{stroke:#e3ab00;stroke-width:6;transition:.18s;transform-origin:500px 500px}.sector-yellow{fill:rgba(255,196,0,.97)}.sector-dark{fill:rgba(12,12,12,.95)}.wheel-link:hover .sector{transform:scale(1.012);filter:brightness(1.1)}.icon-dark{color:#0c0c0c}.icon-light{color:#fff}.sector-label{font-size:25px;font-weight:900}.dark{fill:#111}.light{fill:#fff}.hub{fill:rgba(250,250,247,.98);stroke:rgba(255,196,0,.95);stroke-width:6}
.home-caption{display:none}
.page-hero{padding:62px 0 30px}.eyebrow{color:var(--yellow);font-size:12px;font-weight:900;letter-spacing:1.6px;text-transform:uppercase;margin-bottom:10px}.page-hero h1{margin:0 0 12px;font-size:clamp(40px,6vw,70px);line-height:.98;letter-spacing:-1px}.page-hero p{max-width:820px;margin:0;color:var(--muted);font-size:18px;line-height:1.6}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.btn{min-height:48px;padding:0 18px;border-radius:11px;font-weight:900;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;cursor:pointer}.btn.primary{background:var(--yellow);color:#111}.btn.secondary{background:rgba(8,8,8,.42);border-color:rgba(255,196,0,.55)}
.section{padding:16px 0 52px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.section-head h2{margin:0;font-size:30px}.section-head p{margin:0;color:var(--muted);max-width:650px;line-height:1.5}
.glass{background:linear-gradient(180deg,rgba(16,16,16,.78),rgba(8,8,8,.86));border:1px solid rgba(255,255,255,.09);box-shadow:var(--shadow);backdrop-filter:blur(14px)}.card{border-radius:18px;padding:22px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.card h3{margin:0 0 8px;font-size:20px}.card p{margin:0;color:var(--muted);line-height:1.55}.card-icon{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;background:rgba(255,196,0,.11);border:1px solid rgba(255,196,0,.25);color:var(--yellow);font-weight:900;margin-bottom:14px}
.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.filter{padding:10px 13px;border-radius:999px;background:rgba(8,8,8,.55);border:1px solid rgba(255,255,255,.09);font-weight:800;font-size:13px}.filter.active{border-color:rgba(255,196,0,.55);color:var(--yellow)}
.offer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.offer-card{border-radius:18px;overflow:hidden}.offer-visual{height:130px;background:linear-gradient(135deg,rgba(255,196,0,.26),rgba(255,255,255,.04));display:flex;align-items:center;justify-content:center;font-size:38px;font-weight:900;color:var(--yellow)}.offer-body{padding:18px}.offer-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:9px}.tag{font-size:11px;font-weight:900;padding:6px 8px;border-radius:999px;background:rgba(255,196,0,.12);border:1px solid rgba(255,196,0,.25);color:var(--yellow)}.offer-body h3{margin:0 0 8px;font-size:20px}.offer-body p{margin:0;color:var(--muted);line-height:1.5}.offer-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px}.price{font-size:22px;font-weight:900}.old-price{text-decoration:line-through;color:#aaa;font-size:13px;margin-left:6px}
.coupon-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.coupon{position:relative;border-radius:18px;padding:22px 24px;overflow:hidden}.coupon::before,.coupon::after{content:"";position:absolute;top:50%;width:26px;height:26px;border-radius:50%;background:#0b0b0b;transform:translateY(-50%)}.coupon::before{left:-13px}.coupon::after{right:-13px}.coupon-code{display:inline-block;margin-top:15px;padding:10px 12px;border-radius:10px;background:rgba(255,196,0,.12);border:1px dashed rgba(255,196,0,.65);color:var(--yellow);font-weight:900;letter-spacing:1px}
.ride-list{display:grid;gap:12px}.ride{display:grid;grid-template-columns:1.3fr .9fr .7fr auto;align-items:center;gap:16px;border-radius:16px;padding:18px}.ride strong{display:block;font-size:18px}.ride small{display:block;color:var(--muted)}.ride-time{font-weight:900;color:var(--yellow)}.ride-places{font-weight:900}
.partner-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.partner-card{text-align:center;border-radius:18px;padding:24px 18px}.partner-logo{width:64px;height:64px;border-radius:18px;background:rgba(255,196,0,.12);border:1px solid rgba(255,196,0,.24);display:grid;place-items:center;margin:0 auto 12px;color:var(--yellow);font-size:22px;font-weight:900}
.metric-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.metric{padding:20px;border-radius:16px}.metric strong{display:block;font-size:28px;color:var(--yellow);margin-bottom:5px}.metric span{color:var(--muted)}
.form-layout{display:grid;grid-template-columns:1.5fr .8fr;gap:20px}.form-card{border-radius:18px;padding:24px}.form-grid{display:grid;gap:14px}.form-grid.two{grid-template-columns:repeat(2,1fr)}.field{display:grid;gap:7px}label{font-size:13px;font-weight:900}input,select,textarea{width:100%;min-height:48px;border-radius:11px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#fff;padding:12px 13px}textarea{min-height:135px;resize:vertical}.note{padding:14px 15px;border-radius:13px;background:rgba(255,196,0,.09);border:1px solid rgba(255,196,0,.23);color:#f3df8a;line-height:1.5}
.site-footer{margin-top:38px;border-top:1px solid rgba(255,255,255,.07);background:rgba(5,5,5,.62);backdrop-filter:blur(10px)}.footer-inner{width:var(--container);margin:auto;padding:28px 0 36px;display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center}.footer-inner p{margin:4px 0 0;color:#c9c9c9}.footer-links{display:flex;gap:16px;flex-wrap:wrap}.footer-links a{text-decoration:none;font-size:13px;font-weight:800}.footer-inner small{grid-column:1/-1;color:#999}
@media(max-width:1050px){.offer-grid,.grid-3{grid-template-columns:repeat(2,1fr)}.partner-grid{grid-template-columns:repeat(2,1fr)}.form-layout{grid-template-columns:1fr}.ride{grid-template-columns:1.2fr .8fr auto}.ride .ride-places{display:none}}
@media(max-width:780px){.header-inner{min-height:70px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:70px;left:20px;right:20px;flex-direction:column;align-items:stretch;padding:14px;background:rgba(7,7,7,.95);border:1px solid rgba(255,255,255,.08);border-radius:14px;box-shadow:var(--shadow)}.main-nav.open{display:flex}.main-nav a{text-align:center}.home-wheel{width:min(640px,98vw,72vh);min-width:0}.offer-grid,.coupon-grid,.grid-2,.grid-3,.partner-grid,.metric-strip,.form-grid.two{grid-template-columns:1fr}.ride{grid-template-columns:1fr auto}.ride>:nth-child(2){display:none}.section-head{align-items:flex-start;flex-direction:column}.footer-inner{grid-template-columns:1fr}}
@media(max-width:520px){:root{--container:min(100% - 24px,1240px)}.brand span{display:none}.brand img{width:44px;height:44px}.home-wheel{width:min(560px,100vw,66vh)}.sector-label{font-size:29px}.page-hero{padding-top:38px}.page-hero h1{font-size:38px}}


/* Style interface */
.page-home{
  overflow:hidden;
}
.page-home .home-only{
  height:calc(100dvh - 78px);
}
.page-home .home-hero{
  min-height:0;
  height:100%;
  padding:0 20px;
}
.page-home .home-caption{
  display:none !important;
}
@media(max-width:780px){
  .page-home .home-only{
    height:calc(100dvh - 70px);
  }
}

/* Style interface */
.hub-icon{
  pointer-events:none;
  transition:transform .18s ease, filter .18s ease;
  transform-box:fill-box;
  transform-origin:center;
}
.wheel-link:hover .hub-icon{
  filter:drop-shadow(0 3px 3px rgba(0,0,0,.18));
}

/* Style interface */
.premium-icon{
  pointer-events:none;
  transform-box:fill-box;
  transform-origin:center;
  transition:transform .18s ease, opacity .18s ease, filter .18s ease;
}
.icon-gold{color:#f3bd2c}
.icon-ink{color:#111111}
.wheel-link:hover .premium-icon{
  transform:scale(1.06);
}
.wheel-link:hover .sector{
  filter:brightness(1.075);
}
.hub-ring{
  fill:none;
  stroke:rgba(255,255,255,.78);
  stroke-width:3;
  pointer-events:none;
}

/* Style interface */
.premium-icon{
  fill:none;
  stroke:currentColor;
  stroke-width:8.2;
  stroke-linecap:round;
  stroke-linejoin:round;
  pointer-events:none;
  transform-box:fill-box;
  transform-origin:center;
  transition:transform .18s ease, filter .18s ease, opacity .18s ease;
}
.premium-icon-dark{color:#111}
.premium-icon-gold{color:#f4bd32}
.wheel-link:hover .premium-icon{
  transform:scale(1.055);
}
.hub-ring{
  fill:none;
  stroke:rgba(255,255,255,.80);
  stroke-width:3;
  pointer-events:none;
}


/* Style interface */
.sector-label{
  display:none !important;
}

.hub-tooltip{
  opacity:0;
  transform-box:fill-box;
  transform-origin:center;
  pointer-events:none;
  transition:
    opacity .16s ease,
    transform .16s ease;
}

.hub-tooltip-bg{
  fill:rgba(7,7,7,.90);
  stroke:rgba(255,196,0,.78);
  stroke-width:2;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.28));
}

.hub-tooltip-text{
  fill:#fff;
  font-size:22px;
  font-weight:900;
  letter-spacing:.15px;
}

.wheel-link:hover .hub-tooltip,
.wheel-link:focus .hub-tooltip,
.wheel-link:focus-visible .hub-tooltip{
  opacity:1;
}

.wheel-link{
  outline:none;
}

.wheel-link:focus-visible .sector{
  stroke:#fff;
  stroke-width:8;
}

/* L’icône est désormais le seul contenu permanent de chaque part. */
.page-home .premium-icon{
  transition:transform .18s ease, filter .18s ease;
}

.page-home .wheel-link:hover .premium-icon,
.page-home .wheel-link:focus-visible .premium-icon{
  transform:scale(1.06);
}

/* Sur écrans tactiles, un appui maintenu / focus peut afficher l'intitulé.
   Les aria-label gardent chaque rubrique compréhensible pour les lecteurs d'écran. */
@media (hover:none){
  .hub-tooltip-text{
    font-size:24px;
  }
}


.page-home .wheel-link.touch-label-open .hub-tooltip{
  opacity:1;
}


/* Style interface */
.premium-icon,
.hub-tooltip,
.sector-label{
  display:none !important;
}

.sector-title{
  pointer-events:none;
  font-size:32px;
  font-weight:900;
  letter-spacing:.4px;
  text-transform:uppercase;
  dominant-baseline:middle;
  paint-order:stroke fill;
}

.sector-title.dark{
  fill:#111;
  stroke:rgba(255,255,255,.05);
  stroke-width:1px;
}

.sector-title.light{
  fill:#fff;
  stroke:rgba(0,0,0,.18);
  stroke-width:1.5px;
}

.wheel-link:hover .sector-title,
.wheel-link:focus-visible .sector-title{
  filter:brightness(1.08);
}

@media(max-width:520px){
  .sector-title{
    font-size:36px;
  }
}


/* Style interface */
.sector-title{
  font-size:30px;
  letter-spacing:.25px;
}


/* Style interface */
.wheel-link .sector{
  transform-box:fill-box;
  transform-origin:center;
  transition:
    transform .22s cubic-bezier(.2,.8,.2,1),
    filter .22s ease,
    stroke .22s ease,
    stroke-width .22s ease;
}

.wheel-link .sector-title{
  transform-box:fill-box;
  transform-origin:center;
  transition:
    transform .22s cubic-bezier(.2,.8,.2,1),
    filter .22s ease,
    opacity .22s ease;
}

/* Effet principal : la part se détache nettement */
.wheel-link:hover .sector,
.wheel-link:focus-visible .sector{
  transform:scale(1.055);
  filter:
    brightness(1.12)
    saturate(1.10)
    drop-shadow(0 16px 20px rgba(0,0,0,.34));
  stroke:#fff;
  stroke-width:6px;
}

/* Le texte suit le mouvement et gagne en présence */
.wheel-link:hover .sector-title,
.wheel-link:focus-visible .sector-title{
  transform:scale(1.14);
  filter:drop-shadow(0 4px 5px rgba(0,0,0,.28));
}

/* Les thèmes noirs reçoivent un halo doré supplémentaire */
.wheel-link:hover .sector-dark,
.wheel-link:focus-visible .sector-dark{
  filter:
    brightness(1.22)
    saturate(1.08)
    drop-shadow(0 0 12px rgba(244,189,50,.35))
    drop-shadow(0 16px 20px rgba(0,0,0,.34));
}

/* Les thèmes jaunes gagnent en éclat */
.wheel-link:hover .sector-yellow,
.wheel-link:focus-visible .sector-yellow{
  filter:
    brightness(1.08)
    saturate(1.20)
    drop-shadow(0 0 10px rgba(255,196,0,.30))
    drop-shadow(0 16px 20px rgba(0,0,0,.30));
}

/* Le curseur indique clairement que chaque part est cliquable */
.wheel-link{
  cursor:pointer;
}

/* Sur mobile tactile, pas de grossissement permanent */
@media (hover:none){
  .wheel-link:hover .sector,
  .wheel-link:hover .sector-title{
    transform:none;
  }
}


/* Style interface */

.palette-lagon{
  --p1:#F2C85B;
  --p2:#54A7A5;
  --p3:#E88A70;
  --p4:#F3E5CF;
  --p5:#7FA287;
  --p6:#B96F91;
}

.palette-tiare{
  --p1:#E9C46A;
  --p2:#3D7C78;
  --p3:#D98C6C;
  --p4:#F5EEDB;
  --p5:#8B9D83;
  --p6:#8E6474;
}

.palette-coucher-soleil{
  --p1:#F4C95D;
  --p2:#ECA36A;
  --p3:#D96C75;
  --p4:#A85C83;
  --p5:#527C8A;
  --p6:#6FA08B;
}

.floral-wheel{
  overflow:visible;
}

.floral-wheel .flower-petal{
  transform:none !important;
  transform-origin:initial !important;
  transform-box:initial !important;
  stroke:rgba(255,255,255,.74);
  stroke-width:5;
  filter:url(#petalShadow);
  transition:
    filter .20s ease,
    opacity .20s ease,
    stroke .20s ease,
    stroke-width .20s ease;
}

.floral-wheel .p1{fill:var(--p1)}
.floral-wheel .p2{fill:var(--p2)}
.floral-wheel .p3{fill:var(--p3)}
.floral-wheel .p4{fill:var(--p4)}
.floral-wheel .p5{fill:var(--p5)}
.floral-wheel .p6{fill:var(--p6)}

.floral-wheel .flower-link{
  cursor:pointer;
  outline:none;
}

/* Survol volontairement sans scale/translate/rotate :
   le pétale reste absolument à sa place. */
.floral-wheel .flower-link:hover .flower-petal,
.floral-wheel .flower-link:focus-visible .flower-petal{
  transform:none !important;
  filter:
    brightness(1.13)
    saturate(1.10)
    drop-shadow(0 0 14px rgba(255,255,255,.24))
    drop-shadow(0 16px 16px rgba(0,0,0,.30));
  stroke:#fff;
  stroke-width:8;
}

.floral-wheel .flower-title{
  transform:none !important;
  pointer-events:none;
  font-size:27px;
  font-weight:900;
  letter-spacing:.2px;
  fill:#161616;
  paint-order:stroke fill;
  stroke:rgba(255,255,255,.12);
  stroke-width:1;
  transition:filter .20s ease;
}

/* Texte blanc sur pétales plus foncés */
.floral-wheel .petal-2 .flower-title,
.floral-wheel .petal-5 .flower-title,
.floral-wheel .petal-6 .flower-title{
  fill:#fff;
  stroke:rgba(0,0,0,.16);
}

.palette-coucher-soleil .floral-wheel .petal-4 .flower-title{
  fill:#fff;
  stroke:rgba(0,0,0,.16);
}

.floral-wheel .flower-link:hover .flower-title,
.floral-wheel .flower-link:focus-visible .flower-title{
  transform:none !important;
  filter:
    brightness(1.15)
    drop-shadow(0 3px 3px rgba(0,0,0,.24));
}

.flower-core-shadow{
  fill:rgba(0,0,0,.20);
  filter:blur(9px);
}

.flower-core{
  fill:#151515;
  stroke:rgba(255,255,255,.82);
  stroke-width:6;
}

.flower-core-ring{
  fill:none;
  stroke:#F2C85B;
  stroke-width:4;
}

/* Sélecteur de palette */
.palette-picker{
  position:fixed;
  z-index:40;
  right:20px;
  bottom:18px;
  display:flex;
  gap:7px;
  padding:7px;
  border-radius:16px;
  background:rgba(8,8,8,.82);
  border:1px solid rgba(255,255,255,.15);
  box-shadow:0 12px 30px rgba(0,0,0,.32);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

.palette-choice{
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:#fff;
  border-radius:10px;
  padding:9px 12px;
  font:inherit;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
  transition:background .15s ease,border-color .15s ease;
}

.palette-choice:hover{
  background:rgba(255,255,255,.12);
}

.palette-choice.is-active{
  border-color:#F2C85B;
  background:rgba(242,200,91,.16);
}

@media(max-width:780px){
  .palette-picker{
    left:50%;
    right:auto;
    bottom:8px;
    transform:translateX(-50%);
    max-width:calc(100vw - 16px);
    overflow-x:auto;
  }
  .palette-choice{
    flex:0 0 auto;
  }
  .floral-wheel .flower-title{
    font-size:30px;
  }
}


/* Style interface */
.floral-wheel .flower-title{
  font-size:28px;
}


/* Style interface */
.palette-lagon{
  --p1:#F2C85B;
  --p2:#54A7A5;
  --p3:#E88A70;
  --p4:#F3E5CF;
  --p5:#B96F91;
}
.palette-tiare{
  --p1:#E9C46A;
  --p2:#3D7C78;
  --p3:#D98C6C;
  --p4:#F5EEDB;
  --p5:#8E6474;
}
.palette-coucher-soleil{
  --p1:#F4C95D;
  --p2:#ECA36A;
  --p3:#D96C75;
  --p4:#527C8A;
  --p5:#6FA08B;
}

/* Sur le hub 5 pétales, les libellés foncés restent lisibles. */
.floral-wheel .petal-2 .flower-title,
.floral-wheel .petal-5 .flower-title{
  fill:#fff;
}
.floral-wheel .petal-4 .flower-title{
  fill:#161616;
}


/* Style interface */


/* Style interface */

.frangipani-wheel{
  overflow:visible;
}

/* Les pétales sont déjà positionnés par coordonnées définitives.
   Aucun transform géométrique : pas de dispersion possible. */
.frangipani-wheel .frangipani-petal{
  transform:none !important;
  transform-origin:initial !important;
  transform-box:initial !important;
  stroke:rgba(255,255,255,.68);
  stroke-width:5;
  filter:url(#petalShadow);
  transition:
    filter .20s ease,
    stroke .20s ease,
    stroke-width .20s ease,
    opacity .20s ease;
}

/* Empilement volontaire : le pétale suivant passe au-dessus du précédent.
   Cela crée le chevauchement sur un seul côté, dans le sens horaire. */
.frangipani-wheel .petal-1{isolation:isolate}
.frangipani-wheel .petal-2{isolation:isolate}
.frangipani-wheel .petal-3{isolation:isolate}
.frangipani-wheel .petal-4{isolation:isolate}
.frangipani-wheel .petal-5{isolation:isolate}

/* Survol fort mais sans déplacer la forme */
.frangipani-wheel .frangipani-link:hover .frangipani-petal,
.frangipani-wheel .frangipani-link:focus-visible .frangipani-petal{
  transform:none !important;
  filter:
    brightness(1.12)
    saturate(1.10)
    drop-shadow(0 0 14px rgba(255,255,255,.22))
    drop-shadow(0 18px 18px rgba(0,0,0,.30));
  stroke:#fff;
  stroke-width:8;
}

.frangipani-wheel .flower-title{
  transform:none !important;
  font-size:28px;
  transition:filter .20s ease;
}

.frangipani-wheel .frangipani-link:hover .flower-title,
.frangipani-wheel .frangipani-link:focus-visible .flower-title{
  transform:none !important;
  filter:
    brightness(1.16)
    drop-shadow(0 3px 3px rgba(0,0,0,.25));
}

/* Léger contour interne donnant plus de douceur florale */
.frangipani-wheel .frangipani-petal{
  paint-order:stroke fill;
}


/* Style interface */

/* Couleurs Lagon fixes */
.page-home{
  --p1:#F2C85B;
  --p2:#54A7A5;
  --p3:#E88A70;
  --p4:#F3E5CF;
  --p5:#B96F91;
}

/* On neutralise les anciennes palettes : elles ne sont plus utilisées. */
.palette-picker{display:none !important}

/* Trois géométries sont présentes en SVG, une seule est visible. */
.petal-size-group{
  display:none;
}

.page-home.size-current .petal-size-current,
.page-home.size-large .petal-size-large,
.page-home.size-xlarge .petal-size-xlarge{
  display:inline;
}

/* Le comportement de survol reste purement lumineux, sans déplacement. */
.frangipani-wheel .petal-size-group .frangipani-petal,
.frangipani-wheel .petal-size-group .flower-title{
  transform:none !important;
}

/* Sélecteur intégré */
.petal-size-picker{
  position:fixed;
  z-index:40;
  right:20px;
  bottom:18px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:7px;
  border-radius:16px;
  background:rgba(8,8,8,.82);
  border:1px solid rgba(255,255,255,.15);
  box-shadow:0 12px 30px rgba(0,0,0,.32);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

.petal-size-label{
  color:rgba(255,255,255,.68);
  padding:0 6px;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.35px;
}

.petal-size-choice{
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:#fff;
  border-radius:10px;
  padding:9px 12px;
  font:inherit;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}

.petal-size-choice:hover{
  background:rgba(255,255,255,.12);
  transform:translateY(-1px);
}

.petal-size-choice.is-active{
  border-color:#F2C85B;
  background:rgba(242,200,91,.16);
}

.petal-size-choice:focus-visible{
  outline:2px solid #fff;
  outline-offset:2px;
}

@media(max-width:780px){
  .petal-size-picker{
    left:50%;
    right:auto;
    bottom:8px;
    transform:translateX(-50%);
    max-width:calc(100vw - 16px);
    overflow-x:auto;
  }

  .petal-size-label{
    display:none;
  }

  .petal-size-choice{
    flex:0 0 auto;
  }
}


/* Style interface */
.page-home.size-xlarge .petal-size-xlarge .flower-title{
  font-size:27px;
  letter-spacing:.15px;
}


/* Style interface */

/* Les anciennes tailles sont neutralisées. */
.page-home .petal-size-current,
.page-home .petal-size-large{
  display:none !important;
}

/* Très grande = référence / valeur par défaut */
.page-home.size-xlarge .petal-size-xlarge{
  display:inline;
}

/* Nouvelle variante Ultra grande +15 % */
.page-home.size-ultra .petal-size-ultra{
  display:inline;
}

.page-home.size-ultra .petal-size-xlarge{
  display:none;
}

/* Les textes Ultra gardent une taille légèrement compacte
   pour rester bien centrés dans les très grands pétales. */
.page-home.size-ultra .petal-size-ultra .flower-title{
  font-size:27px;
  letter-spacing:.12px;
}


/* Style interface */

/* Une seule géométrie subsiste : elle est toujours visible. */
.page-home .petal-size-fixed{
  display:inline !important;
}

/* Ancien sélecteur neutralisé au cas où un cache CSS subsiste. */
.petal-size-picker{
  display:none !important;
}

/* Style interface */
.page-home .petal-size-fixed .flower-title{
  font-size:30px !important;
  letter-spacing:.13px;
}

/* Les libellés sur une seule ligne sont centrés verticalement
   sur leur centroïde visible. */
.page-home .petal-size-fixed .flower-title-single{
  dominant-baseline:middle;
}

/* Les libellés sur deux lignes ont deux coordonnées y absolues,
   symétriques autour du centroïde : aucun décalage implicite par dy. */
.page-home .petal-size-fixed .flower-title-multiline{
  dominant-baseline:auto;
}


/* Style interface */

/* Les fills sont désormais portés directement par les gradients SVG. */
.frangipani-wheel .p1,
.frangipani-wheel .p2,
.frangipani-wheel .p3,
.frangipani-wheel .p4,
.frangipani-wheel .p5{
  fill:unset !important;
}

/* Le texte devient uniformément foncé pour rester lisible
   sur le jaune pâle comme sur le blanc. */
.frangipani-wheel .flower-title,
.frangipani-wheel .petal-2 .flower-title,
.frangipani-wheel .petal-5 .flower-title{
  fill:#2B2924 !important;
  stroke:rgba(255,255,255,.30) !important;
  stroke-width:1px;
}

/* Contour plus doux, proche d'un pétale de tiaré. */
.frangipani-wheel .frangipani-petal{
  stroke:rgba(231,210,144,.78) !important;
  stroke-width:4.5;
}

/* Survol : on garde le relief sans casser le blanc du pétale. */
.frangipani-wheel .frangipani-link:hover .frangipani-petal,
.frangipani-wheel .frangipani-link:focus-visible .frangipani-petal{
  filter:
    brightness(1.035)
    drop-shadow(0 0 14px rgba(246,216,115,.38))
    drop-shadow(0 18px 18px rgba(0,0,0,.24));
  stroke:#F3D66F !important;
  stroke-width:7;
}

/* Anneau central assorti au coeur jaune du tiaré. */
.flower-core-ring{
  stroke:#F6D873 !important;
}


/* Style interface */

.frangipani-wheel .p1{
  fill:url(#petalGradient1) !important;
}
.frangipani-wheel .p2{
  fill:url(#petalGradient2) !important;
}
.frangipani-wheel .p3{
  fill:url(#petalGradient3) !important;
}
.frangipani-wheel .p4{
  fill:url(#petalGradient4) !important;
}
.frangipani-wheel .p5{
  fill:url(#petalGradient5) !important;
}

/* Supprime visuellement tout héritage de couleur sombre. */
.frangipani-wheel .frangipani-petal{
  color:transparent !important;
}

/* Texte noir chaud pour contraste sur jaune/blanc. */
.frangipani-wheel .flower-title,
.frangipani-wheel .petal-2 .flower-title,
.frangipani-wheel .petal-5 .flower-title{
  fill:#27251F !important;
  stroke:rgba(255,255,255,.38) !important;
  stroke-width:1px;
}


/* Style interface */
.page-home .home-only{
  height:100dvh !important;
  min-height:100dvh !important;
}

.page-home .home-hero{
  height:100dvh !important;
  min-height:100dvh !important;
  padding:0 20px !important;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Au cas où un ancien style/header serait encore présent en cache. */
.page-home .site-header,
.page-home .site-footer,
.page-home .palette-picker,
.page-home .petal-size-picker{
  display:none !important;
}


/* Style interface */

/* Signature de la page d'accueil */
.page-home .home-hero{
  flex-direction:column;
  gap:0;
}

.home-slogan{
  margin:-34px 0 0;
  position:relative;
  z-index:5;
  color:rgba(255,255,255,.92);
  font-size:clamp(20px,2vw,30px);
  line-height:1.2;
  font-weight:600;
  letter-spacing:.2px;
  text-align:center;
  text-shadow:0 4px 16px rgba(0,0,0,.48);
}

/* Signature propre à chaque univers */
.theme-slogan{
  margin:10px 0 14px;
  max-width:760px;
  color:#F2C85B;
  font-size:clamp(18px,1.7vw,25px);
  line-height:1.25;
  font-weight:800;
  letter-spacing:.15px;
  text-shadow:0 3px 12px rgba(0,0,0,.30);
}

/* Sur petits écrans, on garde la signature d'accueil proche de la fleur. */
@media(max-width:720px){
  .home-slogan{
    margin:-18px 16px 0;
    font-size:20px;
  }

  .theme-slogan{
    font-size:19px;
  }
}


/* Style interface */

/* Copie d'ombre décalée sur un seul côté de chaque pétale.
   Elle ne bouge jamais et ne perturbe pas la géométrie du hub. */
.frangipani-wheel .petal-overlap-shadow{
  fill:rgba(74,58,18,.34);
  stroke:none;
  filter:url(#softPetalOverlap);
  pointer-events:none;
}

/* Le vrai pétale garde un bord plus lumineux, comme une feuille/pétale
   qui passe au-dessus du précédent. */
.frangipani-wheel .frangipani-petal{
  stroke:rgba(255,255,255,.88) !important;
  stroke-width:4.5;
}

/* Au survol, on accentue le pétale actif sans supprimer l'ombre de
   superposition située sous lui. */
.frangipani-wheel .frangipani-link:hover .frangipani-petal,
.frangipani-wheel .frangipani-link:focus-visible .frangipani-petal{
  stroke:#F4DC84 !important;
  stroke-width:7;
}

/* Le pétale actif reste toujours au-dessus de son ombre. */
.frangipani-wheel .flower-petal{
  position:relative;
}


/* Style interface */

.page-home .home-slogan{
  margin:-28px 0 0;
  position:relative;
  z-index:5;
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:.38em;
  text-align:center;

  /* Serif élégante sans dépendance externe */
  font-family:
    "Palatino Linotype",
    "Book Antiqua",
    Palatino,
    Georgia,
    "Times New Roman",
    serif;

  color:rgba(255,255,255,.94);
  text-shadow:
    0 3px 16px rgba(0,0,0,.52),
    0 1px 1px rgba(0,0,0,.45);
}

.page-home .home-slogan-main{
  font-size:clamp(24px,2.35vw,36px);
  font-weight:400;
  letter-spacing:.45px;
}

.page-home .home-slogan-accent{
  font-size:clamp(25px,2.45vw,38px);
  font-weight:400;
  font-style:italic;
  letter-spacing:.25px;
  color:#F4D978;
}

/* Trait très fin rappelant le coeur jaune de la fleur */
.page-home .home-slogan::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-13px;
  width:72px;
  height:1px;
  transform:translateX(-50%);
  background:linear-gradient(
    90deg,
    rgba(244,217,120,0),
    rgba(244,217,120,.95),
    rgba(244,217,120,0)
  );
}

@media(max-width:720px){
  .page-home .home-slogan{
    margin:-16px 14px 0;
    flex-wrap:wrap;
    gap:.18em .35em;
  }

  .page-home .home-slogan-main{
    font-size:23px;
  }

  .page-home .home-slogan-accent{
    font-size:24px;
  }
}


/* Style interface */

/* Le bloc complet fleur + slogan reste centré dans le viewport réel. */
.page-home .home-hero{
  box-sizing:border-box;
  width:100%;
  overflow:visible;
}

/* Portrait téléphone */
@media (max-width:720px) and (orientation:portrait){

  .page-home .home-hero{
    width:100vw;
    height:100dvh !important;
    min-height:100dvh !important;
    padding:
      max(12px, env(safe-area-inset-top))
      0
      max(16px, env(safe-area-inset-bottom))
      0 !important;
    align-items:center;
    justify-content:center;
  }

  /* On laisse une vraie marge de sécurité de chaque côté.
     La fleur ne touche plus les bords ni la zone d'ombre. */
  .page-home .home-wheel{
    width:min(90vw, 62dvh) !important;
    max-width:90vw !important;
    min-width:0 !important;
    margin:0 auto !important;
    flex:0 0 auto;
  }

  .page-home .service-wheel{
    width:100%;
    margin:0 auto;
    overflow:visible;
  }

  /* Le slogan est centré sur le viewport et non sur une largeur débordante. */
  .page-home .home-slogan{
    width:calc(100vw - 32px);
    max-width:560px;
    margin:-10px auto 0 !important;
    padding:0;
    justify-content:center;
    text-align:center;
    flex-wrap:wrap;
    gap:.16em .34em;
  }

  .page-home .home-slogan-main{
    font-size:clamp(22px,6vw,26px);
  }

  .page-home .home-slogan-accent{
    font-size:clamp(23px,6.2vw,27px);
  }
}

/* Très petits téléphones */
@media (max-width:380px) and (orientation:portrait){
  .page-home .home-wheel{
    width:min(88vw, 60dvh) !important;
    max-width:88vw !important;
  }

  .page-home .home-slogan{
    width:calc(100vw - 24px);
    margin:-7px auto 0 !important;
  }
}


/* Style interface */

.page-home .home-hero{
  display:grid !important;
  place-items:center !important;
  width:100vw !important;
  height:100dvh !important;
  min-height:100dvh !important;
  padding:0 !important;
  box-sizing:border-box !important;
}

.page-home .home-composition{
  width:100%;
  max-width:100vw;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin:0 auto;
  box-sizing:border-box;
}

.page-home .home-composition .home-wheel{
  margin:0 auto !important;
}

.page-home .home-composition .home-slogan{
  margin:0 auto !important;
  width:auto;
  max-width:calc(100vw - 32px);
}

/* Portrait : la taille dépend simultanément de la largeur ET de la hauteur.
   Cela centre réellement le couple fleur+slogan. */
@media (max-width:720px) and (orientation:portrait){

  .page-home .home-composition{
    gap:16px;
    padding:
      max(12px, env(safe-area-inset-top))
      0
      max(12px, env(safe-area-inset-bottom));
  }

  .page-home .home-composition .home-wheel{
    width:min(90vw, 68dvh) !important;
    max-width:90vw !important;
    min-width:0 !important;
  }

  .page-home .home-composition .service-wheel{
    display:block;
    width:100%;
    height:auto;
    margin:0 auto;
  }

  .page-home .home-composition .home-slogan{
    width:calc(100vw - 36px);
    max-width:520px;
    display:flex;
    justify-content:center;
    align-items:baseline;
    flex-wrap:wrap;
    gap:.16em .34em;
    text-align:center;
  }
}

/* Téléphones très étroits */
@media (max-width:380px) and (orientation:portrait){
  .page-home .home-composition{
    gap:12px;
  }

  .page-home .home-composition .home-wheel{
    width:min(88vw, 66dvh) !important;
    max-width:88vw !important;
  }

  .page-home .home-composition .home-slogan{
    width:calc(100vw - 24px);
  }
}
/* Style interface */

.json-intro{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
}
.json-intro h2{margin:0 0 6px}
.json-summary{margin:0;color:var(--muted)}
.json-updated{
  flex:0 0 auto;
  font-size:12px;
  font-weight:800;
  color:#f3df8a;
  border:1px solid rgba(255,196,0,.24);
  background:rgba(255,196,0,.08);
  padding:7px 10px;
  border-radius:999px;
}
.json-status.error{
  margin-bottom:16px;
  padding:14px;
  border-radius:12px;
  background:rgba(155,30,30,.32);
  border:1px solid rgba(255,122,122,.38);
  color:#ffd7d7;
  line-height:1.5;
}
.json-filters{
  display:flex;
  align-items:flex-end;
  gap:12px;
  flex-wrap:wrap;
  margin:0 0 20px;
}
.json-filters label{
  display:grid;
  gap:6px;
  min-width:180px;
}
.json-filters label span{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.6px;
  color:#d0d0d0;
}
.json-filters select{
  min-height:42px;
  background:rgba(10,10,10,.76);
}
.filter-reset{
  min-height:42px;
  padding:0 15px;
  border-radius:11px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.filter-reset:hover{background:rgba(255,255,255,.11)}

.json-card[hidden]{display:none !important}
.json-empty{
  grid-column:1/-1;
  padding:28px;
  border-radius:16px;
  text-align:center;
  color:var(--muted);
}

.json-visual{
  position:relative;
  min-height:180px;
  overflow:hidden;
  background:rgba(255,255,255,.05);
}
.json-visual.has-image > img:first-child{
  width:100%;
  height:100%;
  min-height:180px;
  object-fit:cover;
  display:block;
}
.json-visual.logo-only{
  display:grid;
  place-items:center;
  padding:28px;
  background:rgba(255,255,255,.94);
}
.json-visual.logo-only img{
  max-width:75%;
  max-height:115px;
  object-fit:contain;
}
.json-logo-badge{
  position:absolute;
  right:12px;
  bottom:12px;
  width:62px !important;
  height:62px !important;
  min-height:0 !important;
  object-fit:contain !important;
  border-radius:14px;
  padding:6px;
  background:#fff;
  box-shadow:0 7px 18px rgba(0,0,0,.25);
}
.json-fallback{
  min-height:180px;
  display:grid;
  place-items:center;
  padding:15px;
  text-align:center;
  font-size:clamp(26px,4vw,48px);
  letter-spacing:.5px;
}
.json-merchant{
  margin:-4px 0 10px !important;
  color:#f3d96d !important;
  font-size:13px;
  font-weight:900;
}
.json-conditions{
  font-size:12px !important;
  color:#bcbcbc !important;
  border-left:2px solid rgba(255,196,0,.55);
  padding-left:10px;
}
.tag-highlight{
  color:#111 !important;
  background:#ffd24a !important;
  border-color:#ffd24a !important;
}

.promo-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:14px 0;
  padding:11px 12px;
  border-radius:12px;
  background:rgba(255,196,0,.10);
  border:1px dashed rgba(255,211,73,.55);
}
.promo-label{
  display:block;
  margin-bottom:3px;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.55px;
  color:#e2d49f;
}
.promo-required{
  color:#ffd24a;
}
.promo-code{
  display:block;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:17px;
  letter-spacing:.8px;
  color:#fff;
}
.copy-code{
  flex:0 0 auto;
  border:0;
  border-radius:9px;
  padding:9px 12px;
  background:#ffd24a;
  color:#15120a;
  font-weight:900;
  cursor:pointer;
}
.copy-code:hover{filter:brightness(1.06)}
.coupon-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-top:15px;
}
.json-link{margin-top:12px}
.json-text-link{
  display:inline-block;
  margin-top:8px;
  color:#ffd24a;
  font-weight:900;
  text-decoration:none;
}
.partner-logo.has-logo{
  width:92px;
  height:72px;
  padding:8px;
  border-radius:14px;
  background:#fff;
}
.partner-logo.has-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.partner-tags{
  justify-content:center;
  margin:10px 0;
}
.partner-contact{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-top:10px;
}
.partner-contact a{
  color:#f3d96d;
  text-decoration:none;
  font-size:13px;
  font-weight:800;
}

/* Le prix normal suit bien le prix promo dans le rendu JSON. */
.offer-foot > span:first-child{
  display:flex;
  align-items:baseline;
  gap:9px;
  flex-wrap:wrap;
}

/* Champs fichier du formulaire futur commerçant */
input[type="file"]{
  padding:10px;
}

/* JSON responsive */
@media(max-width:720px){
  .json-intro{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
  .json-filters{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .json-filters label{min-width:0}
  .filter-reset{grid-column:1/-1}
  .promo-box{align-items:flex-start}
}
@media(max-width:460px){
  .json-filters{grid-template-columns:1fr}
  .filter-reset{grid-column:auto}
  .json-updated{font-size:11px}
}
/* Style interface */

/* Les anciens clones d'ombre ne sont plus utilisés. */
.frangipani-wheel .petal-overlap-shadow{
  display:none !important;
}

/* Le pétale réel n'a plus besoin de simuler seul le chevauchement. */
.frangipani-wheel .frangipani-petal{
  stroke:rgba(255,255,255,.45) !important;
  stroke-width:2.2;
  filter:url(#petalShadow);
}

/* Le bord avant de chaque pétale est redessiné après TOUS les aplats.
   On obtient donc une boucle visuelle : chaque pétale passe au-dessus
   du précédent, y compris le premier au-dessus du dernier. */
.petal-edge-layer{
  pointer-events:none;
}

.petal-leading-shadow{
  fill:none;
  stroke:rgba(63,45,12,.30);
  stroke-width:15;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:url(#edgeShadow);
}

.petal-leading-highlight{
  fill:none;
  stroke:rgba(255,255,255,.86);
  stroke-width:4.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.frangipani-wheel.six-petals .flower-title{
  font-size:25px !important;
  letter-spacing:.1px;
}

.frangipani-wheel.six-petals .flower-title-multiline{
  font-size:24px !important;
}

/* Bouton d'essai 5 -> 6 thèmes */
.theme-toggle{
  appearance:none;
  border:1px solid rgba(255,255,255,.23);
  background:rgba(0,0,0,.22);
  color:rgba(255,255,255,.90);
  border-radius:999px;
  min-height:36px;
  padding:7px 13px 7px 10px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:2px auto 0;
  font:700 12px/1 system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:.15px;
  cursor:pointer;
  backdrop-filter:blur(10px);
  box-shadow:0 5px 18px rgba(0,0,0,.14);
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}

.theme-toggle:hover{
  background:rgba(0,0,0,.34);
  border-color:rgba(244,217,120,.62);
}

.theme-toggle:active{
  transform:translateY(1px);
}

.theme-toggle.is-active{
  border-color:rgba(244,217,120,.60);
  color:#f4d978;
}

.theme-toggle-symbol{
  width:21px;
  height:21px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(244,217,120,.16);
  font-size:17px;
  line-height:1;
}

/* Avec le nouveau bouton, la composition reste centrée comme un bloc unique. */
.page-home .home-composition{
  gap:12px;
}

.page-home .home-slogan{
  margin:0 auto !important;
}

@media(max-width:720px) and (orientation:portrait){
  .page-home .home-composition{
    gap:9px;
  }

  .theme-toggle{
    min-height:34px;
    padding:6px 12px 6px 9px;
    font-size:11px;
  }

  .frangipani-wheel.six-petals .flower-title{
    font-size:23px !important;
  }

  .frangipani-wheel.six-petals .flower-title-multiline{
    font-size:22px !important;
  }
}
/* Style interface */

/* Style interface */
.frangipani-wheel .frangipani-petal,
.frangipani-wheel .petal-wrap-overlay{
  fill:var(--dynamic-petal-fill) !important;
}

/* Désactivation totale de l'ancien système de grandes lignes de bord. */
.frangipani-wheel .petal-leading-shadow,
.frangipani-wheel .petal-leading-highlight,
.frangipani-wheel .petal-edge-layer{
  display:none !important;
}

/*
  Le seul raccord supplémentaire est maintenant celui qui ferme la boucle
  entre le dernier pétale et le premier.
*/
.petal-wrap-layer{
  pointer-events:none;
}

.petal-wrap-shadow{
  fill:none !important;
  stroke:rgba(74,58,18,.34);
  stroke-width:12;
  stroke-linejoin:round;
  filter:url(#edgeShadow);
  pointer-events:none;
}

.petal-wrap-overlay{
  stroke:rgba(255,255,255,.52);
  stroke-width:2.2;
  pointer-events:none;
}

/* Le texte reste toujours lisible sur les pétales clairs. */
.frangipani-wheel .flower-title,
.frangipani-wheel .petal-2 .flower-title,
.frangipani-wheel .petal-5 .flower-title,
.frangipani-wheel .petal-6 .flower-title{
  fill:#27251F !important;
  stroke:rgba(255,255,255,.40) !important;
  stroke-width:1px;
}

/* En 6 pétales, on resserre légèrement les libellés longs. */
.frangipani-wheel.six-petals .flower-title{
  font-size:24px !important;
}
.frangipani-wheel.six-petals .flower-title-multiline{
  font-size:23px !important;
}
/* Style interface */

/* Le texte est désormais dans une couche dédiée située
   après le raccord premier/dernier. */
.petal-text-layer{
  pointer-events:auto;
}

.flower-text-link{
  cursor:pointer;
  text-decoration:none;
}

/* Contrôle temporaire de test du nombre de thèmes */
.theme-toggle{
  display:none !important;
}

.petal-count-control{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:1px auto 0;
  color:rgba(255,255,255,.76);
  font:700 10px/1 system-ui,-apple-system,"Segoe UI",sans-serif;
}

.petal-count-label{
  text-transform:uppercase;
  letter-spacing:.55px;
  opacity:.72;
}

.petal-count-buttons{
  display:flex;
  gap:3px;
  padding:3px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(0,0,0,.25);
  backdrop-filter:blur(9px);
}

.petal-count-buttons button{
  width:29px;
  height:29px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:rgba(255,255,255,.82);
  font:800 11px/1 system-ui,-apple-system,"Segoe UI",sans-serif;
  cursor:pointer;
}

.petal-count-buttons button:hover{
  background:rgba(255,255,255,.09);
}

.petal-count-buttons button.is-active{
  background:#f4d978;
  color:#181309;
}

/* Police du contenu pétale selon la densité */
.frangipani-wheel.petals-5 .flower-title{font-size:30px !important}
.frangipani-wheel.petals-6 .flower-title{font-size:24px !important}
.frangipani-wheel.petals-7 .flower-title{font-size:21px !important}
.frangipani-wheel.petals-8 .flower-title{font-size:18px !important}
.frangipani-wheel.petals-9 .flower-title{font-size:16px !important}

.frangipani-wheel.petals-7 .flower-title,
.frangipani-wheel.petals-8 .flower-title,
.frangipani-wheel.petals-9 .flower-title{
  letter-spacing:-.15px;
}

/* L'ensemble fleur + slogan + contrôle est réellement centré. */
.page-home .home-composition{
  gap:8px !important;
}

/* Portrait téléphone : on conserve une zone de sécurité en haut.
   La taille baisse légèrement quand le nombre de pétales augmente. */
@media(max-width:720px) and (orientation:portrait){

  .page-home .home-hero{
    box-sizing:border-box !important;
    display:grid !important;
    place-items:center !important;
    width:100vw !important;
    height:100dvh !important;
    min-height:100dvh !important;
    overflow:hidden !important;
    padding:
      max(18px, env(safe-area-inset-top))
      0
      max(14px, env(safe-area-inset-bottom))
      0 !important;
  }

  .page-home .home-composition{
    width:100%;
    max-height:calc(100dvh - 32px);
    justify-content:center;
    gap:7px !important;
  }

  .page-home .home-wheel{
    width:88vw !important;
    max-width:88vw !important;
    min-width:0 !important;
    margin:0 auto !important;
  }

  .page-home .service-wheel{
    width:100% !important;
    height:auto !important;
    display:block;
    margin:0 auto;
  }

  /* La fleur est légèrement réduite à forte densité. */
  .page-home .frangipani-wheel.petals-5{transform:scale(.98)}
  .page-home .frangipani-wheel.petals-6{transform:scale(.965)}
  .page-home .frangipani-wheel.petals-7{transform:scale(.95)}
  .page-home .frangipani-wheel.petals-8{transform:scale(.935)}
  .page-home .frangipani-wheel.petals-9{transform:scale(.92)}

  .frangipani-wheel.petals-5 .flower-title{font-size:26px !important}
  .frangipani-wheel.petals-6 .flower-title{font-size:22px !important}
  .frangipani-wheel.petals-7 .flower-title{font-size:19px !important}
  .frangipani-wheel.petals-8 .flower-title{font-size:16.5px !important}
  .frangipani-wheel.petals-9 .flower-title{font-size:14.5px !important}

  .page-home .home-slogan{
    width:calc(100vw - 28px);
    max-width:560px;
    margin:0 auto !important;
  }

  .page-home .home-slogan-main{
    font-size:clamp(20px,5.6vw,25px);
  }

  .page-home .home-slogan-accent{
    font-size:clamp(21px,5.8vw,26px);
  }

  .petal-count-control{
    gap:6px;
    font-size:9px;
  }

  .petal-count-buttons button{
    width:27px;
    height:27px;
    font-size:10px;
  }
}

@media(max-width:390px) and (orientation:portrait){
  .page-home .home-wheel{
    width:86vw !important;
    max-width:86vw !important;
  }
}
/* Style interface */

.petal-count-control{
  display:none !important;
}

.frangipani-wheel.petals-10 .flower-title{
  font-size:14.8px !important;
  letter-spacing:-.2px;
}

.frangipani-wheel.petals-10 .flower-title-multiline{
  font-size:14.2px !important;
}

/* Les pétales étant plus nombreux, on conserve une légère finesse de contour. */
.frangipani-wheel.petals-10 .frangipani-petal{
  stroke-width:1.8 !important;
}

@media(max-width:720px) and (orientation:portrait){
  .page-home .home-wheel{
    width:87vw !important;
    max-width:87vw !important;
  }

  .page-home .frangipani-wheel.petals-10{
    transform:scale(.91);
  }

  .frangipani-wheel.petals-10 .flower-title{
    font-size:13.2px !important;
  }

  .frangipani-wheel.petals-10 .flower-title-multiline{
    font-size:12.7px !important;
  }
}

@media(max-width:390px) and (orientation:portrait){
  .page-home .home-wheel{
    width:85vw !important;
    max-width:85vw !important;
  }

  .frangipani-wheel.petals-10 .flower-title{
    font-size:12.4px !important;
  }

  .frangipani-wheel.petals-10 .flower-title-multiline{
    font-size:12px !important;
  }
}
/* Style interface */

/* Tailles de texte pour une fleur pouvant aller de 1 à 10 pétales.
   Le cas courant démarre à 5 pétales. */
.frangipani-wheel.petals-1 .flower-title,
.frangipani-wheel.petals-2 .flower-title,
.frangipani-wheel.petals-3 .flower-title,
.frangipani-wheel.petals-4 .flower-title,
.frangipani-wheel.petals-5 .flower-title{
  font-size:30px !important;
}

.frangipani-wheel.petals-6 .flower-title{font-size:24px !important}
.frangipani-wheel.petals-7 .flower-title{font-size:21px !important}
.frangipani-wheel.petals-8 .flower-title{font-size:18px !important}
.frangipani-wheel.petals-9 .flower-title{font-size:16px !important}
.frangipani-wheel.petals-10 .flower-title{font-size:14.8px !important}

.theme-unavailable{
  min-height:58vh;
  display:grid;
  align-items:center;
}

.theme-unavailable-card{
  max-width:720px;
  margin:0 auto;
  padding:clamp(28px,5vw,56px);
  text-align:center;
  border-radius:22px;
}

.theme-unavailable-card h1{
  margin:8px 0 12px;
}

.theme-unavailable-card p{
  margin:0 0 22px;
  color:var(--muted);
}

@media(max-width:720px) and (orientation:portrait){
  .frangipani-wheel.petals-1 .flower-title,
  .frangipani-wheel.petals-2 .flower-title,
  .frangipani-wheel.petals-3 .flower-title,
  .frangipani-wheel.petals-4 .flower-title,
  .frangipani-wheel.petals-5 .flower-title{
    font-size:26px !important;
  }
  .frangipani-wheel.petals-6 .flower-title{font-size:22px !important}
  .frangipani-wheel.petals-7 .flower-title{font-size:19px !important}
  .frangipani-wheel.petals-8 .flower-title{font-size:16.5px !important}
  .frangipani-wheel.petals-9 .flower-title{font-size:14.5px !important}
  .frangipani-wheel.petals-10 .flower-title{font-size:13.2px !important}
}
/* Style interface */

.display-countdown{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:25px;
  padding:4px 9px;
  border-radius:999px;
  border:1px solid rgba(244,217,120,.55);
  background:rgba(244,217,120,.13);
  color:#f5dc7e;
  font-size:11px;
  line-height:1;
  font-weight:900;
  letter-spacing:.35px;
  white-space:nowrap;
}

/* Le dernier jour doit se distinguer immédiatement. */
.display-countdown-today{
  background:#f4d978;
  border-color:#f4d978;
  color:#17130a;
  box-shadow:0 0 0 3px rgba(244,217,120,.12);
}

/* Covoiturage : le badge se place naturellement sous le détail du trajet. */
.ride .display-countdown{
  width:max-content;
  margin-top:6px;
}

@media(max-width:720px){
  .display-countdown{
    min-height:23px;
    padding:4px 8px;
    font-size:10px;
  }
}
/* Style interface */

.trade-filter{
  margin:0 0 22px;
  padding:16px;
  border-radius:16px;
  background:rgba(0,0,0,.20);
  border:1px solid rgba(255,255,255,.08);
}

.trade-filter-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:13px;
}

.trade-filter-head > div{
  display:grid;
  gap:4px;
}

.trade-filter-label{
  font-size:13px;
  font-weight:900;
  color:#fff;
}

.trade-filter-head small{
  color:var(--muted);
  font-size:11px;
}

.trade-filter-options{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.trade-chip{
  min-height:34px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.055);
  color:rgba(255,255,255,.88);
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}

.trade-chip:hover{
  background:rgba(255,255,255,.10);
}

.trade-chip.is-active{
  background:#f4d978;
  border-color:#f4d978;
  color:#17130a;
}

.artisan-trades{
  gap:6px;
}

.artisan-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

.artisan-actions .btn{
  margin-top:0;
}

@media(max-width:620px){
  .trade-filter-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .trade-reset{
    width:100%;
  }

  .artisan-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .artisan-actions .btn{
    width:100%;
    justify-content:center;
  }
}
/* Style interface */

.page-vehicules::before{
  background-image:url("assets/bg-home.jpg");
}

.vehicle-source-note{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  margin:0 0 18px;
  padding:14px 16px;
}

.vehicle-source-note > div{
  display:grid;
  gap:4px;
}

.vehicle-source-note strong{
  color:#fff;
  font-size:13px;
}

.vehicle-source-note span{
  color:var(--muted);
  font-size:12px;
}

.vehicle-source-note a{
  flex:0 0 auto;
  color:#f4d978;
  font-size:12px;
  font-weight:900;
  text-decoration:none;
}

.vehicle-filters{
  margin:0 0 16px;
  padding:17px;
}

.vehicle-filter-title{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:14px;
}

.vehicle-filter-title > div{
  display:grid;
  gap:4px;
}

.vehicle-filter-title strong{
  font-size:15px;
  color:#fff;
}

.vehicle-filter-title small{
  font-size:11px;
  color:var(--muted);
}

.vehicle-filter-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:11px;
}

.vehicle-filter-grid label,
.vehicle-sort-label{
  display:grid;
  gap:6px;
}

.vehicle-filter-grid label > span,
.vehicle-sort-label > span{
  font-size:11px;
  font-weight:900;
  color:rgba(255,255,255,.72);
  text-transform:uppercase;
  letter-spacing:.04em;
}

.vehicle-filter-grid input,
.vehicle-filter-grid select,
.vehicle-sort-label select{
  width:100%;
  min-height:42px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:11px;
  background:rgba(0,0,0,.26);
  color:#fff;
  padding:9px 11px;
  outline:none;
}

.vehicle-filter-grid select option,
.vehicle-sort-label select option{
  color:#111;
  background:#fff;
}

.vehicle-search-wide{
  grid-column:span 2;
}

.vehicle-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:14px;
  margin:4px 0 16px;
  color:rgba(255,255,255,.78);
  font-size:12px;
  font-weight:800;
}

.vehicle-sort-label{
  min-width:190px;
}

.vehicle-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.vehicle-card{
  padding:17px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.vehicle-card[hidden]{
  display:none !important;
}

.vehicle-card-top{
  display:grid;
  grid-template-columns:48px 1fr;
  gap:13px;
  align-items:start;
}

.vehicle-brand-mark{
  width:48px;
  height:48px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#f8e39a,#fff6cf);
  color:#231d0c;
  font-size:22px;
  font-weight:950;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.6);
}

.vehicle-card-heading h3{
  margin:7px 0 5px;
  font-size:19px;
  line-height:1.18;
}

.vehicle-location-date{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:11px;
}

.vehicle-specs{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
}

.vehicle-specs span{
  min-width:0;
  padding:9px 8px;
  border-radius:10px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.07);
  text-align:center;
}

.vehicle-specs strong,
.vehicle-specs small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
}

.vehicle-specs strong{
  color:#fff;
  font-size:12px;
  white-space:nowrap;
}

.vehicle-specs small{
  margin-top:3px;
  color:var(--muted);
  font-size:9px;
  text-transform:uppercase;
}

.vehicle-note{
  margin:0;
  padding:10px 12px;
  border-radius:10px;
  background:rgba(244,217,120,.09);
  color:rgba(255,255,255,.78);
  font-size:12px;
}

.vehicle-card-foot{
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}

.vehicle-price{
  color:#f4d978;
  font-size:20px;
  white-space:nowrap;
}

.vehicle-source-link{
  margin:0 !important;
  text-align:center;
}

.vehicle-source-id{
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.075);
  color:rgba(255,255,255,.42);
  font-size:10px;
}

.frangipani-wheel.petals-11 .flower-title{
  font-size:13.4px !important;
}

.frangipani-wheel.petals-11 .flower-title-multiline{
  font-size:12.3px !important;
}

@media(max-width:900px){
  .vehicle-filter-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .vehicle-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:620px){
  .vehicle-source-note,
  .vehicle-filter-title,
  .vehicle-toolbar{
    align-items:stretch;
    flex-direction:column;
  }

  .vehicle-filter-grid{
    grid-template-columns:1fr;
  }

  .vehicle-search-wide{
    grid-column:auto;
  }

  .vehicle-sort-label{
    min-width:0;
  }

  .vehicle-card-foot{
    align-items:stretch;
    flex-direction:column;
  }

  .vehicle-source-link{
    width:100%;
    justify-content:center;
  }

  .vehicle-specs{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .frangipani-wheel.petals-11 .flower-title{
    font-size:12px !important;
  }
}
/* Style interface */

.home-facebook-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin:15px auto 0;
  min-height:42px;
  padding:9px 16px;
  border-radius:999px;
  background:#1877f2;
  color:#fff;
  font-size:12px;
  font-weight:900;
  text-decoration:none;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  transition:transform .16s ease, filter .16s ease;
}

.home-facebook-button:hover{
  transform:translateY(-1px);
  filter:brightness(1.06);
}

.home-facebook-icon{
  width:24px;
  height:24px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff;
  color:#1877f2;
  font-family:Arial,sans-serif;
  font-size:19px;
  font-weight:900;
  line-height:1;
}

/* Style interface */

.sorties-source-note{
  display:grid;
  gap:5px;
  margin:0 0 16px;
  padding:14px 16px;
}

.sorties-source-note strong{
  color:#fff;
  font-size:13px;
}

.sorties-source-note span{
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}

.sortie-source-tag{
  opacity:.78;
}

.sortie-date{
  margin:7px 0 3px;
  color:#f4d978;
  font-size:13px;
  font-weight:900;
}

.sortie-lieu{
  margin-bottom:8px;
  color:rgba(255,255,255,.72);
  font-size:12px;
}

.sortie-foot{
  align-items:center;
  gap:10px;
}

.sortie-foot .btn{
  margin:0;
}

@media(max-width:620px){
  .home-facebook-button{
    max-width:90vw;
    font-size:11.5px;
  }

  .sortie-foot{
    align-items:stretch;
    flex-direction:column;
  }

  .sortie-foot .btn{
    width:100%;
    justify-content:center;
    text-align:center;
  }
}
/* Style interface */

/* Les blocs de recherche doivent être immédiatement identifiables. */
.json-filters,
.trade-filter,
.vehicle-filters{
  position:relative;
  border:2px solid rgba(244,217,120,.58) !important;
  background:linear-gradient(180deg,rgba(12,18,20,.96),rgba(5,8,10,.96)) !important;
  box-shadow:
    0 16px 38px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.07) !important;
}

.json-filters{
  padding:18px;
  border-radius:16px;
}

.json-filters::before{
  content:"RECHERCHER / FILTRER";
  flex:0 0 100%;
  display:block;
  margin-bottom:2px;
  color:#f4d978;
  font-size:12px;
  font-weight:950;
  letter-spacing:.09em;
}

.json-filters label span,
.vehicle-filter-grid label > span,
.vehicle-sort-label > span{
  color:#f4d978 !important;
  font-weight:950 !important;
}

/* Contraste volontairement clair pour les champs. */
.json-filters select,
.vehicle-filter-grid input,
.vehicle-filter-grid select,
.vehicle-sort-label select{
  border:2px solid rgba(255,255,255,.78) !important;
  background:#ffffff !important;
  color:#161616 !important;
  box-shadow:0 3px 10px rgba(0,0,0,.18);
}

.json-filters select:focus,
.vehicle-filter-grid input:focus,
.vehicle-filter-grid select:focus,
.vehicle-sort-label select:focus{
  border-color:#f4d978 !important;
  box-shadow:0 0 0 3px rgba(244,217,120,.28) !important;
}

.json-filters select option,
.vehicle-filter-grid select option,
.vehicle-sort-label select option{
  background:#fff !important;
  color:#111 !important;
}

.filter-reset{
  border:2px solid #f4d978 !important;
  background:rgba(244,217,120,.12) !important;
  color:#f9e7a6 !important;
}

.filter-reset:hover{
  background:#f4d978 !important;
  color:#17130a !important;
}

/* Artisans : rendre les choix de métiers beaucoup plus lisibles. */
.trade-filter{
  padding:19px !important;
}

.trade-filter-label,
.vehicle-filter-title strong{
  color:#f4d978 !important;
  font-size:15px !important;
}

.trade-filter-head small,
.vehicle-filter-title small{
  color:rgba(255,255,255,.78) !important;
}

.trade-chip{
  border:1px solid rgba(255,255,255,.42) !important;
  background:rgba(255,255,255,.11) !important;
  color:#fff !important;
}

.trade-chip:hover{
  border-color:#f4d978 !important;
  background:rgba(244,217,120,.16) !important;
}

.trade-chip.is-active{
  border-color:#f4d978 !important;
  background:#f4d978 !important;
  color:#17130a !important;
}

/* Séparer davantage les résultats de l'arrière-plan thématique. */
.offer-card.glass,
.card.glass,
.coupon.glass,
.ride.glass,
.vehicle-card.glass{
  background:linear-gradient(180deg,rgba(15,17,18,.94),rgba(7,8,9,.96)) !important;
  border-color:rgba(255,255,255,.17) !important;
}

/* Style interface */

.bons-reductions-concours-source-note{
  display:grid;
  grid-template-columns:1fr auto;
  gap:5px 18px;
  align-items:center;
  margin:0 0 16px;
  padding:14px 16px;
  border-left:4px solid #f4d978;
}

.bons-reductions-concours-source-note strong{
  color:#fff;
  font-size:13px;
}

.bons-reductions-concours-source-note span{
  color:rgba(255,255,255,.72);
  font-size:12px;
  line-height:1.45;
}

.bons-reductions-concours-source-note a{
  grid-column:2;
  grid-row:1 / span 2;
  color:#f4d978;
  font-size:12px;
  font-weight:900;
  text-decoration:none;
}

.deal-max-discount{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin:10px 0 12px;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(244,217,120,.11);
  border:1px solid rgba(244,217,120,.35);
}

.deal-max-discount span{
  color:rgba(255,255,255,.72);
  font-size:11px;
  font-weight:800;
}

.deal-max-discount strong{
  color:#f4d978;
  font-size:20px;
  white-space:nowrap;
}

@media(max-width:620px){
  .json-filters{
    padding:15px;
  }

  .json-filters label{
    width:100%;
    min-width:0;
  }

  .json-filters select,
  .filter-reset{
    width:100%;
  }

  .bons-reductions-concours-source-note{
    grid-template-columns:1fr;
  }

  .bons-reductions-concours-source-note a{
    grid-column:auto;
    grid-row:auto;
    margin-top:4px;
  }

  .deal-max-discount{
    align-items:flex-start;
    flex-direction:column;
  }
}
/* Style interface */

.vehicle-filters{
  margin-top:0 !important;
  margin-bottom:12px !important;
}

.vehicle-search-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  margin-bottom:14px;
}

.vehicle-main-search{
  width:100%;
  min-height:50px;
  padding:12px 15px;
  border:2px solid #f4d978 !important;
  border-radius:13px;
  background:#fff !important;
  color:#161616 !important;
  font-size:15px;
  font-weight:700;
  outline:none;
  box-shadow:0 4px 16px rgba(0,0,0,.22);
}

.vehicle-main-search::placeholder{
  color:#6f6f6f;
  font-weight:600;
}

.vehicle-main-search:focus{
  border-color:#fff2b5 !important;
  box-shadow:0 0 0 3px rgba(244,217,120,.28),0 5px 18px rgba(0,0,0,.24);
}

.vehicle-search-row .vehicle-reset{
  min-height:50px;
  padding:0 16px;
  white-space:nowrap;
}

.vehicle-filter-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

.vehicle-filter-grid label{
  min-width:0;
}

.vehicle-toolbar{
  margin:0 0 12px;
  padding:0 2px;
}

.vehicle-source-note-compact{
  margin:0 0 12px;
  padding:11px 14px;
  opacity:.88;
}

.vehicle-source-note-compact strong{
  font-size:12px;
}

.vehicle-source-note-compact span{
  font-size:11px;
}

/* Ancien en-tête de filtre conservé dans le CSS historique mais plus utilisé. */
.vehicle-filter-title{
  display:none !important;
}

.vehicle-search-wide{
  grid-column:auto !important;
}

@media(max-width:900px){
  .vehicle-filter-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:620px){
  .vehicle-search-row{
    grid-template-columns:1fr;
  }

  .vehicle-search-row .vehicle-reset{
    width:100%;
  }

  .vehicle-main-search{
    min-height:48px;
    font-size:14px;
  }

  .vehicle-filter-grid{
    grid-template-columns:1fr;
  }

  .vehicle-toolbar{
    margin-top:2px;
  }
}
/* Style interface */

.vehicle-filter-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

@media(max-width:1050px){
  .vehicle-filter-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:780px){
  .vehicle-filter-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:620px){
  .vehicle-filter-grid{
    grid-template-columns:1fr;
  }
}
/* Style interface */

/* Panneaux de recherche : très visibles sur tous les thèmes */
.json-filters,
.trade-filter,
.vehicle-filters{
  background:#07090a !important;
  border:3px solid #f4d978 !important;
  box-shadow:
    0 18px 42px rgba(0,0,0,.55),
    0 0 0 1px rgba(244,217,120,.18),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}

/* Petit bandeau visuel doré en haut des panneaux */
.json-filters::after,
.trade-filter::after,
.vehicle-filters::after{
  content:"";
  position:absolute;
  left:16px;
  right:16px;
  top:-3px;
  height:3px;
  border-radius:999px;
  background:#fff1a8;
  box-shadow:0 0 14px rgba(244,217,120,.45);
  pointer-events:none;
}

.json-filters,
.trade-filter,
.vehicle-filters{
  position:relative;
}

/* Libellés */
.json-filters label span,
.trade-filter-label,
.vehicle-filter-grid label > span,
.vehicle-sort-label > span{
  color:#ffe88d !important;
  text-shadow:0 1px 0 rgba(0,0,0,.55);
}

/* Champs beaucoup plus nets */
.json-filters select,
.vehicle-filter-grid input,
.vehicle-filter-grid select,
.vehicle-sort-label select,
.vehicle-main-search{
  background:#ffffff !important;
  color:#0d0d0d !important;
  border:2px solid #ffffff !important;
  box-shadow:
    0 4px 12px rgba(0,0,0,.34),
    inset 0 0 0 1px rgba(0,0,0,.08) !important;
}

.json-filters select:focus,
.vehicle-filter-grid input:focus,
.vehicle-filter-grid select:focus,
.vehicle-sort-label select:focus,
.vehicle-main-search:focus{
  border-color:#f4d978 !important;
  box-shadow:
    0 0 0 4px rgba(244,217,120,.35),
    0 5px 16px rgba(0,0,0,.38) !important;
}

/* Véhicules : recherche principale prioritaire */
.vehicle-main-search{
  min-height:54px !important;
  font-size:16px !important;
  font-weight:800 !important;
  border:3px solid #f4d978 !important;
}

.vehicle-main-search::placeholder{
  color:#555 !important;
  opacity:1;
}

.vehicle-search-row{
  padding-bottom:15px;
  margin-bottom:15px !important;
  border-bottom:1px solid rgba(244,217,120,.30);
}

/* Filtres mieux séparés */
.vehicle-filter-grid label{
  padding:10px;
  border-radius:12px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.13);
}

.vehicle-filter-grid label:hover{
  border-color:rgba(244,217,120,.45);
  background:rgba(244,217,120,.07);
}

/* Bouton réinitialiser */
.vehicle-search-row .vehicle-reset,
.filter-reset{
  background:#f4d978 !important;
  color:#17130a !important;
  border:2px solid #fff1a8 !important;
  font-weight:950 !important;
  box-shadow:0 4px 12px rgba(0,0,0,.28);
}

.vehicle-search-row .vehicle-reset:hover,
.filter-reset:hover{
  background:#fff1a8 !important;
  color:#111 !important;
}

/* Résultats : cartes plus tranchées par rapport au fond */
.offer-card.glass,
.card.glass,
.coupon.glass,
.ride.glass,
.vehicle-card.glass{
  background:#101315 !important;
  border:1px solid rgba(255,255,255,.25) !important;
  box-shadow:0 14px 30px rgba(0,0,0,.34) !important;
}

.vehicle-card{
  border-left:4px solid rgba(244,217,120,.78) !important;
}

.vehicle-card:hover{
  border-color:#f4d978 !important;
  transform:translateY(-1px);
}

/* Barre de tri mieux identifiable */
.vehicle-toolbar{
  padding:10px 12px !important;
  border-radius:12px;
  background:rgba(0,0,0,.62);
  border:1px solid rgba(255,255,255,.14);
}

.vehicle-toolbar [data-vehicle-visible-count]{
  color:#fff;
  font-weight:900;
}

/* Note source volontairement secondaire */
.vehicle-source-note-compact{
  background:rgba(0,0,0,.52) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  color:rgba(255,255,255,.78);
}

/* Mobile */
@media(max-width:620px){
  .json-filters,
  .trade-filter,
  .vehicle-filters{
    border-width:2px !important;
  }

  .vehicle-filter-grid label{
    padding:9px;
  }

  .vehicle-main-search{
    min-height:52px !important;
    font-size:15px !important;
  }
}
/* Style interface */

.housing-source-note{
  display:grid;
  gap:5px;
  margin:0 0 14px;
  padding:14px 16px;
  border-left:4px solid #f4d978;
  background:rgba(5,8,9,.93) !important;
}

.housing-source-note strong{
  color:#f4d978;
  font-size:13px;
}

.housing-source-note span{
  color:rgba(255,255,255,.78);
  font-size:12px;
  line-height:1.5;
}

.housing-source-filters{
  position:relative;
  margin:0 0 16px;
  padding:17px;
  border:3px solid #f4d978 !important;
  background:#07090a !important;
  box-shadow:0 18px 42px rgba(0,0,0,.48) !important;
}

.housing-source-search-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  padding-bottom:14px;
  margin-bottom:14px;
  border-bottom:1px solid rgba(244,217,120,.28);
}

.housing-source-search-row input{
  min-height:52px;
  width:100%;
  border:3px solid #f4d978;
  border-radius:13px;
  padding:11px 14px;
  background:#fff;
  color:#111;
  font-size:15px;
  font-weight:800;
  outline:none;
}

.housing-source-search-row input::placeholder{
  color:#666;
  opacity:1;
}

.housing-source-search-row input:focus{
  box-shadow:0 0 0 4px rgba(244,217,120,.30);
}

.housing-source-filter-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

.housing-source-filter-grid label{
  display:grid;
  gap:6px;
  padding:10px;
  border-radius:12px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.13);
}

.housing-source-filter-grid label span{
  color:#ffe88d;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.housing-source-filter-grid select{
  min-height:42px;
  width:100%;
  border:2px solid #fff;
  border-radius:10px;
  background:#fff;
  color:#111;
  padding:8px 10px;
}

.housing-source-list{
  display:grid;
  gap:11px;
}

.housing-source-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:15px 16px;
  background:#101315 !important;
  border:1px solid rgba(255,255,255,.22) !important;
  border-left:4px solid rgba(244,217,120,.78) !important;
}

.housing-source-card[hidden]{
  display:none !important;
}

.housing-source-main{
  min-width:0;
}

.housing-source-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:7px;
}

.housing-source-card h3{
  margin:0 0 5px;
  font-size:17px;
  color:#fff;
}

.housing-source-card p{
  margin:0;
  color:rgba(255,255,255,.67);
  font-size:12px;
}

.housing-source-actions{
  flex:0 0 auto;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.housing-source-actions .btn{
  margin:0;
  white-space:nowrap;
}

.housing-facebook-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 13px;
  border-radius:10px;
  background:#1877f2;
  color:#fff;
  font-size:12px;
  font-weight:900;
  text-decoration:none;
}

.housing-facebook-btn:hover{
  filter:brightness(1.08);
}

.housing-listings-section{
  padding-top:16px;
}

@media(max-width:760px){
  .housing-source-filter-grid{
    grid-template-columns:1fr;
  }

  .housing-source-card{
    align-items:stretch;
    flex-direction:column;
  }

  .housing-source-actions{
    justify-content:stretch;
  }

  .housing-source-actions .btn,
  .housing-facebook-btn{
    flex:1 1 140px;
    text-align:center;
  }
}

@media(max-width:620px){
  .housing-source-filters{
    border-width:2px !important;
  }

  .housing-source-search-row{
    grid-template-columns:1fr;
  }

  .housing-source-search-row .filter-reset{
    width:100%;
  }
}
/* Style interface */

.housing-test-note{
  display:grid;
  gap:5px;
  margin:0 0 14px;
  padding:13px 15px;
  border-left:4px solid #f4d978;
  background:rgba(5,8,9,.94) !important;
}

.housing-test-note strong{
  color:#f4d978;
  font-size:13px;
}

.housing-test-note span{
  color:rgba(255,255,255,.75);
  font-size:12px;
}

.housing-listing-filters{
  position:relative;
  margin:0 0 12px;
  padding:18px;
  border:3px solid #f4d978 !important;
  background:#07090a !important;
  box-shadow:0 18px 42px rgba(0,0,0,.52) !important;
}

.housing-main-search-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  padding-bottom:15px;
  margin-bottom:15px;
  border-bottom:1px solid rgba(244,217,120,.30);
}

.housing-main-search-row input{
  min-height:54px;
  width:100%;
  border:3px solid #f4d978;
  border-radius:13px;
  padding:12px 15px;
  background:#fff;
  color:#111;
  font-size:15px;
  font-weight:800;
  outline:none;
}

.housing-main-search-row input:focus{
  box-shadow:0 0 0 4px rgba(244,217,120,.32);
}

.housing-listing-filter-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

.housing-listing-filter-grid label{
  display:grid;
  gap:6px;
  min-width:0;
  padding:10px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  background:rgba(255,255,255,.055);
}

.housing-listing-filter-grid label > span{
  color:#ffe88d;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.035em;
}

.housing-listing-filter-grid input,
.housing-listing-filter-grid select{
  width:100%;
  min-height:42px;
  padding:8px 10px;
  border:2px solid #fff;
  border-radius:9px;
  background:#fff;
  color:#111;
}

.housing-equipment-filter{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(244,217,120,.25);
}

.housing-equipment-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:9px;
}

.housing-equipment-head strong{
  color:#ffe88d;
  font-size:12px;
}

.housing-equipment-head small{
  color:rgba(255,255,255,.56);
  font-size:11px;
}

.housing-equipment-chips{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.housing-equipment-chip{
  min-height:35px;
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.38);
  border-radius:999px;
  background:rgba(255,255,255,.09);
  color:#fff;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}

.housing-equipment-chip:hover{
  border-color:#f4d978;
  background:rgba(244,217,120,.13);
}

.housing-equipment-chip.is-active{
  border-color:#fff1a8;
  background:#f4d978;
  color:#17130a;
}

.housing-listing-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 12px;
  padding:9px 11px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:11px;
  background:rgba(0,0,0,.62);
}

.housing-listing-toolbar strong{
  color:#fff;
  font-size:13px;
}

.housing-listing-toolbar label{
  display:flex;
  align-items:center;
  gap:8px;
}

.housing-listing-toolbar label span{
  color:rgba(255,255,255,.64);
  font-size:11px;
}

.housing-listing-toolbar select{
  min-height:36px;
  border:1px solid #fff;
  border-radius:8px;
  padding:6px 9px;
  background:#fff;
  color:#111;
}

.housing-listing-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.housing-listing-card{
  background:#101315 !important;
  border:1px solid rgba(255,255,255,.22) !important;
  border-left:4px solid rgba(244,217,120,.78) !important;
  box-shadow:0 14px 30px rgba(0,0,0,.34) !important;
}

.housing-listing-card[hidden]{
  display:none !important;
}

.housing-price{
  margin:8px 0 11px;
  color:#f4d978;
  font-size:21px;
  font-weight:950;
}

.housing-specs{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
  margin:0 0 11px;
}

.housing-specs span{
  display:grid;
  gap:2px;
  min-width:0;
  padding:8px 7px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:9px;
  background:rgba(255,255,255,.055);
}

.housing-specs strong{
  color:#fff;
  font-size:13px;
}

.housing-specs small{
  color:rgba(255,255,255,.55);
  font-size:9px;
  text-transform:uppercase;
}

.housing-equipment-list{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin:0 0 11px;
}

.housing-equipment-list span{
  padding:5px 8px;
  border-radius:999px;
  background:rgba(244,217,120,.10);
  border:1px solid rgba(244,217,120,.25);
  color:#f7e39b;
  font-size:10px;
  font-weight:800;
}

.housing-availability{
  color:#fff;
  font-size:11px;
}

.housing-card-actions{
  margin-top:12px;
}

@media(max-width:920px){
  .housing-listing-filter-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:720px){
  .housing-listing-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:620px){
  .housing-main-search-row{
    grid-template-columns:1fr;
  }

  .housing-main-search-row .filter-reset{
    width:100%;
  }

  .housing-listing-filter-grid{
    grid-template-columns:1fr;
  }

  .housing-equipment-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .housing-listing-toolbar{
    align-items:stretch;
    flex-direction:column;
  }

  .housing-listing-toolbar label{
    justify-content:space-between;
  }

  .housing-listing-toolbar select{
    flex:1;
  }

  .housing-specs{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
/* Style interface */

.housing-zone-help{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 12px;
  margin:12px 0 0;
  padding:10px 12px;
  border:1px solid rgba(244,217,120,.28);
  border-radius:10px;
  background:rgba(244,217,120,.06);
}

.housing-zone-help strong{
  color:#ffe88d;
  font-size:11px;
  text-transform:uppercase;
}

.housing-zone-help span{
  color:rgba(255,255,255,.68);
  font-size:11px;
}

.housing-listing-filter-grid [hidden]{
  display:none !important;
}

@media(max-width:620px){
  }


/* Style interface */
.housing-coloc-price{
  margin:-7px 0 11px;
  color:rgba(255,255,255,.75);
  font-size:12px;
  font-weight:800;
}
.housing-direct-source{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  margin:0 8px 8px 0;
  padding:5px 9px;
  border:1px solid rgba(244,217,120,.35);
  border-radius:999px;
  background:rgba(244,217,120,.08);
  color:#f4d978;
  font-size:10px;
  font-weight:900;
}
/* Style interface */

.housing-zone-feature{
  margin:0 0 16px;
  padding:16px;
  border:3px solid #f4d978;
  border-radius:15px;
  background:
    linear-gradient(135deg, rgba(244,217,120,.11), rgba(244,217,120,.025)),
    #0a0c0d;
  box-shadow:0 16px 34px rgba(0,0,0,.38);
}

.housing-zone-feature-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:13px;
}

.housing-zone-feature-head > div{
  display:grid;
  gap:4px;
}

.housing-zone-feature-head strong{
  color:#ffe88d;
  font-size:16px;
  font-weight:950;
}

.housing-zone-feature-head > div > span{
  color:rgba(255,255,255,.72);
  font-size:11px;
  line-height:1.4;
}

.housing-zone-feature-badge{
  flex:none;
  padding:6px 9px;
  border-radius:999px;
  background:#f4d978;
  color:#17130a;
  font-size:9px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.045em;
}

.housing-zone-feature-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:end;
  gap:10px;
}

.housing-zone-feature-grid label{
  display:grid;
  gap:6px;
}

.housing-zone-feature-grid label > span{
  color:#fff3bd;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.03em;
}

.housing-zone-feature-grid select{
  width:100%;
  min-height:48px;
  padding:9px 11px;
  border:2px solid #fff;
  border-radius:10px;
  background:#fff;
  color:#111;
  font-weight:800;
}

.housing-zone-arrow{
  display:grid;
  place-items:center;
  width:38px;
  min-height:48px;
  color:#f4d978;
  font-size:25px;
  font-weight:950;
}

.housing-zone-route{
  display:flex;
  flex-wrap:wrap;
  gap:5px 8px;
  margin-top:11px;
  padding:9px 11px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:9px;
  background:rgba(0,0,0,.24);
  color:rgba(255,255,255,.75);
  font-size:11px;
}

.housing-zone-route strong{
  color:#f4d978;
}

@media(max-width:620px){
  .housing-zone-feature-head{
    flex-direction:column;
  }

  .housing-zone-feature-grid{
    grid-template-columns:1fr;
  }

  .housing-zone-arrow{
    width:100%;
    min-height:22px;
    transform:rotate(90deg);
  }
}


/* Style interface */

.housing-student-feature{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:14px 0 0;
  padding:13px 14px;
  border:2px solid rgba(244,217,120,.50);
  border-radius:12px;
  background:rgba(244,217,120,.065);
}

.housing-student-feature > div{
  display:grid;
  gap:4px;
}

.housing-student-feature strong{
  color:#ffe88d;
  font-size:13px;
  font-weight:950;
}

.housing-student-feature span{
  color:rgba(255,255,255,.68);
  font-size:10px;
  line-height:1.35;
}

.housing-student-toggle{
  flex:none;
  min-height:40px;
  padding:8px 12px;
  border:2px solid #f4d978;
  border-radius:999px;
  background:transparent;
  color:#f4d978;
  font-weight:950;
  cursor:pointer;
}

.housing-student-toggle.is-active{
  background:#f4d978;
  color:#17130a;
}

.housing-student-tag{
  border-color:rgba(244,217,120,.55) !important;
  background:rgba(244,217,120,.12) !important;
  color:#ffe88d !important;
}

@media(max-width:620px){
  .housing-student-feature{
    align-items:stretch;
    flex-direction:column;
  }

  .housing-student-toggle{
    width:100%;
  }
}


/* Style interface */

.page-logement-locations::before{
  background-image:url("assets/bg-home.jpg");
}

.housing-entry-section{
  padding-top:8px;
  padding-bottom:22px;
}

.housing-trust{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:18px;
  margin:0 0 22px;
  padding:22px 24px;
  border:1px solid rgba(255,255,255,.18);
  border-left:5px solid #f4d978;
  background:linear-gradient(135deg,rgba(10,22,22,.96),rgba(8,10,11,.96)) !important;
}

.housing-trust-mark{
  width:54px;
  height:54px;
  border-radius:50%;
  display:grid;
  place-items:center;
  flex:none;
  color:#17130a;
  background:#f4d978;
  font-size:28px;
  font-weight:950;
  box-shadow:0 7px 20px rgba(0,0,0,.28);
}

.housing-trust .eyebrow{
  margin-bottom:5px;
}

.housing-trust h2{
  margin:0 0 8px;
  font-size:clamp(25px,3vw,36px);
  letter-spacing:-.02em;
}

.housing-trust p{
  margin:0;
  color:rgba(255,255,255,.79);
  line-height:1.58;
}

.housing-intent{
  margin:0 0 6px;
}

.housing-intent > h2{
  margin:0 0 13px;
  font-size:25px;
}

.housing-intent-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.housing-intent-card{
  margin:0;
  min-height:184px;
  padding:22px;
  border:2px solid rgba(244,217,120,.58);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(15,17,18,.95),rgba(7,8,9,.97));
  color:#fff;
  text-align:left;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  cursor:pointer;
  box-shadow:0 15px 34px rgba(0,0,0,.30);
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}

.housing-intent-card:hover{
  transform:translateY(-2px);
  border-color:#fff0a8;
  box-shadow:0 18px 38px rgba(0,0,0,.38);
}

.housing-intent-card.is-active{
  background:linear-gradient(135deg,#f4d978,#ffc400);
  color:#17130a;
  border-color:#fff2b8;
}

.housing-intent-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  margin-bottom:15px;
  background:rgba(244,217,120,.13);
  color:#f4d978;
  font-size:25px;
  font-weight:950;
}

.housing-intent-card.is-active .housing-intent-icon{
  background:rgba(17,13,4,.12);
  color:#17130a;
}

.housing-intent-card strong{
  font-size:28px;
  letter-spacing:.05em;
}

.housing-intent-card > span:not(.housing-intent-icon){
  margin-top:7px;
  color:rgba(255,255,255,.67);
  font-size:12px;
  line-height:1.4;
}

.housing-intent-card.is-active > span:not(.housing-intent-icon){
  color:rgba(23,19,10,.74);
}

.housing-intent-card em{
  margin-top:auto;
  padding-top:16px;
  color:#f4d978;
  font-style:normal;
  font-size:12px;
  font-weight:950;
}

.housing-intent-card.is-active em{
  color:#17130a;
}

.housing-intent-help{
  margin:10px 2px 0;
  color:rgba(255,255,255,.60);
  font-size:11px;
}

[data-housing-results][hidden]{
  display:none !important;
}

.housing-listing-card .tag-highlight{
  letter-spacing:.04em;
}

@media(max-width:680px){
  .housing-trust{
    grid-template-columns:1fr;
    padding:19px;
  }

  .housing-trust-mark{
    width:46px;
    height:46px;
    font-size:24px;
  }

  .housing-intent-grid{
    grid-template-columns:1fr;
  }

  .housing-intent-card{
    min-height:154px;
  }

  .housing-intent-card strong{
    font-size:24px;
  }
}


/* Style interface */

.vehicle-card-top{
  grid-template-columns:76px minmax(0,1fr) !important;
  align-items:center !important;
}

.vehicle-brand-mark{
  display:none !important;
}

.vehicle-sketch{
  width:76px;
  height:54px;
  display:grid;
  place-items:center;
  padding:5px 4px;
  border-radius:13px;
  color:#f4d978;
  background:linear-gradient(145deg,rgba(244,217,120,.09),rgba(255,255,255,.025));
  border:1px solid rgba(244,217,120,.30);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

.vehicle-sketch img{
  display:block;
  width:68px;
  height:42px;
  object-fit:contain;
}

/* Les SVG utilisent currentColor : masque CSS pour garantir
   une silhouette dorée cohérente avec l'identité Fenua Malin. */
.vehicle-sketch{
  --vehicle-sketch-color:#f4d978;
}

.vehicle-sketch img{
  filter:
    brightness(0)
    saturate(100%)
    invert(86%)
    sepia(40%)
    saturate(790%)
    hue-rotate(351deg)
    brightness(104%)
    contrast(91%);
}

.vehicle-card:hover .vehicle-sketch{
  border-color:rgba(255,241,168,.78);
  background:rgba(244,217,120,.12);
}

@media(max-width:520px){
  .vehicle-card-top{
    grid-template-columns:66px minmax(0,1fr) !important;
    gap:10px !important;
  }

  .vehicle-sketch{
    width:66px;
    height:48px;
  }

  .vehicle-sketch img{
    width:59px;
    height:37px;
  }
}


/* Style interface */

.vehicle-pager{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  padding:18px 0 4px;
  color:rgba(255,255,255,.66);
  font-size:12px;
}

.vehicle-pager .vehicle-load-more{
  margin:0;
}

.housing-colocation-shortcut{
  margin:12px 0 0;
  padding:9px 14px;
  border:1px solid rgba(244,217,120,.65);
  border-radius:999px;
  background:rgba(244,217,120,.09);
  color:#f4d978;
  font:inherit;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
  transition:.18s ease;
}

.housing-colocation-shortcut:hover{
  background:#f4d978;
  color:#17130a;
}


/* Style interface */

.covoiturage-intro-section{
  padding-top:10px;
  padding-bottom:18px;
}

.covoiturage-trust{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:18px;
  align-items:start;
  padding:22px 24px;
  border-left:5px solid #f4d978;
  background:linear-gradient(135deg,rgba(11,20,21,.96),rgba(8,9,10,.96)) !important;
}

.covoiturage-trust-icon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f4d978;
  color:#17130a;
  font-size:28px;
  font-weight:950;
}

.covoiturage-trust h2{
  margin:0 0 8px;
  font-size:clamp(24px,3vw,34px);
}

.covoiturage-trust p{
  margin:0 0 7px;
  color:rgba(255,255,255,.80);
  line-height:1.55;
}

.covoiturage-trust-small{
  font-size:12px;
  color:rgba(255,255,255,.61) !important;
}

.covoiturage-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}

.covoiturage-stats > div{
  padding:16px 18px;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.covoiturage-stats strong{
  color:#f4d978;
  font-size:25px;
}

.covoiturage-stats span{
  color:rgba(255,255,255,.66);
  font-size:11px;
}

.covoiturage-filters{
  margin:16px 0 12px;
  padding:16px;
}

.ride-filter-grid{
  display:grid;
  grid-template-columns:minmax(260px,2fr) 1fr 1fr auto;
  gap:10px;
  align-items:end;
}

.ride-filter-grid label{
  display:grid;
  gap:6px;
}

.ride-filter-grid label > span{
  font-size:11px;
  color:rgba(255,255,255,.65);
  font-weight:800;
}

.ride-filter-grid input,
.ride-filter-grid select{
  width:100%;
}

.ride-reset{
  margin:0;
  min-height:44px;
}

.covoiturage-toolbar{
  min-height:28px;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  color:rgba(255,255,255,.63);
  font-size:12px;
  margin-bottom:8px;
}

.covoiturage-list{
  display:grid;
  gap:12px;
}

.ride-card{
  display:block !important;
  padding:0 !important;
}

.ride-card[hidden]{
  display:none !important;
}

.ride-card-main{
  padding:18px 20px;
}

.ride-route{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:9px 0 10px;
  font-size:clamp(21px,3vw,29px);
}

.ride-route span{
  color:#f4d978;
}

.ride-schedule{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:0 0 10px;
}

.ride-schedule span,
.ride-period{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(244,217,120,.10);
  border:1px solid rgba(244,217,120,.27);
  color:#f5e6a3;
  font-size:11px;
  font-weight:800;
}

.ride-period{
  margin-bottom:10px;
}

.ride-source-tag{
  opacity:.75;
}

.ride-card-foot{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:14px;
  margin-top:14px;
  padding-top:13px;
  border-top:1px solid rgba(255,255,255,.09);
}

.ride-publication{
  display:flex;
  flex-direction:column;
  gap:3px;
  color:rgba(255,255,255,.64);
  font-size:11px;
}

.ride-publication small{
  color:rgba(255,255,255,.42);
}

.ride-facebook-btn{
  flex:none;
}

.covoiturage-source-note{
  margin-top:16px;
}

@media(max-width:760px){
  .ride-filter-grid{
    grid-template-columns:1fr 1fr;
  }

  .ride-filter-search{
    grid-column:1/-1;
  }

  .covoiturage-stats{
    grid-template-columns:1fr;
  }
}

@media(max-width:560px){
  .covoiturage-trust{
    grid-template-columns:1fr;
    padding:19px;
  }

  .ride-filter-grid{
    grid-template-columns:1fr;
  }

  .ride-filter-search{
    grid-column:auto;
  }

  .ride-card-foot{
    align-items:stretch;
    flex-direction:column;
  }

  .ride-facebook-btn{
    width:100%;
    text-align:center;
  }
}


/* Style interface */

.ride-search{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  gap:16px;
  align-items:stretch;
}

.ride-search-column{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  padding:15px;
  border-radius:16px;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(244,217,120,.20);
}

.ride-search-column:first-child{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.ride-search-heading{
  grid-column:1/-1;
  color:#f4d978;
  font-size:13px;
  font-weight:950;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.ride-search-column label,
.ride-filter-secondary label{
  display:grid;
  gap:6px;
}

.ride-search-column label > span,
.ride-filter-secondary label > span{
  font-size:11px;
  color:rgba(255,255,255,.65);
  font-weight:800;
}

.ride-search-column select,
.ride-filter-secondary select{
  width:100%;
}

.ride-search-direction{
  align-self:center;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:50%;
  background:#f4d978;
  color:#17130a;
  font-size:22px;
  font-weight:950;
}

.ride-filter-secondary{
  display:grid;
  grid-template-columns:minmax(160px,1fr) minmax(160px,1fr) auto;
  gap:10px;
  align-items:end;
  margin-top:12px;
}

.ride-district-field[hidden]{
  display:none !important;
}

.ride-district-field select:disabled{
  opacity:.45;
  cursor:not-allowed;
}

@media(max-width:900px){
  .ride-search{
    grid-template-columns:1fr;
  }

  .ride-search-direction{
    transform:rotate(90deg);
    justify-self:center;
  }

  .ride-search-column:first-child{
    grid-template-columns:1fr 1fr;
  }

  .ride-search-column{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:560px){
  .ride-search-column,
  .ride-search-column:first-child,
  .ride-filter-secondary{
    grid-template-columns:1fr;
  }

  .ride-search-direction{
    width:36px;
    height:36px;
    font-size:19px;
  }
}


/* Style interface */

#fenuaFlower .flower-picto{
  opacity:1;
  pointer-events:none;
  transition:opacity .16s ease, transform .16s ease;
  transform-box:fill-box;
  transform-origin:center;
}

#fenuaFlower .flower-hover-title{
  fill:#202326;
  font-family:Arial,Helvetica,sans-serif;
  font-size:25px;
  font-weight:900;
  letter-spacing:.01em;
  opacity:0;
  pointer-events:none;
  transition:opacity .16s ease;
}

#fenuaFlower .flower-hover-title-multiline{
  font-size:22px;
}

#fenuaFlower .flower-picto-link:hover .flower-picto,
#fenuaFlower .flower-picto-link.is-petal-hovered .flower-picto{
  opacity:.08;
  transform:scale(.96);
}

#fenuaFlower .flower-picto-link:hover .flower-hover-title,
#fenuaFlower .flower-picto-link.is-petal-hovered .flower-hover-title{
  opacity:1;
}

#fenuaFlower .flower-link.is-petal-hovered .flower-petal{
  filter:brightness(1.06) drop-shadow(0 8px 14px rgba(0,0,0,.18));
}

@media(max-width:700px){
  #fenuaFlower .flower-hover-title{font-size:22px}
  #fenuaFlower .flower-hover-title-multiline{font-size:19px}
}


/* Style interface */
#fenuaFlower .flower-picto-premium{
  image-rendering:auto;
  filter:drop-shadow(0 1px 0 rgba(255,255,255,.16)) drop-shadow(0 2px 3px rgba(0,0,0,.05));
  transform-box:fill-box;
  transform-origin:center;
  transition:opacity .16s ease,transform .18s ease,filter .18s ease;
}
#fenuaFlower .flower-picto-link:hover .flower-picto-premium,
#fenuaFlower .flower-picto-link.is-petal-hovered .flower-picto-premium{
  opacity:.08;
  transform:scale(.95);
  filter:none;
}
#fenuaFlower .flower-hover-title{
  fill:#202326;
  paint-order:stroke;
  stroke:rgba(255,255,255,.12);
  stroke-width:.4px;
}


/* Style interface */

.vehicle-card-top-no-icon{
  display:block !important;
}

.vehicle-card .vehicle-sketch,
.vehicle-card .vehicle-brand-mark{
  display:none !important;
}

.vehicle-card{
  position:relative;
  background:linear-gradient(145deg,rgba(22,31,33,.99),rgba(8,11,12,.99)) !important;
  border:1px solid rgba(244,217,120,.42) !important;
  border-radius:18px !important;
  box-shadow:
    0 13px 32px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.05) !important;
  overflow:hidden;
}

.vehicle-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg,#f4d978,rgba(244,217,120,.26));
}

.vehicle-card:hover{
  border-color:rgba(244,217,120,.82) !important;
  box-shadow:
    0 18px 42px rgba(0,0,0,.50),
    0 0 0 1px rgba(244,217,120,.10) !important;
  transform:translateY(-2px);
}

.vehicle-list,
[data-json-list="vehicules"]{
  gap:20px !important;
}

.vehicle-card .vehicle-specs{
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  padding:10px 11px;
}

/* Style interface */

.contest-card{
  border:1px solid rgba(244,217,120,.48) !important;
  background:linear-gradient(145deg,rgba(25,27,19,.99),rgba(8,10,10,.99)) !important;
}

.contest-prize{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin:12px 0;
  padding:13px 14px;
  border-radius:12px;
  background:rgba(244,217,120,.10);
  border:1px solid rgba(244,217,120,.30);
}

.contest-prize span{
  color:rgba(255,255,255,.62);
  font-size:10px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.contest-prize strong{
  color:#f4d978;
  font-size:19px;
}

/* Accès principaux logement : trois choix de poids visuel identique */
.housing-intent-grid .housing-intent-card{
  width:100%;
  min-width:0;
  height:100%;
}

@media (min-width:681px){
  .housing-intent-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

/* L'ancien raccourci colocation n'est plus affiché. */
.housing-colocation-shortcut{
  display:none !important;
}


/* accueil plus clair, plus gai, tout en restant neutre */
body.page-home{
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,0.26) 0%, rgba(255,255,255,0.06) 26%, transparent 46%),
    radial-gradient(circle at 82% 20%, rgba(164,232,255,0.22) 0%, rgba(164,232,255,0.05) 25%, transparent 44%),
    linear-gradient(180deg, #4b7382 0%, #6b95a2 16%, #87afb9 34%, #b8d3d6 57%, #e7f0ef 100%) !important;
  background-attachment: fixed;
}
body.page-home::before{
  background:
    linear-gradient(180deg,
      rgba(13,34,43,0.18) 0%,
      rgba(17,44,55,0.12) 32%,
      rgba(255,255,255,0.04) 58%,
      rgba(255,255,255,0.12) 100%) !important;
  opacity: 1 !important;
}
body.page-home .hero,
body.page-home .home-hero,
body.page-home .page-hero,
body.page-home .flower-hero,
body.page-home .hero-panel{
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
}
body.page-home .glass,
body.page-home .floating-panel,
body.page-home .petal-tooltip,
body.page-home .theme-card{
  background: rgba(255,255,255,0.12);
}


/* Lisibilité des listes et menus */
.offer-grid,
.vehicle-grid,
.housing-listing-grid,
.ride-list,
.housing-source-list{
  gap:20px !important;
}

.offer-card.glass,
.card.glass,
.coupon.glass,
.ride.glass,
.ride-card.glass,
.vehicle-card.glass,
.housing-listing-card.glass,
.housing-source-card.glass{
  background:linear-gradient(180deg,#1a1e20 0%,#111416 100%) !important;
  border:2px solid rgba(255,255,255,.28) !important;
  border-left:5px solid rgba(244,217,120,.82) !important;
  box-shadow:0 15px 34px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

.offer-card.glass:hover,
.ride-card.glass:hover,
.vehicle-card.glass:hover,
.housing-listing-card.glass:hover,
.housing-source-card.glass:hover{
  border-color:rgba(244,217,120,.68) !important;
  box-shadow:0 18px 42px rgba(0,0,0,.62), 0 0 0 1px rgba(244,217,120,.16) !important;
}

/* Les cartes adjacentes doivent rester clairement séparées même sur fond sombre. */
.offer-card + .offer-card,
.ride-card + .ride-card,
.vehicle-card + .vehicle-card,
.housing-listing-card + .housing-listing-card,
.housing-source-card + .housing-source-card{
  margin-top:2px;
}

/* Menus déroulants : éviter tout texte blanc sur fond blanc dans Edge/Chromium. */
select{
  color-scheme:dark;
  background:#15191b !important;
  color:#ffffff !important;
  border:2px solid rgba(255,255,255,.48) !important;
}
select option,
select optgroup{
  background:#15191b !important;
  color:#ffffff !important;
}
select option:checked{
  background:#777 !important;
  color:#ffffff !important;
}

.json-filters select,
.vehicle-filter-grid select,
.vehicle-sort-label select,
.housing-source-filter-grid select,
.housing-listing-filter-grid select,
.housing-listing-toolbar select,
.housing-zone-feature-grid select,
.ride-search-column select,
.ride-filter-secondary select{
  background:#15191b !important;
  color:#fff !important;
  border-color:rgba(255,255,255,.48) !important;
  box-shadow:0 3px 10px rgba(0,0,0,.28) !important;
}

.json-filters select:focus,
.vehicle-filter-grid select:focus,
.vehicle-sort-label select:focus,
.housing-source-filter-grid select:focus,
.housing-listing-filter-grid select:focus,
.housing-listing-toolbar select:focus,
.housing-zone-feature-grid select:focus,
.ride-search-column select:focus,
.ride-filter-secondary select:focus{
  border-color:#f4d978 !important;
  box-shadow:0 0 0 3px rgba(244,217,120,.24) !important;
}

/* Alléger les héros ciblés après retrait des textes explicatifs. */
.page-bons-reductions-concours .page-hero,
.page-logement-locations .page-hero,
.page-vehicules .page-hero{
  padding-bottom:30px;
}


/* Présentation visuelle des jeux-concours */
.contest-card{overflow:hidden!important;}
.contest-prize-visual{position:relative;background:#0b1114;border-bottom:1px solid rgba(244,217,120,.34);}
.contest-prize-visual .json-visual{min-height:245px!important;height:245px!important;background:#101416!important;}
.contest-prize-visual .json-visual.has-image>img:first-child{width:100%;height:245px!important;min-height:245px!important;object-fit:cover!important;}
.contest-prize-visual .json-logo-badge{width:92px!important;height:54px!important;right:14px!important;bottom:14px!important;border-radius:12px!important;padding:4px!important;background:#101416!important;border:1px solid rgba(255,255,255,.24);}
.contest-organizer-line{display:flex;align-items:baseline;gap:7px;margin-bottom:10px;color:rgba(255,255,255,.66);font-size:12px;}
.contest-organizer-line strong{color:#fff;font-size:14px;}
.contest-prize-main{display:grid;gap:5px;margin:0 0 14px;padding:15px 16px;border-radius:14px;background:linear-gradient(135deg,rgba(244,217,120,.18),rgba(244,217,120,.05));border:1px solid rgba(244,217,120,.45);}
.contest-prize-main>span{color:#f4d978;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.08em;}
.contest-prize-main>strong{color:#fff;font-size:clamp(21px,2.2vw,28px);line-height:1.12;letter-spacing:-.02em;}
.contest-prize-main>em{font-style:normal;color:#f4d978;font-size:15px;font-weight:900;}
.contest-secondary-meta{margin-top:4px!important;}
@media(max-width:620px){.contest-prize-visual .json-visual,.contest-prize-visual .json-visual.has-image>img:first-child{height:205px!important;min-height:205px!important}.contest-prize-visual .json-logo-badge{width:78px!important;height:48px!important}.contest-prize-main>strong{font-size:21px}}


/* Cartes concours et promotions — présentation textuelle sobre */
.contest-prize-visual{
  display:none !important;
}

.contest-card-text .offer-body,
.deal-card-text .offer-body{
  padding:22px !important;
}

.contest-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:52px;
  margin-bottom:16px;
  padding-bottom:13px;
  border-bottom:1px solid rgba(255,255,255,.12);
}

.contest-card-head .contest-organizer-line{
  display:grid;
  gap:3px;
  margin:0;
}

.contest-card-head .contest-organizer-line span{
  color:rgba(255,255,255,.58);
  font-size:11px;
  font-weight:800;
}

.contest-card-head .contest-organizer-line strong{
  color:#fff;
  font-size:17px;
  line-height:1.2;
}

.contest-organizer-logo{
  flex:0 0 auto;
  display:block;
  width:auto;
  max-width:118px;
  height:40px;
  object-fit:contain;
  border-radius:8px;
}

.contest-prize-main{
  gap:7px !important;
  margin:0 0 16px !important;
  padding:18px !important;
  background:
    linear-gradient(135deg,rgba(244,217,120,.18),rgba(244,217,120,.055)) !important;
  border:1px solid rgba(244,217,120,.52) !important;
  border-left:5px solid #f4d978 !important;
}

.contest-prize-main > span{
  font-size:11px !important;
  letter-spacing:.085em !important;
}

.contest-prize-main > strong{
  font-size:clamp(24px,2.5vw,33px) !important;
  line-height:1.08 !important;
}

.contest-prize-main > em{
  margin-top:2px;
  font-size:17px !important;
}

.contest-description{
  margin:4px 0 16px !important;
}

.deal-organizer{
  margin:0 0 6px !important;
  color:rgba(255,255,255,.62) !important;
  font-size:13px;
}

.deal-organizer strong{
  color:#fff;
}

.deal-card-text h3{
  margin-bottom:14px !important;
  font-size:22px !important;
}

.deal-text-highlight{
  display:grid;
  gap:5px;
  margin:0 0 15px;
  padding:16px 17px;
  border-radius:14px;
  background:rgba(244,217,120,.10);
  border:1px solid rgba(244,217,120,.38);
  border-left:5px solid #f4d978;
}

.deal-text-highlight span{
  color:rgba(255,255,255,.62);
  font-size:10px;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.deal-text-highlight strong{
  color:#f4d978;
  font-size:clamp(22px,2.3vw,30px);
  line-height:1.08;
}

@media(max-width:620px){
  .contest-card-text .offer-body,
  .deal-card-text .offer-body{
    padding:18px !important;
  }

  .contest-organizer-logo{
    max-width:92px;
    height:34px;
  }

  .contest-prize-main > strong{
    font-size:23px !important;
  }

  .deal-text-highlight strong{
    font-size:23px;
  }
}
