/* ==========================================================================
   base.css — feuille de base commune aux sites produits par site-html-elementor
   Ne pas modifier : les valeurs propres au site (couleurs, polices, ajustements)
   vont dans site.css, qui redéfinit les variables ci-dessous.
   Chaque composant correspond à un bloc de references/blocs-elementor-natifs.md
   ========================================================================== */

:root {
  /* Tokens — à surcharger dans site.css */
  --c-primary: #14365d;
  --c-primary-dark: #0b2340;
  --c-secondary: #4e6e8e;
  --c-accent: #e8772e;
  --c-accent-dark: #c9611c;
  --c-bg: #ffffff;
  --c-bg-alt: #f5f7fa;
  --c-text: #1a1d21;
  --c-text-muted: #5b6470;
  --c-border: #e3e7ec;
  --c-on-dark: #ffffff;

  --font-display: "Barlow", system-ui, sans-serif;
  --font-text: "Inter", system-ui, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 16px 40px rgba(16, 24, 40, 0.14);

  --container: 1200px;
  --gutter: 24px;
  --section-y: 80px;
  --header-h: 80px;
}

/* --------------------------------------------------------------------------
   Reset léger
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--c-primary-dark);
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.75rem;
}
.lead { font-size: 1.15rem; color: var(--c-text-muted); }
.muted { color: var(--c-text-muted); }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --------------------------------------------------------------------------
   Mise en page
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-primary); color: var(--c-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--c-on-dark); }
.section--dark .lead, .section--dark .muted { color: rgba(255, 255, 255, 0.82); }
.section--dark a:not(.btn) { color: var(--c-on-dark); }
.section--image { position: relative; background-size: cover; background-position: center; color: var(--c-on-dark); isolation: isolate; }
.section--image::before { content: ""; position: absolute; inset: 0; background: rgba(11, 35, 64, 0.72); z-index: -1; }
.section--image h2, .section--image h3 { color: var(--c-on-dark); }

.section__head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }

.grid { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

.checklist { list-style: none; display: grid; gap: 10px; margin: 20px 0; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-accent); color: #fff;
  font-size: 0.8rem; font-weight: 700; line-height: 22px; text-align: center;
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn--accent { background: var(--c-accent); color: #fff; }
.btn--accent:hover { background: var(--c-accent-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--outline:hover { background: var(--c-primary); color: #fff; }
.btn--light { background: #fff; color: var(--c-primary); }
.btn--light:hover { background: var(--c-bg-alt); color: var(--c-primary-dark); }
.btn--light-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn--light-outline:hover { background: #fff; color: var(--c-primary); }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   Topbar + Header + Navigation
   -------------------------------------------------------------------------- */
.topbar { background: var(--c-primary-dark); color: #fff; font-size: 0.875rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__list { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; }
.topbar a { color: #fff; }
.topbar i { margin-right: 6px; color: var(--c-accent); }

.header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 12px rgba(16, 24, 40, 0.06); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.header__logo img { height: 48px; width: auto; }
.header__logo { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--c-primary-dark); display: inline-flex; align-items: center; gap: 10px; }
.header__logo:hover { text-decoration: none; }
.header__cta { display: flex; align-items: center; gap: 12px; }

.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: var(--c-text);
}
.nav__link:hover, .nav__link.is-active { color: var(--c-accent); text-decoration: none; }
.nav__link i { font-size: 0.7rem; transition: transform 0.2s; }
.nav__item.is-open > .nav__link i, .nav__item:hover > .nav__link i { transform: rotate(180deg); }

/* Sous-menu simple */
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  padding: 10px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.2s;
}
.nav__item:hover > .submenu, .nav__item.is-open > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--c-text); }
.submenu a:hover { background: var(--c-bg-alt); color: var(--c-primary); text-decoration: none; }

