/* Informatique Lyon — tech urbain Métropole */
:root {
  --ink: #12161c;
  --ink-soft: #3a4450;
  --paper: #eef1f5;
  --paper-2: #dce2ea;
  --deep: #0a0e14;
  --river: #1e4a6e;
  --river-mid: #2a5f8a;
  --dawn: #c4784a;
  --dawn-hot: #d48a5c;
  --mist: rgba(238, 241, 245, 0.94);
  --line: rgba(18, 22, 28, 0.12);
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --space: clamp(1.1rem, 3.2vw, 2.25rem);
  --max: 74rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 55% at 8% -5%, rgba(30, 74, 110, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 5%, rgba(196, 120, 74, 0.12) 0%, transparent 50%),
    linear-gradient(165deg, #f0f3f5 0%, var(--paper) 40%, var(--paper-2) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--river);
}

/* ——— Nav ——— */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 1.1rem var(--space);
}

.nav {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.4);
}

.nav-toggle {
  display: none;
  background: rgba(12, 22, 18, 0.35);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.25s var(--ease);
}

.nav-links a:hover {
  color: var(--dawn);
}

.nav-links a[aria-current="page"] {
  color: var(--dawn);
}

body:not(.is-home) .nav-brand,
body:not(.is-home) .nav-links a {
  color: var(--ink);
  text-shadow: none;
}

body:not(.is-home) .nav-links a:hover,
body:not(.is-home) .nav-links a[aria-current="page"] {
  color: var(--river);
}

body:not(.is-home) .site-header {
  position: relative;
  background: transparent;
  padding-bottom: 0;
}

body:not(.is-home) .nav-toggle {
  background: transparent;
  border-color: rgba(18, 24, 22, 0.28);
  color: var(--ink);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: visible;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media picture {
  position: absolute;
  inset: 0;
  display: block;
}

.split-visual picture {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
  transform: scale(1.05);
  animation: hero-drift 28s var(--ease) infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.2%, -0.8%, 0);
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 16, 14, 0.275) 0%, rgba(8, 16, 14, 0.06) 38%, rgba(8, 14, 12, 0.44) 100%),
    linear-gradient(90deg, rgba(8, 20, 16, 0.275) 0%, transparent 58%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(5.5rem, 14vh, 7rem) var(--space) clamp(2rem, 6vh, 4.5rem);
  container-type: inline-size;
  container-name: hero;
}

.hero-brand {
  font-family: var(--font-display);
  /* Fallback CSS ; le JS ajuste à la largeur réelle au resize */
  font-size: clamp(1.35rem, 9cqi, 5.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin-bottom: 0.85rem;
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  animation: rise 1s var(--ease) 0.12s forwards;
}

.hero-brand span {
  display: block;
  max-width: none;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.8vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  max-width: min(28ch, 100%);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
  opacity: 0;
  animation: rise 1s var(--ease) 0.28s forwards;
  overflow-wrap: anywhere;
}

.hero-lead {
  max-width: min(38ch, 100%);
  font-size: clamp(0.95rem, 2.4vw, 1.05rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.35rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.42s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  max-width: 100%;
  opacity: 0;
  animation: rise 1s var(--ease) 0.55s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.4rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  color: inherit;
}

.btn-primary {
  background: var(--dawn);
  color: var(--deep);
  box-shadow: 0 8px 28px rgba(232, 164, 90, 0.28);
}

.btn-primary:hover {
  background: var(--dawn-hot);
  color: var(--deep);
  box-shadow: 0 12px 32px rgba(232, 164, 90, 0.38);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

body:not(.is-home) .btn-ghost {
  color: var(--ink);
  border-color: rgba(18, 24, 22, 0.3);
  background: transparent;
  backdrop-filter: none;
}

/* ——— Layout ——— */
main {
  display: block;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.75rem, 9vw, 6rem) var(--space);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.7rem;
  color: var(--deep);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-more {
  margin-top: 1.75rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.section-more a {
  font-weight: 600;
  color: var(--river);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 77, 69, 0.35);
}

.section-more a:hover {
  color: var(--deep);
  border-color: var(--deep);
}

.page-hero {
  padding: 2.75rem var(--space) 0.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 4.1rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 0.98;
  color: var(--deep);
  margin-bottom: 0.85rem;
}

.page-hero p {
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* ——— Offers strip ——— */
.offer-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.offer-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.75rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease), background 0.3s var(--ease);
}

.offer-list li:hover {
  background: linear-gradient(90deg, rgba(31, 77, 69, 0.06), transparent 70%);
}

.offer-list li.is-visible {
  opacity: 1;
  transform: none;
}

.offer-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--river);
  letter-spacing: 0.02em;
}

