/* Sati Resto · site satiresto.fr. Marque : grenat #A3344A, assiette, Fraunces (titres) + Outfit (texte). */
@font-face { font-family: "Fraunces"; src: url("polices/fraunces.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("polices/outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --grenat: #A3344A; --grenat-fonce: #7E2438; --grenat-nuit: #5E1A2B; --grenat-pale: #F5E6E9;
  --fond: #F8F4F3; --blanc: #FFFFFF; --encre: #1F1A1C; --doux: #6E6467; --trait: #ECE2E3;
  --titre: "Fraunces", Georgia, "Times New Roman", serif;
  --texte: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --large: 1120px; --rayon: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 400 17px/1.6 var(--texte); }
img, svg { display: block; max-width: 100%; }
a { color: var(--grenat); }
h1, h2, h3 { font-family: var(--titre); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aller { position: absolute; left: 12px; top: -60px; background: #fff; color: var(--encre); padding: 10px 14px; border-radius: 10px; z-index: 50; }
.aller:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--grenat); outline-offset: 3px; border-radius: 6px; }
.enveloppe { max-width: var(--large); margin: 0 auto; padding: 0 20px; }

/* ----- Boutons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--texte); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:active { transform: scale(.98); }
.btn-plein { background: var(--grenat); color: #fff; }
.btn-plein:hover { background: var(--grenat-fonce); }
.btn-blanc { background: #fff; color: var(--grenat); }
.btn-blanc:hover { background: var(--grenat-pale); }
.btn-ligne { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ligne:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ligne-grenat { background: transparent; color: var(--grenat); border-color: var(--grenat); }
.btn-ligne-grenat:hover { background: var(--grenat-pale); }

/* ----- En-tête ----- */
.entete { position: relative; z-index: 5; }
.entete .enveloppe { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 600 23px/1 var(--titre); }
.logo svg { width: 40px; height: 32px; fill: currentColor; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: inherit; text-decoration: none; font-weight: 500; font-size: 15.5px; opacity: .9; }
.nav a:not(.btn):hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; opacity: 1; }
.nav .btn:hover { text-decoration: none; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }
@media (max-width: 420px) { .logo { font-size: 20px; gap: 8px; } .logo svg { width: 34px; height: 27px; } .nav .btn { min-height: 40px; padding: 0 14px; font-size: 14px; } }

