/* styles.css */
/* ========================================
   Tartine Interactive — Studio Website Styles
   ======================================== */

/* inter-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/inter-v20-latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/inter-v20-latin-600.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/inter-v20-latin-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* caveat-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/caveat-v23-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* caveat-600 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/caveat-v23-latin-600.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* caveat-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/caveat-v23-latin-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* === CSS Variables === */
:root {
  /* Brand palette */
  --color-primary: #264653;
  /* Charcoal Blue */
  --color-secondary: #2A9D8F;
  /* Verdigris */

  /* Accent warm (ex: #e9c46a) */
  --color-accent-warm: #e9c46a;

  /* Background warm tint (très léger) */
  --tint-warm-1: rgba(233, 196, 106, 0.12);
  /* fond global */
  --tint-warm-2: rgba(233, 196, 106, 0.08);
  /* sections alternées */
  --tint-warm-3: rgba(233, 196, 106, 0.06);
  /* hover / détails subtils */

  /* Surfaces légèrement “cassées” pour rester premium */
  --color-surface: #fbfbfa;
  --color-surface-alt: #f4f3ef;

  /* Brand surfaces / tints */
  --tint-primary: #d9e8ee;
  --tint-secondary: rgba(42, 157, 143, 0.10);
  --color-primary-soft: #CCDDE2;
  --color-secondary-soft: #A3DCDA;

  /* Neutral colors */
  --color-surface-high: #EDEDED;
  --color-text: #111111;
  --color-text-muted: #555555;
  --color-text-soft: #6F6F6F;

  /* Layout */
  --max-width: 1120px;
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.12);
  --shadow-lift: 0 20px 60px rgba(0, 0, 0, 0.14);
  --border-soft: rgba(38, 70, 83, 0.10);

  /* Gradients */
  --gradient-brand: none;

  /* Header warm glass */
  --header-bg: #264653;
  /* warm + translucide */
  --header-border: rgba(38, 70, 83, 0.10);
  /* reprend ton primary en border soft */

  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-brand-accent: 'Caveat', cursive;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === CSS Reset & Base === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--color-text);

  background: var(--tint-primary);
}

@media (min-width: 720px) {
  body {
    font-size: 1.02rem;
  }
}

/* === Typography === */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-primary);
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.65rem;
}

h3 {
  font-size: 1.2rem;
}

@media (min-width: 720px) {
  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  h3 {
    font-size: 1.35rem;
  }
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.12s ease, transform 0.12s ease;
}

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

ul,
ol {
  list-style: none;
}

/* Helpers */
.accent {
  color: var(--color-secondary);
}

/* === Container === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 720px) {
  .container {
    padding: 0 2rem;
  }
}

/* === Skip Link (Accessibility) === */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-md) 0;
}

.skip-link:focus {
  top: 0;
}

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 300;

  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border-bottom: 1px solid var(--header-border);
}

.header::after {
  content: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0.9;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header-logo a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand-wordmark.accent {
  font-family: var(--font-brand-accent);
  font-weight: 700;
  letter-spacing: 0.02em;
  transform: translateY(1px);
  /* aligne optiquement avec Inter */
  color: var(--color-secondary);
}

.header-logo a:hover {
  transform: translateY(-1px);
}

/* === Navigation === */
.nav {
  display: none;
}

@media (min-width: 720px) {
  .nav {
    display: block;
  }
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-list a {
  position: relative;
  font-weight: 600;
  color: #FFF;
  padding: 0.35rem 0;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--color-surface);
  border-radius: 999px;
  transition: width 0.16s ease;
  opacity: 0.9;
}

.nav-list a:hover {
  color: var(--color-accent-warm);
}

.nav-list a:hover::after {
  width: 100%;
}

/* === Mobile Menu Toggle === */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 310;
}

@media (min-width: 720px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFF;
  transition: all 0.25s ease;
  border-radius: 999px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* === Mobile Menu === */
@media (max-width: 719px) {

  /* Progressive enhancement: menu visible without JS */
  .no-js .nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
  }

  .no-js .nav .nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.7rem 0;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    margin-top: 0.7rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  }

  .no-js .nav .nav-list a {
    display: block;
    padding: 0.95rem 1.2rem;
    color: var(--color-text);
    font-weight: 600;
  }

  .no-js .nav .nav-list a:hover {
    background: var(--color-surface-alt);
  }

  /* With JS: menu hidden by default */
  .js .nav {
    display: none;
  }

  .js .nav.open {
    display: block;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(252, 252, 252, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 310;
    animation: slideDown 0.25s ease;
  }

  .js .nav.open .nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.9rem 0;
  }

  .js .nav.open .nav-list a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--color-text);
    font-weight: 600;
  }

  .js .nav.open .nav-list a:hover {
    background: var(--color-surface-alt);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Navigation Backdrop === */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-backdrop.visible {
  opacity: 1;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: none;
}


.btn-primary:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: none;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(38, 70, 83, 0.30);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: none;
}

/* === Hero Section === */
.hero {
  background: transparent;
  /* sobre, sans dégradé */
  padding: 4.2rem 0;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 720px) {
  .hero {
    padding: 6rem 0;
  }
}

