/* ============================================================
   RISEOil — vitrine publique.
   Les photos sont montrées telles quelles : ni voile, ni fondu.
   Un seul motif graphique, l'inclinaison du logo (−12°) : les bandes
   rouges du titre et les boutons. Tout le reste reste calme.
   Polices auto-hébergées : Inter Tight italique (titres), Lato (texte).
   ============================================================ */
@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/lato-400-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/lato-400-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;
  src:url('../fonts/lato-700-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;
  src:url('../fonts/lato-700-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter Tight';font-style:italic;font-weight:800;font-display:swap;
  src:url('../fonts/inter-tight-latin-ext-800-italic.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter Tight';font-style:italic;font-weight:800;font-display:swap;
  src:url('../fonts/inter-tight-latin-800-italic.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

/* ============================================================
   Tokens
   ============================================================ */
:root{
  --red:#CD0000;          /* rouge RISE, mesuré sur le logo */
  --red-deep:#8F0000;
  --asphalt:#26282C;      /* texte, pied de page, panneau entreprises */
  --concrete:#E9EAEC;     /* fond des livraisons, écran du téléphone */
  --white:#FFFFFF;
  --road:#6B6F76;         /* texte secondaire, AA sur blanc */

  --slant:-12deg;         /* l'inclinaison du « RISE » du logo */
  --unslant:12deg;

  --font-text:'Lato',system-ui,-apple-system,'Segoe UI',Helvetica,Arial,sans-serif;
  --font-display:'Inter Tight','Lato',system-ui,-apple-system,'Segoe UI',Helvetica,Arial,sans-serif;

  --gutter:clamp(20px,5vw,72px);
  --header-h:72px;       /* en-tête + hero = exactement la hauteur de l'écran */
  --max:1360px;
}

/* ============================================================
   Base
   ============================================================ */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--white);color:var(--asphalt);
  font-family:var(--font-text);font-size:18px;line-height:1.55;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
img{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3,p,ul,figure{margin:0}
ul{padding:0;list-style:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
:focus-visible{outline:3px solid var(--asphalt);outline-offset:3px}
.band :focus-visible,.business-panel :focus-visible,.site-footer :focus-visible{outline-color:var(--white)}
.order-panel :focus-visible{outline-color:var(--asphalt)}

.skip{position:absolute;left:-9999px;top:0;z-index:100;background:var(--asphalt);color:#fff;padding:12px 18px;text-decoration:none}
.skip:focus{left:12px;top:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.display{font-family:var(--font-display);font-style:italic;font-weight:800;letter-spacing:-.02em;line-height:1.04}

/* ---- boutons : l'inclinaison du logo ----------------------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:50px;padding:0 26px;
  background:var(--red);color:var(--white);
  font-size:17px;font-weight:700;line-height:1.2;text-decoration:none;white-space:nowrap;
  transform:skewX(var(--slant));
  transition:background-color .2s ease,color .2s ease;
}
.btn > span{display:inline-block;transform:skewX(var(--unslant))}
.btn:hover{background:var(--red-deep)}
.btn--lg{min-height:62px;padding:0 36px;font-size:19px}
.btn--dark{background:var(--asphalt)}
.btn--dark:hover{background:var(--red)}

.text-link{
  font-weight:700;text-decoration:underline;
  text-decoration-color:var(--red);text-decoration-thickness:3px;text-underline-offset:6px;
}
.text-link:hover{text-decoration-color:currentColor}

/* ============================================================
   En-tête
   ============================================================ */
.site-header{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  height:var(--header-h);padding:0 var(--gutter);background:var(--white);
}
.site-header__logo{display:block;flex:none}
.site-header__logo img{height:38px;width:auto}
.site-header__actions{display:flex;align-items:center;gap:26px}
.call-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;text-decoration:none;font-size:16px}
.call-link svg{width:20px;height:20px;color:var(--red);flex:none}
.call-link__label{color:var(--road)}
.call-link__number{font-weight:700;white-space:nowrap}
.call-link:hover .call-link__number{text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:2px;text-underline-offset:5px}

/* ============================================================
   Hero : l'écran, pas plus. La photo prend la place restante,
   le titre s'y pose en deux bandes qui montent.
   ============================================================ */
.hero{
  display:flex;flex-direction:column;
  height:calc(100vh - var(--header-h));height:calc(100svh - var(--header-h));
  min-height:540px;padding-bottom:clamp(20px,3.5vh,44px);
}
.hero__media{flex:1 1 auto;min-height:180px;background:var(--concrete);overflow:hidden}
.hero__img{width:100%;height:100%;object-fit:cover}
.hero__body{flex:none;width:100%;max-width:var(--max);margin:0 auto;padding-inline:var(--gutter)}
.hero__title{
  position:relative;
  margin-top:calc(-1.12em - 8px);
  font-size:clamp(34px,min(6.4vw,9.5vh),96px);color:var(--white);
}
.hero__line{
  display:table;background:var(--red);
  padding:.06em .42em .12em .34em;
  transform:skewX(var(--slant));transform-origin:left bottom;
}
.hero__line > span{display:block;transform:skewX(var(--unslant))}
.hero__line + .hero__line{margin-left:1em}
.hero__aside{
  margin-top:clamp(16px,2.8vh,40px);
  display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 56px;
}
.hero__lede{font-size:clamp(17px,min(1.55vw,2.4vh),22px);line-height:1.5;max-width:50ch}

@keyframes rise-in{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@media (prefers-reduced-motion:no-preference){
  .hero__line{animation:rise-in .7s cubic-bezier(.2,.7,.2,1) .15s both}
  .hero__line + .hero__line{animation-delay:.3s}
}

/* ============================================================
   Promesse
   ============================================================ */
.promise{
  max-width:var(--max);margin:0 auto;
  padding:clamp(24px,4vw,56px) var(--gutter) clamp(64px,8vw,120px);
  display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:32px 64px;align-items:start;
}
.promise__title{font-size:clamp(32px,3.6vw,52px);max-width:12ch}
.promise__body{font-size:clamp(19px,1.7vw,24px);line-height:1.5;max-width:54ch}

/* ============================================================
   Livraisons
   ============================================================ */
.deliveries{background:var(--concrete);padding:clamp(56px,7vw,104px) 0}
.deliveries__head{
  max-width:var(--max);margin:0 auto;padding-inline:var(--gutter);
  display:flex;align-items:flex-end;justify-content:space-between;gap:24px;
}
.section-title{font-size:clamp(30px,3.4vw,48px)}
.rail-nav{display:flex;gap:12px;flex:none}
.rail-nav__btn{
  width:52px;height:52px;display:grid;place-items:center;
  background:var(--asphalt);color:var(--white);
  transform:skewX(var(--slant));transition:background-color .2s ease;
}
.rail-nav__btn svg{width:20px;height:20px;transform:skewX(var(--unslant))}
.rail-nav__btn:hover:not(:disabled){background:var(--red)}
.rail-nav__btn:disabled{background:#C4C6CA;cursor:default}

.rail{
  --rail-pad:max(var(--gutter),calc((100% - var(--max)) / 2 + var(--gutter)));
  margin-top:36px;display:flex;gap:20px;
  overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scroll-padding-inline:var(--rail-pad);
  padding:4px var(--rail-pad) 12px;
  scrollbar-width:none;
}
.rail::-webkit-scrollbar{display:none}

.card{flex:0 0 clamp(270px,25vw,350px);scroll-snap-align:start;background:var(--white)}
.card__media{aspect-ratio:4/5;overflow:hidden;background:#D3D5D9}
.card__media img{width:100%;height:100%;object-fit:cover}
.card__title{padding:18px 20px 22px;font-size:23px;line-height:1.1}
.deliveries__cta{max-width:var(--max);margin:40px auto 0;padding-inline:var(--gutter)}

/* ============================================================
   Bande Entreprises
   ============================================================ */
.band{background:var(--red);color:var(--white);padding:clamp(56px,7vw,104px) 0}
.band__inner{max-width:var(--max);margin:0 auto;padding-inline:var(--gutter)}
.band__title{font-size:clamp(34px,4.6vw,66px);max-width:15ch}
.band__grid{margin-top:clamp(32px,4vw,56px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}

.order-panel{
  background:var(--white);color:var(--asphalt);
  display:flex;flex-direction:column;gap:32px;
  padding:36px 36px 0;overflow:hidden;
}
.order-panel__text{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.order-panel__caption{font-size:21px;line-height:1.45;max-width:24ch}

/* téléphone dessiné en HTML : il montre le vrai message pré-rempli */
.phone{flex:none;align-self:center;margin-top:auto;width:236px;min-height:380px;background:var(--concrete);border:9px solid var(--asphalt);border-bottom:0;border-radius:36px 36px 0 0;overflow:hidden}
.phone__notch{width:74px;height:18px;margin:0 auto;background:var(--asphalt);border-radius:0 0 12px 12px}
.phone__head{display:flex;align-items:center;gap:10px;padding:12px 14px;background:var(--white)}
.phone__avatar{width:30px;height:30px;border-radius:50%;background:var(--red);display:grid;place-items:center;flex:none}
.phone__avatar img{height:18px;width:auto}
.phone__name{font-size:14px;font-weight:700}
.phone__thread{display:flex;justify-content:flex-end;padding:18px 10px}
.bubble{max-width:94%;background:var(--white);font-size:12.5px;line-height:1.45;padding:10px 12px;border-radius:12px 12px 3px 12px;white-space:pre-line}

.business-panel{background:var(--asphalt);color:var(--white);display:flex;flex-direction:column}
.business-panel__img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.business-panel__body{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:30px 36px 36px}
.business-panel__title{font-size:clamp(26px,2.4vw,34px)}
.business-panel__body p{font-size:17px;line-height:1.55;color:rgba(255,255,255,.88);max-width:50ch}
.business-panel__actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;margin-top:8px}

/* ============================================================
   Pied de page
   ============================================================ */
.site-footer{background:var(--asphalt);color:var(--white);padding:clamp(52px,6vw,88px) 0 32px}
.site-footer__inner{max-width:var(--max);margin:0 auto;padding-inline:var(--gutter)}
.site-footer__top{
  display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:28px 48px;
  padding-bottom:44px;border-bottom:1px solid rgba(255,255,255,.14);
}
.site-footer__logo img{height:40px;width:auto}
.footer-cta{
  font-family:var(--font-display);font-style:italic;font-weight:800;letter-spacing:-.02em;line-height:1.1;
  font-size:clamp(28px,3.4vw,48px);text-decoration:underline;
  text-decoration-color:var(--red);text-decoration-thickness:5px;text-underline-offset:10px;
}
.footer-cta:hover{text-decoration-color:var(--white)}
.site-footer__cols{display:grid;grid-template-columns:repeat(2,minmax(0,260px));gap:32px 64px;padding:40px 0 48px}
.site-footer__cols h2{font-size:15px;font-weight:700;color:rgba(255,255,255,.64)}
.site-footer__cols ul{margin-top:14px;display:grid;gap:10px}
.site-footer__cols a{font-size:17px;text-decoration:none}
.site-footer__cols a:hover{text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:2px;text-underline-offset:5px}
.site-footer__copy{font-size:14px;color:rgba(255,255,255,.64)}

/* ============================================================
   Pages légales
   ============================================================ */
.legal{max-width:800px;margin:0 auto;padding:clamp(32px,5vw,72px) var(--gutter) clamp(64px,8vw,112px)}
.legal__back{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--road);text-decoration:none;font-size:16px}
.legal__back svg{width:18px;height:18px}
.legal__back:hover{color:var(--asphalt)}
.legal__title{margin-top:18px;font-size:clamp(36px,4.6vw,58px)}
.legal__updated{margin-top:12px;font-size:15px;color:var(--road)}
.legal__body{margin-top:44px;font-size:17px;line-height:1.65}
.legal__body > * + *{margin-top:14px}
.legal__body h2{margin-top:52px;font-family:var(--font-display);font-style:italic;font-weight:800;letter-spacing:-.01em;font-size:28px;line-height:1.15}
.legal__body h3{margin-top:30px;font-size:19px;line-height:1.3;font-weight:700}
.legal__body ul,.legal__body ol{padding-left:22px}
.legal__body ul{list-style:disc}
.legal__body ol{list-style:decimal}
.legal__body li + li{margin-top:6px}
.legal__body li::marker{color:var(--red)}
.legal__body a{color:var(--red);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.legal__body a:hover{color:var(--red-deep)}
.legal__body strong{font-weight:700}
.legal__body code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.86em;background:var(--concrete);padding:1px 6px;white-space:nowrap}
.legal__body table{width:100%;border-collapse:collapse;font-size:15px;display:block;overflow-x:auto}
.legal__body th,.legal__body td{text-align:left;vertical-align:top;padding:10px 12px;border-bottom:1px solid var(--concrete)}
.legal__body th{font-weight:700}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:1100px){
  .band__grid{grid-template-columns:1fr}
}

@media (max-width:860px){
  .promise{grid-template-columns:1fr;gap:20px}
  .promise__title{max-width:none}
}

@media (max-width:720px){
  body{font-size:17px}
  :root{--header-h:64px}
  .site-header__logo img{height:30px}
  .site-header__actions{gap:10px}
  .call-link{width:44px;justify-content:center}
  .call-link__label,.call-link__number{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .call-link svg{width:22px;height:22px}
  .btn{min-height:44px;padding:0 18px;font-size:16px}
  .btn--lg{min-height:54px;padding:0 26px;font-size:17px}

  .hero{min-height:520px}
  .hero__title{margin-top:calc(-1.1em - 6px)}
  .hero__lede{font-size:16px;line-height:1.45}
  .hero__line + .hero__line{margin-left:.6em}

  .rail-nav{display:none}
  .card{flex-basis:78vw}

  .order-panel{padding:28px 24px 0}
  .business-panel__body{padding:24px 22px 28px}

  .site-footer__cols{grid-template-columns:1fr;gap:28px}
}

@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;animation-delay:0s!important;transition-duration:.01ms!important}
}
