/* Smart Moov Bordeaux Design – look of smart-moov.com. Deactivate the plugin to remove. */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/montserrat-latin-800-normal.woff2") format("woff2"); }

/* ---------- Palette (mapped onto Astra's global colours) ---------- */
html:root {
	--smbd-red: #cc1818;
	--smbd-red-dark: #a51414;
	--smbd-navy: #061e3a;
	--smbd-text: #333333;
	--smbd-light: #f5f5f5;
	--smbd-border: #dddddd;
	--smbd-heading-font: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--smbd-body-font: "Helvetica Neue", Helvetica, Arial, sans-serif;

	--ast-global-color-0: #cc1818;
	--ast-global-color-1: #a51414;
	--ast-global-color-2: #061e3a;
	--ast-global-color-3: #333333;
	--ast-global-color-4: #ffffff;
	--ast-global-color-5: #ffffff;
	--ast-global-color-6: #f5f5f5;
	--ast-global-color-7: #dddddd;
	--ast-global-color-8: #061e3a;
}

/* ---------- Body text ---------- */
body,
button, input, select, textarea,
.entry-content p, .entry-content li {
	font-family: var(--smbd-body-font);
	color: var(--smbd-text);
}
.entry-content p, .entry-content li { font-size: 16px; line-height: 1.65; }
.entry-content a { color: var(--smbd-red); }
.entry-content a:hover, .entry-content a:focus { color: var(--smbd-red-dark); }

/* ---------- Headings: Montserrat, uppercase, navy ---------- */
h1, h2, h3, h4, h5, h6,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4,
.entry-title {
	font-family: var(--smbd-heading-font);
	color: var(--smbd-navy);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.25;
}
h1, .entry-title { font-weight: 800; font-size: clamp(1.45rem, 2.4vw, 2rem); text-align: center; }
.entry-content h2 { font-weight: 700; font-size: clamp(1.2rem, 1.9vw, 1.55rem); text-align: center; margin-top: 2.2em; margin-bottom: 0.9em; }
.entry-content h3 { font-weight: 600; font-size: 1.05rem; margin-top: 1.6em; }

/* ---------- Top bar (added by the plugin) ---------- */
.smbd-topbar { background: #fff; border-bottom: 1px solid #eeeeee; }
.smbd-topbar__inner {
	max-width: 1240px; margin: 0 auto; padding: 18px 24px;
	display: flex; align-items: center; gap: 28px;
}
.smbd-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.smbd-pin { width: 40px; height: 53px; flex: none; }
.smbd-brand__name {
	font-family: var(--smbd-heading-font); font-weight: 800; text-transform: uppercase;
	color: var(--smbd-navy); font-size: 24px; line-height: 1.05; letter-spacing: 0.02em;
}
.smbd-brand__sub {
	display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--smbd-red); margin-top: 4px;
}
.smbd-contact { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.smbd-contact a {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--smbd-navy); font-weight: 600; font-size: 15px; text-decoration: none;
}
.smbd-contact a:hover, .smbd-contact a:focus { color: var(--smbd-red); }
.smbd-icon { fill: currentColor; flex: none; }
.smbd-qt { height: 64px; width: auto; }
.smbd-lang { display: flex; align-items: center; gap: 2px; font-family: var(--smbd-heading-font); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; }
.smbd-lang__item { display: inline-block; padding: 6px 7px; color: var(--smbd-navy); text-decoration: none; border-radius: 3px; line-height: 1; }
.smbd-lang a.smbd-lang__item:hover, .smbd-lang a.smbd-lang__item:focus { color: var(--smbd-red); }
.smbd-lang__item.is-current { background: var(--smbd-navy); color: #fff; }

/* ---------- Main header row: white, navy uppercase menu ---------- */
#masthead .ast-primary-header-bar,
#masthead .main-header-bar,
#masthead .ast-mobile-header-wrap .ast-primary-header-bar {
	background: #ffffff !important;
	background-image: none !important;
	border-bottom: 1px solid #eeeeee;
}
#masthead .ast-primary-header-bar .site-primary-header-wrap { justify-content: center; }
#masthead .main-header-menu > .menu-item > .menu-link {
	color: var(--smbd-navy) !important;
	font-family: var(--smbd-heading-font);
	font-weight: 700;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