.hero-container {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 720px) {
  .hero-container {
    grid-template-columns: 1.15fr 0.95fr;
    gap: 4.2rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(42, 157, 143, 0.12);
  border: 1px solid rgba(42, 157, 143, 0.35);
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 1.1rem;
}

.hero-title {
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
  font-weight: 600;
  max-width: 52ch;
}

@media (min-width: 720px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-description {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--color-text-soft);
  margin-bottom: 2rem;
  max-width: 62ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.1rem;
  margin-top: 0.6rem;
}

.highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.highlight-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: none;
}

/* Hero visual */
.hero-visual {
  max-width: 440px;
  margin: 0 auto;
}

.visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem;
  overflow: hidden;
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 30%, rgba(42, 157, 143, 0.18), transparent 55%);
  transform: rotate(8deg);
}

.visual-card svg {
  position: relative;
  width: 100%;
  height: auto;
}

/* Placeholder invisible (conserve la structure/layout du hero) */
.visual-card.visual-card--empty::before {
  content: none;
  /* retire le glow décoratif */
}

.hero-visual-slot {
  width: 100%;
  aspect-ratio: 1 / 1;
  /* garde un carré comme ton SVG */
  display: block;
}

/* Optionnel: si tu veux aussi retirer l'effet "carte" tant que vide */
.visual-card.visual-card--empty {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* === Section Styles === */
section {
  padding: 4.2rem 0;
}

@media (min-width: 720px) {
  section {
    padding: 6rem 0;
  }
}

.section-title {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto 3rem;
  padding-bottom: 0.65rem;
  text-align: center;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 92px;
  height: 4px;
  transform: translateX(-50%);
  background: var(--color-secondary);
  border-radius: 999px;
  opacity: 0.92;
}

/* Sections backgrounds */
.section-products {
  background: transparent;
}

.section-about {
  background: transparent;
}

.section-contact {
  background: transparent;
  text-align: center;
}

/* === Products Section (Horizontal rows) === */
.products-stack {
  display: grid;
  gap: clamp(16px, 5vw, 22px);
  grid-template-columns: 1fr;
}

/* Nouvelle carte horizontale */
.product-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;

  border-radius: var(--radius-lg);
  padding: 1.6rem;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  overflow: hidden;
}

.product-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

/* bandeau “featured” subtil */
.product-row.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--color-secondary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Layout horizontal à partir du breakpoint */
@media (min-width: 860px) {
  .product-row {
    grid-template-columns: 1.35fr 0.65fr;
    align-items: center;
    gap: 1.6rem;
  }
}

/* Colonne texte */
.product-row-content {
  position: relative;
  min-width: 0;
}

/* Colonne “logo” */
.product-row-media {
  width: 100%;
  max-width: 220px;
  /* borne dure */
  justify-self: end;
  /* sur desktop, colle à droite */
}

/* Sur mobile, centre et limite aussi */
@media (max-width: 859px) {
  .product-row-media {
    max-width: 200px;
    justify-self: center;
  }
}

.app-mark-link {
  display: inline-block;
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.12s ease;
}

.app-mark-link:hover {
  transform: translateY(-1px);
}

.app-mark {
  width: 180px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 42px;
  overflow: hidden;
  display: block;
}

