/* ===========================================================================
   Louverné Pizza — charte reprise du site React d'origine.

   Cette feuille est chargée APRÈS la feuille de base de MonSite Pro. Elle ne
   remplace rien : elle rhabille les blocs standard pour retrouver l'identité
   du site fait main. Le client continue d'éditer ses textes normalement.

   Trois emplois de `!important` sont nécessaires et signalés : le générateur
   pose certains fonds de section en attribut `style` inline, et une règle de
   feuille de style ne peut pas les surcharger autrement.
   =========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600&display=swap');

/* ------------------------------------------------------------------ palette */

:root {
  --c-surface: #f8f0e8;                     /* crème : le fond de toutes les pages */
  --c-surface-alt: #fffaf5;                 /* crème clair : cartes et encadrés */
  --c-ink: #17110e;
  --c-ink-muted: #66564c;
  --c-border: rgba(36, 21, 14, .12);
  --c-primary: #df0712;
  --c-primary-hover: #c00610;
  --c-primary-text: #df0712;
  --c-on-primary: #ffffff;
  --shadow: 0 18px 60px rgba(55, 31, 17, .14);

  --maxw: 1320px;
  --radius: 23px;
  --radius-sm: 14px;
  --radius-lg: 30px;

  /* Segoe Print est présent sur Windows ; Caveat prend le relais ailleurs. */
  --font-script: "Segoe Print", "Bradley Hand", "Caveat", cursive;
}

body { background: var(--c-surface); }

/* ------------------------------------------------------------------ titres */

h1, h2, h3 { font-weight: 900; }

h1 em, h2 em, h3 em {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 500;
  color: var(--c-primary);
  letter-spacing: 0;
}

.eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  margin-bottom: 16px;
  color: var(--c-primary);
}

.script {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 500;
  color: var(--c-primary);
  line-height: 1.12;
}

/* ------------------------------------------------------------------ boutons */

.btn {
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 12px 26px rgba(223, 7, 18, .22);
}
.btn--primary:hover {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 18px 32px rgba(223, 7, 18, .28);
}

/* Le bouton clair du site d'origine (`.button.light` / `.button.white`). */
.btn--ghost {
  background: rgba(255, 250, 245, .9);
  color: var(--c-ink);
  border: 0;
}
.btn--ghost:hover { background: #fffaf5; color: var(--c-ink); }

.btn--secondary {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(28, 17, 11, .22);
}
.btn--secondary:hover { background: rgba(28, 17, 11, .05); color: inherit; }

/* ------------------------------------------------------------------ en-tête */

/* L'en-tête flotte au-dessus du contenu, comme la barre fixe d'origine : marge
   négative pour qu'il se superpose, et respiration rendue aux sections. */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border: 0;
  padding-top: 22px;
  margin-bottom: -102px;
}
.hdr__in {
  min-height: 80px;
  width: min(var(--maxw), calc(100% - 8.6vw));
  max-width: none;
  padding: 6px 24px 6px 28px;
  background: rgba(255, 250, 245, .84);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 45px;
  box-shadow: 0 12px 40px rgba(73, 39, 21, .13);
  backdrop-filter: blur(18px);
}
/* Le logo déborde volontairement de la barre : légèrement incliné, plus haut
   que la pilule, il la chevauche en haut comme en bas. Les marges négatives
   l'empêchent de pousser la barre — c'est lui qui sort, pas elle qui grandit. */
.hdr__in { overflow: visible; }
.hdr__brand { overflow: visible; position: relative; z-index: 3; }
.hdr__logo {
  max-height: none;
  height: clamp(74px, 7.2vw, 112px);
  width: auto;
  margin: -22px -6px;
  transform: rotate(-5deg);
  transform-origin: center;
  filter: drop-shadow(0 8px 18px rgba(73, 39, 21, .28));
  transition: transform .3s ease;
}
.hdr__brand:hover .hdr__logo { transform: rotate(-2deg) scale(1.03); }

@media (prefers-reduced-motion: reduce) {
  .hdr__logo, .hdr__brand:hover .hdr__logo { transition: none; transform: rotate(-5deg); }
}