.offer-list h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.offer-list p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 42ch;
}

.offer-list a {
  font-weight: 600;
  text-decoration: none;
  color: var(--river);
  white-space: nowrap;
  align-self: center;
  position: relative;
}

.offer-list a::after {
  content: "→";
  margin-left: 0.35rem;
  transition: transform 0.25s var(--ease);
  display: inline-block;
}

.offer-list a:hover {
  color: var(--ink);
}

.offer-list a:hover::after {
  transform: translateX(3px);
}

/* ——— Split ——— */
.split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(1.75rem, 4.5vw, 3.5rem);
  align-items: center;
}

.split-visual {
  min-height: 24rem;
  overflow: hidden;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.split-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(12, 22, 18, 0.18));
  pointer-events: none;
}

.split-visual img {
  width: 100%;
  height: 100%;
  min-height: 24rem;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 1.2s var(--ease);
}

.split:hover .split-visual img {
  transform: scale(1.04);
}

.split-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.9rem;
  color: var(--deep);
}

.split-copy p {
  color: var(--ink-soft);
  margin-bottom: 1.35rem;
  max-width: 36ch;
}

/* ——— Audience ——— */
.audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem 2rem;
}

.audience article h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  color: var(--deep);
}

.audience article p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ——— Pricing ——— */
.price-table-wrap {
  width: 100%;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 1.1rem 0.75rem;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--deep);
}

.price-table td:last-child,
.price-table th:last-child {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

/* ——— Contact form ——— */
.form {
  max-width: 32rem;
  display: grid;
  gap: 1.1rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(18, 24, 22, 0.18);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--river);
  outline-offset: 1px;
  background: #fff;
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.nap {
  margin-bottom: 2rem;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.nap strong {
  color: var(--deep);
}

.nap a {
  color: var(--river);
  font-weight: 600;
  text-decoration: none;
}

.nap-zone {
  margin-top: 0.5rem;
  font-size: 0.92rem;
}

.contact-aside {
  margin-top: 2rem;
  color: var(--ink-soft);
}

.contact-aside a {
  font-weight: 600;
  color: var(--river);
}

.geo-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  margin: 0 0 1.25rem;
}

.geo-list li {
  padding: 0.45rem 0.85rem;
  background: rgba(31, 77, 69, 0.08);
  color: var(--deep);
  font-weight: 600;
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 44rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0 0.85rem;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--deep);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--river);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.65rem;
  color: var(--ink-soft);
  max-width: 42ch;
}

.faq-item a {
  color: var(--river);
  font-weight: 600;
  text-decoration: none;
}

.contact-aside a {
  font-weight: 600;
  color: var(--river);
}

/* ——— Content prose ——— */
.prose {
  max-width: 40rem;
}

.prose p + p {
  margin-top: 1rem;
}

.prose ul {
  margin: 1rem 0 0 1.1rem;
  color: var(--ink-soft);
}

.prose li + li {
  margin-top: 0.45rem;
}

/* ——— CTA band ——— */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(3rem, 7vw, 4.5rem) var(--space);
  background:
    linear-gradient(120deg, rgba(12, 22, 18, 0.88) 0%, rgba(31, 77, 69, 0.82) 55%, rgba(12, 22, 18, 0.9) 100%),
    url("../images/ambiance-infolyon-m.webp") center / cover no-repeat;
}

@media (min-width: 901px) {
  .cta-band {
    background:
      linear-gradient(120deg, rgba(12, 22, 18, 0.88) 0%, rgba(31, 77, 69, 0.82) 55%, rgba(12, 22, 18, 0.9) 100%),
      url("../images/ambiance-infolyon.webp") center / cover no-repeat;
  }
}

.cta-band-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 16ch;
}

.cta-band p {
  margin-top: 0.55rem;
  opacity: 0.85;
  max-width: 32ch;
}

/* ——— Footer ——— */
.site-footer {
  padding: 2.75rem var(--space);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.25);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  justify-content: space-between;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--deep);
}

.footer-meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

.footer-copy {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  opacity: 0.85;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--deep);
  margin: 2rem 0 0.65rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p {
  color: var(--ink-soft);
  max-width: 44rem;
}

.legal a {
  color: var(--river);
  font-weight: 600;
  text-decoration: none;
}

.legal a:hover {
  color: var(--deep);
}

.footer-meta a {
  color: var(--river);
  font-weight: 600;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
  list-style: none;
  font-size: 0.9rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
}

.footer-links a:hover {
  color: var(--river);
}

