/* =====================================================================
   Jacques Automobiles — reprise à l'identique du thème OceanWP + Elementor
   Valeurs : voir le Design System (tokens.json)
   ===================================================================== */

@font-face { font-family: "Audiowide"; src: url("../fonts/Audiowide-Regular-QdmwlYp.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("../fonts/Ubuntu-Regular-d-hVwnB.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("../fonts/Ubuntu-Italic-GaUR8wG.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("../fonts/Ubuntu-Medium-N1vuc7Y.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("../fonts/Ubuntu-Bold-lFWjfNt.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --brand-red: #e20613;
  --brand-red-alt: #e21613;
  --ink: #333333;
  --ink-muted: #666666;
  --grey: #888888;
  --grey-light: #cccccc;
  --surface: #eeeeee;
  --white: #ffffff;
  --black: #000000;
  --dark: #111111;
  --footer: #222222;
  --footer-bottom: #111111;
  --overlay: rgba(0, 0, 0, .5);

  --font-display: "Audiowide", "Arial Black", sans-serif;
  --font-sans: "Ubuntu", "Helvetica Neue", Arial, sans-serif;

  --container: 1140px;
  --header-h: 75px;
  --radius-sm: 5px;
  --radius-pill: 30px;
  --t: .3s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 110px; }
body { margin: 0; font-family: var(--font-sans); font-size: 14px; line-height: 1.4; color: var(--ink); background: var(--surface); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--brand-red); }
p { margin: 0 0 20px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .3px; line-height: 1.4; margin: 0 0 20px; color: inherit; }
h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
h4 { font-size: 17px; }
:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; flex-shrink: 0; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.boxed { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 10px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--brand-red); color: var(--white); padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; color: var(--white); }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--brand-red); border-bottom: 1px solid var(--black); color: var(--ink); font-size: 12px; font-weight: 500; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; flex-wrap: wrap; }
.topbar__info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar__info a { color: var(--ink); display: inline-flex; align-items: center; gap: 6px; min-height: 22px; }
.topbar__info a:hover { color: var(--white); }
.topbar__social { display: flex; gap: 4px; font-size: 18px; }
.topbar__social a { color: var(--white); display: inline-flex; align-items: center; justify-content: center; min-width: 30px; min-height: 22px; }
.topbar__social a:hover { color: var(--ink); }

/* ---------- En-tête ---------- */
.site-header { background: var(--ink); position: sticky; top: 0; z-index: 90; transition: box-shadow var(--t); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; transition: padding var(--t); }
.site-header__logo img { max-height: 100px; width: auto; transition: max-height var(--t); }
.site-header.is-stuck { box-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.site-header.is-stuck .container { padding: 6px 0; }
.site-header.is-stuck .site-header__logo img { max-height: 60px; }

.nav { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav a { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: 12px; line-height: var(--header-h); letter-spacing: .6px; text-transform: uppercase; color: var(--surface); padding: 0 10px; position: relative; }
.nav > li > a:hover, .nav > li.is-active > a { color: var(--brand-red); }
.nav .chevron { font-size: 8px; transform: rotate(90deg); }
.nav .sub { position: absolute; left: 0; top: 100%; min-width: 180px; background: var(--ink); border-top: 3px solid var(--black); box-shadow: 0 2px 6px rgba(0, 0, 0, .1); list-style: none; margin: 0; padding: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity var(--t), transform var(--t), visibility var(--t); }
.nav > li:hover .sub, .nav > li:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { font-family: var(--font-sans); font-size: 12px; line-height: 1.2; letter-spacing: .6px; text-transform: capitalize; white-space: nowrap; padding: 12px 15px; color: var(--grey); }
.nav .sub a:hover, .nav .sub .is-active > a { color: var(--brand-red); }
.nav__search { font-size: 14px; }

.burger { display: none; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: var(--surface); background: none; border: 0; cursor: pointer; padding: 8px 0; }
.burger:hover { color: var(--brand-red); }

.mobile-menu { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .95); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; overflow-y: auto; padding: 60px 16px; }
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.mobile-menu a { display: block; font-family: var(--font-display); font-size: 20px; letter-spacing: 1px; text-transform: uppercase; color: var(--white); padding: 10px; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s, color var(--t); }
.mobile-menu .sub a { font-size: 14px; color: var(--grey-light); padding: 6px; }
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu a:hover { color: var(--brand-red); }
.mobile-menu__close { position: absolute; top: 20px; right: 20px; font-size: 30px; color: var(--white); background: none; border: 0; cursor: pointer; }
.mobile-menu__close:hover { color: var(--brand-red); }

.search-overlay { position: fixed; inset: 0; z-index: 210; background: rgba(0, 0, 0, .9); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t); }
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-overlay form { width: min(600px, 90%); }
.search-overlay input { width: 100%; font: 400 24px var(--font-sans); color: var(--white); background: none; border: 0; border-bottom: 2px solid var(--brand-red); padding: 12px 0; outline: 0; }

