/* ===========================================================
   Accueil « opticien d'abord » — proposition
   Reprend les couleurs et typos de style.css
   =========================================================== */

/* ---------- Bandeau infos + header ---------- */
.bandeau-infos {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  height: 36px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4vw;
  background: var(--vert);
  color: var(--creme);
  font-size: .78rem;
  letter-spacing: .06em;
}
.bandeau-infos a { color: var(--creme); }
.accueil-opticien header { top: 36px; }
@media (max-width: 760px) {
  .accueil-opticien nav.principal { top: 100px; }
  .bandeau-infos { font-size: .7rem; }
  .bandeau-infos span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: 1rem; }
}

/* lien texte souligné avec flèche */
.lien-fleche {
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vert);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  white-space: nowrap;
}
.lien-fleche:hover { color: var(--brun); }

.btn-creme { background: var(--creme); border-color: var(--creme); color: var(--vert-sombre); }
.btn-creme:hover { background: transparent; color: var(--creme); }

/* ---------- 1. Ouverture ---------- */
.ouverture { padding: 10.5rem 6vw 5rem; }
.ouverture-grille {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.ouverture h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin-bottom: 1.4rem; text-wrap: balance; }
.ouverture .chapo { color: var(--gris); max-width: 560px; margin-bottom: 2.2rem; }
.ouverture-photo img { width: 100%; height: 640px; object-fit: cover; object-position: 50% 40%; }

.cartes-prix { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 560px; margin-bottom: 2rem; }
.carte-prix {
  display: flex; flex-direction: column; gap: .2rem;
  padding: 1.3rem 1.4rem 1.4rem;
  border: 1px solid var(--sable);
  background: #fff;
  color: var(--encre);
  transition: border-color .3s, transform .3s;
}
.carte-prix:hover { border-color: var(--brun); transform: translateY(-2px); }
.carte-prix.pleine { background: var(--vert); border-color: var(--vert); color: var(--creme); }
.carte-prix.pleine:hover { border-color: var(--vert-sombre); background: var(--vert-sombre); }
.carte-label { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; opacity: .85; }
.carte-montant { font-family: var(--serif); font-size: 2.1rem; line-height: 1.2; }
.carte-detail { font-size: .92rem; line-height: 1.4; opacity: .85; }

.ouverture-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }

/* ---------- 2. Réassurance ---------- */
.reassurance { background: var(--vert); color: var(--creme); padding: 1.4rem 6vw; }
.reassurance ul {
  list-style: none;
  display: flex; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap;
  max-width: 1200px; margin: 0 auto;
  font-size: .98rem;
}
.reassurance li { display: flex; align-items: center; gap: .75rem; }
.reassurance svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; flex: none; opacity: .9; }

/* ---------- 3. Sélection ---------- */
.entete-ligne {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap;
  max-width: 1200px; margin: 0 auto 2.8rem;
}
.entete-ligne > div { max-width: 640px; }
.entete-ligne p { color: var(--gris); }
.vitrine {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
  max-width: 1200px; margin: 0 auto 1.6rem;
}
.vitrine a { background: #fff; display: block; border: 1px solid var(--sable); transition: border-color .3s; }
.vitrine a:hover { border-color: var(--brun); }
.vitrine img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 1.5rem; }
.petite-note { max-width: 1200px; margin: 0 auto; font-size: .92rem; color: var(--gris); font-style: italic; }

/* ---------- 4. Chez votre opticien ---------- */
.opticien-etapes > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.opticien-etapes h2 { margin-bottom: 3rem; text-wrap: balance; }
.trois-temps {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem;
  border-top: 1px solid var(--sable);
  padding-top: 2rem;
  margin-bottom: 3rem;
}
.temps-num { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--brun); margin-bottom: .8rem; }
.trois-temps h3 { font-size: 1.35rem; }
.trois-temps p { color: var(--gris); font-size: 1.05rem; }
.pied-ligne {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  border-top: 1px solid var(--sable);
  padding-top: 1.6rem;
}
.pied-ligne p { color: var(--gris); font-size: 1rem; }

