/*
Theme Name: Les Enflammés
Theme URI: https://pikali.fr
Author: Pikali
Author URI: https://pikali.fr
Description: Thème sur mesure pour Les Enflammés (SARL BREITZEL). Reprend à l'identique le design du site historique (Montserrat / Bebas Neue / Work Sans, noir #030303 et texture granit, titres de sections en images) sans dépendre d'un constructeur de pages : pages légères, polices servies par le site, aucun traceur.
Version: 1.1.2
Requires at least: 6.0
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: enflammes
*/

:root {
    --black: #030303;
    --ink: #1c1c1c;
    --grey: #3a3a3a;
    --text: #5c5c5c;
    --white: #fff;
    --red: #e01810;          /* rouge du logo */
    --red-hot: #ff0000;      /* survol des boutons, relevé sur le site d'origine */
    --red-hot-2: #f72000;
    --line: #d6d6d6;         /* filet des boutons et des champs */
    --montserrat: "Montserrat", Arial, Helvetica, sans-serif;
    --bebas: "Bebas Neue", Arial, Helvetica, sans-serif;
    --work: "Work Sans", Arial, sans-serif;
    --site: 1375px;
}

* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body { font: 400 15px/1.7 var(--montserrat); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden }
img { display: block; max-width: 100%; height: auto }
a { color: inherit; text-decoration: none }
h1, h2, h3, h4 { color: var(--ink) }
.wrap { width: min(var(--site), calc(100% - 60px)); margin-inline: auto }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; z-index: 100 }
.skip:focus { left: 8px }
.title-img { display: flex; justify-content: center; margin: 0 auto 50px }
.title-img img { max-height: 130px; width: auto }
/* Fond granit du site d'origine (issu de Back-redim.jpg), commun à toutes les
   sections sombres. Écrit en propriétés séparées pour rester lisible. */
.tex {
    background-color: var(--black);
    background-image: url(assets/img/s-texture.webp);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}
.tex h1, .tex h2, .tex h3, .tex h4, .tex p { color: #fff }

/* Boutons — relevés sur le site d'origine : fond blanc, filet gris #d6d6d6,
   texte noir en capitales 14 px, angles vifs ; au survol, aplat rouge dégradé,
   texte blanc et filet #030303. La variante « ghost » est celle des sections
   sombres (fond transparent, texte blanc). */
.btn,
.enfc-btn {
    display: inline-block;
    font: 400 14px/1 var(--montserrat);
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 15px 20px;
    white-space: nowrap;
    border: 1px solid var(--line);
    background: #fff;
    color: #000;
    transition: .25s;
    min-height: 48px;
    border-radius: 0;
    cursor: pointer;
    text-align: center;
}

.btn:hover, .btn:focus-visible,
.enfc-btn:hover, .enfc-btn:focus-visible {
    background: linear-gradient(to top, var(--red-hot), var(--red-hot-2));
    border-color: var(--black);
    color: #fff;
    outline: none;
}

.btn.ghost,
.enfc-btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: #fff;
}

.btn.ghost:hover, .btn.ghost:focus-visible,
.enfc-btn-ghost:hover, .enfc-btn-ghost:focus-visible {
    background: #fff;
    border-color: var(--black);
    color: #000;
}