/* Méga menu */
.has-megamenu { position: static; }
.megamenu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; box-shadow: var(--shadow-lg); border-top: 1px solid var(--c-border);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.2s;
}
.nav__item:hover > .megamenu, .nav__item.is-open > .megamenu { opacity: 1; visibility: visible; transform: translateY(0); }
.megamenu__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 32px var(--gutter); max-width: var(--container); margin-inline: auto; }
.megamenu__title { font-family: var(--font-display); font-weight: 700; color: var(--c-primary-dark); margin-bottom: 10px; display: block; }
.megamenu__list { list-style: none; display: grid; gap: 6px; }
.megamenu__list a { color: var(--c-text-muted); display: block; padding: 4px 0; }
.megamenu__list a:hover { color: var(--c-accent); text-decoration: none; }
.megamenu__cta { background: var(--c-primary); color: #fff; border-radius: var(--radius); padding: 24px; }
.megamenu__cta h4 { color: #fff; }

.nav__toggle {
  display: none; background: none; border: 0; padding: 8px;
  font-size: 1.6rem; color: var(--c-primary-dark);
}

/* --------------------------------------------------------------------------
   Héros
   -------------------------------------------------------------------------- */
.hero { position: relative; display: flex; align-items: center; min-height: 70vh; padding-block: 96px; color: #fff; isolation: isolate; }
.hero--image { background-size: cover; background-position: center; }
.hero--image::before, .hero__overlay { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 35, 64, 0.85) 0%, rgba(11, 35, 64, 0.55) 60%, rgba(11, 35, 64, 0.3) 100%); z-index: -1; }
.hero__content { max-width: 680px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #fff; opacity: 0.9; }
.hero .lead { color: rgba(255, 255, 255, 0.88); font-size: 1.25rem; margin-bottom: 28px; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin-top: 36px; font-weight: 600; }
.hero__badges i { color: var(--c-accent); margin-right: 8px; }

.hero--split { color: var(--c-text); background: var(--c-bg-alt); min-height: auto; }
.hero--split h1 { color: var(--c-primary-dark); }
.hero--split .lead { color: var(--c-text-muted); }
.hero--split .eyebrow { color: var(--c-accent); }
.hero--split::before { display: none; }

/* Slideshow */
.slideshow { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.slideshow__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.slideshow__slide.is-active { opacity: 1; }
.slideshow__dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.slideshow__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; }
.slideshow__dot.is-active { background: #fff; }

/* Bandeau des pages intérieures */
.page-hero { background: var(--c-primary); color: #fff; padding-block: 72px 56px; position: relative; isolation: isolate; }
.page-hero--image { background-size: cover; background-position: center; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; background: rgba(11, 35, 64, 0.78); z-index: -1; }
.page-hero h1 { color: #fff; margin-bottom: 0.3em; }
.page-hero .lead { color: rgba(255, 255, 255, 0.85); max-width: 720px; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; margin-bottom: 20px; color: rgba(255, 255, 255, 0.75); }
.breadcrumb a { color: #fff; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; }

.anchor-nav { background: #fff; border-bottom: 1px solid var(--c-border); position: sticky; top: var(--header-h); z-index: 50; }
.anchor-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding-block: 8px; }
.anchor-nav a { display: block; padding: 8px 14px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.925rem; color: var(--c-text-muted); }
.anchor-nav a:hover { background: var(--c-bg-alt); color: var(--c-primary); text-decoration: none; }

/* --------------------------------------------------------------------------
   Cartes, icon boxes, feature rows
   -------------------------------------------------------------------------- */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--c-border); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body p { color: var(--c-text-muted); flex: 1; }
.card__link { font-weight: 700; color: var(--c-accent); display: inline-flex; align-items: center; gap: 6px; }
.card--icon .card__body { padding-top: 28px; }
.section--dark .card { color: var(--c-text); }
.section--dark .card h3 { color: var(--c-primary-dark); }

.icon-box { display: flex; flex-direction: column; gap: 12px; }
.icon-box__icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--c-bg-alt); color: var(--c-primary); font-size: 1.5rem; }
.icon-box--center { align-items: center; text-align: center; }
.icon-box p { color: var(--c-text-muted); }
.section--dark .icon-box__icon { background: rgba(255, 255, 255, 0.12); color: #fff; }
.section--dark .icon-box p { color: rgba(255, 255, 255, 0.82); }

.feature-row { padding-block: 40px; }
.feature-row + .feature-row { border-top: 1px solid var(--c-border); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; text-align: center; }
.stat__value { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--c-accent); line-height: 1; }
.stat__label { color: inherit; opacity: 0.85; margin-top: 8px; }

.steps { counter-reset: step; display: grid; gap: 32px; }
.step { position: relative; padding-left: 72px; }
.step__number { position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--c-accent); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; }
.step p { color: var(--c-text-muted); }

.testimonial { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.testimonial__quote { font-size: 1.05rem; font-style: italic; }
.testimonial__quote::before { content: "“"; color: var(--c-accent); font-size: 2rem; line-height: 0; margin-right: 4px; font-family: var(--font-display); }
.testimonial__author { font-weight: 700; color: var(--c-primary-dark); }
.testimonial__author small { display: block; font-weight: 400; color: var(--c-text-muted); }
.testimonial__stars { color: #f5b301; font-size: 0.9rem; }
.section--dark .testimonial { color: var(--c-text); }

.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; }
.logos img { height: 44px; width: auto; filter: grayscale(1); opacity: 0.7; }

.team__member { text-align: center; }
.team__member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.team__member h3 { margin-bottom: 2px; }
.team__member .role { color: var(--c-accent); font-weight: 600; font-size: 0.9rem; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }

.menu-list { display: grid; gap: 18px; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; }
.menu-item__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; position: relative; }
.menu-item__price { font-family: var(--font-display); font-weight: 700; color: var(--c-accent); white-space: nowrap; }
.menu-item__desc { grid-column: 1 / -1; color: var(--c-text-muted); font-size: 0.95rem; }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   Accordéon, onglets
   -------------------------------------------------------------------------- */
.accordion { display: grid; gap: 12px; }
.accordion__item { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-sm); overflow: hidden; }
.accordion__trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; background: none; border: 0; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--c-primary-dark); }
.accordion__trigger i { transition: transform 0.2s; color: var(--c-accent); }
.accordion__item.is-open .accordion__trigger i { transform: rotate(180deg); }
.accordion__panel { display: none; padding: 0 22px 20px; color: var(--c-text-muted); }
.accordion__item.is-open .accordion__panel { display: block; }
.section--dark .accordion__item { color: var(--c-text); }