/* ---------- 5. Atelier (fond vert) ---------- */
.atelier-vert { background: var(--vert); color: var(--creme); }
.atelier-vert .surtitre { color: #c9d8cf; }
.atelier-vert h2 { color: var(--creme); text-wrap: balance; }
.atelier-vert p { opacity: .9; }
.atelier-entete {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 4rem; align-items: end;
  max-width: 1200px; margin: 0 auto 3.5rem;
}
.atelier-entete .modeles { font-family: var(--serif); font-size: 1.15rem; margin-top: 1.2rem; }
.atelier-prix {
  display: flex; flex-direction: column; align-items: flex-start; gap: .4rem;
  border-top: 1px solid rgba(250, 247, 242, .3);
  padding-top: 1.4rem;
}
.atelier-prix .carte-montant { font-size: 2.4rem; margin-bottom: 1rem; }
.atelier-prix .btn { margin-bottom: 1rem; }
.atelier-vert .lien-fleche { color: var(--creme); }

.trio-videos-sombre { max-width: 1200px; }
.trio-videos-sombre video { background: var(--vert-sombre); }
.trio-videos-sombre figcaption { color: var(--creme); opacity: .85; font-family: var(--serif); font-style: normal; font-size: 1.05rem; }

/* ---------- 6. Passez me voir ---------- */
.venir-grille {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.venir-grille > div > p { color: var(--gris); margin-bottom: 2rem; }
.infos {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: .9rem 1.2rem;
  border-top: 1px solid var(--sable); padding-top: 1.4rem; margin-bottom: 2.2rem;
  font-size: 1rem;
}
.infos dt { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--vert); padding-top: .3rem; }
.infos dd a { color: var(--encre); }
.venir-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.venir-photo { width: 100%; height: 520px; object-fit: cover; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .ouverture-grille, .venir-grille, .atelier-entete { grid-template-columns: 1fr; gap: 2.8rem; }
  .ouverture-photo img { height: 460px; }
  .trois-temps { grid-template-columns: 1fr; gap: 2rem; }
  .reassurance ul { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .ouverture { padding: 8.5rem 6vw 3.5rem; }
  .cartes-prix { grid-template-columns: 1fr; }
  .carte-prix { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; }
  .carte-prix .carte-montant { order: 2; font-size: 1.8rem; }
  .carte-prix .carte-label { order: 1; width: 100%; }
  .carte-prix .carte-detail { order: 3; width: 100%; }
  .ouverture-actions { flex-direction: column; align-items: stretch; text-align: center; gap: 1.2rem; }
  .ouverture-actions .lien-fleche { align-self: center; }
  .ouverture-photo img { height: 380px; }
  .reassurance ul { font-size: .88rem; gap: 1rem; }
  .vitrine {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -6vw 1.6rem; padding: 0 6vw .3rem; scrollbar-width: none;
  }
  .vitrine::-webkit-scrollbar { display: none; }
  .vitrine a { scroll-snap-align: center; }
  .infos { grid-template-columns: 1fr; gap: .2rem; }
  .infos dd { margin-bottom: .8rem; }
  .venir-photo { height: 300px; }
}

.bandeau-infos a { white-space: nowrap; }
.infos-court { display: none; }
@media (max-width: 760px) { .infos-long { display: none; } .infos-court { display: inline; } }

/* titres sur une seule ligne (écrans larges) */
@media (min-width: 981px) {
  .ouverture-grille { grid-template-columns: 1.25fr 1fr; gap: 3.5rem; }
  .ouverture h1 { white-space: nowrap; font-size: clamp(2.1rem, 2.75vw, 2.9rem); }
  .opticien-etapes h2, .atelier-vert h2, .selection-accueil h2, .venir h2 { white-space: nowrap; font-size: clamp(1.7rem, 2.35vw, 2.6rem); }
  .atelier-entete { grid-template-columns: 1.9fr 1fr; }
}

/* pictogrammes de la bande de réassurance, plus présents */
.reassurance { padding-top: 1.8rem; padding-bottom: 1.8rem; }
.reassurance li { gap: 1rem; }
.reassurance svg { width: 34px; height: 34px; stroke-width: 1.2; }
@media (max-width: 760px) { .reassurance svg { width: 30px; height: 30px; } }

/* ---------- Bandeau infos, plus présent, sur toutes les pages ---------- */
.bandeau-infos { height: 48px; font-size: .95rem; letter-spacing: .05em; padding: 0 4vw; }
.bandeau-infos .infos-tel { display: inline-flex; align-items: center; gap: .55rem; font-weight: 400; font-size: 1.02rem; letter-spacing: .08em; }
.bandeau-infos .infos-tel svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
body.avec-bandeau header { top: 48px; }
.ouverture { padding-top: 11.5rem; }
@media (max-width: 760px) {
  .bandeau-infos { height: 44px; font-size: .85rem; }
  .bandeau-infos .infos-tel { font-size: .9rem; }
  body.avec-bandeau header { top: 44px; }
  body.avec-bandeau nav.principal { top: 108px; }
  .ouverture { padding-top: 9.5rem; }
}

/* ---------- Réassurance : variantes proposées ---------- */
.atouts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; max-width: 1200px; margin: 0 auto; }
.atouts li { display: flex; flex-direction: column; gap: .5rem; }
.atouts .ico { display: grid; place-items: center; flex: none; border-radius: 50%; }
.atouts .ico svg { fill: none; stroke: currentColor; stroke-width: 1.2; }
.atouts strong { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.25; }
.atouts span.txt { font-size: .98rem; line-height: 1.5; }

/* A : cartes */
.atouts-cartes { background: var(--creme); padding: 4rem 6vw 1rem; }
.atouts-cartes li { background: #fff; border: 1px solid var(--sable); padding: 2rem 1.6rem; }
.atouts-cartes .ico { width: 66px; height: 66px; background: var(--vert); color: var(--creme); margin-bottom: .8rem; }
.atouts-cartes .ico svg { width: 34px; height: 34px; }
.atouts-cartes strong { color: var(--encre); }
.atouts-cartes span.txt { color: var(--gris); }

/* C : grande bande verte */
.atouts-bande { background: var(--vert); color: var(--creme); padding: 3.4rem 6vw; }
.atouts-bande .atouts { gap: 2.5rem; }
.atouts-bande li { align-items: center; text-align: center; }
.atouts-bande li + li { border-left: 1px solid rgba(250,247,242,.22); }
.atouts-bande .ico { width: 76px; height: 76px; border: 1px solid rgba(250,247,242,.5); margin-bottom: .9rem; }
.atouts-bande .ico svg { width: 38px; height: 38px; }
.atouts-bande span.txt { opacity: .82; max-width: 15rem; }

/* B : dans l'ouverture */
.atouts-ouverture { grid-template-columns: 1fr 1fr; gap: 1.1rem 1.6rem; margin: 2.2rem 0 0; max-width: 560px; padding-top: 1.8rem; border-top: 1px solid var(--sable); }
.atouts-ouverture li { flex-direction: row; align-items: center; gap: .9rem; }
.atouts-ouverture .ico { width: 50px; height: 50px; background: var(--vert); color: var(--creme); }
.atouts-ouverture .ico svg { width: 26px; height: 26px; }
.atouts-ouverture strong { font-family: var(--sans); font-size: 1rem; font-weight: 400; color: var(--encre); }

@media (max-width: 980px) {
  .atouts { grid-template-columns: 1fr 1fr; }
  .atouts-bande li + li { border-left: none; }
}
@media (max-width: 560px) {
  .atouts-cartes .atouts { grid-template-columns: 1fr; }
  .atouts-bande .atouts { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .atouts-bande .ico { width: 62px; height: 62px; }
  .atouts-bande span.txt { display: none; }
  .atouts-ouverture { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .atouts-ouverture { grid-template-columns: 1fr 1fr; gap: 1rem .8rem; }
  .atouts-ouverture li { gap: .65rem; }
  .atouts-ouverture .ico { width: 42px; height: 42px; }
  .atouts-ouverture .ico svg { width: 22px; height: 22px; }
  .atouts-ouverture strong { font-size: .9rem; line-height: 1.3; }
}

/* ---------- Touches de chaleur ---------- */
/* bande de photos portées, bord à bord */
.bande-portee { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; background: var(--creme); }
.bande-portee img { width: 100%; height: 360px; object-fit: cover; }
.bande-legende {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  background: rgba(250, 247, 242, .94); color: var(--encre);
  font-family: var(--serif); font-size: 1.15rem; padding: .7rem 1.6rem; white-space: nowrap;
}

/* le créateur */
.createur-accueil { background: var(--creme); }
.createur-grille { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5.5rem; align-items: center; max-width: 1160px; margin: 0 auto; }
.createur-photos { position: relative; padding-bottom: 3rem; }
.createur-portrait { width: 82%; height: 560px; object-fit: cover; }
.createur-enfance {
  position: absolute; right: 0; bottom: 0; width: 40%;
  background: #fff; padding: .7rem .7rem 2.4rem; box-shadow: 0 14px 34px rgba(43, 37, 32, .16);
  transform: rotate(3deg);
}
.createur-texte p { color: var(--gris); margin-bottom: 1rem; }
.createur-texte h2 { text-wrap: balance; }
.signature { font-family: "Mrs Saint Delafield", "Brush Script MT", cursive; font-size: 3.6rem; color: var(--brun) !important; line-height: 1; margin: .4rem 0 1.6rem !important; }

/* photo de groupe, entière */
.venir-groupe { height: auto; max-height: 560px; object-fit: contain; }

@media (min-width: 981px) { .createur-texte h2 { white-space: normal; } }
@media (max-width: 980px) {
  .bande-portee { grid-template-columns: repeat(3, 1fr); }
  .bande-portee img:nth-of-type(n+4) { display: none; }
  .createur-grille { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 560px) {
  .bande-portee { grid-template-columns: 1fr 1fr; }
  .bande-portee img:nth-of-type(3) { display: none; }
  .bande-portee img { height: 240px; }
  .bande-legende { font-size: .95rem; padding: .55rem 1rem; bottom: 1rem; }
  .createur-portrait { height: 400px; }
}

/* ---------- Atouts en ligne, sur toute la largeur (accueil) ---------- */
.atouts-ligne {
  grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  max-width: 1200px; margin: 3.5rem auto 0; padding-top: 2.4rem;
  border-top: 1px solid var(--sable);
}
.atouts-ligne li { flex-direction: row; align-items: center; justify-content: center; gap: 1rem; }
.atouts-ligne .ico { width: 64px; height: 64px; background: var(--vert); color: var(--creme); }
.atouts-ligne .ico svg { width: 32px; height: 32px; }
.atouts-ligne strong { font-family: var(--sans); font-size: 1.08rem; font-weight: 400; color: var(--encre); line-height: 1.3; }

/* ---------- Bande de l'optique : pictos en bulles ---------- */
.reassurance-bulles { padding-top: 2rem; padding-bottom: 2rem; }
.reassurance-bulles ul { justify-content: space-around; }
.reassurance-bulles li { gap: 1rem; font-size: 1.05rem; }
.reassurance-bulles .bulle {
  display: grid; place-items: center; flex: none;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--creme); color: var(--vert);
}
.reassurance-bulles .bulle svg { width: 32px; height: 32px; opacity: 1; stroke-width: 1.3; }

@media (max-width: 980px) {
  .atouts-ligne { grid-template-columns: 1fr 1fr; }
  .atouts-ligne li { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .atouts-ligne { gap: 1.1rem .8rem; margin-top: 2.2rem; padding-top: 1.8rem; }
  .atouts-ligne li { gap: .65rem; }
  .atouts-ligne .ico, .reassurance-bulles .bulle { width: 46px; height: 46px; }
  .atouts-ligne .ico svg, .reassurance-bulles .bulle svg { width: 24px; height: 24px; }
  .atouts-ligne strong { font-size: .92rem; }
  .reassurance-bulles li { font-size: .9rem; gap: .65rem; }
}
.reassurance-bulles ul { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 1.5rem 2rem; }
@media (max-width: 1100px) { .reassurance-bulles ul { grid-template-columns: 1fr 1fr; } }

/* ---------- Avis clients ---------- */
.avis-entete { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; max-width: 1200px; margin: 0 auto 2.8rem; }
.note-google { display: flex; align-items: center; gap: 1rem; color: var(--encre); }
.note-chiffre { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--brun); }
.note-detail { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; letter-spacing: .06em; color: var(--gris); }
.note-google:hover .note-detail > span:last-child { color: var(--brun); }
.etoiles { display: inline-flex; gap: 3px; color: var(--brun); }
.etoiles svg { width: 16px; height: 16px; fill: currentColor; }
.avis-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; max-width: 1200px; margin: 0 auto; }
.avis-carte { margin: 0; background: #fff; border: 1px solid var(--sable); padding: 2.2rem 2rem 1.8rem; display: flex; flex-direction: column; gap: 1.2rem; position: relative; }
.avis-carte::before { content: "“"; position: absolute; top: .4rem; right: 1.4rem; font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--sable); }
.avis-carte blockquote { margin: 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.6; color: var(--encre); flex: 1; }
.avis-carte figcaption { font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--vert); }
.avis-carte figcaption span { letter-spacing: .06em; text-transform: none; color: var(--gris); }
@media (max-width: 980px) {
  .avis-grille { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -6vw; padding: 0 6vw .4rem; scrollbar-width: none; }
  .avis-grille::-webkit-scrollbar { display: none; }
  .avis-carte { scroll-snap-align: center; }
}
@media (max-width: 560px) { .avis-grille { grid-auto-columns: 88%; } .note-chiffre { font-size: 2.8rem; } }
.temps-ico { display: none; }
