/* OptiFresh : styles isolés, sans modification des styles de l’accueil */
.page-optifresh{--fresh-ink:#075b98;--fresh-accent:#0867ed;background:#f7f8f5;color:var(--fresh-ink)}
.page-optifresh .site-header{z-index:20}
.fresh-hero{height:clamp(540px,40.6vw,720px);position:relative;background:url('images/optifresh-hero.webp') center center/cover no-repeat;display:flex;align-items:center}
.fresh-hero-wash{position:absolute;inset:0;background:linear-gradient(90deg,rgba(250,249,246,.97),rgba(250,249,246,.83) 23%,rgba(250,249,246,.22) 49%,transparent 75%)}
.fresh-hero-content{position:relative;z-index:1;margin-left:clamp(30px,8.6vw,145px);margin-top:76px;max-width:560px}
.fresh-brand{width:clamp(265px,31vw,390px);height:auto;object-fit:contain;object-position:left center;display:block;margin-bottom:24px}
.fresh-hero h1,.fresh-editorial h2{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500;letter-spacing:-.055em;line-height:.87}
.fresh-hero h1{font-size:clamp(51px,5.2vw,87px);margin:0 0 24px}
.fresh-rule{display:block;width:56px;height:1px;background:#0867ed}
.fresh-eyebrow{font-size:clamp(12px,1.05vw,17px);letter-spacing:.17em;line-height:1.5;margin-top:25px;color:#0867ed;font-weight:600}
.fresh-editorial{position:relative;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(180px,.65fr) minmax(220px,1.05fr);gap:clamp(20px,3vw,56px);padding:45px 0 40px clamp(30px,8.6vw,145px);min-height:610px;background:#f8f9f6;overflow:hidden}
.fresh-main-copy{position:relative;z-index:1;padding:8px 0 0;max-width:620px}
.fresh-editorial h2{font-size:clamp(45px,4.8vw,79px);margin:0 0 28px}
.fresh-main-copy>p:not(.fresh-maxim){font-size:clamp(19px,1.65vw,26px);line-height:1.08;margin:27px 0 18px}
.fresh-maxim{font-family:'Allura',cursive;font-size:clamp(33px,3.15vw,51px);line-height:.98;margin:28px 0 0;color:#0867ed}
.fresh-secondary-copy{align-self:center;position:relative;z-index:1;padding-top:100px}
.fresh-secondary-copy h3{font-size:clamp(12px,1.1vw,16px);line-height:1.55;letter-spacing:.11em;margin:0 0 22px}
.fresh-secondary-copy p{font-style:italic;font-size:clamp(18px,1.45vw,24px);line-height:1.2;margin-top:26px}
.fresh-watermark{position:absolute;z-index:-1;left:-105px;top:-145px;width:350px;height:350px;object-fit:contain;opacity:.055;filter:grayscale(1)}
.fresh-bassin{height:100%;min-height:580px;overflow:hidden}.fresh-bassin img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.fresh-contact{min-height:290px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(0,0,0,.6),rgba(0,0,0,.14)),url('images/optifresh-bandeau.webp') center/cover no-repeat;color:white;padding:40px clamp(30px,17vw,270px)}
.fresh-contact-content{max-width:900px}.fresh-contact-line2{white-space:nowrap}.fresh-contact h2{font-family:'Allura',cursive;font-size:clamp(37px,4vw,64px);line-height:.95;font-weight:400;margin:0 0 16px}.fresh-contact .fresh-rule{background:#fff}.fresh-contact p{font-size:clamp(18px,1.6vw,25px);margin:12px 0 20px}.fresh-contact .btn{background:#0867ed}
.page-optifresh .footer{color:#fff}
@media(max-width:1050px){.fresh-editorial{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);padding-right:0}.fresh-main-copy{grid-column:1}.fresh-secondary-copy{grid-column:1;padding:5px 0 0;align-self:start;max-width:600px}.fresh-bassin{grid-column:2;grid-row:1/3;min-height:700px}.fresh-watermark{left:5%;top:-70px}}
@media(max-width:760px){.fresh-hero{height:620px;background-position:60% center}.fresh-hero-wash{background:linear-gradient(90deg,rgba(250,249,246,.94),rgba(250,249,246,.69) 58%,rgba(250,249,246,.1))}.fresh-hero-content{margin:75px 24px 0}.fresh-brand{width:min(85vw,350px);height:auto;margin-bottom:16px}.fresh-hero h1{font-size:clamp(47px,10vw,65px)}.fresh-editorial{display:flex;flex-direction:column;padding:44px 26px 0;gap:20px}.fresh-editorial h2{font-size:clamp(48px,11vw,66px)}.fresh-main-copy>p:not(.fresh-maxim){font-size:21px;line-height:1.18}.fresh-secondary-copy{padding:10px 0 25px}.fresh-secondary-copy p{font-size:22px}.fresh-watermark{left:35%;top:-50px;width:250px;height:250px}.fresh-bassin{min-height:0;height:420px;margin:0 -26px}.fresh-contact{padding:45px 28px;min-height:310px}.fresh-contact h2{font-size:clamp(42px,10vw,58px)}}

/* Palette OptiFresh : titres indigo, détails rose magenta. */
.page-optifresh .fresh-hero h1,.page-optifresh .fresh-editorial h2{color:#075b98}
.page-optifresh .fresh-eyebrow{color:#075b98}
.page-optifresh .fresh-secondary-copy h3,.page-optifresh .fresh-secondary-copy p{color:#075b98}
.page-optifresh .fresh-main-copy>p:not(.fresh-maxim){color:#075b98}
.page-optifresh .fresh-maxim{color:#0867ed}

@media(max-width:760px){.fresh-contact-line2{white-space:normal}}

/* OptiFresh : ajustements ciblés pour la maquette */
.fresh-hero{background-position:center center}
.fresh-hero h1{font-size:clamp(50px,5.2vw,82px)}
.fresh-brand{width:clamp(285px,33vw,410px)}
.fresh-contact{padding-left:clamp(30px,10.4vw,170px);background-position:center}
.fresh-contact-content{max-width:920px}
.fresh-contact h2{font-size:clamp(37px,3.8vw,59px)}
.fresh-contact-line2{white-space:nowrap}
.fresh-watermark{opacity:.07;filter:sepia(1) saturate(2) hue-rotate(170deg)}
@media(max-width:760px){.fresh-contact-line2{white-space:normal}.fresh-hero{background-position:58% center}.fresh-brand{width:min(85vw,365px)}}

/* Retouches ciblées : trait d’union du titre éditorial. */
.fresh-editorial h2 .fresh-joined{white-space:nowrap}
.fresh-editorial h2 .fresh-hyphen{font-family:Georgia,serif;font-size:.50em;vertical-align:.14em;letter-spacing:0;margin-inline:.035em}

/* OptiFresh: proportions propres à la maquette */
.fresh-hero h1{font-size:clamp(48px,5.05vw,80px);line-height:.89}
.fresh-editorial h2{font-size:clamp(43px,4.4vw,74px);line-height:.95}
.fresh-main-copy>p:not(.fresh-maxim){line-height:1.13}
.fresh-contact-line2{white-space:nowrap}
@media(max-width:760px){.fresh-contact-line2{white-space:normal}}

/* Correction ponctuelle du trait d’union du titre du hero. */
.fresh-hero h1 .fresh-title-hyphen{font-family:Georgia,serif;font-size:.48em;font-weight:400;vertical-align:.16em;letter-spacing:0;margin-inline:.025em}

/* OptiFresh : deux lignes équilibrées sur ordinateur, sans déborder sur mobile. */
@media (min-width: 1060px) {
  .fresh-editorial { grid-template-columns: minmax(0, 1.9fr) minmax(165px, .60fr) minmax(220px, .95fr); gap: clamp(14px, 2vw, 34px); padding-left: clamp(30px, 7vw, 110px); }
  .fresh-editorial h2 { font-size: clamp(41px, 3.7vw, 62px); letter-spacing: -.055em; }
  .fresh-maxim { font-size: clamp(30px, 2.65vw, 44px); }
  .fresh-heading-line, .fresh-maxim-line { white-space: nowrap; }
}
@media (max-width: 1059px) {
  .fresh-heading-line, .fresh-maxim-line { white-space: normal; }
}

/* Étape 49 — OptiFresh desktop : photo agrandie de 145px et décalée
   vers le bas de 85px pour dégager le visage sous le bandeau.
   Aucune modification sur mobile. */
@media (min-width: 761px) {
  .page-optifresh .fresh-hero {
    background-size: auto calc(100% + 145px);
    background-position: center 85px;
  }
}


/* Étape 67 — iPad Mini paysage : hauteur réelle de la photographie,
   sans étirement par la grille. Ne concerne pas le mobile ni les grands écrans. */
@media (min-width: 1080px) and (max-width: 1180px) and (max-height: 820px) {
  .page-optifresh .fresh-editorial .fresh-bassin {
    height: 540px;
    min-height: 0;
    max-height: 540px;
    align-self: start;
  }
  .page-optifresh .fresh-editorial .fresh-bassin img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Étape 70 — OptiFresh : filigrane remonté de 15 px (décalage final +20 px) sur iPad Mini paysage uniquement. */
@media (min-width: 1120px) and (max-width: 1145px) and (min-height: 730px) and (max-height: 760px) {
  .page-optifresh .fresh-secondary-copy .fresh-watermark { top: -125px; }
}

/* Étape 73 — iPad 11 pouces paysage : filigrane OptiFresh légèrement abaissé. */
@media (min-width: 1160px) and (max-width: 1200px) and (min-height: 800px) and (max-height: 840px) and (orientation: landscape) {
  .page-optifresh .fresh-secondary-copy .fresh-watermark { top: -120px; }
}