#masthead .main-header-menu > .menu-item:hover > .menu-link,
#masthead .main-header-menu > .menu-item.current-menu-item > .menu-link,
#masthead .main-header-menu > .menu-item.current-menu-ancestor > .menu-link,
#masthead .main-header-menu .menu-link:focus {
	color: var(--smbd-red) !important;
}
#masthead .main-header-menu .sub-menu { background: #ffffff; border-top: 3px solid var(--smbd-red); box-shadow: 0 8px 24px rgba(6, 30, 58, 0.12); }
#masthead .main-header-menu .sub-menu .menu-link { color: var(--smbd-navy) !important; font-weight: 600; text-transform: none; }
#masthead .main-header-menu .sub-menu .menu-link:hover { color: var(--smbd-red) !important; background: var(--smbd-light); }

/* "Book now" button in the menu */
#masthead .main-header-menu > .menu-book-now > .menu-link {
	background: var(--smbd-red);
	color: #ffffff !important;
	border-radius: 6px;
	padding-left: 1.1em; padding-right: 1.1em;
	margin-left: 0.4em;
	line-height: 2.6;
	align-self: center;
}
#masthead .main-header-menu > .menu-book-now > .menu-link:hover,
#masthead .main-header-menu > .menu-book-now.current-menu-item > .menu-link { background: var(--smbd-red-dark); color: #ffffff !important; }

/* Hide the header social icons (no accounts linked yet) */
#masthead .ast-header-social-wrap,
#masthead .ast-builder-social-element,
#masthead [class*="header-social"] { display: none !important; }

/* Mobile menu */
#ast-mobile-header .menu-toggle,
#ast-mobile-header .ast-mobile-menu-trigger-minimal { color: var(--smbd-navy) !important; background: transparent !important; }
#ast-mobile-header .menu-toggle .ast-mobile-svg, #ast-mobile-header .menu-toggle svg { fill: var(--smbd-navy) !important; }
#ast-mobile-header .ast-mobile-header-content,
#ast-mobile-header .main-header-menu { background: #ffffff !important; }
#ast-mobile-header .main-header-menu .menu-link { color: var(--smbd-navy) !important; font-family: var(--smbd-heading-font); font-weight: 600; text-transform: uppercase; }

/* ---------- Images: rounded corners, hero shadow ---------- */
.entry-content .wp-block-image img,
.entry-content .wp-block-gallery .wp-block-image img { border-radius: 16px; }
.entry-content > .wp-block-image:first-of-type img { box-shadow: 0 14px 34px rgba(6, 30, 58, 0.22); }
.entry-content .wp-block-image.size-medium img { box-shadow: none; border-radius: 0; }
.entry-content .wp-block-gallery { gap: 18px; margin-top: 1.5em; margin-bottom: 1.5em; }