/* ---------- Bandeau de titre (OceanWP « centered ») ---------- */
.page-header { background: var(--ink); text-align: center; padding: 30px 0; color: var(--white); position: relative; }
.page-header__title { font-size: 40px; line-height: 56px; font-weight: 400; margin: 0; color: var(--white); }
.page-header__sub { color: var(--brand-red-alt); margin: 0; }
.breadcrumb { font-size: 14px; line-height: 32px; color: var(--grey); display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: ">"; margin-right: 6px; color: var(--grey); }
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { color: var(--brand-red); }
.breadcrumb [aria-current] { color: var(--white); }
.page-header--image { background-size: cover; background-position: center; min-height: 400px; display: flex; flex-direction: column; justify-content: center; }
.page-header--image .breadcrumb { margin-top: 20px; }
.page-header--image .page-header__sub { color: var(--white); max-width: 760px; margin: 10px auto 0; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.page-header--image::before { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.page-header--image > * { position: relative; }

/* ---------- Bandes Elementor ---------- */
.band { position: relative; padding: 60px 0; background-size: cover; background-position: center; overflow: hidden; }
.band > .boxed { position: relative; z-index: 1; }
.band--overlay::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--overlay-o, .3)); }
.band--fixed { background-attachment: fixed; }
.band--tall { min-height: 400px; }
.band--with-top { padding-top: 120px; }
.band--with-bottom { padding-bottom: 120px; }
.band--center { text-align: center; }
.band--dark { background-color: var(--ink); color: var(--surface); }
.band--black { background-color: var(--black); color: var(--surface); }
.band--night { background-color: var(--dark); color: var(--surface); }
.band--red { background-color: var(--brand-red-alt); color: var(--white); }
.band--white { background-color: var(--white); }
.band--grey { background-color: var(--grey-light); }
.band--surface { background-color: var(--surface); }
.band--carbon { background-image: url("../images/carbone-sombre-qPEDMhP.png"); }

/* Héros de l'accueil (mesures du site actuel) */
.band.hero { padding: 0 0 200px; text-align: center; }
.hero__inner { padding-block: 90px; }
.hero__kicker { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .3px; font-size: 20px; line-height: 28px; color: var(--white); margin: 0 0 20px; }
.hero__title { font-size: 80px; line-height: 1; letter-spacing: 1px; margin: 55px 0 0; color: var(--white); }
@media (max-width: 1024px) { .band.hero { padding-bottom: 0; } }
@media (max-width: 767px) { .hero__title { font-size: 35px; } }

