/*
Theme Name: AKD-Grillz
Theme URI: https://akd-grillz.com
Description: Thème enfant de Twenty Twenty-Five pour AKD-Grillz (grillz sur mesure, Paris). Noir, violet, blanc, design plat.
Author: AdaMindset Consulting
Template: twentytwentyfive
Version: 1.0.4
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: akd-grillz
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
:where(a:focus-visible, button:focus-visible, summary:focus-visible) { outline: 3px solid var(--wp--preset--color--violet); outline-offset: 3px; }

.akd-display, .akd-display * { font-family: var(--wp--preset--font-family--archivo); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; }
.akd-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wp--preset--color--violet); margin: 0; }
.akd-muted { color: var(--wp--preset--color--ink-2); }
.akd-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons (flat) ---------- */
.wp-block-button .wp-block-button__link { border-radius: 4px; font-weight: 600; padding: 15px 26px; min-height: 52px; display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--wp--preset--color--violet); background: var(--wp--preset--color--violet); color: #fff; box-shadow: none; transition: background .15s, color .15s, border-color .15s; }
.wp-block-button .wp-block-button__link:hover { background: var(--wp--preset--color--violet-dark); border-color: var(--wp--preset--color--violet-dark); color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--black); border-color: var(--wp--preset--color--black); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--black); color: #fff; }
.akd-on-dark .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; }
.akd-on-dark .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--black); }

/* ---------- Top bar & header ---------- */
.akd-topbar { background: var(--wp--preset--color--black); color: var(--wp--preset--color--border); font-size: 14px; text-align: center; }
.akd-topbar p { margin: 0; }
.akd-topbar a { color: var(--wp--preset--color--violet-light); font-weight: 600; }
.akd-header { background: var(--wp--preset--color--bg); border-bottom: 1.5px solid var(--wp--preset--color--border); }
.akd-header .wp-block-site-logo img, .akd-logo img { height: 46px; width: auto; }
.akd-nav a { text-decoration: none; font-weight: 500; }
.akd-nav .akd-nav-ig a { color: var(--wp--preset--color--violet); font-weight: 600; }

/* ---------- Hero ---------- */
.akd-hero { background: var(--wp--preset--color--bg-violet); }
.akd-hero-sig img { width: 100%; max-width: 620px; height: auto; margin-left: -12px; }
.akd-photo { border-radius: 4px; background: var(--wp--preset--color--photo); min-height: 200px; display: flex; align-items: flex-end; padding: 16px; margin: 0; }
.akd-photo img { border-radius: 4px; width: 100%; height: 100%; object-fit: cover; }
.akd-hero-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.akd-hero-photos > :first-child { grid-row: span 2; min-height: 420px; }

/* ---------- Photos (réalisations) ---------- */
.akd-img { margin: 0; border-radius: 4px; overflow: hidden; background: var(--wp--preset--color--black); }
.akd-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.akd-hero-photos > .akd-img { aspect-ratio: 4 / 3; }
.akd-hero-photos > .akd-img:first-child { aspect-ratio: auto; min-height: 420px; }
.akd-img-card { aspect-ratio: 4 / 3; margin-bottom: 4px; }
.akd-img-gal { aspect-ratio: 3 / 4; }
.akd-img-gal img { transition: transform .25s ease; }
.akd-img-gal:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .akd-img-gal img { transition: none; } .akd-img-gal:hover img { transform: none; } }
@media (max-width: 781px) { .akd-hero-photos > .akd-img:first-child { min-height: 280px; } }

/* ---------- Urgence ---------- */
.akd-urgence { background: var(--wp--preset--color--black); color: #fff; border-top: 4px solid var(--wp--preset--color--violet); }
.akd-urgence p { color: var(--wp--preset--color--border); }

/* ---------- Cards & steps ---------- */
.akd-card { background: #fff; border: 1.5px solid var(--wp--preset--color--border); border-radius: 4px; }
.akd-step-num { font-family: var(--wp--preset--font-family--archivo); font-stretch: 125%; font-weight: 800; font-size: 44px; line-height: 1; color: var(--wp--preset--color--violet); margin: 0; }
.akd-note { background: var(--wp--preset--color--bg-violet); border-radius: 4px; padding: 10px 12px; font-size: 13px; }
.akd-price { font-weight: 600; margin: 0; }
.akd-card h3 { font-family: var(--wp--preset--font-family--archivo); font-stretch: 112%; font-weight: 700; font-size: 20px; margin: 0; }

/* ---------- Booking ---------- */
.akd-booking-box { background: #fff; border: 1.5px solid var(--wp--preset--color--border); border-radius: 4px; }
.akd-deposit { border: 1.5px solid var(--wp--preset--color--border); border-radius: 4px; padding: 14px 16px; }
.akd-calendar-slot { border: 1.5px dashed var(--wp--preset--color--violet); border-radius: 4px; background: var(--wp--preset--color--bg); padding: 24px; text-align: center; }

/* ---------- FAQ ---------- */
.akd-faq .wp-block-details { border-bottom: 1.5px solid var(--wp--preset--color--border); padding: 18px 0; margin: 0; }
.akd-faq .wp-block-details summary { font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 44px; align-items: center; }
.akd-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.akd-faq .wp-block-details summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--wp--preset--color--violet); }
.akd-faq .wp-block-details[open] summary::after { content: "–"; }

/* ---------- Footer ---------- */
.akd-footer { background: var(--wp--preset--color--black); color: var(--wp--preset--color--border); }
.akd-footer a { color: var(--wp--preset--color--border); }
.akd-footer a:hover { color: #fff; }
.akd-footer .akd-footer-ig a { color: #fff; font-weight: 600; }
.akd-footer-sig img { width: 240px; max-width: 100%; height: auto; }
.akd-footer-bottom { border-top: 1px solid #3B3747; font-size: 14px; color: var(--wp--preset--color--muted-on-dark); }

@media (max-width: 781px) {
	.akd-hero-photos > :first-child { min-height: 280px; }
}

/* ---------- Pages de contenu (légales, etc.) ---------- */
.wp-block-post-content h2 { font-size: 24px; text-transform: none; margin-top: 40px; }
.wp-block-post-content h3 { font-size: 19px; }

/* ---------- Tableaux de tarifs ---------- */
.akd-tarifs table { border-collapse: collapse; width: 100%; background: #fff; }
.akd-tarifs th, .akd-tarifs td { border: none; border-bottom: 1.5px solid var(--wp--preset--color--border); padding: 14px 16px; text-align: left; }
.akd-tarifs th { background: var(--wp--preset--color--black); color: #fff; font-weight: 600; }
.akd-tarifs td:last-child, .akd-tarifs th:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