/* « dark » était une variante inventée : alignée sur le bouton standard. */
.btn.dark { background: #fff; border-color: var(--line); color: #000 }

/* Bande des quatre accès rapides : pictogrammes blancs sur la texture granit. */
.cta-services { padding: 70px 0 80px }
.cta-services .quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; list-style: none; margin: 0; padding: 0 }
.cta-services .quad li { display: flex }
.cta-services .quad a { display: flex; flex-direction: column; align-items: center; width: 100%; gap: 0; text-decoration: none }
.cta-services .enf-icon-lg { width: 95px; height: 95px; color: #fff; margin-bottom: 7%; transition: color .25s }
.cta-services .quad a:hover .enf-icon-lg,
.cta-services .quad a:focus-visible .enf-icon-lg { color: var(--red) }
.cta-services .quad a:focus-visible { outline: 2px solid #fff; outline-offset: 6px }
.cta-services .btn { width: 100% }

/* header */
header.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: transparent; transition: background .3s }
header.top.stuck, header.top.inner { background: var(--black) }
header.top .bar { display: flex; align-items: center; justify-content: space-between; height: 150px; padding: 0 6vw; gap: 24px; transition: height .3s }
header.top.stuck .bar, header.top.inner .bar { height: 90px }
.logo img { height: 56px; width: auto }
nav.menu ul { display: flex; list-style: none; gap: 0; white-space: nowrap }
nav.menu a { display: block; padding: 12px clamp(8px, 0.8vw, 16px); color: #fff; font-weight: 500; font-size: clamp(13.5px, 0.85vw, 16px); transition: .2s }
/* Pas de surlignage du lien courant : les entrées du menu pointent vers des
   ancres de l'accueil, que WordPress marque toutes comme « page courante ».
   Le site d'origine ne surlignait rien non plus. */
nav.menu a:hover, nav.menu a:focus-visible { background: #fff; color: #000; outline: none }
.burger { display: none; background: transparent; border: 1px solid #fff; color: #fff; width: 46px; height: 46px; font-size: 20px; cursor: pointer }

/* menu déroulant mobile (absent du site actuel : le menu y était simplement masqué) */
.mobile-nav { display: none; background: var(--black); border-top: 1px solid #222 }
.mobile-nav.open { display: block }
.mobile-nav ul { list-style: none; padding: 8px 20px 18px }
.mobile-nav a { display: block; padding: 14px 0; color: #fff; font-size: 16px; border-bottom: 1px solid #1c1c1c }
.mobile-nav a:hover, .mobile-nav a:focus-visible { color: var(--red); outline: none }

/* hero */
.hero { background: var(--black) url(assets/img/s-texture.webp) left top/cover no-repeat }
.hero .grid { display: grid; grid-template-columns: 40fr 60fr; min-height: 100vh }
.hero .txt { padding: 230px 6vw 90px 10.5vw; display: flex; flex-direction: column; justify-content: center; background: var(--black) url(assets/img/s-texture.webp) left top/cover no-repeat }
.hero .dash { width: 36px; height: 1px; background: #fff; margin-bottom: 190px }
.hero h1 { font: 300 clamp(40px, 3.5vw, 66px)/1.15 var(--montserrat); color: #fff; margin-bottom: 34px; max-width: 11ch }
.hero p.intro { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; color: #fff; font-size: 15px; line-height: 1.75; margin-bottom: 40px }
.hero p.intro img { height: 24px; width: auto; display: inline-block; vertical-align: middle }
.hero .btns { display: flex; gap: 14px; flex-wrap: wrap }
.hero .pic { position: relative; overflow: hidden }
.hero .pic img { width: 100%; height: 100%; object-fit: cover; object-position: center }
.hero .pic::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 36%); z-index: 1 }

/* bandeau « le camion ce soir » (nouveau : la tournée vient de DingTruck) */
.hero .tonight { margin-bottom: 30px }
.hero .enfc-tonight { background: rgba(0,0,0,.55); border-left: 2px solid var(--red); padding: 14px 18px }
.hero .enfc-tonight strong { font-size: 20px }

/* services */
.services { padding: 100px 0 60px }
.services .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 40px }
.services .card { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; overflow: hidden }
.services .card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.services .card h2 { position: relative; font: 400 70px/1 var(--bebas); color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.4); letter-spacing: .02em }
.services .texts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 36px; text-align: center }
.services .texts p { padding: 0 6% }

/* équipe */
.equipe { padding: 80px 0 90px }
.equipe .photo { position: relative; width: min(66.6%, 900px); margin: 0 auto; aspect-ratio: 3/2; overflow: hidden }
.equipe .photo img { width: 100%; height: 100%; object-fit: cover }
.equipe .txt { width: min(66.6%, 900px); margin: -60px auto 0; background: #fff; position: relative; padding: 40px 6% 0; text-align: center }
.equipe .logo-b { display: flex; justify-content: center; margin-top: 34px }
.equipe .logo-b img { height: 60px; width: auto }

/* carte */
.menu { padding: 60px 0 100px }
.menu .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: #fff }
.menu .col { padding: 40px 5%; background: #fff }
.menu.tex .note { color: #ccc }
.menu .col.mid { position: relative; color: #fff; overflow: hidden }
.menu .col.mid > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0 }
.menu .col.mid::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); z-index: 1 }
.menu .col.mid > * { position: relative; z-index: 2 }
.menu h3 { display: flex; margin: 0 0 26px }
.menu h3 img { max-height: 76px; width: auto }
.menu h3.sub { margin-top: 36px }
.menu .dish { margin-bottom: 22px }
.menu .dish .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px }
.menu .col h4 { font: 400 26px/1.2 var(--bebas); letter-spacing: .02em; color: var(--ink) }
.menu .col.mid h4, .menu .col.mid p, .menu .col.mid .price { color: #fff }
.menu .col .price { color: var(--ink) }
.menu .col p { color: var(--text) }
.menu .price { font: 500 14px/1.5 var(--work); letter-spacing: .09em; white-space: nowrap }
.menu .dish p { font-size: 14px }
.menu .note { margin-top: 34px; font-size: 13px; color: #7a7a7a; text-align: center }

/* tournée */
.tour { padding: 80px 0 100px; text-align: center }
.tour .tt { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 60px }
.tour .tt h2 { font: 300 44px/1.1 var(--montserrat); color: var(--ink); display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; justify-content: center }
.tour .tt h2 img { height: 44px; width: auto }
.tour .tt p { font: 400 30px/1 var(--bebas); color: var(--ink); letter-spacing: .04em }
.tour .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; text-align: left; align-items: stretch }

/* La carte et le tableau viennent de l'extension : on les habille comme
   l'ancien bloc statique pour que le design reste identique. */
.tour .enfc-map { background: #e9e7e2; color: var(--ink); min-height: 420px }
.tour .enfc-map strong, .tour .enfc-map p { color: var(--ink) }
.tour .enfc-map .enfc-btn { border-color: #000; color: #000 }
.tour .enfc-map .enfc-btn:hover, .tour .enfc-map .enfc-btn:focus-visible { background: #000; color: #fff }
.tour .enfc-map .enfc-pin { width: 38px; height: 38px; margin-bottom: 14px }
.tour .enfc-title { display: none }
.tour .enfc-table thead th { font: 400 22px/1 var(--bebas); letter-spacing: .06em; padding: 0 0 14px 20px }
.tour .enfc-table td { padding: 12px 0 12px 20px; border-top: 1px solid #e6e6e6; border-bottom: 0 }
.tour .enfc-table td:first-child { font: 400 22px/1.2 var(--bebas); color: var(--ink); padding-left: 0; width: 36% }
.tour .enfc-note { text-align: left }

/* éphémère */
.ephem { padding: 110px 0 }
.ephem .in { width: min(40%, 560px); margin: 0 auto; text-align: center }
.ephem h2 { display: flex; justify-content: center; margin-bottom: 8px }
.ephem h2 img { height: 54px; width: auto }
.ephem .sub { font: 400 26px/1 var(--bebas); letter-spacing: .06em; margin-bottom: 30px }
.ephem p { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 8px; margin-bottom: 36px }
.ephem p img { height: 22px; width: auto }
.band { height: 420px; overflow: hidden }
.band img { width: 100%; height: 100%; object-fit: cover }

/* événementiel */
.event { padding: 100px 0 90px }
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 20px }
.flip { position: relative; min-height: 300px; perspective: 1200px; outline: none }
.flip .face { position: absolute; inset: 0; border-radius: 6px; backface-visibility: hidden; transition: transform .8s; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 28px }
.flip .front { background: #111 center/cover no-repeat; color: #fff }
.flip .front::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); border-radius: 6px }
.flip .front > * { position: relative }
.flip .front h3 { font: 400 38px/1 var(--bebas); color: #fff; letter-spacing: .03em }
.flip .front .from { font: 400 22px/1.2 var(--bebas); color: #fff; letter-spacing: .06em; margin-top: 8px }
.flip .back { background: #fff; color: var(--text); transform: rotateY(180deg) }
.flip .back h4 { font: 400 24px/1 var(--bebas); color: var(--ink); margin-bottom: 10px; letter-spacing: .04em }
.flip .back p { font-size: 13.5px; line-height: 1.55 }
.flip:hover .front, .flip:focus-within .front, .flip.on .front { transform: rotateY(180deg) }
.flip:hover .back, .flip:focus-within .back, .flip.on .back { transform: rotateY(0) }
.flip .logo-i { height: 18px; width: auto; display: inline-block; vertical-align: middle }
.cta-part { margin-top: 90px; text-align: center; width: min(100%, 900px); margin-inline: auto }
.cta-part h2 { font: 400 44px/1.1 var(--bebas); letter-spacing: .03em; margin-bottom: 22px; color: #fff }
.cta-part p { color: #ddd; margin-bottom: 30px }

/* annexe */
.annexe { padding: 0 0 100px }
.annexe .full { height: 520px; overflow: hidden }
.annexe .full img { width: 100%; height: 100%; object-fit: cover }
.annexe .grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: center; margin-top: 60px }
.annexe h2 { font: 400 44px/1.1 var(--bebas); letter-spacing: .03em; margin-bottom: 20px }
.annexe .grid img { width: 100%; height: 100%; max-height: 380px; object-fit: cover }

/* réalisations */
.real { padding: 100px 0 }
.real .grid, .real .enfc-ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: min(66.6%, 900px); margin: 0 auto }
.real .grid figure, .real .enfc-ig-item { aspect-ratio: 1; overflow: hidden; margin: 0 }
.real .grid img, .real .enfc-ig-item img { width: 100%; height: 100%; object-fit: cover; transition: .4s }
.real .grid figure:hover img, .real .enfc-ig-item a:hover img { transform: scale(1.05) }
.real .enfc-ig-follow, .real .follow { text-align: center; margin-top: 28px }
.real .txt { width: min(66.6%, 900px); margin: 40px auto 0; text-align: center }
.real .logo-w { display: flex; justify-content: center; margin-top: 40px }
.real .logo-w img { height: 36px; width: auto }

/* contact */
.contact { padding: 100px 0 }
.contact .grid { display: grid; grid-template-columns: 2fr 3fr; gap: 50px; align-items: start }
.contact .side img { width: 100%; aspect-ratio: 4/5; object-fit: cover; margin-bottom: 28px }
.contact .side p { margin-bottom: 10px }
.contact .side a { color: var(--ink); font-weight: 600 }

/* formulaire (rendu par l'extension) — champs à pictogramme comme l'original */
.enf-icon { display: inline-block; vertical-align: middle; fill: currentColor }
.enfc-field { position: relative; display: block }
.enfc-field-icon { position: absolute; left: 16px; top: 16px; width: 16px; height: 16px; color: var(--text); pointer-events: none }
.enfc-field input, .enfc-field textarea { padding-left: 46px }
/* Les champs date et nombre affichent aussi les commandes natives du navigateur :
   un peu plus d'air évite que le pictogramme touche le texte. */
.enfc-field input[type="date"], .enfc-field input[type="number"] { padding-left: 48px }
.enfc-field-area .enfc-field-icon { top: 16px }
.enfc-field:focus-within .enfc-field-icon { color: var(--ink) }

.enfc-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px }
.enfc-form .f { margin-bottom: 20px }
.enfc-form label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 6px; font-weight: 600 }
.enfc-form input, .enfc-form select, .enfc-form textarea { width: 100%; border: 1px solid #d6d6d6; background: #fff; color: var(--ink); padding: 12px 14px; font: inherit; font-size: 15px; min-height: 48px; border-radius: 0 }
.enfc-form input:focus, .enfc-form select:focus, .enfc-form textarea:focus { outline: none; border-color: #000 }
.enfc-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text); margin-bottom: 12px; font-weight: 400 }
.enfc-form .consent input { width: 18px; height: 18px; min-height: 0; margin-top: 3px; accent-color: #000 }
.enfc-form .consent a { text-decoration: underline }
.enfc-form .btn { margin-top: 10px }
.enfc-form .small { font-size: 12px; color: #7a7a7a; margin-top: 12px }
.enfc-form .hp { position: absolute; left: -9999px }
.enfc-msg { padding: 16px 18px; margin-bottom: 22px; border-left: 3px solid var(--red); background: #faf7f5; color: var(--ink); font-size: 14px }
.enfc-msg.ok { border-left-color: #1a7f37 }

/* pages intérieures */
.page-head { padding: 210px 0 70px; text-align: center }
.page-head h1 { font: 300 clamp(32px, 3vw, 52px)/1.15 var(--montserrat); color: #fff; margin: 0 auto; max-width: 22ch }
.page-head p.sub { color: #ddd; margin-top: 16px; font-size: 16px }
.page-body { padding: 70px 0 90px }
.page-body .inner { width: min(860px, 100%); margin: 0 auto }
.page-body h2 { font: 400 40px/1.15 var(--bebas); letter-spacing: .03em; margin: 44px 0 16px; color: var(--ink) }
.page-body h3 { font: 400 28px/1.2 var(--bebas); letter-spacing: .03em; margin: 30px 0 12px; color: var(--ink) }
.page-body p, .page-body li { margin-bottom: 14px }
.page-body ul, .page-body ol { padding-left: 22px; margin-bottom: 20px }
.page-body a { color: var(--ink); text-decoration: underline }
.page-body img { margin: 26px 0 }
.page-body table { width: 100%; border-collapse: collapse; margin: 20px 0 30px; font-size: 15px }
.page-body th, .page-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #e6e6e6; vertical-align: top }
.page-body th { font: 400 20px/1 var(--bebas); letter-spacing: .05em; color: var(--ink) }
.page-body .lead { font-size: 17px; color: var(--ink) }
.page-cta { text-align: center; padding: 0 0 100px }

/* footer */
footer.site { padding: 70px 0 40px }
footer .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; text-align: left }
footer .cols p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; font-size: 14px; color: #ddd; margin-top: 20px }
footer .cols p img { height: 20px; width: auto }
footer h4 { font: 400 24px/1 var(--bebas); color: #fff; letter-spacing: .05em; margin-bottom: 16px }
footer ul { list-style: none; display: grid; gap: 8px; font-size: 14px; color: #ddd }
footer ul a:hover, footer ul a:focus-visible { color: var(--red) }
footer .legal-txt { font-size: 13px; color: #bbb; margin-top: 30px; line-height: 1.6 }
.copy { background: #000; color: #bbb; font-size: 13px; padding: 22px 0; text-align: center }
.copy a { color: #fff; margin: 0 8px; text-decoration: none }
.copy a:hover { text-decoration: underline }
.sticky { display: none }

@media (max-width: 1100px) {
    .hero .grid { grid-template-columns: 1fr 1fr }
    .hero .txt { padding-top: 170px }
        .packs { grid-template-columns: 1fr 1fr }
    .real .grid, .real .enfc-ig-grid, .equipe .photo, .equipe .txt, .real .txt { width: 100% }
    .ephem .in { width: min(100%, 600px) }
}

@media (max-width: 820px) {
    header.top { background: var(--black) }
    header.top .bar { height: 80px; padding: 0 20px }
    nav.menu { display: none }
    .burger { display: block }
    .logo img { height: 38px }
    .hero .grid { grid-template-columns: 1fr; min-height: 0 }
    .hero .txt { padding: 120px 20px 50px }
    .hero .dash { margin-bottom: 40px }
    .hero .pic { aspect-ratio: 4/3 }
    .services .cards, .services .texts, .tour .grid, .contact .grid, .annexe .grid, .menu .cols { grid-template-columns: 1fr }
    .services .card { min-height: 360px }
    .services .card h2 { font-size: 56px }
    .menu .col { padding: 30px 0 }
    .menu .col.mid { padding: 30px 6% }
    .equipe .txt { margin-top: 0; padding: 30px 0 0 }
    .packs { grid-template-columns: 1fr }
    .enfc-form .row { grid-template-columns: 1fr }
    footer .cols { grid-template-columns: 1fr }
    .title-img img { max-height: 90px }
    .page-head { padding: 130px 0 50px }
    .real .enfc-ig-grid { grid-template-columns: repeat(2, 1fr) }
    .sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--black) }
    .sticky a { flex: 1; text-align: center; color: #fff; padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); font: 400 20px/1 var(--bebas); letter-spacing: .06em }
    .sticky a + a { border-left: 1px solid #333 }
    body { padding-bottom: 56px }
}