/* Sections de l'accueil (mesures du site actuel) */
.band.home-sec { padding: 0; }
.band.home-sec--dev { padding-top: 60px; background-image: linear-gradient(#333333, #222222); }
.band.home-sec--real { padding: 190px 0; }
.band.home-sec--contact { padding-bottom: 60px; background-image: linear-gradient(#e21613, #aa0000); }
.home-title { font-size: 40px; line-height: 1; letter-spacing: 1px; padding-bottom: 30px; }
.home-title--pad { padding-top: 30px; }
.home-sub { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .3px; font-size: 20px; line-height: 1; max-width: 750px; margin-left: auto; margin-right: auto; }
.home-sec--real .home-sub { padding-bottom: 30px; }
.el__col > .home-cta { margin-bottom: 0; padding-bottom: 30px; }
.home-cta--inner { padding: 30px 10px 30px; }
.icon-box--dark .icon-box__icon { background: var(--ink-muted); }
@media (max-width: 767px) {
  .home-title { font-size: 28px; line-height: 1.4; padding: 0; }
  .home-title--pad { padding: 15px 0; }
  .home-sub { font-size: 14px; }
  .band.home-sec--real { padding: 140px 0 30px; }
}

/* Séparateurs Elementor (même logique que .elementor-shape) */
.divider { position: absolute; left: 0; right: 0; line-height: 0; overflow: hidden; z-index: 1; pointer-events: none; direction: ltr; }
.divider svg { display: block; width: calc(var(--divider-w, 100%) + 1.3px); height: var(--divider-h, auto); position: relative; left: 50%; transform: translateX(-50%); }
.divider--top { top: -1px; }
.divider--bottom { bottom: -1px; }
.divider--rotate { transform: rotate(180deg); }
.divider--flip svg { transform: translateX(-50%) rotateY(180deg); }
.divider--above { z-index: 3; }

/* Surcouches de section Elementor : motifs et dégradés */
.band > .ov { position: absolute; inset: 0; pointer-events: none; }
.ov--pattern-light { background-image: url("../images/carbone-clair-RpkS2sx.png"); opacity: var(--ov-o, .1); }
.ov--pattern-dark { background: var(--black) url("../images/carbone-sombre-qPEDMhP.png"); opacity: var(--ov-o, .3); }
.ov--gradient { background-image: linear-gradient(270deg, var(--black) 0%, var(--brand-red-alt) 100%); opacity: var(--ov-o, .5); }

.title-xl { font-size: 40px; line-height: 1.2; letter-spacing: 1px; margin-bottom: 12px; }
.title-hero { font-size: 80px; line-height: 1; letter-spacing: 1px; font-style: italic; margin: 0; color: var(--white); }
.title-large { font-size: 29px; line-height: 1.2; }
.title-60 { font-size: 60px; line-height: 1; margin: 10px 0 24px; }
.subtitle { font-size: 20px; line-height: 1.4; }
.subtitle-small { font-size: 15px; line-height: 1.4; }
.c-red { color: var(--brand-red-alt) !important; }
.c-white { color: var(--white) !important; }
.c-grey { color: var(--grey) !important; }
.c-grey-light { color: var(--grey-light) !important; }
.c-muted { color: var(--ink-muted) !important; }
.c-black { color: var(--black) !important; }
.c-ink { color: var(--ink) !important; }
.c-surface { color: var(--surface) !important; }
a.title-link { color: inherit; }
a.title-link:hover { opacity: .85; color: inherit; }

.cols { display: grid; gap: 30px; align-items: start; }
.cols > *, .with-sidebar > *, .site-footer .container > * { min-width: 0; }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols--1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.cols--2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.cols--center { align-items: center; }
.text-center { text-align: center; }
.stack > * + * { margin-top: 20px; }
.prose > div { margin: 0 0 20px; } /* paragraphes écrits avec l'éditeur du back-office */
.prose a { color: var(--brand-red); }
.prose a:hover { text-decoration: underline; }
.prose ul { padding-left: 20px; margin: 0 0 20px; }
.prose li { margin-bottom: 4px; }

/* ---------- Activités ---------- */
.band.act-intro { padding: 0; }
.act-intro__text { margin: 0; padding: 30px 0 20px; font-weight: 700; text-transform: uppercase; text-align: center; color: var(--brand-red-alt); }
.band.act-service { padding: 120px 0 30px; }
.band.act-service--last { padding-bottom: 60px; }
.act-service .el-heading--large { margin-bottom: 20px; }

/* ---------- À propos ---------- */
.el--inner { margin: 0 -10px; z-index: auto; }
.band.about-sites { padding: 50px 0; }
.band.about-offer { padding: 30px 0 0; }
.band.about-pack { padding: 120px 0 30px; }
.about-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-atmo h3 { font-size: 18px; line-height: 1.4; }
.about-atmo > :last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  .band.about-sites, .band.about-offer { padding: 30px 0 20px; }
  .band.about-pack { padding: 30px 0 10px; }
}

/* ---------- Jacques Crinquand, Développement ---------- */
.band.jacques-bio { padding: 60px 0 90px; }
.el__col.jacques-bio__side, .el__col.jacques-bio__main { padding: 30px; }
.jacques-bio__side { background: var(--ink); color: var(--surface); }
.jacques-bio__side img { width: 100%; max-width: 320px; }
.jacques-bio__main { background: var(--surface); color: var(--ink); }
.band.jacques-cta { padding: 0; }
.jacques-cta__title { font-size: 24px; line-height: 1; padding: 20px 0 25px; }
.jacques-cta__left { text-align: right; }
.el-btn--inv { background: var(--white); color: var(--brand-red-alt); min-width: 260px; }
.el-btn--inv:hover { background: var(--ink); color: var(--white); }
.band.dev-study { padding: 60px 0 30px; }
@media (max-width: 767px) {
  .band.jacques-bio { padding: 30px 0; }
  .jacques-cta__left { text-align: center; }
  .jacques-cta .el__col { text-align: center; }
}

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-sans); font-size: 14px; line-height: 1; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--white); background: var(--brand-red-alt); padding: 12px 40px; border-radius: var(--radius-pill); border: 0; cursor: pointer; transition: background var(--t), color var(--t); text-align: center; }
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--white); }
.btn--lg { padding: 15px 45px; }
.btn--sm { padding: 10px 26px; font-size: 13px; }
.btn--xs { padding: 10px 20px; font-size: 12px; }
.btn--inv { background: var(--white); color: var(--brand-red-alt); }
.btn--inv:hover { background: var(--white); color: var(--ink); }
.btn--ghost { background: rgba(0, 0, 0, .2); }
.btn--ghost-light { background: rgba(255, 255, 255, .2); }
.btn--theme { border-radius: var(--radius-sm); padding: 10px 22px; letter-spacing: .5px; background: var(--brand-red); }
.btn--theme:hover { background: var(--grey); }
.btn--block { display: flex; width: 100%; }
.hover-bob:hover { animation: bob-in .3s ease-out forwards, bob-float 1.5s ease-in-out .3s infinite alternate; }
.hover-push:hover { animation: push .3s linear 1; }
@keyframes bob-in { to { transform: translateY(-8px); } }
@keyframes bob-float { from { transform: translateY(-8px); } to { transform: translateY(-4px); } }
@keyframes push { 50% { transform: scale(.8); } 100% { transform: scale(1); } }