.app-mark.app-mark--bare {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.app-mark--placeholder {
  background: transparent;
  /* pas de fond */
  border: 1px solid var(--border-soft);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.app-mark svg {
  display: block;
  width: 100%;
  height: auto;
  /* clé : évite le remplissage vertical imprévisible */
  max-width: 100%;
  max-height: 100%;
}

.app-mark svg * {
  vector-effect: non-scaling-stroke;
}

.app-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.app-mark--placeholder svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Variante "bare" : uniquement l'image SVG, sans box autour */
.app-mark.app-mark--bare {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* On conserve le clipping arrondi (si ton SVG a un fond coloré) */
.app-mark.app-mark--bare {
  border-radius: 22px;
  overflow: hidden;
}

/* L'image doit remplir parfaitement le carré */
.app-mark.app-mark--bare img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Variante plus sobre pour “à venir” */
.product-row.upcoming-min {
  background: rgba(255, 255, 255, 0.70);
  border: 1px dashed rgba(38, 70, 83, 0.22);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

/* Option : réduire un peu la liste sur desktop pour respirer */
@media (min-width: 860px) {
  .product-features {
    margin-bottom: 1.2rem;
  }
}


.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
  position: relative;
}

.product-kicker {
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.product-badge {
  background: rgba(233, 196, 106, 0.22);
  border: 1px solid rgba(233, 196, 106, 0.55);
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.product-badge.subtle {
  background: rgba(38, 70, 83, 0.08);
  border-color: rgba(38, 70, 83, 0.22);
  color: var(--color-primary);
}

.product-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
  position: relative;
}

.product-header h3 {
  margin-bottom: 0;
}

.product-description {
  color: var(--color-text-muted);
  margin-bottom: 1.35rem;
  position: relative;
}

.product-features {
  list-style: disc;
  margin-left: 1.25rem;
  margin-bottom: 1.4rem;
  position: relative;
}

.product-features li {
  color: var(--color-text-soft);
  margin-bottom: 0.55rem;
  line-height: 1.65;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(38, 70, 83, 0.18);
  background: rgba(255, 255, 255, 0.65);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
}

/* === About Section === */
.about-content {
  max-width: 920px;
  margin: 0 auto;
}

.about-text {
  font-size: 1.06rem;
  line-height: 1.85;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  text-align: center;
}

@media (min-width: 720px) {
  .about-text {
    font-size: 1.12rem;
  }
}

.values-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  border-radius: var(--radius-md);
  padding: 1.55rem;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.10);
  text-align: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.value-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.value-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 0.9rem;
  border-radius: 14px;
  background: rgba(42, 157, 143, 0.12);
  border: 1px solid rgba(42, 157, 143, 0.30);
  color: var(--color-secondary);
  display: grid;
  place-items: center;
  box-shadow: none;
}

.value-icon svg {
  width: 26px;
  height: 26px;
}

.value-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.7rem;
  color: var(--color-primary);
}

.value-card p {
  color: var(--color-text-soft);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* === Contact Section === */
.contact-intro {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  font-size: 1.15rem;
  /* ↓ plus raisonnable */
  font-weight: 750;
  /* ↓ moins “titre” mais reste premium */
  color: var(--color-secondary);

  padding: 0.45rem 0.85rem;
  /* ↓ moins de “bloc” */
  border-radius: var(--radius-md);

  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border-soft);

  transition: color 0.12s ease, background 0.12s ease, transform 0.12s ease;
}

@media (min-width: 720px) {
  .contact-email {
    font-size: 1.25rem;
  }
}

.contact-email:hover {
  color: var(--color-primary);
  background: rgba(42, 157, 143, 0.10);
  transform: translateY(-1px);
}

.contact-card {
  max-width: 560px;
  margin: 2rem auto 0;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(38, 70, 83, 0.16);
  background: rgba(255, 255, 255, 0.70);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.10);
}

.contact-card-title {
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.contact-card-text {
  color: var(--color-text-muted);
}

/* === Footer === */
.footer {
  position: relative;
  background: var(--color-primary);
  color: #fff;
  padding: 3.2rem 0 1.7rem;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-secondary);
}

.footer::after {
  content: none;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.80);
  font-size: 0.95rem;
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  transition: color 0.12s ease;
}

.footer ul a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.5rem;
  text-align: center;
  position: relative;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: rgba(163, 220, 218, 0.95);
  font-weight: 700;
}

.footer-contact a:hover {
  color: #fff;
}

/* === Focus Visible (Accessibility) === */
*:focus-visible {
  outline: 3px solid rgba(42, 157, 143, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

@supports (outline-color: color-mix(in oklab, #000, transparent)) {
  *:focus-visible {
    outline-color: color-mix(in oklab, var(--color-secondary), transparent 40%);
  }
}

/* === Legal Pages Styles === */
.legal-header {
  background: #fff;
  padding: 2.5rem 0 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.legal-header h1 {
  font-size: 2rem;
  text-align: center;
}

@media (min-width: 720px) {
  .legal-header h1 {
    font-size: 2.5rem;
  }
}

.legal-page {
  padding: 3rem 0;
}

@media (min-width: 720px) {
  .legal-page {
    padding: 4rem 0;
  }
}

.legal {
  max-width: 760px;
  margin: 0 auto;
}

.legal section {
  padding: 0;
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(38, 70, 83, 0.14);
}

@media (min-width: 720px) {
  .legal h2 {
    font-size: 1.5rem;
  }
}

.legal h3 {
  font-size: 1.1rem;
  color: var(--color-secondary);
  margin: 1.5rem 0 0.8rem;
}

.legal p {
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.legal ul,
.legal ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal ul {
  list-style: disc;
}

.legal ol {
  list-style: decimal;
}

.legal li {
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.legal strong {
  color: var(--color-text);
  font-weight: 700;
}

.legal a {
  color: var(--color-secondary);
  text-decoration: underline;
}

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

/* === Tables (Legal Pages) === */
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  -webkit-overflow-scrolling: touch;
}

.legal table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.legal thead {
  background: rgba(38, 70, 83, 0.08);
}

.legal th {
  padding: 0.8rem 1rem;
  text-align: left;
  font-weight: 800;
  color: var(--color-primary);
  border-bottom: 2px solid rgba(38, 70, 83, 0.25);
  font-size: 0.9rem;
}

.legal td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.legal tbody tr:last-child td {
  border-bottom: none;
}

.legal tbody tr:hover {
  background: rgba(42, 157, 143, 0.06);
}

/* === Print Styles (Legal Pages) === */
@media print {

  .header,
  .footer,
  .skip-link,
  .nav-toggle {
    display: none;
  }

  .legal-page {
    padding: 0;
  }

  .legal h2 {
    page-break-after: avoid;
  }

  .legal table {
    page-break-inside: avoid;
  }
}

/* === Screen Reader Only === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* === Reduced Motion Preference === */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .product-card:hover,
  .value-card:hover,
  .btn:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}