/* ---------- Tables ---------- */
.entry-content .wp-block-table table { border-collapse: collapse; font-size: 15px; }
.entry-content .wp-block-table thead { border-bottom: 0; }
.entry-content .wp-block-table th { background: var(--smbd-navy); color: #ffffff; font-family: var(--smbd-heading-font); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; border-color: var(--smbd-navy); }
.entry-content .wp-block-table td { border-color: var(--smbd-border); }
.entry-content .wp-block-table tbody tr:nth-child(even) td { background: var(--smbd-light); }
.entry-content .wp-block-table figcaption { font-size: 14px; color: #555555; }

/* ---------- Footer (replaces the theme footer) ---------- */
#colophon { display: none !important; }
.smbd-footer { background: var(--smbd-navy); color: #ffffff; font-family: var(--smbd-body-font); font-size: 15px; }
.smbd-footer__grid {
	max-width: 1240px; margin: 0 auto; padding: 52px 24px 28px;
	display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 44px;
}
.smbd-footer p { color: #ffffff; margin: 0 0 0.9em; line-height: 1.6; }
.smbd-footer a { color: #ffffff; text-decoration: none; }
.smbd-footer a:hover, .smbd-footer a:focus { text-decoration: underline; }
.smbd-footer .smbd-icon { vertical-align: -3px; margin-right: 4px; }
.smbd-footer__title {
	font-family: var(--smbd-heading-font); font-weight: 700; text-transform: uppercase;
	letter-spacing: 0.04em; font-size: 15px; margin-bottom: 0.8em !important;
}
.smbd-footer__small { font-size: 13px; color: rgba(255, 255, 255, 0.75) !important; }
.smbd-footer__col--center { text-align: center; }
.smbd-btn {
	display: block; background: var(--smbd-red); color: #ffffff !important;
	text-align: center; padding: 16px 20px; border-radius: 8px;
	font-size: 18px; font-weight: 600; text-decoration: none !important;
}
.smbd-btn:hover, .smbd-btn:focus { background: var(--smbd-red-dark); }
.smbd-footer__note { font-size: 13px; color: rgba(255, 255, 255, 0.8) !important; margin-top: 12px !important; }
.smbd-footer__qt { display: inline-block; background: #ffffff; padding: 8px; border-radius: 6px; width: 96px; height: auto; margin-top: 10px; }
.smbd-footer__links ul { list-style: none; margin: 0 0 1.4em; padding: 0; }
.smbd-footer__links li { margin: 0 0 0.4em; }
.smbd-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	text-align: center; padding: 16px 24px; font-size: 13px; color: rgba(255, 255, 255, 0.75);
}

/* Back-to-top button */
#ast-scroll-top { background-color: var(--smbd-red) !important; color: #ffffff !important; }

/* ---------- Tablet and mobile ---------- */
@media (max-width: 921px) {
	.smbd-topbar__inner { padding: 12px 16px; gap: 16px; }
	.smbd-pin { width: 32px; height: 42px; }
	.smbd-brand__name { font-size: 19px; }
	.smbd-brand__sub { font-size: 10px; letter-spacing: 0.14em; }
	.smbd-qt { display: none; }
	.smbd-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; text-align: center; }
}
@media (max-width: 600px) {
	.smbd-contact { gap: 14px; }
	.smbd-contact .smbd-txt { display: none; }
	.smbd-contact a {
		width: 40px; height: 40px; justify-content: center;
		border: 1px solid var(--smbd-border); border-radius: 50%;
	}
	.smbd-brand__name { font-size: 17px; }
	.smbd-topbar__inner { flex-wrap: wrap; row-gap: 6px; }
	.smbd-lang { order: 3; width: 100%; justify-content: flex-end; font-size: 12px; margin-top: -2px; }
	.smbd-lang__item { padding: 5px 7px; }
	.entry-content p, .entry-content li { font-size: 16px; }
}

/* ---------- 1.0.1 ---------- */
/* Icons stay on the same line as their text */
.smbd-icon { display: inline-block !important; vertical-align: -3px; }
.smbd-contact .smbd-icon { vertical-align: middle; }

/* Featured image: cover photo on the homepage only (other pages open with their own photo) */
.page:not(.home) .ast-single-post-featured-section { display: none !important; }
.home .ast-single-post-featured-section { max-width: 980px; margin-left: auto; margin-right: auto; }
.home .ast-single-post-featured-section img { border-radius: 16px; box-shadow: 0 14px 34px rgba(6, 30, 58, 0.22); }

/* Booking form colours: red and navy like smart-moov.com */
#reservation-widget-root {
	--vtc-primary: #cc1818 !important;
	--vtc-price: #cc1818 !important;
	--vtc-heading: #061e3a !important;
	--vtc-text: #333333 !important;
}
#reservation-widget-root h2, #reservation-widget-root h3 { font-family: var(--smbd-heading-font); }

/* 1.0.3 - no captions under photos, site-wide (table captions are kept) */
.entry-content .wp-block-image figcaption,
.entry-content .wp-block-gallery > figcaption,
.entry-content .wp-caption-text{display:none!important}

/* ---------- Japanese and Simplified Chinese: system CJK fonts after Montserrat ---------- */
html[lang^="ja"] {
	--smbd-heading-font: "Montserrat", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
	--smbd-body-font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif;
}
html[lang^="zh"] {
	--smbd-heading-font: "Montserrat", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif;
	--smbd-body-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
}
html[lang^="ja"] .entry-content, html[lang^="zh"] .entry-content { line-height: 1.85; word-break: normal; line-break: strict; }
html[lang^="ja"] h1, html[lang^="ja"] h2, html[lang^="ja"] h3,
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3 { letter-spacing: 0.02em; }

/* 1.3.0 - réseaux sociaux dans le pied de page */
.smbd-footer__social { display: flex; gap: 14px; margin: 0.4em 0 1em !important; }
.smbd-footer__social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; }
.smbd-footer__social a:hover, .smbd-footer__social a:focus { background: rgba(255, 255, 255, 0.12); text-decoration: none !important; }
.smbd-footer__social .smbd-icon { vertical-align: middle; margin: 0; fill: #ffffff; }
@media (max-width: 921px) { .smbd-footer__social { justify-content: center; } }

/* Accueil : ville + véhicule côte à côte */
.smbd-hero { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; }
.smbd-hero > div { overflow: hidden; border-radius: 8px; height: clamp(190px, 34vw, 460px); }
.smbd-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.smbd-hero__car img { object-position: 85% 75%; }
@media (max-width: 600px) {
  .smbd-hero { grid-template-columns: 1fr 1fr; gap: 6px; }
  .smbd-hero > div { height: 170px; border-radius: 6px; }
}

