/* ==========================================================================
   Espace Beauté — Design 2026
   Tout est rangé sous .eb-page : rien ne déborde sur le reste du site.
   ========================================================================== */

@font-face { font-family: 'EB Jost'; src: url('fonts/jost-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'EB Jost'; src: url('fonts/jost-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'EB Marcellus'; src: url('fonts/marcellus-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

.eb-page {
	--eb-ivoire: #FBFAF7;
	--eb-lin: #F4F2EB;
	--eb-sable: #E6DCC8;
	--eb-trait: #E3DCCB;
	--eb-encre: #3E3B36;
	--eb-encre-douce: #6B655C;
	--eb-or: #B99B5E;
	--eb-or-fonce: #8A6D35;
	--eb-sauge: #5E6B44;
	--eb-blanc: #FFFFFF;
	--eb-titre: 'EB Marcellus', 'Marcellus', 'Times New Roman', serif;
	--eb-texte: 'EB Jost', 'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;
	font-family: var(--eb-texte);
	font-size: 17px;
	line-height: 1.7;
	color: var(--eb-encre);
	background: var(--eb-ivoire);
	-webkit-font-smoothing: antialiased;
}
.eb-page *, .eb-page *::before, .eb-page *::after { box-sizing: border-box; }

/* --- Le module Code prend toute la largeur : on neutralise les marges de Divi autour --- */
.et_pb_section:has(.eb-page),
.et_pb_row:has(.eb-page),
.et_pb_column:has(.eb-page),
.et_pb_module:has(.eb-page) {
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
	max-width: none !important;
	background: transparent !important;
}
.et_pb_section:has(.eb-page) .et_pb_row::after { display: none; }

/* --- Remise à zéro des styles que Divi met sur les textes et les listes --- */
.eb-page h1, .eb-page h2, .eb-page h3, .eb-page p, .eb-page ul, .eb-page li, .eb-page figure {
	margin: 0; padding: 0;
}
.eb-page ul { list-style: none; }
.eb-page li::before { content: none; }
.eb-page img { display: block; max-width: 100%; height: auto; }
.eb-page a { color: var(--eb-or-fonce); text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* --- Typographie --- */
.eb-page h1, .eb-page h2, .eb-page h3 {
	font-family: var(--eb-titre); font-weight: 400; color: var(--eb-encre);
	letter-spacing: 0; text-transform: none; text-wrap: balance;
}
.eb-page h1 { font-size: clamp(38px, 5.4vw, 56px); line-height: 1.08; margin-bottom: 20px; }
.eb-page h2 { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.15; margin-bottom: 28px; }
.eb-page h3 { font-size: 22px; line-height: 1.25; }
.eb-page p { margin-bottom: 1em; }
.eb-page p:last-child { margin-bottom: 0; }

.eb-surtitre { font-size: 12px !important; line-height: 1.4; letter-spacing: .22em; text-transform: uppercase; color: var(--eb-sauge); margin-bottom: 14px !important; }
.eb-chapo { font-size: 19px; line-height: 1.6; color: var(--eb-encre-douce); max-width: 30em; margin-bottom: 32px !important; }
.eb-ariane { font-size: 13px; color: var(--eb-encre-douce); margin-bottom: 26px !important; }
.eb-ariane a { color: var(--eb-encre-douce); }
.eb-filet { width: 48px; height: 1px; background: var(--eb-or); border: 0; margin: 0 0 28px; }

/* --- Sections --- */
.eb-section { padding: 88px 20px; }
.eb-section--lin { background: var(--eb-lin); }
.eb-dedans { max-width: 1180px; margin: 0 auto; }
.eb-colonne-texte { max-width: 38em; }
.eb-deux { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.eb-deux--inverse { grid-template-columns: 7fr 5fr; }
.eb-deux--haut { align-items: start; }

/* --- Boutons --- */
.eb-boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.eb-page a.eb-bouton {
	display: inline-block; font-family: var(--eb-texte); font-weight: 500; font-size: 12.5px; line-height: 1;
	letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
	padding: 15px 26px; border: 1px solid var(--eb-or-fonce); color: var(--eb-or-fonce); background: transparent;
	transition: background-color .18s, color .18s, border-color .18s;
}
.eb-page a.eb-bouton:hover, .eb-page a.eb-bouton:focus-visible { background: var(--eb-or-fonce); color: var(--eb-blanc); }
.eb-page a.eb-bouton--plein { background: var(--eb-or-fonce); color: var(--eb-blanc); }
.eb-page a.eb-bouton--plein:hover, .eb-page a.eb-bouton--plein:focus-visible { background: var(--eb-sauge); border-color: var(--eb-sauge); }

/* --- Héros --- */
.eb-heros { padding-top: 56px; }
.eb-heros img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* --- Phrase de résultat --- */
.eb-resultat { font-family: var(--eb-titre); font-size: clamp(26px, 3vw, 34px); line-height: 1.3; color: var(--eb-encre); border-top: 1px solid var(--eb-or); padding-top: 28px !important; }
.eb-resultat span { display: block; font-family: var(--eb-texte); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--eb-sauge); margin-bottom: 14px; }

/* --- Liste des soins --- */
.eb-soins { border-top: 1px solid var(--eb-trait); }
.eb-soin { display: grid; grid-template-columns: 4fr 1fr 7fr; gap: 12px 40px; padding: 28px 0 !important; border-bottom: 1px solid var(--eb-trait); align-items: baseline; }
.eb-soin small { display: block; font-family: var(--eb-texte); font-size: 13.5px; color: var(--eb-encre-douce); margin-top: 6px; }
.eb-duree { font-size: 14px; letter-spacing: .08em; color: var(--eb-sauge); white-space: nowrap; }
.eb-soin p { color: var(--eb-encre-douce); margin: 0 !important; }
.eb-lien-carte { display: inline-block; margin-top: 28px; color: var(--eb-sauge) !important; font-weight: 500; }

/* --- Encadré blanc (logo de méthode, photos d'appareils) --- */
.eb-cadre { background: var(--eb-blanc); border: 1px solid var(--eb-trait); }
.eb-etiquettes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px !important; }
.eb-etiquettes li { font-size: 14.5px; padding: 8px 16px !important; border: 1px solid var(--eb-trait); background: var(--eb-blanc); }
.eb-trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.eb-trois figure { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.eb-trois img { width: 100%; height: 100%; object-fit: contain; }

/* --- Bandeau d'appel --- */
.eb-bandeau { background: var(--eb-sauge); text-align: center; }
.eb-page .eb-bandeau h2 { color: var(--eb-ivoire); margin-bottom: 14px; }
.eb-bandeau p { color: var(--eb-sable); max-width: 34em; margin: 0 auto 32px !important; }
.eb-bandeau .eb-boutons { justify-content: center; }
.eb-page .eb-bandeau a.eb-bouton { border-color: var(--eb-ivoire); color: var(--eb-ivoire); }
.eb-page .eb-bandeau a.eb-bouton:hover, .eb-page .eb-bandeau a.eb-bouton:focus-visible { background: var(--eb-ivoire); color: var(--eb-sauge); }
.eb-page .eb-bandeau a.eb-bouton--plein { background: var(--eb-ivoire); color: var(--eb-sauge); }
.eb-page .eb-bandeau a.eb-bouton--plein:hover, .eb-page .eb-bandeau a.eb-bouton--plein:focus-visible { background: transparent; color: var(--eb-ivoire); }
.eb-bandeau .eb-tel { margin-top: 26px !important; margin-bottom: 0 !important; font-size: 15px; }
.eb-bandeau .eb-tel a { color: var(--eb-sable); }

.eb-page :focus-visible { outline: 2px solid var(--eb-or); outline-offset: 2px; }

/* --- Tablette et téléphone --- */
@media (max-width: 980px) {
	.eb-section { padding-block: 72px; }
}
@media (max-width: 860px) {
	.eb-section { padding-block: 56px; }
	.eb-heros { padding-top: 32px; }
	.eb-deux, .eb-deux--inverse { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.eb-heros .eb-deux figure { order: -1; }
	.eb-soin { grid-template-columns: minmax(0, 1fr) auto; }
	.eb-soin p { grid-column: 1 / -1; }
	.eb-trois { grid-template-columns: minmax(0, 1fr); }
	.eb-chapo { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .eb-page a.eb-bouton { transition: none; } }
