/*
 Theme Name:   Bricks Child — Chez Bebelle
 Description:  Charte Chez Bebelle (reprise fidèle du site DEFACTO 2014, corrigée : titres en texte, sections visibles sur mobile). ARPASYS Studio, 10/2026.
 Template:     bricks
 Version:      1.0
 Text Domain:  bricks
*/

:root {
	--cb-rouge: #8c1b13;
	--cb-rouge-fonce: #730e02;
	--cb-champ: #721009;
	--cb-accent: #de5e60;
	--cb-sombre: #141414;
	--cb-pied: #26292e;
	--cb-header: 100px;
	--cb-sans: 'Lato', Arial, sans-serif;
}
@media (max-width: 979px) { :root { --cb-header: 80px; } }

html { scroll-behavior: smooth; }
body { font-family: var(--cb-sans); font-size: 15px; line-height: 20px; color: #fff; background: #2f3238; }
body:not(.home) { padding-top: var(--cb-header); }
[id] { scroll-margin-top: var(--cb-header); }
h1, h2, h3 { font-family: var(--cb-sans); }
.cb-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- En-tête ---------- */
#brx-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background .5s; }
.home #brx-header { background: transparent; }
.home.cb-defile #brx-header, body:not(.home) #brx-header { background: #000; }
.cb-header { height: var(--cb-header); width: 100%; flex-direction: row; align-items: center; justify-content: center; padding: 0 20px; position: relative; }
.cb-menu .bricks-nav-menu { gap: 0; }
.cb-menu .bricks-nav-menu > li > a { color: #fff; font-size: 16px; line-height: 60px; text-transform: uppercase; padding: 0 18px; position: relative; }
.cb-menu .bricks-nav-menu > li + li > a::before { content: ""; position: absolute; left: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: rgba(255, 255, 255, .6); transform: rotate(45deg); }
.cb-menu .bricks-nav-menu > li > a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 14px; height: 2px; background: #fff; transform: scaleX(0); transition: transform .3s; }
.cb-menu .bricks-nav-menu > li > a:hover::after, .cb-menu .bricks-nav-menu > li > a.is-current::after { transform: scaleX(1); }
.cb-logo-centre { margin: 0 40px; flex: 0 0 auto; }
.cb-logo-centre img, img.cb-logo-centre { width: 59px; height: auto; display: block; }
.cb-reseaux { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); flex-direction: row; gap: 8px; width: auto; }
.cb-pastille { width: 34px; height: 34px; border-radius: 50%; background: #fff; padding: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 0 !important; transition: background .2s; }
/* Icône centrée dans le rond, quel que soit le texte masqué du bouton */
.cb-pastille { position: relative; }
.cb-pastille i, .cb-pastille svg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; line-height: 1; }
.cb-pastille i, .cb-pastille svg { color: var(--cb-rouge); fill: var(--cb-rouge); font-size: 16px; }
.cb-pastille:hover { background: var(--cb-accent); }
.cb-pastille:hover i { color: #fff; }
.cb-pastille-mobile { display: none !important; }
.cb-menu-mobile { display: none !important; }
.cb-menu-mobile .bricks-mobile-menu-toggle { color: #fff; }
.cb-menu-mobile .bricks-mobile-menu-toggle span { background: #fff; }
.cb-menu-mobile .bricks-mobile-menu-wrapper { background: rgba(0, 0, 0, .95); justify-content: center; }
.cb-menu-mobile .bricks-mobile-menu > li > a { color: #fff; font-size: 22px; font-weight: 700; text-transform: uppercase; text-align: center; padding: 14px 0; }
@media (max-width: 979px) {
	.cb-header { justify-content: space-between; }
	.cb-menu { display: none !important; }
	.cb-logo-centre { margin: 0; order: -1; }
	.cb-menu-mobile { display: block !important; }
	.cb-reseaux { position: static; transform: none; margin-left: auto; margin-right: 16px; }
	.cb-pastille-mobile { display: inline-flex !important; }
}
@media (max-width: 400px) { .cb-reseaux .cb-pastille:not(.cb-pastille-mobile) { display: none; } }

/* ---------- Accueil vidéo ---------- */
.cb-hero { position: relative; height: 100vh; min-height: 480px; padding: 0; overflow: hidden; background-color: #000; background-size: cover; background-position: center; }
.cb-hero > .brxe-container { max-width: none; width: 100%; height: 100%; padding: 0; }
.cb-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.cb-video video { width: 100%; height: 100%; object-fit: cover; }
.cb-hero-contenu { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(0, 0, 0, .25); }
.cb-hero-contenu img, img.cb-hero-logo { width: 430px; max-width: 70vw; height: auto; }
.cb-fleche { position: absolute; bottom: 18px; left: 50%; margin-left: -25px; width: 50px; height: 50px; border-radius: 50%; background: rgba(0, 0, 0, .5); z-index: 3; display: flex; align-items: center; justify-content: center; }
.cb-fleche::before { content: ""; width: 14px; height: 14px; border: solid #fff; border-width: 0 3px 3px 0; transform: translateY(-3px) rotate(45deg); }
@media (max-width: 700px) { .cb-hero-contenu img, img.cb-hero-logo { width: 220px; } }

/* ---------- Sections ---------- */
.cb-section { padding: 80px 15px; }
.cb-section > .brxe-container { max-width: 1170px; width: 100%; align-items: center; }
.cb-rouge { background-color: var(--cb-rouge); background-repeat: repeat; }
.cb-titre { text-align: center; margin-bottom: 30px; color: #fff; text-transform: uppercase; }
.cb-intro { font-weight: 700; text-transform: uppercase; font-size: 12px; line-height: 22px; text-align: center; }
.cb-trait { width: 92px; height: 1px; background: rgba(255, 255, 255, .7); margin: 14px auto 18px; }
.cb-texte { opacity: .7; text-align: justify; font-size: 15px; line-height: 20px; }
@media (max-width: 1000px) { .cb-section { padding: 50px 15px; } }

/* Chez Bebelle */
.cb-logo-presentation { margin-bottom: 40px; }
.cb-logo-presentation img, img.cb-logo-presentation { width: 376px; max-width: 80vw; height: auto; }
.cb-colonnes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; width: 100%; align-items: start; }
.cb-colonne { align-items: center; }
.cb-colonne h3 { font-size: 18px; font-weight: 900; text-transform: uppercase; color: #fff; text-align: center; }
.cb-colonne .cb-intro { min-height: 110px; }
.cb-colonne > .brxe-image, .cb-colonne > .brxe-video { margin-top: 24px; }
.cb-colonne .brxe-video { width: 100%; aspect-ratio: 16 / 9; height: auto; position: relative; cursor: pointer; }
.cb-colonne .brxe-video:has(.bricks-video-preview-image)::after { content: ""; position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: #c00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7l8 5-8 5z'/%3E%3C/svg%3E") center / 30px no-repeat; pointer-events: none; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
@media (max-width: 979px) { .cb-colonnes { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; gap: 60px; } .cb-colonne .cb-intro { min-height: 0; } }

/* Les Halles */
.cb-halles { background-size: cover; background-position: center; background-attachment: fixed; position: relative; }
.cb-halles::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.cb-halles > .brxe-container { position: relative; z-index: 1; }
.cb-titre-halles { font-family: 'Raleway', var(--cb-sans); font-weight: 200; font-size: 64px; line-height: 1.1; letter-spacing: 2px; }
.cb-halles-intro { max-width: 585px; font-size: 16px; }
.cb-halles-grille { display: grid; grid-template-columns: 3fr 6fr 3fr; gap: 30px; width: 100%; align-items: start; margin-top: 20px; }
.cb-polaroids { gap: 30px; align-items: center; }
.cb-polaroid { background: #fff; padding: 8px 8px 30px; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); max-width: 245px; }
.cb-polaroid img { display: block; width: 100%; height: auto; }
.cb-polaroid:nth-child(odd) { transform: rotate(-4deg); }
.cb-polaroid:nth-child(even) { transform: rotate(3deg); }
.cb-halles-centre .cb-intro { font-size: 16px; }
.cb-halles-centre .cb-texte { text-align: left; opacity: .85; margin-top: 16px; }
@media (max-width: 979px) { .cb-halles-grille { grid-template-columns: 1fr; } .cb-polaroids { flex-direction: row; justify-content: center; flex-wrap: wrap; } .cb-halles-centre { order: -1; } }
@media (hover: none) { .cb-halles, .cb-carte, .cb-photos { background-attachment: scroll !important; } }

/* L'équipe */
.cb-equipe { background-size: cover; background-position: center; position: relative; overflow: hidden; color: #2e2e2e; }
.cb-titre-equipe { font-family: 'Roboto Slab', serif; font-weight: 700; font-size: 60px; line-height: 1.1; color: #2e2e2e; margin-bottom: 10px; }
.cb-equipe .cb-intro { color: #2e2e2e; font-size: 15px; }
.cb-equipe .cb-trait { background: #000; height: 2px; width: 60px; }
.cb-cafe { position: absolute; left: -190px; top: 60px; width: 300px; z-index: 0; pointer-events: none; }
.cb-equipe > .brxe-container { position: relative; z-index: 1; }
.cb-portraits { position: relative; z-index: 1; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; max-width: 1100px; }
.cb-portraits img { width: 205px; height: auto; display: block; }
@media (max-width: 1000px) { .cb-cafe { position: static; width: 200px; margin: 0 auto 10px; } }
@media (max-width: 480px) { .cb-portraits img { width: 46vw; } }

/* La carte */
.cb-carte { background-color: #1b1b1b; background-repeat: repeat; background-attachment: fixed; padding-bottom: 0; }
.cb-titre-carte { font-family: 'Great Vibes', cursive; font-weight: 400; text-transform: none; font-size: 100px; line-height: 1.1; }
.cb-carte .cb-intro { font-size: 15px; }
.cb-carte-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; width: 100%; margin-top: 30px; }
.cb-ligne { flex-wrap: nowrap !important; flex-direction: row; align-items: center; width: 100%; border-bottom: 1px dashed #5d5c5d; padding: 10px 0; gap: 0; }
.cb-ligne-prix { flex: 0 0 120px; font-size: 30px; line-height: 1; color: #fff; padding: 0 16px; }
.cb-ligne-nom { flex: 1 1 auto; font-size: 14px; text-transform: uppercase; color: #b2b2b2; padding: 0 16px; }
.cb-ligne-nom em { font-style: normal; text-transform: none; opacity: .85; }
.cb-gauche .cb-ligne-prix { border-right: 1px dashed #5d5c5d; text-align: right; }
.cb-droite .cb-ligne { flex-direction: row-reverse !important; }
.cb-droite .cb-ligne-prix { border-left: 1px dashed #5d5c5d; text-align: left; }
.cb-droite .cb-ligne-nom { text-align: right; }
.cb-paiement { flex-direction: row; align-items: center; gap: 12px; margin-top: 20px; color: #fff; font-weight: 700; text-transform: uppercase; font-size: 13px; }
.cb-paiement img { width: 40px; height: 40px; background: #fff; border-radius: 50%; padding: 6px; }
.cb-frites { margin: 40px auto 0; width: 672px; max-width: 100%; }
.cb-frites img { display: block; width: 100%; height: auto; }
@media (max-width: 979px) { .cb-carte-grille { grid-template-columns: 1fr; } .cb-droite .cb-ligne { flex-direction: row !important; } .cb-droite .cb-ligne-prix { border-left: 0; border-right: 1px dashed #5d5c5d; text-align: right; } .cb-droite .cb-ligne-nom { text-align: left; } }
@media (max-width: 480px) { .cb-ligne-prix { flex-basis: 96px; font-size: 24px; padding: 0 10px; } .cb-ligne-nom { padding: 0 10px; } .cb-titre-carte { font-size: 72px; } }

/* Galerie */
.cb-photos { background-color: #141414; background-repeat: repeat; background-attachment: fixed; padding-top: 100px; }
.cb-titre-photos, .cb-titre-contact { font-family: 'Montserrat', var(--cb-sans); font-weight: 700; font-size: 52px; line-height: 1.1; letter-spacing: 4px; }
.cb-filtres { flex-direction: row; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 1000px; margin-bottom: 30px; }
.cb-filtre { flex: 1 1 20%; min-width: 150px; background: none; border: 0; color: #fff; text-transform: uppercase; font: inherit; font-weight: 700; padding: 10px; cursor: pointer; transition: color .2s; }
.cb-filtre:hover, .cb-filtre.is-actif { color: var(--cb-accent); }
.cb-galerie { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 30px; width: 100%; }
.cb-galerie > * { width: calc(25% - 23px); position: relative; border: 4px solid #f3f3f3; overflow: hidden; perspective: 600px; }
.cb-galerie img { display: block; width: 100%; aspect-ratio: 262 / 175; height: auto; object-fit: cover; filter: grayscale(100%); transition: filter .3s; }
.cb-galerie a::after { content: "+"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 300; color: #fff; background: rgba(0, 0, 0, .55); opacity: 0; transform: rotateY(180deg) scale(.5); transition: transform .45s, opacity .45s; }
.cb-galerie a:hover::after, .cb-galerie a:focus-visible::after { opacity: 1; transform: rotateY(0) scale(1); }
.cb-galerie a:hover img { filter: grayscale(0); }
.cb-galerie > .is-cache { display: none; }
@media (max-width: 979px) { .cb-galerie > * { width: calc(50% - 15px); } }
@media (max-width: 480px) { .cb-galerie { gap: 14px; } .cb-galerie > * { width: calc(50% - 7px); } .cb-filtre { min-width: 45%; } }

/* Contact */
.cb-contact { padding: 120px 15px; }
.cb-contact > .brxe-container { max-width: 1400px; }
.cb-contact-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; width: 100%; align-items: start; }
.cb-contact-col h3 { font-size: 18px; font-weight: 900; text-transform: uppercase; color: #fff; text-align: center; margin-bottom: 20px; }
.cb-contact-col .cb-texte { text-align: center; opacity: .85; }
.cb-bouton { display: inline-block; margin-top: 16px; background: var(--cb-rouge-fonce); color: #fff; border: 2px solid var(--cb-rouge-fonce); border-radius: 20px; padding: 8px 22px; text-transform: uppercase; font-weight: 700; font-size: 13px; transition: background .2s, color .2s; }
.cb-bouton:hover { background: #fff; color: var(--cb-rouge-fonce); }
.cb-cadre-rouge { border: 6px solid var(--cb-rouge-fonce); margin-top: 18px; width: 100%; }
.cb-cadre-rouge img { display: block; width: 100%; height: 230px; object-fit: cover; }
.cb-cadre-rouge > .brxe-image, .cb-cadre-rouge > a { display: block !important; width: 100% !important; }
.cb-infos { text-align: center; }
.cb-infos p { margin-bottom: 10px; }
.cb-infos a { color: #fff; text-decoration: underline; }
.cb-contact .brxe-form { width: 100%; margin-top: 10px; }
.cb-contact .brxe-form label { color: #fff; font-size: 13px; text-transform: uppercase; }
.cb-contact .brxe-form input:not([type="checkbox"]), .cb-contact .brxe-form textarea { background: var(--cb-champ); color: #fff; border: 0; border-radius: 3px; padding: 10px 12px; font: inherit; }
.cb-contact .brxe-form ::placeholder { color: rgba(255, 255, 255, .75); }
.cb-contact .brxe-form textarea { height: 120px; resize: none; }
.cb-contact .brxe-form button[type="submit"] { background: #fff; color: var(--cb-rouge); text-transform: uppercase; font-weight: 900; border-radius: 3px; padding: 12px 28px; }
.cb-contact .brxe-form button[type="submit"]:hover { background: var(--cb-accent); color: #fff; }
.cb-rgpd { font-size: 13px; opacity: .85; margin-top: 10px; text-align: left; }
.cb-rgpd a { color: #fff; text-decoration: underline; }
@media (max-width: 1100px) { .cb-contact-grille { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Pied de page */
.cb-footer { background: var(--cb-pied); color: #fff; padding: 30px 15px; text-align: center; align-items: center; }
.cb-footer img { width: 59px; height: auto; margin: 0 auto 14px; display: block; }
.cb-footer p, .cb-footer .brxe-text { color: #fff; font-size: 13px; text-transform: uppercase; line-height: 22px; margin: 0; }
.cb-footer a { color: #fff; }
.cb-footer a:hover { color: var(--cb-accent); }

/* Pages légales */
#brx-content.wordpress { max-width: 980px; margin: 0 auto; padding: 50px 20px 70px; color: #ddd; }
#brx-content.wordpress > h1 { color: #fff; font-size: 40px; line-height: 1.2; font-weight: 900; text-transform: uppercase; margin-bottom: 30px; }
.cb-legal h2 { font-size: 18px; font-weight: 900; text-transform: uppercase; color: #fff; background: var(--cb-rouge); padding: 8px 14px; margin: 34px 0 14px; }
.cb-legal p, .cb-legal li { margin-bottom: 10px; }
.cb-legal ul { padding-left: 22px; list-style: disc; }
.cb-legal a { color: var(--cb-accent); }