/* ----- Haut de page (grenat) ----- */
.haut { background: var(--grenat); color: #fff; position: relative; overflow: hidden; }
.haut::after { content: ""; position: absolute; inset: auto 0 0; height: 150px; background: var(--fond); }
.haut .entete { color: #fff; }
.accroche { position: relative; z-index: 2; text-align: center; padding: 26px 0 0; }
.sr-ouverture { width: min(84vw, 400px); height: auto; margin: 0 auto 6px; color: #fff; overflow: visible; }
.accroche h1 { font-size: clamp(32px, 5.4vw, 56px); max-width: 17ch; margin: 0 auto; }
.accroche .intro { max-width: 60ch; margin: 18px auto 0; font-size: clamp(17px, 2vw, 19.5px); color: rgba(255,255,255,.88); }
.accroche .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.atouts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px 0 0; padding: 0; font-size: 15px; color: rgba(255,255,255,.9); }
.atouts li { display: flex; align-items: center; gap: 7px; }
.atouts svg { width: 18px; height: 18px; flex: none; }
.vitrine { position: relative; z-index: 2; display: flex; justify-content: center; align-items: flex-end; gap: 0; margin-top: 46px; padding-bottom: 10px; }
.vitrine .tel { width: clamp(150px, 24vw, 250px); }
.vitrine .tel:nth-child(1) { transform: translateX(26px) rotate(-6deg) translateY(18px); }
.vitrine .tel:nth-child(2) { z-index: 2; width: clamp(170px, 27vw, 280px); }
.vitrine .tel:nth-child(3) { transform: translateX(-26px) rotate(6deg) translateY(18px); }
@media (max-width: 560px) { .vitrine .tel:nth-child(1), .vitrine .tel:nth-child(3) { width: 34vw; } .vitrine .tel:nth-child(2) { width: 42vw; } .vitrine .tel:nth-child(1) { transform: translateX(18px) rotate(-6deg) translateY(14px); } .vitrine .tel:nth-child(3) { transform: translateX(-18px) rotate(6deg) translateY(14px); } }

/* Téléphone */
.tel { position: relative; aspect-ratio: 375 / 812; border-radius: 13% / 6%; padding: 3.2%; background: #1C1719; box-shadow: 0 2px 4px rgba(30,10,16,.18), 0 24px 50px -14px rgba(30,10,16,.45); }
.tel img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 10.5% / 4.9%; background: #fff; }

/* Écran d'ouverture animé : la phrase se tape puis se resserre en « Sati Resto » (une fois au chargement) */
.sr-sort, .sr-tombe, .sr-curseur { opacity: 0; }
.sr-curseur { fill: currentColor; }
.sr-joue .sr-garde { animation: sr-parait .06s calc(.5s + var(--k) * .06s) linear both, sr-glisse .6s 3.2s cubic-bezier(.6, 0, .2, 1) both; }
.sr-joue .sr-sort { animation: sr-parait .06s calc(.5s + var(--k) * .06s) linear both, sr-glisse .6s 3.2s cubic-bezier(.6, 0, .2, 1) both, sr-efface .25s 3.2s ease-in forwards; }
.sr-joue .sr-entre { animation: sr-glisse .6s 3.2s cubic-bezier(.6, 0, .2, 1) both, sr-parait .3s 3.32s ease-out both; }
.sr-joue .sr-tombe { animation: sr-parait .06s calc(.5s + var(--k) * .06s) linear both, sr-efface .05s calc(2.4s + var(--o) * .12s) linear forwards; }
.sr-joue .sr-curseur { animation: sr-clignote .3s 1.7s step-end 2 forwards; }
@keyframes sr-parait { from { opacity: 0; } to { opacity: 1; } }
@keyframes sr-glisse { from { transform: translate(var(--dx), var(--dy)) scale(var(--s)); } to { transform: none; } }
@keyframes sr-efface { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sr-clignote { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 0; } }

/* ----- Sections ----- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-blanche { background: #fff; }
.tete-section { max-width: 680px; margin-bottom: 42px; }
.tete-section.centre { margin-left: auto; margin-right: auto; text-align: center; }
.surtitre { display: inline-block; font: 600 13px/1 var(--texte); letter-spacing: .12em; text-transform: uppercase; color: var(--grenat); margin-bottom: 14px; }
.tete-section h2 { font-size: clamp(30px, 4.2vw, 44px); }
.tete-section p { margin-top: 14px; color: var(--doux); font-size: 18px; }

/* Trois raisons */
.raisons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.raison { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); padding: 28px 26px; }
.raison .chiffre { font: 600 46px/1 var(--titre); color: var(--grenat); }
.raison h3 { font-size: 22px; margin: 14px 0 8px; }
.raison p { color: var(--doux); }
@media (max-width: 860px) { .raisons { grid-template-columns: 1fr; } }

/* Deux colonnes : texte + écrans */
.duo { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.duo.inverse .duo-texte { order: 2; }
.duo-ecrans { display: flex; justify-content: center; align-items: flex-start; gap: 18px; }
.duo-ecrans .tel { width: min(42%, 240px); }
.duo-ecrans .tel:nth-child(2) { margin-top: 48px; }
.points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.points li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.points .pastille { width: 40px; height: 40px; border-radius: 12px; background: var(--grenat-pale); color: var(--grenat); display: grid; place-items: center; }
.points .pastille svg { width: 21px; height: 21px; }
.points b { display: block; font-size: 17.5px; }
.points span { color: var(--doux); font-size: 16px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo.inverse .duo-texte { order: 0; } }

/* Couleurs du restaurant */
.couleurs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 3vw, 34px); max-width: 860px; margin: 0 auto; }
.couleurs figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.couleurs .tel { width: 100%; max-width: 250px; }
.couleurs figcaption { font-size: 15px; color: var(--doux); text-align: center; }
.couleurs figcaption b { display: block; color: var(--encre); font: 600 18px/1.3 var(--titre); }
.couleurs i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.note-centre { text-align: center; color: var(--doux); max-width: 620px; margin: 34px auto 0; }

/* Grille des fonctions */
.fonctions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fonction { background: var(--fond); border-radius: var(--rayon); padding: 22px 20px; }
.fonction svg { width: 26px; height: 26px; color: var(--grenat); }
.fonction h3 { font: 600 17.5px/1.3 var(--texte); margin: 14px 0 6px; letter-spacing: 0; }
.fonction p { color: var(--doux); font-size: 15.5px; }
@media (max-width: 960px) { .fonctions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fonctions { grid-template-columns: 1fr; } }

/* Étapes */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: etape; }
.etapes li { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); padding: 28px 26px; counter-increment: etape; }
.etapes li::before { content: counter(etape); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grenat); color: #fff; font: 600 20px/1 var(--titre); margin-bottom: 18px; }
.etapes h3 { font-size: 21px; margin-bottom: 8px; }
.etapes p { color: var(--doux); }
@media (max-width: 860px) { .etapes { grid-template-columns: 1fr; } }

