:root {
  --bg: #f4f6f8;
  --panel: #ffffff;
  --panel-soft: #f8fafc;
  --border: #d8dee6;
  --border-strong: #c6d0dd;
  --text: #20262e;
  --muted: #667085;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eef4ff;
  --warning-bg: #fff8e6;
  --warning-border: #e9c46a;
  --warning-text: #7a5a00;
  --success-bg: #ecfdf3;
  --success-border: #9ad8b6;
  --success-text: #17663a;
  --error-bg: #fff1f0;
  --error-border: #efaaa4;
  --error-text: #a51d14;
  --shadow-sm: 0 4px 14px rgba(20, 30, 50, .08);
  --shadow-md: 0 12px 30px rgba(20, 30, 50, .12);
  --radius-sm: 9px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --site-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-underline-offset: 2px;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

/* En-tête : mêmes dimensions et mêmes classes que la page principale */


/* Contenu */

.page,
.page-shell {
  width: min(var(--site-width), calc(100% - 32px));
  margin-inline: auto;
  flex: 1 0 auto;
  padding: 42px 0 92px;
}

.hero,
.contact-hero {
  max-width: 900px;
  margin-bottom: 24px;
}

.hero h1,
.contact-hero h1,
.legal-card > h1 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(31px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.hero p,
.contact-hero .lead,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: .18em;
  font-weight: 900;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.brand-plan {
  color: var(--primary);
}

.brand-rest {
  color: var(--text);
}

.brand-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 4px;
  vertical-align: middle;
  white-space: nowrap;
}

.brand-inline-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: cover;
  object-position: left center;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 30, 50, .12);
}

.meta {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

h1,
h2,
h3 {
  color: var(--text);
}

h2 {
  margin: 32px 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

h3 {
  margin: 22px 0 8px;
  font-size: 17px;
  line-height: 1.4;
}

p,
ul,
ol {
  margin-top: 8px;
}

ul,
ol {
  padding-left: 22px;
}

/* Cartes */

.legal-card,
.feature-card,
.contact-card,
.contact-aside {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.legal-card {
  padding: clamp(25px, 5vw, 46px);
  border-radius: var(--radius-lg);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 156px;
  padding: 21px;
  border-radius: var(--radius-md);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: #b9c7d8;
  box-shadow: var(--shadow-md);
}

.feature-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

/* Encarts */

.notice {
  margin: 22px 0 28px;
  padding: 14px 16px;
  border: 1px solid var(--warning-border);
  border-radius: var(--radius-sm);
  color: var(--warning-text);
  background: var(--warning-bg);
}

.notice.warning {
  margin: 24px 0;
}

.contact-box {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--panel-soft);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.contact-card {
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-lg);
}

.contact-aside {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.contact-aside h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.contact-address {
  overflow-wrap: anywhere;
  font-weight: 800;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  color: var(--text);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.form-group textarea {
  min-height: 190px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .13);
}

.required {
  color: #b42318;
}

.help,
.privacy-note,
.counter {
  color: var(--muted);
  font-size: 13px;
}

.counter {
  margin-top: 5px;
  text-align: right;
}

.privacy-note {
  margin: 4px 0 18px;
  line-height: 1.55;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.alert {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid;
  border-radius: var(--radius-sm);
}

.alert-success {
  color: var(--success-text);
  background: var(--success-bg);
  border-color: var(--success-border);
}

.alert-error {
  color: var(--error-text);
  background: var(--error-bg);
  border-color: var(--error-border);
}

/* Boutons */

.contact-button,
.primary-button,
button[type="submit"] {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.contact-button:hover,
.primary-button:hover,
button[type="submit"]:hover {
  color: #fff;
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(37, 99, 235, .20);
  transform: translateY(-1px);
}

/* Tableaux */

.data-table {
  width: 100%;
  margin: 20px 0;
  border: 1px solid var(--border);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table th {
  width: 30%;
  color: #344054;
  background: var(--panel-soft);
}

/* Même pied de page flottant que sur la page principale */


@media (max-width: 950px) {
  

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-aside {
    order: -1;
  }
}

@media (max-width: 850px) {
  

  .page,
  .page-shell {
    padding-bottom: 48px;
  }
}

@media (max-width: 720px) {
  

  

  

  

  .page,
  .page-shell {
    padding-top: 28px;
  }

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

  .feature-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table {
    border: 0;
    overflow: visible;
  }

  .data-table tr {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
  }

  .data-table th,
  .data-table td {
    border-bottom: 1px solid var(--border);
  }

  .data-table td:last-child {
    border-bottom: 0;
  }
}