.tabs__nav { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 2px solid var(--c-border); margin-bottom: 28px; }
.tabs__btn { background: none; border: 0; padding: 12px 18px; font-family: var(--font-display); font-weight: 700; color: var(--c-text-muted); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs__btn.is-active { color: var(--c-primary); border-bottom-color: var(--c-accent); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; }

/* --------------------------------------------------------------------------
   Bande CTA, prose
   -------------------------------------------------------------------------- */
.cta-band { background: var(--c-accent); color: #fff; padding-block: 64px; }
.cta-band--primary { background: var(--c-primary); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { color: rgba(255, 255, 255, 0.9); margin: 0; }

.prose { max-width: 820px; }
.prose h2 { margin-top: 2em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4em; }

/* --------------------------------------------------------------------------
   Contact et formulaires
   -------------------------------------------------------------------------- */
.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list i { width: 44px; height: 44px; border-radius: 12px; background: var(--c-bg-alt); color: var(--c-primary); display: grid; place-items: center; flex-shrink: 0; font-size: 1.1rem; }
.contact-list strong { display: block; font-family: var(--font-display); }
.section--dark .contact-list i { background: rgba(255, 255, 255, 0.12); color: #fff; }

.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 400px; border: 0; }
.map--full iframe { height: 460px; border-radius: 0; }

.form-card { background: #fff; color: var(--c-text); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 36px; }
.form-card h2, .form-card h3, .form-card label, .form-card p { color: var(--c-text); }
.form-card h2, .form-card h3 { color: var(--c-primary-dark); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__group { display: grid; gap: 6px; }
.form__label { font-weight: 600; font-size: 0.95rem; }
.form__label .req { color: var(--c-accent); }
.form__input, .form__select, .form__textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  background: #fff; color: var(--c-text);
}
.form__input:focus, .form__select:focus, .form__textarea:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 3px rgba(20, 54, 93, 0.12); }
.form__textarea { min-height: 130px; resize: vertical; }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--c-text-muted); }
.form__check input { margin-top: 4px; }
.form__help { font-size: 0.85rem; color: var(--c-text-muted); }

/* Multiétape */
.form__progress { display: flex; gap: 8px; margin-bottom: 8px; counter-reset: fstep; }
.form__progress li { flex: 1; list-style: none; text-align: center; font-size: 0.85rem; font-weight: 600; color: var(--c-text-muted); padding-top: 34px; position: relative; }
.form__progress li::before { counter-increment: fstep; content: counter(fstep); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--c-bg-alt); border: 2px solid var(--c-border); display: grid; place-items: center; font-size: 0.8rem; }
.form__progress li.is-active { color: var(--c-primary); }
.form__progress li.is-active::before, .form__progress li.is-done::before { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.form__step { display: none; gap: 18px; }
.form__step.is-active { display: grid; }
.form__nav { display: flex; justify-content: space-between; gap: 12px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--c-primary-dark); color: rgba(255, 255, 255, 0.82); padding-block: 64px 24px; position: relative; isolation: isolate; }
.footer--image { background-size: cover; background-position: center; }
.footer--image::before { content: ""; position: absolute; inset: 0; background: rgba(11, 35, 64, 0.9); z-index: -1; }
.footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer a { color: rgba(255, 255, 255, 0.82); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__logo img { height: 44px; width: auto; margin-bottom: 16px; }
.footer__logo { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; display: inline-block; margin-bottom: 12px; }
.footer__list { list-style: none; display: grid; gap: 8px; }
.footer__list i { width: 20px; color: var(--c-accent); margin-right: 6px; }
.social { display: flex; gap: 10px; list-style: none; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--c-accent); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.875rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .megamenu__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-y: 56px; --header-h: 68px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse > :first-child { order: 0; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; padding-block: 72px; }
  .topbar__list { gap: 12px; }
  .topbar .hide-mobile { display: none; }

  .nav__toggle { display: inline-flex; }
  .header__cta .btn { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; overflow-y: auto; padding: 16px var(--gutter) 40px;
    transform: translateX(100%); transition: transform 0.25s;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 14px 8px; border-bottom: 1px solid var(--c-border); border-radius: 0; justify-content: space-between; }
  .submenu, .megamenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; }
  .nav__item.is-open > .submenu, .nav__item.is-open > .megamenu { display: block; }
  .megamenu__inner { grid-template-columns: 1fr; padding: 12px 8px 20px; gap: 20px; }
  .megamenu__cta { display: none; }
  .nav .btn { margin-top: 16px; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