.hdr__nav ul { gap: 30px; }
.hdr__nav a {
  position: relative;
  padding: 28px 0 24px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 0;
}
.hdr__nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 14px;
  height: 2px;
  background: var(--c-primary);
  transition: .25s;
}
.hdr__nav a:hover::after,
.hdr__nav a.is-active::after { left: 0; right: 0; }
.hdr--clair .hdr__nav a.is-active { color: var(--c-primary); border-color: transparent; }

.hdr__end .btn { min-height: 52px; padding: 0 22px; white-space: nowrap; }
.hdr__mobile {
  margin-top: 12px;
  background: rgba(255, 250, 245, .97);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 28px;
  backdrop-filter: blur(18px);
}

/* ------------------------------------------------------------------ accroche */

.hero {
  min-height: 790px;
  background: #1b130f;
  color: #fff;
  overflow: visible;          /* l'encadré d'infos déborde volontairement */
  padding-top: 102px;         /* place rendue à l'en-tête superposé */
  z-index: 2;                 /* pour que l'encadré passe au-dessus de la suite */
}
.hero__bg { object-position: center; }

/* Le voile du générateur est piloté par un réglage d'opacité ; on le remplace
   par le dégradé exact d'origine, posé en pseudo-élément. */
.hero__veil { display: none; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 10, 7, .9) 0%, rgba(17, 10, 7, .72) 42%, rgba(17, 10, 7, .12) 75%),
    linear-gradient(0deg, rgba(17, 10, 7, .5), transparent 40%);
}

.hero__body { padding-block: 80px 96px; max-width: 900px; }
.hero h1 {
  font-size: clamp(54px, 6vw, 88px);
  line-height: .98;
  letter-spacing: -.065em;
  margin: 18px 0 10px;
}
.hero .script {
  font-size: clamp(27px, 2.7vw, 42px);
  color: var(--c-primary);
  margin-bottom: 22px;
  opacity: 1;
}
.hero .lede { font-size: 17px; line-height: 1.65; color: #f4e9e1; opacity: 1; }
.hero .eyebrow {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(12px);
  color: #fff;
  opacity: 1;
}
.hero .btns { margin-top: 30px; }

/* Encadré d'informations pratiques, ancré en bas à droite de l'accroche. */
.hero__card {
  position: absolute;
  right: 5%;
  bottom: -42px;
  z-index: 5;
  display: block;
  width: min(410px, 90%);
  margin: 0;
  padding: 25px 28px;
  background: #fffaf5;
  color: var(--c-ink);
  border-radius: 25px;
  box-shadow: var(--shadow);
}
.hero__cardit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
}
.hero__cardic { color: var(--c-primary); }
.hero__cardtx small {
  font-size: 9px;
  letter-spacing: .12em;
  color: #8b7b72;
  margin-bottom: 4px;
  opacity: 1;
}
.hero__cardtx strong { font-size: 14px; }
.hero__card .btn {
  display: flex;
  justify-content: flex-end;
  min-height: 0;
  padding: 15px 0 0;
  background: none;
  border: 0;
  color: var(--c-primary);
  font-size: 10px;
  font-weight: 900;
}
.hero__card .btn:hover { background: none; transform: none; }

/* ------------------------------------------------------------------ en-tête de page */

/* Fond posé en inline par le générateur : `!important` est le seul moyen de
   le remplacer par le dégradé pêche d'origine. */
