/* =================================================================== VERRES */

.v-page { overflow-x: clip; }
.v-page em { font-style: italic; font-weight: 300; color: var(--orange-texte); }
.v-titre { font: 300 clamp(38px, 5vw, 78px)/1.02 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.v-num { font: 500 10px/1 var(--sans); letter-spacing: .28em; color: var(--orange-texte); }
.v-lien { font: 500 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }

/* Une : mise au point. Le titre est flou ; une lentille le rend net là où elle passe. */
.v-une { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; background: #14100D; color: var(--creme); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: clamp(28px, 5vh, 48px); padding: 120px 24px 90px; --mx: 50%; --my: 50%; }
.v-une::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 180, 138, .14), rgba(255, 180, 138, 0) 70%); }
.v-une-sur { position: relative; display: flex; align-items: center; gap: 14px; font: 500 10px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: rgba(242, 237, 228, .8); }
.v-une-sur span { width: 28px; height: 1px; background: var(--orange); }
.v-une-titres { position: relative; }
.v-une h1, .v-net { font: 300 clamp(56px, 10vw, 168px)/.95 var(--serif); letter-spacing: -.03em; }
.v-une em { color: #FFB48A; }
.js .v-flou { filter: blur(10px); opacity: .45; }
.v-net { position: absolute; inset: 0; display: none; }
.js .v-net { display: block; -webkit-mask-image: radial-gradient(circle var(--r, 150px) at var(--lx, 50%) var(--ly, 50%), #000 0 94%, transparent 100%); mask-image: radial-gradient(circle var(--r, 150px) at var(--lx, 50%) var(--ly, 50%), #000 0 94%, transparent 100%); }
.v-une-consigne { position: relative; font: 400 12px/1.5 var(--sans); color: rgba(242, 237, 228, .7); }
.v-doigt { display: none; }
@media (hover: none) { .v-souris { display: none; } .v-doigt { display: inline; } }
@media (prefers-reduced-motion: reduce) { .js .v-flou { filter: none; opacity: 1; } .js .v-net, .v-une-consigne { display: none; } }

/* Quatre maisons de verres */
.v-maisons { max-width: 1320px; margin: 0 auto; padding: clamp(90px, 14vh, 160px) clamp(24px, 5vw, 72px); display: flex; flex-direction: column; gap: clamp(36px, 6vh, 64px); }
.v-maisons-tete { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.v-maisons-liste { border-bottom: 1px solid rgba(14, 12, 11, .16); }
.v-maisons-liste li { display: flex; align-items: baseline; gap: clamp(18px, 3vw, 48px); padding: clamp(18px, 3vh, 30px) 0; border-top: 1px solid rgba(14, 12, 11, .16); }
.v-maison { font: 300 clamp(44px, 7vw, 112px)/1 var(--serif); letter-spacing: -.02em; transition: transform .9s cubic-bezier(.16, 1, .3, 1), color .5s; }
.v-maisons-liste li:hover .v-maison { transform: translateX(14px); color: var(--orange-texte); }
.v-bleue { display: flex; align-items: center; gap: 14px; font: 400 16px/1.6 var(--sans); color: var(--gris-fonce); }
.v-bleue-point { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #3E6FB0; box-shadow: 0 0 0 6px rgba(62, 111, 176, .14); }

/* Quel verre pour vous ? */
.v-types { background: var(--sable); padding: clamp(90px, 14vh, 160px) clamp(24px, 5vw, 72px); }
.v-types-tete, .v-types-corps { max-width: 1240px; margin: 0 auto; }
.v-types-tete { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(40px, 7vh, 72px); }
.v-types-corps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }

.v-lentille { position: relative; width: min(100%, 460px); aspect-ratio: 1; justify-self: center; }
.v-lentille-verre { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .9), rgba(255, 255, 255, .35) 45%, rgba(220, 205, 185, .5) 100%); box-shadow: inset 0 0 0 1px rgba(14, 12, 11, .14), inset 0 -20px 40px rgba(120, 85, 55, .12), 0 30px 60px -30px rgba(60, 40, 20, .35); }
.v-lentille-bague { position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(14, 12, 11, .22); pointer-events: none; }
.v-zones { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transform: scale(.96); transition: opacity .7s, transform .9s cubic-bezier(.16, 1, .3, 1); font: 500 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gris-fonce); }
.v-lentille[data-type="progressifs"] .v-zones--progressifs,
.v-lentille[data-type="unifocaux"] .v-zones--unifocaux,
.v-lentille[data-type="amincis"] .v-zones--amincis,
.v-lentille[data-type="photochromiques"] .v-zones--photochromiques { opacity: 1; transform: none; }
/* Progressifs : trois zones de vision, de haut en bas */
.v-zones--progressifs { justify-content: stretch; }
.v-zones--progressifs span { flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; }
.v-zones--progressifs span:nth-child(1) { flex: 1.3; background: rgba(255, 106, 53, .06); }
.v-zones--progressifs span:nth-child(2) { flex: .8; border-top: 1px dashed rgba(14, 12, 11, .25); border-bottom: 1px dashed rgba(14, 12, 11, .25); }
.v-zones--progressifs span:nth-child(3) { background: rgba(255, 106, 53, .14); }
/* Unifocaux : une seule zone nette */
.v-zones--unifocaux span { padding: 10px 16px; border: 1px solid rgba(14, 12, 11, .3); border-radius: 999px; background: rgba(255, 255, 255, .5); }
/* Amincis : deux verres vus de profil */
.v-zones--amincis { flex-direction: row; gap: clamp(40px, 8vw, 80px); }
.v-profil { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.v-profil i { display: block; height: 150px; border-radius: 50% / 12%; background: linear-gradient(90deg, rgba(110, 101, 91, .25), rgba(255, 255, 255, .7), rgba(110, 101, 91, .25)); box-shadow: inset 0 0 0 1px rgba(14, 12, 11, .25); }
.v-profil--epais i { width: 30px; }
.v-profil--fin i { width: 12px; }
.v-profil--fin { color: var(--orange-texte); }
/* Photochromiques : la teinte suit la lumière */
.v-ombre { position: absolute; inset: 0; background: rgba(60, 44, 32, .78); opacity: 0; }
.v-lentille[data-type="photochromiques"] .v-ombre { animation: v-teinte 5s ease-in-out infinite; }
@keyframes v-teinte { 0%, 15% { opacity: 0; } 45%, 65% { opacity: 1; } 95%, 100% { opacity: 0; } }
.v-lum { position: relative; display: flex; gap: 20px; }
.v-lum b { font-weight: 500; }
.v-lentille[data-type="photochromiques"] .v-lum b:first-child { animation: v-lum-a 5s ease-in-out infinite; }
.v-lentille[data-type="photochromiques"] .v-lum b:last-child { animation: v-lum-b 5s ease-in-out infinite; }
@keyframes v-lum-a { 0%, 15%, 95%, 100% { color: var(--encre); } 45%, 65% { color: rgba(242, 237, 228, .45); } }
@keyframes v-lum-b { 0%, 15%, 95%, 100% { color: rgba(14, 12, 11, .3); } 45%, 65% { color: #FFB48A; } }
@media (prefers-reduced-motion: reduce) { .v-lentille .v-ombre { animation: none !important; opacity: .5; } .v-lum b { animation: none !important; } }

.v-types-liste { display: flex; flex-direction: column; border-bottom: 1px solid rgba(14, 12, 11, .16); }
.v-type { border-top: 1px solid rgba(14, 12, 11, .16); }
.v-type button { all: unset; box-sizing: border-box; width: 100%; min-height: 64px; display: flex; align-items: baseline; gap: 20px; padding: 18px 0 10px; cursor: pointer; font: 300 clamp(32px, 3.4vw, 52px)/1 var(--serif); letter-spacing: -.01em; transition: color .5s, transform .7s cubic-bezier(.16, 1, .3, 1); }
.v-type button:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.v-type button:hover { color: var(--orange-texte); }
.v-type.est-actif button { color: var(--orange-texte); transform: translateX(10px); }
.v-type p { max-width: 40ch; padding: 0 0 20px 48px; font: 400 15px/1.7 var(--sans); color: var(--gris-fonce); }
.js .v-type p { display: none; }
.js .v-type.est-actif p { display: block; animation: v-apparait .6s var(--ease); }
@keyframes v-apparait { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
html:not(.js) .v-lentille { display: none; }
@media (max-width: 899px) {
  .v-types-corps { grid-template-columns: 1fr; }
  .v-lentille { width: min(78vw, 360px); }
  .v-profil i { height: 110px; }
}

/* Fabriqués pour vous */
.v-mesure { position: relative; overflow: hidden; background: var(--nuit); color: var(--creme); padding: clamp(90px, 15vh, 170px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(18px, 3vh, 28px); }
.v-mesure .etiquette { position: relative; }
.v-halo { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 40%), rgba(255, 210, 168, .18), rgba(255, 210, 168, 0) 60%); }
.v-mesure-chiffre { position: relative; margin-bottom: clamp(8px, 2vh, 20px); display: flex; align-items: baseline; gap: 16px; font: 500 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: rgba(242, 237, 228, .8); }
.v-mesure-chiffre span { font: 300 clamp(110px, 16vw, 240px)/.85 var(--serif); letter-spacing: -.04em; color: #FFB48A; text-transform: none; }
.v-mesure-texte { position: relative; max-width: 36ch; font: 300 clamp(22px, 2.2vw, 32px)/1.4 var(--serif); color: rgba(242, 237, 228, .92); text-wrap: balance; }
@media (max-width: 559px) { .v-mesure-chiffre { flex-direction: column; align-items: center; gap: 8px; } }

/* Questions fréquentes */
.v-faq { max-width: 1240px; margin: 0 auto; padding: clamp(90px, 14vh, 160px) clamp(24px, 5vw, 72px) clamp(40px, 6vh, 70px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.v-faq-tete { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 120px; }
.v-faq-liste { border-bottom: 1px solid rgba(14, 12, 11, .16); }
.v-faq details { border-top: 1px solid rgba(14, 12, 11, .16); }
.v-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 18px 0; cursor: pointer; font: 400 clamp(22px, 2vw, 30px)/1.25 var(--serif); }
.v-faq summary::-webkit-details-marker { display: none; }
.v-faq summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.v-faq summary i { position: relative; flex: none; width: 16px; height: 16px; }
.v-faq summary i::before, .v-faq summary i::after { content: ''; position: absolute; left: 0; top: 50%; width: 16px; height: 1px; background: var(--orange-texte); transition: transform .5s var(--ease); }
.v-faq summary i::after { transform: rotate(90deg); }
.v-faq details[open] summary i::after { transform: rotate(0); }
.v-faq details p { max-width: 58ch; padding: 0 0 24px; font: 400 15px/1.75 var(--sans); color: var(--gris-fonce); }
.v-faq details a { color: var(--orange-texte); border-bottom: 1px solid rgba(184, 80, 31, .35); }
@media (max-width: 899px) { .v-faq { grid-template-columns: 1fr; } .v-faq-tete { position: static; } }

/* Suite de la visite */
.v-suite { max-width: 1240px; margin: 0 auto; padding: clamp(60px, 10vh, 120px) clamp(24px, 5vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(8px, 2.4vw, 32px); }
.v-suite a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 26px 0; border-top: 1px solid rgba(14, 12, 11, .25); }
.v-suite a > span:first-child { font: 300 clamp(32px, 3.6vw, 54px)/1 var(--serif); }