/* ——— Disciplines grid ——— */
.disc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.disc-grid li {
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 1rem 1.2rem 0;
  transition: background 0.25s var(--ease);
}

.disc-grid li:hover {
  background: linear-gradient(90deg, rgba(31, 77, 69, 0.05), transparent);
}

.disc-grid a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--deep);
}

.disc-grid a:hover {
  color: var(--river);
}

.disc-grid p {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 28ch;
}

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    left: auto;
    min-width: min(18rem, calc(100vw - 2 * var(--space)));
    max-width: calc(100vw - 2 * var(--space));
    background: rgba(12, 22, 18, 0.97);
    backdrop-filter: blur(12px);
    padding: 1.1rem 1.25rem;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.85rem;
    z-index: 30;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  body:not(.is-home) .nav-links {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(18, 24, 22, 0.12);
  }

  body:not(.is-home) .nav-links a {
    color: var(--ink);
  }
}

@media (max-width: 900px) {
  .split,
  .audience {
    grid-template-columns: 1fr;
  }

  .split-visual {
    clip-path: none;
    min-height: clamp(14rem, 48vw, 20rem);
    aspect-ratio: 4 / 3;
  }

  .split-visual img {
    min-height: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center 30%;
  }

  .offer-list li {
    grid-template-columns: auto 1fr;
    gap: 0.65rem 1rem;
    padding: 1.15rem 0;
  }

  .offer-list a {
    grid-column: 2;
    white-space: normal;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .price-table {
    min-width: 28rem;
  }
}

@media (max-width: 720px) {
  :root {
    --space: clamp(1rem, 4.5vw, 1.35rem);
  }

  body {
    font-size: 1rem;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero-media img {
    object-position: center 42%;
    animation: none;
    transform: none;
  }

  .hero-content {
    padding-top: 4.75rem;
    padding-bottom: clamp(1.75rem, 5vh, 2.75rem);
  }

  .hero-brand {
    letter-spacing: -0.055em;
  }

  .hero-title {
    font-size: clamp(1.02rem, 4.1vw, 1.25rem);
    max-width: 100%;
  }

  .hero-lead {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 100%;
    text-align: center;
    white-space: normal;
  }

  .section {
    padding: clamp(2.75rem, 8vw, 4rem) var(--space);
  }

  .page-hero {
    padding-top: 1.75rem;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .offer-num {
    font-size: 1.15rem;
  }

  .offer-list h3 {
    font-size: 1.25rem;
  }

  .btn {
    padding: 0.85rem 1.15rem;
  }

  .cta-band {
    background-position: 60% center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.25rem;
  }

  .footer-links {
    gap: 0.65rem 1rem;
  }

  .disc-grid {
    grid-template-columns: 1fr;
  }

  .form {
    max-width: none;
  }
}

@media (max-width: 420px) {
  .nav-brand {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
  }
}

/* Fenêtres basses / landscape mobile : ne jamais couper le texte */
@media (max-height: 640px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 4.5rem;
    padding-bottom: 1.5rem;
  }

  .hero-brand {
    margin-bottom: 0.5rem;
  }

  .hero-title,
  .hero-lead {
    margin-bottom: 0.55rem;
  }

  .hero-actions {
    gap: 0.5rem;
  }

  .hero-actions .btn {
    padding: 0.7rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .split-visual img,
  .offer-list li,
  .hero-brand,
  .hero-title,
  .hero-lead,
  .hero-actions {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .offer-list li {
    opacity: 1;
    transform: none;
  }
}

/* ── Cookie consent banner (RGPD) ── */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  background: rgba(20, 28, 36, 0.97);
  color: #f5f7fa;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
  font-family: inherit;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.cookie-banner-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.cookie-banner-msg {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(245, 247, 250, 0.9);
  max-width: 46rem;
}
.cookie-banner-msg a {
  color: #ffb088;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  flex-shrink: 0;
}
.cookie-banner .cookie-btn {
  min-height: 2.55rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.92rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
}
.cookie-btn-refuse {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.cookie-btn-refuse:hover { background: rgba(255, 255, 255, 0.1); }
.cookie-btn-accept {
  background: #e8a45a;
  color: #14181c;
  border-color: #e8a45a;
  font-weight: 600;
}
.cookie-btn-accept:hover { filter: brightness(1.05); }
@media (max-width: 640px) {
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .cookie-btn { flex: 1 1 auto; text-align: center; }
}

.cookie-banner { background: #0a0e14ee; }
.cookie-btn-accept { background: #c4784a; border-color: #c4784a; color: #14181c; }
.cookie-banner-msg a { color: #d48a5c; }