.sec.pagehead[style] {
  background:
    radial-gradient(circle at 75% 20%, #fff9f3 0, transparent 35%),
    linear-gradient(135deg, #ecd6c7, #fff8f1) !important;
  color: var(--c-ink) !important;
}
.pagehead { padding: 190px 0 90px; }
.pagehead h1 {
  font-size: clamp(54px, 7vw, 96px);
  line-height: .95;
  letter-spacing: -.06em;
  margin: 0;
}
.pagehead .script { margin: 13px 0 25px; }
.pagehead .lede { font-size: 17px; color: #574a42; }

/* ------------------------------------------------------------------ texte + image */

.split { padding-block: 150px 110px; }
.split__in { gap: 85px; }
.split--egal .split__in { grid-template-columns: .85fr 1.15fr; }
.split h2 {
  font-size: clamp(39px, 4.2vw, 62px);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.split .prose__in > p { font-size: 17px; line-height: 1.8; color: var(--c-ink-muted); }
.split__media--arrondi .split__img,
.split__img {
  border-radius: 30px;
  aspect-ratio: auto;
  min-height: 460px;
  box-shadow: var(--shadow);
}
.split .facts,
.split .prose__in ul { list-style: none; padding: 0; margin: 30px 0; }
.split .prose__in li {
  border-bottom: 1px solid var(--c-border);
  padding: 14px 0;
  font-weight: 700;
  margin: 0;
}

/* ------------------------------------------------------------------ bandeau photo */

.band { min-height: 560px; }
.band__veil { display: none; }
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(15, 8, 5, .92), rgba(15, 8, 5, .42));
}
.band__body { max-width: 850px; margin-inline: 0; text-align: left; }
.band .btns { justify-content: flex-start; margin-top: 15px; }
.band h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -.05em;
}
.band h2 em { color: #ff5b62; }
.band .lede { opacity: .9; }

/* ------------------------------------------------------------------ points de vente */

.locs { padding-block: 120px 70px; }
.locs .sec__head { max-width: none; margin-bottom: 45px; }
.locs h2 {
  font-size: clamp(39px, 4.2vw, 62px);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.locs .lede { font-size: 17px; line-height: 1.7; color: var(--c-ink-muted); }
.locs__grid { gap: 18px; }

.loc {
  background: rgba(255, 250, 245, .94);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 23px;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.loc:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 24px 70px rgba(55, 31, 17, .2);
}
.loc__media { height: 280px; background: #9b633c; }
.loc__img { height: 100%; aspect-ratio: auto; transition: transform .6s; }
.loc:hover .loc__img { transform: scale(1.045); }
.loc__body { padding: 22px 22px 13px; }
.loc__body h3 { font-size: 24px; font-weight: 900; }
.loc__addr { font-size: 14px; line-height: 1.5; color: #3e3530; }
.loc__open {
  background: none;
  color: inherit;
  padding: 0;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 800;
}
.loc__links {
  padding: 0 22px 23px;
  border-top: 1px solid var(--c-border);
  margin-top: 10px;
  padding-top: 13px;
}
.loc__go {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--c-primary);
}

/* Version sans photo (page d'accueil) : la carte compacte d'origine. */
.loc:not(:has(.loc__media)) { box-shadow: 0 12px 30px rgba(62, 34, 19, .14); }
.loc:not(:has(.loc__media)) .loc__body { padding: 24px 22px 13px; }
.loc:not(:has(.loc__media)) .loc__body h3 { font-size: 19px; }
.loc:not(:has(.loc__media)) .loc__addr { font-size: 13px; }

.loc__find { margin-top: 38px; }
.loc__privacy { font-size: 13px; color: var(--c-ink-muted); }
.loc__result { color: var(--c-primary); font-weight: 800; }
.loc.is-nearest {
  border-color: var(--c-primary);
  box-shadow: 0 24px 70px rgba(223, 7, 18, .25);
}

/* ------------------------------------------------------------------ atouts */

.cards--nu { padding-block: 40px 110px; }
.cards--nu .grid { gap: 0; }
.cards--nu .card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 16px;
  padding: 4px 25px;
  border-right: 1px solid var(--c-border);
}
.cards--nu .card:last-child { border-right: 0; }
.cards--nu .card__icon {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  margin: 0;
  background: none;
  border-radius: 0;
  color: var(--c-primary);
}
.cards--nu .card__icon svg { width: 48px; height: 48px; }
.cards--nu .card h3 { align-self: end; font-size: 15px; font-weight: 800; }
.cards--nu .card p { align-self: start; font-size: 12px; line-height: 1.45; margin-top: 4px; }

/* ------------------------------------------------------------------ bandeau rouge */

/* Le bandeau d'origine est un bloc arrondi posé dans la page, pas une bande
   pleine largeur : on neutralise le fond inline et on le redessine à
   l'intérieur. */
.sec.cta[style] {
  background: transparent !important;
  color: var(--c-ink) !important;
  padding-block: 0 70px;
}
.cta__in {
  background: var(--c-primary);
  color: #fff;
  border-radius: 30px;
  padding: 50px 60px;
}
.cta--ligne .cta__in { grid-template-columns: 1fr auto; gap: 30px; }
.cta--centre .cta__in { max-width: none; text-align: center; }
.cta__in h2 { font-size: 38px; margin-bottom: 10px; color: #fff; }
.cta__in h2 em { color: #ffd7d9; }
.cta__in .lede { color: #fff; opacity: .85; }
.cta__in .btn { background: #fff; color: var(--c-ink); border: 0; }
.cta__in .btn:hover { background: #fff; color: var(--c-ink); }

/* ------------------------------------------------------------------ étapes */

.steps { padding-block: 120px 40px; text-align: center; }
.steps h2 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.steps__list { grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 45px; }
.step {
  display: block;
  background: #fffaf5;
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 34px 27px;
  text-align: left;
}
.step__n {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 8px;
  background: none;
  border-radius: 0;
  color: var(--c-primary);
  font-size: 45px;
  font-weight: 900;
  opacity: .25;
}
.step__n::before { content: "0"; }        /* 01, 02, 03… comme l'original */
.step__b h3 { font-size: 21px; }
.step__b p { font-size: 14px; line-height: 1.55; color: #6a5b52; }

/* ------------------------------------------------------------------ coordonnées */

.ci { padding-block: 90px 40px; }
.ci__list { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ci__list li {
  flex-direction: column;
  align-items: flex-start;
  gap: 45px;
  background: #fffaf5;
  border: 1px solid var(--c-border);
  border-radius: 24px;
  padding: 45px;
}
.ci__ic {
  width: 38px;
  height: 38px;
  background: none;
  border-radius: 0;
  color: var(--c-primary);
}
.ci__ic svg { width: 38px; height: 38px; }
.ci__t small { font-size: 10px; letter-spacing: .12em; color: #8b7b72; }
.ci__t a, .ci__t span { font-size: 17px; line-height: 1.6; }

/* ------------------------------------------------------------------ plan et PDF */

.map__box, .pdfsec__box { border-radius: 30px; box-shadow: var(--shadow); border: 0; }

/* ------------------------------------------------------------------ pied de page */

.ft { padding-block: 70px 25px; }
.ft__name { font-size: 20px; font-weight: 900; }
.ft__about, .ft__contact { font-size: 13px; line-height: 1.7; color: #bfb1a9; opacity: 1; }
.ft__col h4 { font-size: 15px; color: #fff; opacity: 1; text-transform: none; letter-spacing: 0; }
.ft__col ul { font-size: 13px; }
.ft__col a { color: #bfb1a9; opacity: 1; }
.ft__col a:hover { color: var(--c-primary); }
.ft__base { border-top-color: rgba(255, 255, 255, .12); font-size: 11px; color: #9f928b; }

/* ------------------------------------------------------------------ textes légaux */

.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
  .cards--nu .card { border-right: 0; }
  .steps__list { grid-template-columns: repeat(2, 1fr); }
  .ci__list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hdr { margin-bottom: -94px; padding-top: 14px; }
  .hdr__in { width: calc(100% - 32px); min-height: 72px; padding: 6px 14px; }
  /* Le débordement est conservé sur téléphone : la barre fait 72 px, le logo 82. */
  .hdr__logo { height: 82px; margin: -16px -4px; }
  .hero { min-height: 0; padding-top: 94px; }
  .hero__body { padding-block: 40px 32px; }
  .hero__card {
    position: static;
    width: 100%;
    margin: 0 0 40px;
  }
  .pagehead { padding: 135px 0 65px; }
  .split { padding-block: 70px 60px; }
  .split__in { gap: 40px; }
  .split__img { min-height: 0; aspect-ratio: 4 / 3; }
  .locs { padding-block: 70px 50px; }
  .cta__in { padding: 30px 25px; }
  .cta__in h2 { font-size: 28px; }
  .steps { padding-block: 70px 30px; }
  .ci__list { grid-template-columns: 1fr; }
  .ci__list li { padding: 30px; gap: 25px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 45px; }
  .hero .script { font-size: 27px; }
  .pagehead h1 { font-size: 44px; }
  .btn { width: 100%; }
  .hero .btns .btn, .band .btns .btn { width: auto; }
  .steps__list { grid-template-columns: 1fr; }
  .loc__media { height: 210px; }
}

/* Le mouvement n'est jamais indispensable à la compréhension. */
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .loc:hover { transform: none; }
  .loc:hover .loc__img { transform: none; }
}