/* Bandeau prix */
.prix { background: var(--grenat); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.prix h2 { font-size: clamp(30px, 4.4vw, 46px); }
.prix p { color: rgba(255,255,255,.88); margin-top: 14px; font-size: 18px; max-width: 46ch; }
.prix .montant { margin-top: 18px; color: #fff; font: 600 clamp(48px, 7vw, 72px)/1 var(--titre); letter-spacing: -.02em; }
.prix .montant small { font: 500 18px/1 var(--texte); letter-spacing: 0; opacity: .85; margin: 0 4px; }
.prix ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.prix li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; }
.prix li svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.prix .btn { margin-top: 24px; }
.prix .filigrane { position: absolute; right: -60px; bottom: -70px; width: 320px; opacity: .08; fill: #fff; pointer-events: none; }
@media (max-width: 860px) { .prix { grid-template-columns: 1fr; } }

/* Questions */
.questions { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.questions details { background: #fff; border: 1px solid var(--trait); border-radius: 14px; padding: 0 22px; }
.questions summary { cursor: pointer; list-style: none; padding: 20px 34px 20px 0; font: 600 18px/1.35 var(--texte); position: relative; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 11px; height: 11px; border-right: 2.5px solid var(--grenat); border-bottom: 2.5px solid var(--grenat); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.questions details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.questions details p { padding: 0 0 20px; color: var(--doux); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 6vw, 70px); align-items: start; }
.contact-texte h2 { font-size: clamp(30px, 4.2vw, 44px); }
.contact-texte p { color: var(--doux); margin-top: 14px; font-size: 18px; }
.joindre { margin-top: 26px; display: grid; gap: 10px; }
.joindre a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; text-decoration: none; }
.joindre svg { width: 22px; height: 22px; }
.formulaire { background: #fff; border: 1px solid var(--trait); border-radius: 22px; padding: clamp(22px, 4vw, 34px); display: grid; gap: 16px; }
.formulaire .deux { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.champ { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
.champ input, .champ textarea { width: 100%; font: 400 16.5px/1.4 var(--texte); color: var(--encre); background: var(--fond); border: 1.5px solid var(--trait); border-radius: 12px; padding: 13px 14px; }
.champ textarea { min-height: 110px; resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--grenat); background: #fff; box-shadow: 0 0 0 3px var(--grenat-pale); }
.champ small { color: var(--doux); font-weight: 400; }
.accord { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14.5px; color: var(--doux); align-items: start; }
.accord input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--grenat); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire .btn { width: 100%; }
.etat-envoi { font-size: 15.5px; border-radius: 12px; padding: 12px 14px; }
.etat-envoi:empty { display: none; }
.etat-envoi.ok { background: #E7F3EC; color: #1E5B3A; }
.etat-envoi.erreur { background: #FBE9E7; color: #9A2D1F; }
.merci-envoi { text-align: center; padding: 20px 6px; }
.merci-envoi svg { width: 84px; margin: 0 auto 14px; fill: var(--grenat); }
.merci-envoi h3 { font-size: 26px; color: var(--grenat); }
.merci-envoi p { color: var(--doux); margin-top: 8px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .formulaire .deux { grid-template-columns: 1fr; } }

/* Pied de page */
.pied { background: var(--grenat-nuit); color: rgba(255,255,255,.82); padding: 48px 0 38px; font-size: 15px; }
.pied .enveloppe { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; align-items: flex-start; }
.pied .logo { color: #fff; }
.pied p { margin-top: 10px; max-width: 40ch; }
.pied nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.pied a { color: #fff; }
.pied .bas { flex-basis: 100%; border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.62); }

/* Pages de texte (mentions légales, confidentialité, page introuvable) */
.page-texte .entete { background: var(--grenat); color: #fff; }
.texte { max-width: 760px; margin: 0 auto; padding: 56px 20px 90px; }
.texte h1 { font-size: clamp(32px, 5vw, 46px); color: var(--grenat); margin-bottom: 26px; }
.texte h2 { font-size: 23px; margin: 34px 0 10px; }
.texte p, .texte li { color: #3D3437; }
.texte p + p { margin-top: 10px; }
.texte ul { padding-left: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sr-joue * { animation: none !important; }
  .btn { transition: none; }
}
