/* Madame Corail – en-tête et pied de page (remplace Elementor Pro Theme Builder) */

.mch-topbar { background: #F26B5B; text-align: center; padding: 9px 20px; }
.mch-topbar a { color: #0F2A43; font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 16px; line-height: 20px; text-decoration: none; }
.mch-topbar a:hover, .mch-topbar a:focus-visible { text-decoration: underline; }
.mch-topbar--agenda { background: #F7F1E3; border-bottom: 3px solid #F26B5B; }
.mch-topbar--agenda a { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 .3em; text-transform: uppercase; letter-spacing: .05em; }
.mch-topbar--agenda .mch-tb-ico { flex: 0 0 auto; margin-right: .25em; color: #F26B5B; }
.mch-topbar--agenda .mch-tb-k { color: #F26B5B; }
.mch-topbar--agenda strong { font-weight: 700; }
.mch-topbar--agenda .mch-tb-go { color: #F26B5B; }

.mch { position: relative; z-index: 100; background: #0F2A43; color: #F7F1E3; }
.mch-inner { box-sizing: border-box; max-width: 1440px; margin: 0 auto; padding: 0 40px; min-height: 110px; display: flex; align-items: center; gap: 20px; }
.mch-logo { flex: 0 0 auto; display: block; line-height: 0; }
.mch-logo-img { display: block; width: 170px; height: auto; }
.mch-logo-text { font-family: "Young Serif", Georgia, serif; font-size: 26px; line-height: 1; color: #F7F1E3; }

/* Menu principal */
.mch-nav { flex: 1 1 auto; display: flex; justify-content: flex-start; }
.mch-menu, .mch-menu ul { list-style: none; margin: 0; padding: 0; }
.mch-menu { display: flex; align-items: center; flex-wrap: nowrap; }
.mch-menu > li { position: relative; display: flex; align-items: center; }
.mch-menu a { display: block; color: #F7F1E3; text-decoration: none; font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; }
.mch-menu > li > a { position: relative; padding: 12px 10px; line-height: 20px; }
.mch-menu > li > a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; background: #F26B5B; transform: scaleX(0); transition: transform .25s ease; }
.mch-menu > li > a:hover, .mch-menu > li > a:focus-visible,
.mch-menu > .current-menu-item > a, .mch-menu > .current-menu-ancestor > a, .mch-menu > .current-menu-parent > a { color: #F26B5B; }
.mch-menu > li > a:hover::after, .mch-menu > li > a:focus-visible::after,
.mch-menu > .current-menu-item > a::after, .mch-menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.mch-sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 30px; margin-left: -8px; padding: 0; border: 0; background: none; color: #F7F1E3; cursor: pointer; }
.mch-sub-toggle:hover, .mch-sub-toggle:focus-visible { color: #F26B5B; background: none; }
.mch-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px 0; background: #0F2A43; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 20; }
.mch-menu .sub-menu a { padding: 12px 20px; font-size: 17px; white-space: nowrap; }
.mch-menu .sub-menu a:hover, .mch-menu .sub-menu a:focus-visible, .mch-menu .sub-menu .current-menu-item > a { color: #F26B5B; background: rgba(247, 241, 227, .06); }
.mch-menu > li:hover > .sub-menu, .mch-menu > li:focus-within > .sub-menu, .mch-menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }

/* Bouton « Agenda » du menu (élément de menu avec la classe mch-agenda) */
.mch-menu > li.mch-agenda { margin-left: 6px; }
.mch-menu > li.mch-agenda > a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px 8px 13px; border: 1.5px solid #F26B5B; border-radius: 999px; color: #F26B5B; transition: background .2s ease, color .2s ease; }
.mch-menu > li.mch-agenda > a::before { content: ""; width: 16px; height: 16px; flex: 0 0 auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.mch-menu > li.mch-agenda > a::after { display: none; }
.mch-menu > li.mch-agenda > a:hover, .mch-menu > li.mch-agenda > a:focus-visible { background: #F26B5B; color: #0F2A43; }

/* Outils : compte, panier, commander */
.mch-tools { flex: 0 0 auto; display: flex; align-items: center; gap: 20px; }
.mch-account, .mch-cart { position: relative; display: inline-flex; align-items: center; gap: 8px; color: #F7F1E3; text-decoration: none; font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; }
.mch-account:hover, .mch-cart:hover, .mch-account:focus-visible, .mch-cart:focus-visible { color: #F26B5B; }
.mch-account-label { white-space: nowrap; }
.mch-cart-count { position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; border-radius: 9px; background: #F26B5B; color: #0F2A43; font: 700 11px/18px "Hanken Grotesk", sans-serif; letter-spacing: 0; text-align: center; }
.mch-cta { display: inline-block; padding: 12px 24px; border-radius: 999px; background: #F26B5B; color: #0F2A43; text-decoration: none; font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; line-height: 18px; transition: background .2s ease; }
.mch-cta:hover, .mch-cta:focus-visible { background: #F7857A; color: #0F2A43; }
.mch-toggle { display: none; width: 40px; height: 40px; padding: 10px 8px; border: 0; border-radius: 6px; background: none; cursor: pointer; flex-direction: column; justify-content: space-between; }
.mch-toggle span { display: block; height: 2.5px; border-radius: 2px; background: #F7F1E3; transition: transform .25s ease, opacity .2s ease; }
.mch-toggle:hover, .mch-toggle:focus-visible { background: rgba(247, 241, 227, .08); }
.mch-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mch-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mch-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1439px) {
	.mch-account-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.mch-menu a, .mch-cta { white-space: nowrap; }
@media (max-width: 1320px) {
	.mch-inner { padding: 0 24px; gap: 14px; }
	.mch-menu > li > a { padding-left: 6px; padding-right: 6px; font-size: 15px; letter-spacing: .04em; }
	.mch-sub-toggle { margin-left: -6px; width: 18px; }
	.mch-menu > li.mch-agenda { margin-left: 4px; }
	.mch-menu > li.mch-agenda > a { padding: 7px 11px 7px 10px; gap: 5px; }
	.mch-logo-img { width: 140px; }
	.mch-tools { gap: 14px; }
	.mch-cta { padding: 11px 18px; font-size: 15px; }
}

@media (max-width: 1180px) {
	.mch-inner { gap: 10px; }
	.mch-menu > li > a { padding-left: 5px; padding-right: 5px; font-size: 14px; letter-spacing: .03em; }
	.mch-menu > li.mch-agenda > a { padding: 6px 10px; }
	.mch-menu > li.mch-agenda > a::before { display: none; }
	.mch-tools { gap: 12px; }
	.mch-cta { padding: 10px 14px; font-size: 14px; }
}

/* Tablette et mobile : menu repliable */
@media (max-width: 1024px) {
	.mch-inner { min-height: 90px; flex-wrap: wrap; }
	.mch-logo-img { width: 128px; }
	.mch-tools { margin-left: auto; gap: 18px; }
	.mch-toggle { display: inline-flex; order: -1; }
	.mch-nav { order: 10; flex: 1 0 100%; display: none; justify-content: flex-start; margin: 0 -24px; padding: 4px 24px 16px; border-top: 1px solid rgba(247, 241, 227, .15); }
	.mch.is-open .mch-nav { display: block; }
	.mch-menu { flex-direction: column; align-items: stretch; }
	.mch-menu > li { flex-wrap: wrap; border-bottom: 1px solid rgba(247, 241, 227, .1); }
	.mch-menu > li > a { flex: 1 1 auto; padding: 14px 0; font-size: 18px; }
	.mch-menu > li > a::after { display: none; }
	.mch-sub-toggle { width: 44px; height: 44px; margin: 0; }
	.mch-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
	.mch-menu .sub-menu { position: static; flex: 1 0 100%; min-width: 0; padding: 0 0 8px 14px; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; transition: none; }
	.mch-menu > li:hover > .sub-menu, .mch-menu > li:focus-within > .sub-menu { display: none; }
	.mch-menu > li.is-open > .sub-menu { display: block; }
	.mch-menu .sub-menu a { padding: 10px 0; font-size: 16px; white-space: normal; }
	.mch-menu > li.mch-agenda { margin: 0; padding: 12px 0; }
	.mch-menu > li.mch-agenda > a { flex: 0 0 auto; padding: 10px 18px 10px 15px; font-size: 18px; }
	.mch-menu > li.mch-agenda > a::before { display: block; }
}
@media (max-width: 767px) {
	.mch-topbar { padding: 8px 16px; }
	.mch-topbar a { font-size: 15px; }
	.mch-topbar--agenda .mch-tb-more { display: none; }
	.mch-inner { padding: 0 20px; }
	.mch-nav { margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
	.mch-cta { display: none; }
}

/* Pied de page */
.mcf { margin-top: 0; color: #BCCCDA; font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: 16px; line-height: 1.6; }
.mcf-wave { display: block; width: 100%; height: clamp(28px, 5vw, 64px); }
.mcf-wave path { fill: #0F2A43; }
.mcf-body { background: #0F2A43; margin-top: -1px; }
.mcf-inner { box-sizing: border-box; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mcf-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr .9fr; gap: 48px; padding-top: 32px; padding-bottom: 48px; }
.mcf p { margin: 0 0 14px; }
.mcf-logo { display: inline-block; line-height: 0; margin-bottom: 18px; }
.mcf-logo-img { display: block; width: 180px; height: auto; }
.mcf-tagline { font-family: "Young Serif", Georgia, serif; font-size: 24px; line-height: 1.25; color: #F26B5B; }
.mcf-title { font-family: "Young Serif", Georgia, serif; font-size: 22px; line-height: 1.3; color: #F7F1E3; margin-bottom: 16px !important; }
.mcf-links { list-style: none; margin: 0; padding: 0; }
.mcf-links li { margin: 0; }
.mcf-links a { display: inline-block; padding: 5px 0; color: #BCCCDA; text-decoration: none; }
.mcf-links a:hover, .mcf-links a:focus-visible { color: #F26B5B; }
.mcf-social { list-style: none; display: flex; gap: 12px; margin: 6px 0 0; padding: 0; }
.mcf-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #F7F1E3; color: #0F2A43; transition: background .2s ease; }
.mcf-social a:hover, .mcf-social a:focus-visible { background: #F26B5B; }
.mcf-social svg { width: 19px; height: 19px; }
.mcf-btn { display: inline-block; padding: 12px 24px; border-radius: 999px; background: #F26B5B; color: #0F2A43; text-decoration: none; font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; line-height: 18px; }
.mcf-btn:hover, .mcf-btn:focus-visible { background: #F7857A; color: #0F2A43; }
.mcf-bottom { border-top: 1px solid rgba(247, 241, 227, .2); }
.mcf-bottom .mcf-inner { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: 14px; }
.mcf-bottom p { margin: 0; }

@media (max-width: 1024px) {
	.mcf-cols { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
}
@media (max-width: 600px) {
	.mcf-cols { grid-template-columns: 1fr; gap: 32px; padding-top: 20px; }
	.mcf-bottom .mcf-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	.mch-menu .sub-menu, .mch-menu > li > a::after, .mch-toggle span { transition: none; }
}

/* La vague du pied de page se pose sur la dernière section corail (pas de bande crème entre les deux). */
body:has(.mca-blog-cta) .mcf-wave, body:has(.mca-shop-cta) .mcf-wave, body:has(.mcct-social) .mcf-wave { background: #F26B5B; }
body:has(.mca-blog-cta) .mcf, body:has(.mca-shop-cta) .mcf, body:has(.mcct-social) .mcf { margin-top: -1px; }
/* Accueil : la dernière section (Contact professionnel) est crème, la vague du pied de page se pose dessus */
body.home .mcf-wave, body.page-id-11370 .mcf-wave { background: #F7F1E3; }
body.home .mcf, body.page-id-11370 .mcf { margin-top: -1px; }