/* ---------- Boîtes d'activité ---------- */
.icon-box { display: block; text-align: center; color: var(--ink); }
.icon-box__wrap { display: block; height: 86px; margin-bottom: 15px; }
.icon-box__icon { width: 80px; height: 80px; border-radius: 50%; background: var(--grey); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 40px; transition: background var(--t); }
.icon-box:hover .icon-box__icon { background: var(--brand-red-alt); }
.icon-box__title { margin: 0 0 20px; font-size: 20px; line-height: 28px; color: var(--ink); transition: color var(--t); }
.icon-box:hover .icon-box__title { color: var(--brand-red-alt); }
.icon-box__text { margin: 0; color: var(--ink); }
.icon-big { font-size: 180px; line-height: 1; display: block; text-align: center; color: rgba(0, 0, 0, .2); }
.icon-big--light { color: rgba(255, 255, 255, .2); }

/* ---------- Carrousel ---------- */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; transition: transform .5s ease; }
.carousel__slide { flex: 0 0 100%; min-width: 0; }
.carousel[data-per-view="3"] .carousel__slide { flex-basis: 33.3333%; padding: 0 8px; }
.carousel__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .5); color: var(--white); font-size: 16px; cursor: pointer; z-index: 2; display: inline-flex; align-items: center; justify-content: center; transition: background var(--t); }
.carousel__arrow:hover { background: var(--brand-red); }
.carousel__arrow--prev { left: 10px; }
.carousel__arrow--next { right: 10px; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.carousel__dots { gap: 2px; }
.carousel__dots button { width: 24px; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.carousel__dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grey); transition: background var(--t); }
.carousel__dots button[aria-current="true"]::before { background: var(--brand-red); }

.slide-card { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); color: var(--white); }
.slide-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.slide-card:hover img { transform: scale(1.05); }
.slide-card__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 20px; background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent); }
.slide-card__cat { display: inline-block; background: var(--brand-red); color: var(--white); font-size: 11px; font-weight: 500; padding: 5px 10px; border-radius: 3px; margin-bottom: 8px; }
.slide-card__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.3; margin: 0; color: var(--white); }
.slide-card--tall { aspect-ratio: auto; height: 280px; }
.carousel--slide[data-per-view="3"] .carousel__slide { padding: 0; }
.carousel--slide .carousel__dots { display: none; }
.slide-card__info { text-align: left; }

/* carrousel des prestations (Livemesh posts carousel) : image seule, infos au survol, points ronds */
.carousel--tile { padding: 0 6px; }
.carousel--tile .carousel__arrow { display: none; }
.carousel--tile .carousel__dots { gap: 8px; margin-top: 15px; }
.carousel--tile .carousel__dots button { width: 14px; height: 14px; }
.carousel--tile .carousel__dots button::before { width: 14px; height: 14px; background: #aaa; border: 1px solid #aaa; }
.carousel--tile .carousel__dots button[aria-current="true"]::before { background: transparent; }
.post-tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; color: var(--white); }
.post-tile img { width: 100%; height: 100%; object-fit: cover; }
.post-tile__info { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; text-align: center; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity var(--t); }
.post-tile:hover .post-tile__info, .post-tile:focus-visible .post-tile__info { opacity: 1; }
.post-tile__title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .3px; font-size: 18px; line-height: 1.4; color: var(--white); }
.post-tile__tags { font-size: 12px; color: var(--grey-light); }

/* ---------- Grille Elementor : section en boîte de 1140 px, colonnes à 10 px de marge, widgets espacés de 20 px ---------- */
.el { display: flex; max-width: var(--container); margin: 0 auto; position: relative; z-index: 2; }
.el--middle { align-items: center; }
.el__col { flex: 0 0 var(--w, 100%); max-width: var(--w, 100%); min-width: 0; padding: 10px; }
.el__col > * { margin-top: 0; margin-bottom: 20px; }
.el__col > :last-child { margin-bottom: 0; }
.el-heading { line-height: 1; }
.el-heading--large { font-size: 29px; }
.el-heading--medium { font-size: 18px; font-weight: 400; }
.el-heading--small { font-size: 15px; font-weight: 400; }
.el-heading--xl { font-size: 60px; }
.el-text > :last-child { margin-bottom: 0; }
.el-btn { display: inline-block; font-size: 13px; line-height: 1; color: var(--white); background: rgba(0, 0, 0, .2); padding: 10px 20px; border-radius: 25px; text-align: center; transition: background var(--t), color var(--t); }
.el-btn:hover { color: var(--white); background: var(--brand-red); }
.el-btn--light { background: rgba(255, 255, 255, .2); }
.el-btn--red { font-size: 15px; font-weight: 700; text-transform: uppercase; background: var(--brand-red-alt); padding: 12px 24px; }
.el-btn--red:hover { background: var(--ink); }
.band.band--cta { min-height: 400px; padding: 0; display: flex; align-items: center; }
.band--cta > .el { width: 100%; }
@media (min-width: 768px) { .hide-desktop { display: none !important; } }
@media (max-width: 767px) {
  .el { flex-direction: column; }
  .el--reverse-mobile { flex-direction: column-reverse; }
  .el__col { flex: none; width: 100%; max-width: 100%; }
  .hide-mobile { display: none !important; }
  .el-heading--xl { font-size: 28px; }
  .el-heading--medium { font-size: 14px; }
}

