/* Optimum Vision — socle du site. Couleurs prises sur le logo (marine #00405C, sarcelle #00A6A9), fond blanc nacré froid comme une perle de Tahiti. */
[hidden] { display: none !important; }
:root {
  --ivoire: #F1F5F5;
  --ivoire-2: #E3EAEB;
  --papier: #FBFDFD;
  --encre: #0F2B3A;
  --encre-2: #475861;
  --trait: #D3DCDE;
  --marine: #00405C;
  --marine-2: #0B5372;
  --sarcelle: #00A6A9;
  --sarcelle-texte: #007A7D;
  --sur-marine: #EAF3F5;
  --sur-marine-2: #A9C7D3;
  --nacre: linear-gradient(118deg, #EDF2F3 0%, #DDE9EC 40%, #E9E6EE 72%, #EAF0EE 100%);
  --titre: "Red Hat Display", system-ui, sans-serif;
  --texte: "Red Hat Text", system-ui, sans-serif;
  --large: min(1240px, 100% - 48px);
  --sortie: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scrollbar-color: #B4C2C5 var(--ivoire); }
body { background: var(--ivoire); color: var(--encre); font: 400 16px/1.6 var(--texte); -webkit-font-smoothing: antialiased; caret-color: var(--sarcelle-texte); }
::selection { background: #BFE6E4; color: var(--encre); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ivoire); }
::-webkit-scrollbar-thumb { background: #BFCBCE; border-radius: 6px; border: 3px solid var(--ivoire); }
:focus-visible { outline: 2px solid var(--sarcelle-texte); outline-offset: 3px; border-radius: 4px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.conteneur { width: var(--large); margin-inline: auto; }
.packshot { mix-blend-mode: multiply; object-fit: contain; }
h1, h2, h3 { font-family: var(--titre); font-weight: 500; letter-spacing: -.025em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.4vw, 56px); }
h1 em, h2 em { font-style: normal; color: var(--sarcelle-texte); }
.prix { font-variant-numeric: tabular-nums; }
p { text-wrap: pretty; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; font-size: 15px; font-weight: 500; border-radius: 999px; transition: background .25s var(--sortie), color .25s, box-shadow .25s; white-space: nowrap; }
.btn-plein { background: var(--marine); color: #fff; }
.btn-plein:hover { background: var(--encre); }
.btn-ligne { box-shadow: inset 0 0 0 1.5px var(--marine); color: var(--marine); }
.btn-ligne:hover { background: var(--marine); color: #fff; }
.lien { font-size: 15px; font-weight: 500; color: var(--marine); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.lien:hover { color: var(--sarcelle-texte); }

/* Bandeau et en-tête */
.bandeau { background: var(--marine); color: var(--sur-marine); font-size: 13.5px; text-align: center; padding: 9px 16px; }
.bandeau a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
header { position: sticky; top: 0; z-index: 20; background: var(--ivoire); border-bottom: 1px solid transparent; transition: border-color .3s; }
header.defile { border-color: var(--trait); }
.entete { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.logo img { height: 34px; width: auto; }
nav.principal { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
nav.principal a { position: relative; white-space: nowrap; color: var(--encre); }
nav.principal a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 1px; background: var(--sarcelle); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--sortie); }
nav.principal a:hover::after, nav.principal a[aria-current="page"]::after { transform: scaleX(1); }
.actions { display: flex; align-items: center; gap: 6px; }
.actions .btn { padding: 11px 20px; margin-left: 8px; }

/* Accueil — hero */
.hero { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: 48px; padding: 64px 0 88px; }
.hero h1 { font-size: clamp(50px, 6.6vw, 94px); margin-bottom: 26px; }
.hero p.intro { font-size: 19px; color: var(--encre-2); max-width: 29em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.avis-google { display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; font-size: 14px; color: var(--encre-2); }
.avis-google .etoiles { display: flex; gap: 2px; color: #E0A526; }
.avis-google b { color: var(--encre); font-weight: 500; }
.hero-visuel { position: relative; background: var(--nacre); border-radius: 6px; aspect-ratio: 7 / 5.2; display: grid; place-items: center; overflow: hidden; }
.hero-visuel a { display: grid; place-items: center; width: 100%; height: 100%; }
.hero-visuel img { width: 86%; animation: poser 1.4s var(--sortie) both; }
@keyframes poser { from { transform: translateY(18px) scale(.97); filter: blur(6px); opacity: 0; } }
.hero-visuel figcaption { position: absolute; left: 26px; bottom: 22px; right: 26px; display: flex; justify-content: space-between; font-size: 14px; color: var(--encre-2); }
.hero-visuel figcaption b { font-weight: 500; color: var(--encre); }

/* Maisons */

/* Blocs et grilles produits */
section.bloc { padding: 112px 0; }
.tete { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 52px; }
.tete p { color: var(--encre-2); max-width: 30em; margin-top: 16px; font-size: 17px; }
.grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 28px; }
.produit { display: flex; flex-direction: column; }
.produit .photo { position: relative; aspect-ratio: 4 / 3; background: var(--papier); border-radius: 6px; overflow: hidden; }
.produit .photo img { transition: transform .7s var(--sortie); }
.produit:hover .photo img { transform: scale(1.05); }
.produit .reserver { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 11px; border-radius: 999px; background: var(--marine); color: #fff; font-size: 13.5px; font-weight: 500; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--sortie), background .2s; }
.produit:hover .reserver, .produit .reserver:focus-visible, .produit .reserver.ok { opacity: 1; transform: none; }
.produit .reserver.ok { background: var(--sarcelle-texte); }
.produit .infos { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.produit .nom { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--encre-2); }
.produit .modele { font-family: var(--titre); font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.produit .prix { font-size: 15px; white-space: nowrap; }
.produit .dispo { font-size: 13px; color: var(--encre-2); margin-top: 6px; display: flex; align-items: center; gap: 7px; }
.produit .dispo::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2F8A6A; }

/* Lagon / Maui Jim */
.lagon { background: var(--marine); color: var(--sur-marine); }
.lagon-grille { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.lagon h2 em { color: #7FD6D3; }
.lagon p { color: var(--sur-marine-2); font-size: 18px; margin: 22px 0 28px; max-width: 28em; }
.lagon ul { list-style: none; padding: 0; margin-bottom: 36px; border-top: 1px solid rgba(169,199,211,.25); }
.lagon li { padding: 13px 0; border-bottom: 1px solid rgba(169,199,211,.25); font-size: 15.5px; }
.lagon li b { font-weight: 500; color: #fff; }
.lagon .btn-plein { background: #fff; color: var(--marine); }
.lagon .btn-plein:hover { background: var(--sur-marine); }
.lagon :focus-visible { outline-color: #7FD6D3; }
.lagon-produits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tuile { background: var(--papier); border-radius: 6px; padding: 22px 22px 18px; color: var(--encre); transition: transform .5s var(--sortie); }
.tuile:hover { transform: translateY(-3px); }
.tuile img { width: 100%; aspect-ratio: 16 / 9; }
.tuile .ligne { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; font-size: 14px; }
.tuile .modele { font-family: var(--titre); font-weight: 500; font-size: 19px; }

/* Rendez-vous */
.rdv { background: var(--papier); border-radius: 8px; display: grid; grid-template-columns: 5fr 7fr; overflow: hidden; }
.rdv-texte { padding: 60px 52px; background: var(--nacre); }
.rdv-texte p { color: var(--encre-2); margin: 18px 0 30px; font-size: 17px; }
.rdv-texte dl { display: grid; gap: 18px; font-size: 15px; }
.rdv-texte dt { font-weight: 500; }
.rdv-texte dd { color: var(--encre-2); margin: 2px 0 0; }
.rdv-form { padding: 52px; display: grid; gap: 28px; align-content: start; }
.rdv-form .lbl, .rdv-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.choix button { padding: 11px 16px; border-radius: 8px; font-size: 14.5px; box-shadow: inset 0 0 0 1px var(--trait); transition: box-shadow .2s, background .2s; text-align: left; }
.choix button:hover { box-shadow: inset 0 0 0 1px var(--encre-2); }
.choix button[aria-pressed="true"] { background: var(--marine); color: #fff; box-shadow: none; }
.choix .jour { min-width: 78px; text-align: center; line-height: 1.3; }
.choix .jour small { display: block; font-size: 12px; opacity: .75; text-transform: capitalize; }
.rdv-form .pied { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--trait); }
.rdv-form .resume { font-size: 14px; color: var(--encre-2); }

/* Remboursement */
.charge { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.charge p { color: var(--encre-2); font-size: 17px; margin: 20px 0 28px; }
.etape { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 24px 0; border-top: 1px solid var(--trait); }
.etape:last-child { border-bottom: 1px solid var(--trait); }
.etape b { font-family: var(--titre); font-weight: 500; font-size: 22px; line-height: 1.2; color: var(--sarcelle-texte); }
.etape span { color: var(--encre-2); font-size: 15px; }
.etape strong { display: block; font-weight: 500; color: var(--encre); font-size: 16px; margin-bottom: 3px; }

/* Les deux boutiques */
.boutiques { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.boutique { background: var(--papier); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.boutique iframe { width: 100%; aspect-ratio: 16 / 10; border: 0; display: block; filter: saturate(.85); background: var(--ivoire-2); }
.boutique .fiche { padding: 30px 32px 32px; display: grid; gap: 18px; flex: 1; }
.boutique .titre-b { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.boutique h3 { font-size: 30px; }
.boutique .note-g { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--encre-2); }
.boutique .note-g svg { color: #E0A526; }
.boutique .note-g b { color: var(--encre); font-weight: 500; }
.boutique dl { display: grid; grid-template-columns: 92px 1fr; gap: 8px 16px; font-size: 15px; }
.boutique dt { color: var(--encre-2); }
.boutique dd { margin: 0; }
.boutique dd a { text-decoration: underline; text-underline-offset: 3px; }
.boutique .boutons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.boutique .boutons .btn { padding: 12px 20px; }

/* Pied de page */
footer { padding: 88px 0 44px; }
.pied-grille { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--trait); }
footer h4 { font-size: 14px; font-weight: 500; margin-bottom: 16px; }
footer ul { list-style: none; padding: 0; display: grid; gap: 9px; font-size: 15px; color: var(--encre-2); }
footer ul a:hover { color: var(--encre); }
footer .logo img { height: 30px; }
footer .soeur { margin-top: 22px; color: var(--encre-2); font-size: 15px; max-width: 24em; }
footer .soeur a { color: var(--encre); text-decoration: underline; text-underline-offset: 3px; }
.mentions { display: flex; justify-content: space-between; padding-top: 26px; font-size: 13.5px; color: var(--encre-2); gap: 20px; flex-wrap: wrap; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); background: var(--encre); color: #fff; padding: 13px 22px; border-radius: 999px; font-size: 14.5px; width: max-content; max-width: calc(100% - 32px); text-align: center; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--sortie); z-index: 50; }
.toast.vu { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

@media (max-width: 1120px) { nav.principal { display: none; } }
@media (max-width: 1020px) {
  .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero, .lagon-grille, .rdv, .charge, .boutiques { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; gap: 44px; }
  .lagon-grille, .charge { gap: 44px; }
}
@media (max-width: 680px) {
  :root { --large: calc(100% - 32px); }
  .logo img { height: 26px; }
  .entete { height: 66px; }
  .actions .btn { display: none; }
  section.bloc { padding: 76px 0; }
  .tete { flex-direction: column; align-items: start; margin-bottom: 36px; }
  .grille { gap: 36px 14px; }
  .produit .infos { flex-direction: column; gap: 4px; }
  .produit .modele { font-size: 17px; }
  .produit .reserver { opacity: 1; transform: none; font-size: 12px; padding: 9px 6px; left: 8px; right: 8px; bottom: 8px; }
  .rdv-texte, .rdv-form { padding: 34px 22px; }
  .lagon-produits { gap: 10px; }
  .tuile { padding: 14px; }
  .tuile .ligne { flex-direction: column; gap: 2px; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .pied-grille > div:first-child { grid-column: 1 / -1; }
  .boutique .fiche { padding: 24px 20px; }
  .boutique dl { grid-template-columns: 80px 1fr; }
  .hero-visuel figcaption { left: 16px; right: 16px; bottom: 14px; font-size: 12.5px; }
}

/* ——— Simulateur polarisant + indice UV ——— */
.polar-tete { max-width: 640px; margin-bottom: 32px; }
.polar-tete p { color: var(--encre-2); margin-top: 12px; }
.polar-grille { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.scene { --verres: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 170'%3E%3Cpath d='M20%2030%20C64%2015%20148%2013%20180%2024%20C192%2030%20190%2058%20180%2086%20C166%20128%20136%20158%2098%20158%20C52%20158%2016%20126%2012%2082%20C9%2058%2010%2038%2020%2030%20Z'/%3E%3Cpath d='M380%2030%20C336%2015%20252%2013%20220%2024%20C208%2030%20210%2058%20220%2086%20C234%20128%20264%20158%20302%20158%20C348%20158%20384%20126%20388%2082%20C391%2058%20390%2038%20380%2030%20Z'/%3E%3C/svg%3E"); position: relative; margin: 0; aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; cursor: none; touch-action: pan-y;
  user-select: none; -webkit-user-select: none; background: var(--marine); --x: 50%; --y: 62%; --l: 300px; --t-haut: rgba(26, 32, 42, .7); --t-bas: rgba(40, 48, 56, .22); }
.scene[data-teinte="bronze"] { --t-haut: rgba(92, 52, 20, .62); --t-bas: rgba(140, 86, 36, .24); }
.scene[data-teinte="vert"] { --t-haut: rgba(30, 52, 38, .62); --t-bas: rgba(52, 86, 60, .24); }
.scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.scene .base { filter: brightness(1.1) contrast(.8) saturate(.7); }
.reflets { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(ellipse 55% 30% at 62% 58%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 40% 16% at 28% 74%, rgba(255,255,255,.5), rgba(255,255,255,0) 70%),
    repeating-linear-gradient(172deg, rgba(255,255,255,0) 0 7px, rgba(255,255,255,.1) 8px 9px, rgba(255,255,255,0) 10px 19px);
  background-size: 100% 100%, 100% 100%, 100% 240px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 32%, #000 52%); mask-image: linear-gradient(to bottom, transparent 32%, #000 52%);
  animation: miroiter 7s linear infinite; }
@keyframes miroiter { to { background-position: 0 0, 0 0, 0 240px; } }
.polarisee { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--verres) no-repeat; mask: var(--verres) no-repeat;
  -webkit-mask-size: var(--l) auto; mask-size: var(--l) auto;
  -webkit-mask-position: calc(var(--x) - var(--l) / 2) calc(var(--y) - var(--l) * .2125);
  mask-position: calc(var(--x) - var(--l) / 2) calc(var(--y) - var(--l) * .2125); }
.polarisee img { filter: contrast(1.18) saturate(1.45) brightness(.88) hue-rotate(-12deg); }
.monture { position: absolute; left: calc(var(--x) - var(--l) / 2); top: calc(var(--y) - var(--l) * .2125); width: var(--l); height: auto;
  overflow: visible; pointer-events: none; filter: blur(1.1px) drop-shadow(0 10px 18px rgba(0, 20, 30, .28)); }
.monture .verres-teinte { fill: url(#teinte-verre); }
.monture .verres-lustre { fill: url(#lustre); }
.monture .cerclage { fill: none; stroke: url(#metal); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.monture .eclats { fill: #fff; opacity: .85; filter: blur(1.2px); }
.scene figcaption { position: absolute; right: 12px; bottom: 10px; font-size: 11px; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.5); }

.polar-cote { display: grid; gap: 28px; }
.uv { background: var(--papier); border: 1px solid var(--trait); border-radius: 20px; padding: 24px; }
.uv-lieu { font-size: 14px; color: var(--encre-2); }
.uv-ligne { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 18px; }
.uv-valeur { font-family: var(--titre); font-weight: 500; font-size: 72px; line-height: 1; letter-spacing: -.04em; color: var(--marine); font-variant-numeric: tabular-nums; }
.uv-niveau { font-family: var(--titre); font-size: 20px; font-weight: 500; }
.uv[data-niveau="très élevé"] .uv-niveau { color: #B3261E; }
.uv[data-niveau="extrême"] .uv-niveau { color: #6B2C91; }
.uv[data-niveau="élevé"] .uv-niveau { color: #A64B00; }
.uv-echelle { position: relative; display: grid; grid-template-columns: 3fr 3fr 2fr 3fr 1fr; gap: 3px; height: 8px; }
.uv-echelle i { border-radius: 4px; }
.uv-echelle i:nth-child(1) { background: #4E9A3A; } .uv-echelle i:nth-child(2) { background: #E8C21E; }
.uv-echelle i:nth-child(3) { background: #E8771E; } .uv-echelle i:nth-child(4) { background: #D3302A; }
.uv-echelle i:nth-child(5) { background: #8A3FB5; }
.uv-echelle span { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: var(--papier); border: 3px solid var(--encre); transition: left .9s var(--sortie); }
.uv.hors-ligne .uv-echelle span { display: none; }
.uv-graduation { display: grid; grid-template-columns: 3fr 3fr 2fr 3fr 1fr; font-size: 11px; color: var(--encre-2); margin-top: 6px; font-variant-numeric: tabular-nums; }
.uv-conseil { margin: 18px 0 10px; }
.uv small { font-size: 12px; color: var(--encre-2); }
.teintes .lbl { display: block; font-size: 14px; color: var(--encre-2); margin-bottom: 10px; }
.teintes .note { font-size: 14px; color: var(--encre-2); margin-top: 10px; min-height: 2.8em; }
#uv-bandeau b { font-weight: 600; }

@media (prefers-reduced-motion: reduce) { .reflets { animation: none; } .uv-echelle span { transition: none; } }
@media (hover: none) { .scene { cursor: auto; } }
@media (max-width: 900px) {
  .polar-grille { grid-template-columns: minmax(0, 1fr); }
  .scene { aspect-ratio: 4 / 3; border-radius: 16px; }
  .uv-valeur { font-size: 56px; }
}

/* Dernières pièces */
.produit .pastille { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: var(--encre); color: #fff; font-size: 12px; font-weight: 500; }
.produit .prix s, .prix-grand s { color: var(--encre-2); font-size: .85em; margin-right: 4px; }

.iles .visio { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--trait); font-size: 15px; color: var(--encre-2); }
.produit a.reserver { text-align: center; }

/* Bande conseiller visage (accueil) */
.visage-bande { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 40px; padding-bottom: 40px; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.visage-bande p { color: var(--encre-2); max-width: 62ch; margin-top: 8px; }
.visage-bande .btn { flex: none; }
@media (max-width: 700px) { .visage-bande { flex-direction: column; align-items: flex-start; gap: 18px; } }
.produit .reserver { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .produit .reserver .long { display: none; } }
.produit a.reserver { display: block; height: auto; width: auto; }
