/* Ty Plaisir — refonte
   Papier, encre, ambre de gaufre. Une grille, un bouton, peu de mouvement. */

:root {
  --paper: #F6EBDD;
  --paper-deep: #EBD9C4;
  --ink: #5C2E14;
  --iron: #3D1C0A;
  --waffle: #A0673A;
  --butter: #E0A83A;
  --cream: var(--paper);
  --cream-warm: var(--paper-deep);
  --cream-text: #F6EBDD;
  --chocolate: var(--ink);
  --chocolate-dark: #3D1C0A;
  --chocolate-hover: var(--iron);
  --caramel: var(--waffle);
  --caramel-light: #F3D89A;
  --caramel-dark: #8B4518;
  --yellow: var(--butter);
  --header-height: 64px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-xl: none;
}

body {
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

/* ── Motif : petite gaufre ── */
.section-label::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 26px;
  margin-right: 0.7rem;
  vertical-align: -6px;
  background-color: transparent;
  background-image: url("../gaufre.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── Décor retiré ── */
.hero-blob,
.hero-blob-2,
.offres-blob,
.offres-wave,
.devis-blob-1,
.devis-blob-2,
.apropos-blob-1,
.apropos-blob-2,
.presse-blob,
.contact-blob-1,
.choco-drip,
.hero-section::after,
.offres-section::after,
.apropos-section::after,
.gallery-section::after,
.presse-section::after,
.dates-section::after,
.devis-section::after,
.site-footer::after {
  display: none !important;
}

html.js-reveal .reveal-up,
html.js-reveal .reveal-left,
html.js-reveal .reveal-right {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* ── Titres ── */
h1, h2, h3, .section-title, .hero-title {
  font-weight: 560;
  letter-spacing: -0.02em;
}

.hero-title em,
.section-title em,
.section-title--light em,
.devis-section .section-title em {
  display: inline;
  padding: 0;
  margin: 0;
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: var(--caramel);
  color: var(--caramel);
  animation: none;
  font-style: italic;
  font-weight: 560;
}

.section-header {
  text-align: left;
  max-width: 38rem;
  margin: 0 0 2.5rem;
}

.section-title,
.section-title--light {
  text-align: left;
  color: var(--ink);
}

.section-subtitle,
.section-subtitle--light {
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  margin-left: 0;
  margin-right: 0;
}

.hero-badge > span[aria-hidden] {
  display: none;
}

.hero-badge::before {
  content: "";
  width: 26px;
  height: 26px;
  background-color: transparent;
  background-image: url("../gaufre.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.section-label,
.section-label--light,
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--waffle);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

/* ── Boutons : style géré dans ty-plaisir-accueil.css (beurre doré) ── */
.btn::before,
.btn-primary::before,
.btn.btn-primary::before,
.btn-caramel::before,
.site-header .btn-primary::before {
  content: none;
  display: none;
}

.btn-google-review {
  background: var(--ink);
  background-image: none;
  color: var(--paper);
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  font-weight: 600;
}

.btn-google-review:hover {
  background: var(--iron);
  color: var(--paper);
}

.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--waffle);
  box-shadow: none;
}

.btn-quiet:hover {
  background: transparent;
  color: var(--waffle);
}

/* ── Header ── */
.site-header,
.site-header.scrolled {
  height: var(--header-height);
  background: var(--paper);
  backdrop-filter: none;
  box-shadow: none;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}

.header-logo img,
.logo-img {
  height: 46px;
}

.header-logo:hover .logo-img {
  filter: none;
}

.header-nav .nav-link,
.mobile-nav-link {
  font-family: var(--font-body) !important;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0;
  color: var(--ink);
}

.nav-link.active {
  color: var(--ink);
}

/* ── Hero éditorial ── */
.hero-section {
  background: var(--paper);
  overflow: hidden;
}

.hero-inner {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
}

.hero-visual {
  order: 1;
  min-height: 0;
}

.hero-content {
  order: 2;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 4.5rem);
  max-width: 40rem;
  animation: tp-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-creator-name {
  color: var(--ink);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.hero-title {
  color: var(--ink);
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  margin-bottom: 1rem;
}

.hero-subtitle {
  max-width: 34rem;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  margin-bottom: 1.5rem;
}

.hero-note {
  margin: 1.15rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}

.hero-float-wrap {
  max-width: 380px;
  width: 100%;
  height: auto;
  margin-right: auto;
}

.hero-img-frame {
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}

.hero-oriana-img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center 22%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
}

.hero-visual {
  position: relative;
}

.hero-visual::after {
  content: none;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    text-align: left;
  }

  .hero-content {
    order: 2;
    align-items: flex-start;
    max-width: none;
    padding: 0;
    animation: none;
  }

  .hero-visual {
    order: 1;
    justify-content: center;
  }

  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-float-wrap {
    max-width: min(280px, 68vw);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-oriana-img {
    min-height: 0;
    height: auto;
    max-height: 320px;
    aspect-ratio: 4 / 5;
    object-position: center 22%;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    flex: 0 0 auto;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }
}

@keyframes tp-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Sections papier (fonds détaillés dans accueil.css) ── */
.gallery-section,
.apropos-section,
.dates-section,
.presse-section {
  background: var(--paper);
  color: var(--ink);
}

.devis-section {
  background: var(--paper-deep);
  color: var(--ink);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.dates-section .section-title,
.dates-section .section-title--light,
.dates-section .section-label,
.dates-section .section-label--light,
.presse-section .section-title,
.presse-section .section-subtitle,
.presse-section .section-subtitle--light {
  color: var(--ink);
}

.dates-section .section-label,
.dates-section .section-label--light,
.presse-section .section-label {
  color: var(--waffle);
  background: none;
  border: 0;
}

/* ── Galerie : mosaïque gérée dans accueil.css ── */
.gallery-section .gallery-item,
.gallery-ratio--mixed .gallery-item {
  border-radius: 12px;
  box-shadow: none;
  background: var(--paper-deep);
}

/* ── Prestations (style clair détaillé dans accueil.css) ── */
.offre-card-icon {
  display: none;
}

.offres-grid {
  align-items: start;
}

.menu-gaufres-page {
  background: linear-gradient(180deg, #6B3A1F 0%, #5C2E14 48%, #452010 100%);
}

.menu-gaufres-grid--single {
  grid-template-columns: minmax(0, 640px);
  max-width: 680px;
}

.menu-gaufres-grid--single .menu-gaufres-card,
.menu-gaufres-grid--single .menu-gaufres-card img {
  max-width: 640px;
  box-shadow: none;
}

@media (max-width: 768px) {
  .menu-gaufres-grid--single .menu-gaufres-card,
  .menu-gaufres-grid--single .menu-gaufres-card img {
    max-width: min(640px, 92vw);
  }
}

/* ── Histoire ── */
.apropos-photo,
.apropos-photo-wrapper,
.apropos-photo-placeholder {
  border-radius: 12px;
  box-shadow: none;
}

.apropos-values .value-item {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--ink);
}

/* ── Dates ── */
.date-card {
  background: transparent;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
}

.date-card-date {
  background: transparent;
  box-shadow: none;
  color: var(--ink);
}

.date-day-num,
.date-card-title {
  color: var(--ink);
}

.date-card-heure,
.date-card-adresse,
.date-month,
.date-day-name {
  color: color-mix(in srgb, var(--ink) 70%, transparent);
}

.dates-menu-col img {
  border-radius: 12px;
}

/* ── Presse ── */
.presse-card {
  background: transparent;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
}

.presse-card-extrait,
.presse-card-lire {
  color: var(--ink);
}

.presse-card-lire {
  color: var(--waffle);
}

/* ── Devis : bon de commande ── */
.devis-form-wrapper {
  background: #F7F1E6;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 12px;
  box-shadow: none;
  padding: 0 1.4rem 1.4rem;
  overflow: hidden;
}

.devis-form-wrapper::before {
  content: "";
  display: block;
  height: 22px;
  margin: 0 -1.4rem 1.25rem;
  background-color: var(--ink);
  background-image:
    linear-gradient(#F7F1E6 1px, transparent 1px),
    linear-gradient(90deg, #F7F1E6 1px, transparent 1px);
  background-size: 8px 8px;
}

.dsf-progress-track,
.dsf-choice-inner,
.dsf-input,
.dsf-field input,
.dsf-field textarea {
  box-shadow: none;
}

.dsf-choice-inner {
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  background: transparent;
}

.dsf-input,
.dsf-field input,
.dsf-field textarea {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 28%, transparent);
  background: transparent;
  color: var(--ink);
}

.contact-info-item {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

/* ── Pied de page : seule bande sombre ── */
.site-footer {
  background: linear-gradient(180deg, #6B3A1F 0%, #5C2E14 48%, #452010 100%);
  color: var(--paper);
}

.footer-logo-text,
.footer-nav a,
.footer-tagline,
.footer-copyright,
.footer-made,
.social-link {
  color: var(--paper);
}

.footer-nav a:hover,
.social-link:hover {
  color: var(--butter);
}

/* ── Pages intérieures ── */
.menu-gaufres-card,
.menu-gaufres-card img,
.mentions-page,
.error-404-page {
  border-radius: 12px;
}

.mentions-content,
.error-404-page .container {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .hero-content {
    animation: none;
  }
}