/* ---------- Liste d'articles (OceanWP blog grid) + barre latérale ---------- */
.content-area { padding: 50px 0; }
.with-sidebar { display: grid; grid-template-columns: 72% 28%; }
.with-sidebar > :first-child { padding-right: 30px; border-right: 1px solid var(--grey); }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 -6.25px; }
.blog-card { padding: 0 6.25px; margin-bottom: 12.5px; display: flex; }
.blog-card__inner { flex: 1; border: 1px solid var(--grey); padding: 0 12.5px 12.5px; }
.blog-card__img { display: block; margin: 0 -12.5px; }
/* Vignettes au format 4:3 (celui de la plupart des photos) : une couverture portrait ou panoramique est recadrée au centre, la grille reste alignée */
.blog-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity var(--t); }
.blog-card__img:hover img { opacity: .8; }
.blog-card__title { font-size: 18px; line-height: 25.2px; margin: 10px 0; }
.blog-card__title a { font-size: 14px; font-weight: 600; letter-spacing: .6px; }
.blog-card__meta, .single__meta { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 12px; padding: 0 0 10px; color: #4a4a4a; }
.blog-card__meta li, .single__meta li { display: inline-flex; align-items: center; gap: 6px; line-height: 21px; padding-bottom: 5px; }
.blog-card__meta li + li::before, .single__meta li + li::before { content: "-"; margin: 0 6px; }
.blog-card__meta a, .single__meta a { color: #4a4a4a; }
.blog-card__meta a:hover, .single__meta a:hover { color: var(--brand-red); }
.blog-card__more { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; text-transform: capitalize; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

.pagination { display: flex; justify-content: flex-end; gap: 8px; list-style: none; padding: 0; margin: 40px 0 0; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 18px; color: #555; background: #f8f8f8; border: 1px solid var(--grey); border-radius: 2px; }
.pagination a:hover { background: var(--brand-red); border-color: var(--brand-red); color: var(--white); }

.sidebar { padding-left: 30px; font-size: 13px; line-height: 1.4; }
.sidebar .widget { margin-bottom: 40px; }
.widget__title { font-size: 14px; line-height: 1; letter-spacing: 1px; border-left: 3px solid var(--brand-red); padding-left: 15px; margin: 0 0 10px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.sidebar .widget li { padding: 6px 0; border-bottom: 1px solid #e9e9e9; }
.sidebar .widget li:first-child { border-top: 1px solid #e9e9e9; }
.search-form input { width: 100%; height: 40px; font: inherit; font-size: 14px; color: var(--ink); padding: 6px 12px; border: 1px solid #ddd; border-radius: 3px; background: var(--white); }
.search-form input:focus { outline: 0; border-color: #bbb; }
.tag-cloud a { display: inline-block; font-size: 12px; line-height: 1; text-transform: uppercase; letter-spacing: .4px; padding: 8px 12px; margin: 0 2px 5px 0; border: 1px solid var(--grey); background: #f8f8f8; color: var(--ink); }
.tag-cloud a:hover { background: var(--brand-red); border-color: var(--brand-red); color: var(--white); }

/* ---------- Réalisation (single) ---------- */
.single__tags { font-size: 11px; font-weight: 600; text-transform: uppercase; margin: 30px 0 0; }
.single__tags a { color: var(--ink); }
.single__meta { font-size: 14px; letter-spacing: .6px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #f1f1f1; }
.vehicle { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; background: var(--white); border-left: 3px solid var(--brand-red); padding: 6px 10px; margin-bottom: 20px; }
/* FooGallery « justified » : vignettes 197×148, espacement 15 px, dernière ligne centrée */
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 20px; }
.gallery a { display: block; flex: 0 0 calc((100% - 45px) / 4); aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, filter .3s; }
.gallery a:hover img { transform: scale(1.05); filter: grayscale(1); }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--black) url("../images/carbone-sombre-qPEDMhP.png"); margin-bottom: 20px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; border: 0; background: rgba(0, 0, 0, .55); color: var(--white); cursor: pointer; font: inherit; text-align: center; padding: 20px; }
.video__play .icon { font-size: 48px; color: var(--brand-red); transition: transform var(--t); }
.video__play:hover .icon { transform: scale(1.15); }
.video__play small { color: var(--grey-light); max-width: 420px; }
.entry-section { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--grey); }
.share { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.share__title { font-size: 14px; line-height: 40px; margin: 0; }
.share ul { display: flex; gap: 5px; list-style: none; margin: 0; padding: 0; }
.share a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--grey); border-radius: 30px; color: var(--grey); font-size: 14px; }
.share a:hover { background: var(--brand-red); border-color: var(--brand-red); color: var(--white); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-nav a { display: block; }
.post-nav small { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--brand-red); margin-bottom: 7px; }
.post-nav small .icon { font-size: 18px; }
.post-nav__next { text-align: right; }
.post-nav__next small { justify-content: flex-end; }
.related__title { display: flex; align-items: center; gap: 6px; font-size: 14px; margin: 0 0 20px; }
.related__title .icon { color: var(--brand-red); }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 -6.25px; text-align: center; }
.related article { padding: 0 6.25px 12px; }
.related img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.related h3 { font-size: 16px; line-height: 22.4px; font-weight: 600; margin: 12px 12px 3px; }
.related time { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }

/* ---------- Page 404 (OceanWP) ---------- */
.error404 { text-align: center; }
.error404__title { font-size: 46px; line-height: 1.4; margin: 0 0 25px; }
.error404__text { font-size: 18px; font-weight: 300; margin: 0 0 35px; }
.error404__search { max-width: 390px; margin: 0 auto; }
.error404__btn { display: inline-block; margin-top: 60px; font-size: 13px; line-height: 1; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase; color: var(--white); background: var(--brand-red); padding: 14px 26px; border: 1px solid var(--white); }
.error404__btn:hover { background: var(--ink); color: var(--white); }

/* ---------- Formulaire ---------- */
.form-row { margin-bottom: 16px; }
.form-row label { display: block; margin-bottom: 6px; }
.form-row input[type=text], .form-row input[type=email], .form-row input[type=tel], .form-row textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1px solid #ddd; border-radius: 3px; padding: 10px 12px; transition: border-color var(--t), box-shadow var(--t); }
.form-row input:focus, .form-row textarea:focus { outline: 0; border-color: var(--brand-red); box-shadow: 0 0 0 3px rgba(226, 6, 19, .15); }
.form-row textarea { min-height: 180px; resize: vertical; }
.form-row--check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.form-row--check input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--brand-red); }
.form-row--check label { margin: 0; }
.form-error, .form-row ul { color: #b00012; font-size: 13px; list-style: none; padding: 0; margin: 6px 0 0; }
.alert { padding: 14px 18px; margin-bottom: 20px; border-left: 4px solid; background: var(--white); }
.alert--success { border-color: #1a7f37; }
.alert--error { border-color: var(--brand-red); }
.hp-field { position: absolute !important; left: -9999px !important; }
.band.contact-sec { padding: 0 0 40px; }
.contact-main h3 { font-size: 16px; margin: 30px 0 10px; color: var(--ink); }
.contact-lead { font-size: 16px; line-height: 1.6; }
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 25px 0 10px; }
.contact-action { background: var(--white); border-left: 3px solid var(--brand-red); padding: 20px; }
.contact-action h3 { margin-top: 0; }
.contact-distances { list-style: none; margin: 0 0 15px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 20px; }
.contact-distances li { border-bottom: 1px solid #ddd; padding: 6px 0; }
/* Téléphone / e-mail affichés au clic */
a.reveal:not(.btn) { border-bottom: 1px dotted currentColor; }
a.reveal.is-revealed { border-bottom: 0; }
@media (max-width: 767px) { .contact-actions { grid-template-columns: 1fr; } }
.contact-sec__title { font-size: 20px; line-height: 1; color: var(--brand-red-alt); padding-left: 15px; }
.contact-card { background: var(--ink); color: var(--surface); }
.contact-card__logo { height: 160px; display: flex; align-items: center; justify-content: center; margin: 0 !important; }
.contact-card__logo img { width: 300px; }
.contact-card__info { background: var(--white); color: var(--ink); padding: 30px; margin: 0 !important; }
.contact-card__name { font-size: 14px; line-height: 1.4; margin: 0 0 20px; }
.contact-card__info p { margin: 0 0 20px; }
.contact-list--card { margin: 0; }
.contact-card .contact-list--card li { grid-template-columns: 40px 1fr; gap: 15px; margin-bottom: 20px; }
.contact-card .contact-list--card li:last-child { margin-bottom: 0; }
.contact-card .contact-list--card .icon-frame { width: 40px; height: 40px; border-color: var(--grey); border-radius: 2px; }
.contact-card .contact-list--card b { color: #777777; font-weight: 700; }
.contact-card .contact-list--card a { color: var(--ink); }
.contact-card .contact-list--card a:hover { color: var(--brand-red); }
.contact-card__call { text-align: center; padding: 20px 0 10px; margin: 0 !important; }
.contact-card__btn { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; line-height: 1; color: var(--white); background: var(--brand-red); padding: 15px 30px; border-radius: 25px; }
.contact-card__btn:hover { color: var(--white); background: var(--black); }
.contact-card .social-row { padding: 10px 0; }
.contact-card .social-row a { width: 50px; height: 50px; font-size: 25px; background: none; }
.contact-list { list-style: none; margin: 0 0 20px; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; margin-bottom: 14px; }
.contact-list .icon-frame { width: 34px; height: 34px; border: 1px solid #444; color: var(--brand-red); display: inline-flex; align-items: center; justify-content: center; }
.contact-list b { display: block; color: var(--white); }
.contact-list a { color: var(--surface); }
.social-row { display: flex; justify-content: center; gap: 12px; font-size: 18px; }
.social-row a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand-red); color: var(--white); }
/* Pages marques (Lotus, Caterham & Westfield…) */
.brand__title { font-size: 22px; color: var(--brand-red-alt); margin: 45px 0 20px; }
.brand__h { font-size: 16px; margin: 0 0 10px; color: var(--ink); }
.brand .prose h2 { font-size: 20px; color: var(--brand-red-alt); margin: 30px 0 12px; }
.brand .prose h3 { font-size: 16px; color: var(--ink); margin: 24px 0 8px; }
.faq { background: var(--white); border-left: 3px solid var(--brand-red); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 15px 20px; font-weight: 700; list-style: none; position: relative; padding-right: 45px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--brand-red); }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0; padding: 0 20px 18px; }
.vehicle__brand { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--brand-red); }

/* Plan Google, ouvert sous l'adresse au clic sur « Afficher le plan » */
.band.contact-sec { padding-top: 40px; }
.map-link { display: flex; width: fit-content; align-items: center; gap: 6px; margin-top: 6px; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--brand-red); cursor: pointer; }
.map-link:hover { color: var(--ink); }
.map-link .icon { font-size: 14px; }
.map-link[aria-expanded="true"] .map-link__show, .map-link[aria-expanded="false"] .map-link__hide { display: none; }
.contact-card .contact-list--card li.map-inline { display: block; position: relative; height: 260px; margin: -5px 0 20px; }
.contact-card .contact-list--card li.map-inline[hidden] { display: none; }
.map-inline iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Flip box / CTA (À propos) ---------- */
.flip { perspective: 1000px; min-height: 300px; }
.flip__inner { position: relative; width: 100%; min-height: 300px; transition: transform .6s; transform-style: preserve-3d; }
.flip:hover .flip__inner, .flip:focus-within .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; backface-visibility: hidden; color: var(--white); }
.flip__face--front { background: var(--brand-red-alt); }
.flip__face--back { background: var(--black); transform: rotateY(180deg); }
.flip__face h3 { color: inherit; }
.cta-box { background: var(--white); padding: 40px 30px; text-align: center; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.cta-box h3 { font-size: 20px; font-style: italic; color: var(--ink); margin: 0; }
.cta-box p { color: var(--ink); margin: 0; }
.brand-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 20px 0 0 20px; }
.brand-logos figure { margin: 0; padding: 0 15px 36px 0; }
.brand-logos img { width: 100%; max-width: 150px; aspect-ratio: 1; object-fit: cover; margin: 0 auto; }
@media (max-width: 767px) { .brand-logos { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--footer); color: var(--surface); padding: 30px 0; }
.site-footer .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.site-footer .container > * { padding: 0 15px; }
.site-footer .widget + .widget { margin-top: 30px; }
.site-footer .widget__title { color: var(--white); }
.site-footer .widget li { border-bottom: 1px solid #333; }
.site-footer .widget li a { display: block; padding: 8px 0; color: var(--white); font-size: 13px; line-height: 20px; letter-spacing: .6px; text-transform: uppercase; }
.site-footer .widget li a:hover { color: var(--brand-red); }
.site-footer .widget--plain li { border: 0; }
.site-footer .widget--plain li a { text-transform: none; letter-spacing: 0; font-size: 14px; padding: 4px 0; }
.footer-latest { display: grid; grid-template-columns: 68px 1fr; gap: 12px; align-items: center; }
.footer-latest img { width: 68px; height: 68px; object-fit: cover; border-radius: 3px; }
.footer-latest a { color: var(--white); font-weight: 500; letter-spacing: .4px; line-height: 22.4px; }
.footer-latest small { display: block; color: var(--surface); font-size: 10px; line-height: 12px; letter-spacing: .2px; margin-top: 4px; text-transform: uppercase; }
.site-footer .contact-list li { grid-template-columns: 40px 1fr; gap: 15px; margin-bottom: 20px; line-height: 18px; }
.site-footer .contact-list .icon-frame { width: 40px; height: 40px; border-color: #333; border-radius: 2px; }
.site-footer .contact-list b { color: var(--surface); line-height: 20px; }
.site-footer .contact-list li { border: 0; }
.site-footer .widget .contact-list a { display: inline; padding: 0; color: var(--white); font-size: 14px; letter-spacing: 0; text-transform: none; }
.facebook-card { display: flex; gap: 12px; align-items: center; background: #3b5998; color: var(--white); padding: 14px; margin-top: 16px; }
.facebook-card:hover { color: var(--white); background: #2d4373; }
.facebook-card img { width: 50px; height: 50px; background: var(--white); }
.footer-social { display: flex; gap: 16px; font-size: 24px; }
.footer-social a { color: var(--white); }
.footer-social a:hover { color: var(--brand-red); }
.footer-bottom { background: var(--footer-bottom); color: var(--grey); font-size: 12px; padding: 15px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.footer-bottom a { color: var(--grey); }
.footer-bottom a:hover { color: var(--brand-red); }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.footer-bottom li + li::before { content: "|"; margin-right: 6px; }

/* ---------- Retour en haut, lightbox ---------- */
.scroll-top { position: fixed; right: 20px; bottom: 20px; width: 40px; height: 40px; border: 0; border-radius: var(--radius-sm); background: rgba(0, 0, 0, .7); color: var(--brand-red); font-size: 18px; cursor: pointer; z-index: 80; display: inline-flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity var(--t), transform var(--t), visibility var(--t), background var(--t), color var(--t); }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--brand-red); color: var(--black); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .92); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 90vw; max-height: 86vh; text-align: center; }
.lightbox img { max-width: 90vw; max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox figcaption { color: var(--grey-light); margin-top: 10px; font-size: 13px; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: var(--white); width: 48px; height: 48px; border-radius: 50%; font-size: 20px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: var(--brand-red); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 30px; left: 30px; color: var(--grey-light); font-size: 13px; }

/* ---------- Animations d'entrée Elementor ---------- */
.js .anim:not(.is-in) { opacity: 0; }
.anim.is-in { opacity: 1; animation-duration: 1.25s; animation-fill-mode: both; }
.anim--slow.is-in { animation-duration: 2s; }
.anim.is-in.fadeIn { animation-name: fadeIn; }
.anim.is-in.fadeInUp { animation-name: fadeInUp; }
.anim.is-in.zoomInLeft { animation-name: zoomInLeft; }
.anim.is-in.zoomInRight { animation-name: zoomInRight; }
.anim.is-in.bounceInUp { animation-name: bounceInUp; }
.anim.is-in.bounceInLeft { animation-name: bounceInLeft; }
.anim.is-in.bounceInRight { animation-name: bounceInRight; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 40px, 0); } to { opacity: 1; transform: none; } }
@keyframes zoomInLeft { 0% { opacity: 0; transform: scale3d(.1, .1, .1) translate3d(-300px, 0, 0); animation-timing-function: cubic-bezier(.55, .055, .675, .19); } 60% { opacity: 1; transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0); animation-timing-function: cubic-bezier(.175, .885, .32, 1); } 100% { transform: none; } }
@keyframes zoomInRight { 0% { opacity: 0; transform: scale3d(.1, .1, .1) translate3d(300px, 0, 0); animation-timing-function: cubic-bezier(.55, .055, .675, .19); } 60% { opacity: 1; transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0); animation-timing-function: cubic-bezier(.175, .885, .32, 1); } 100% { transform: none; } }
@keyframes bounceInUp { 0%, 60%, 75%, 90%, 100% { animation-timing-function: cubic-bezier(.215, .61, .355, 1); } 0% { opacity: 0; transform: translate3d(0, 300px, 0); } 60% { opacity: 1; transform: translate3d(0, -20px, 0); } 75% { transform: translate3d(0, 10px, 0); } 90% { transform: translate3d(0, -5px, 0); } 100% { transform: none; } }
@keyframes bounceInLeft { 0%, 60%, 75%, 90%, 100% { animation-timing-function: cubic-bezier(.215, .61, .355, 1); } 0% { opacity: 0; transform: translate3d(-300px, 0, 0); } 60% { opacity: 1; transform: translate3d(25px, 0, 0); } 75% { transform: translate3d(-10px, 0, 0); } 90% { transform: translate3d(5px, 0, 0); } 100% { transform: none; } }
@keyframes bounceInRight { 0%, 60%, 75%, 90%, 100% { animation-timing-function: cubic-bezier(.215, .61, .355, 1); } 0% { opacity: 0; transform: translate3d(300px, 0, 0); } 60% { opacity: 1; transform: translate3d(-25px, 0, 0); } 75% { transform: translate3d(10px, 0, 0); } 90% { transform: translate3d(-5px, 0, 0); } 100% { transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .with-sidebar { grid-template-columns: 1fr; }
  .with-sidebar > :first-child { padding-right: 0; border-right: 0; }
  .sidebar { padding-left: 0; margin-top: 40px; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .container { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .carousel[data-per-view="3"] .carousel__slide { flex-basis: 50%; }
}
@media (max-width: 959px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .site-header__logo img { max-height: 70px; }
}
@media (max-width: 767px) {
  .cols--2, .cols--3, .cols--1-2, .cols--2-1 { grid-template-columns: 1fr; }
  .cols--4 { grid-template-columns: 1fr; }
  .blog-grid, .related { grid-template-columns: 1fr; }
  .gallery a { flex-basis: 100%; }
  .site-footer .container { grid-template-columns: 1fr; }
  .title-hero { font-size: 40px; }
  .title-xl { font-size: 30px; }
  .site-header .container { flex-wrap: wrap; justify-content: flex-end; row-gap: 0; }
  .burger { min-height: 75px; padding: 0; }
  .site-header__logo { flex: 0 0 100%; }
  .site-header__logo img { max-height: 100px; }
  .footer-bottom .container { flex-direction: column-reverse; align-items: center; text-align: center; }
  .title-60 { font-size: 28px; }
  .title-xl { overflow-wrap: break-word; }
  .band { padding: 40px 0; }
  .band--with-top { padding-top: 80px; }
  .band--with-bottom { padding-bottom: 80px; }
  .band--fixed { background-attachment: scroll; }
  .carousel[data-per-view="3"] .carousel__slide { flex-basis: 100%; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar__info { justify-content: center; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__next { text-align: left; }
  .page-header--image { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .anim:not(.is-in) { opacity: 1; }
}
