/* ═══════════════════════════════════════════════
   PAGE ÉTHIQUE ET SÉCURITÉ
═══════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────── */

.eth-hero {
  background: var(--blanc);
  padding: 120px var(--marge) 60px;
}

.eth-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.eth-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 18px;
}

.eth-hero p {
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
}

#ethique{
  margin-top: 75px;
}

/* ── Section générique ────────────────────────── */

.eth-section {
  padding: 60px var(--marge);
}

.eth-section.eth-alt {
  background: white;
}

.eth-section-header {
  margin-bottom: 32px;
  text-align: center;
}

.eth-surtitre {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 6px;
}

.eth-titre {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.eth-texte {
  max-width: 820px;
  margin: 0 auto;
}

.eth-texte p {
  text-align: center;
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
  margin-bottom: 16px;
}

.eth-texte p:last-child { margin-bottom: 0; }

.eth-texte a {
  color: var(--rouge);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Carte référente éthique ──────────────────── */

.eth-referente {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--blanc);
  border-radius: 12px;
  border: 1.5px solid var(--gris-moyen);
  padding: 24px;
  margin: 28px auto 0;
  max-width: 620px;
  text-align: left;
}

.eth-referente-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--gris);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.25);
  font-size: 0.65rem;
  font-style: italic;
  text-align: center;
  line-height: 1.3;
  overflow: hidden;
}

.eth-referente-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eth-referente-infos strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.eth-referente-infos span {
  display: block;
  font-size: 0.85rem;
  color: var(--gris-texte);
  margin-bottom: 8px;
}

.eth-referente-infos a {
  color: var(--rouge);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Étapes de signalement ────────────────────── */

.eth-etapes {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 28px auto 0;
  max-width: 780px;
  text-align: left;
}

.eth-etape {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.eth-etape-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--rouge);
  color: var(--blanc);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eth-etape p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #333;
  padding-top: 5px;
}

/* ── Blocs d'aide (enfants / parents) ─────────── */

.eth-aide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 28px auto 0;
  max-width: 900px;
  text-align: left;
}

.eth-aide-col h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rouge);
  margin-bottom: 14px;
}

.eth-aide-col .popup-lien {
  background: #f0f0f0;
}

.eth-aide-col .popup-lien:hover {
  background: #dfdfdf;
}

/* ── Encadré / callout ─────────────────────────── */

.eth-callout {
  display: flex;
  gap: 16px;
  background: var(--blanc);
  border-radius: 10px;
  padding: 22px 24px;
  margin: 24px auto 0;
  max-width: 820px;
  text-align: left;
}

.eth-callout-barre {
  width: 3px;
  background: var(--rouge);
  border-radius: 3px;
  flex-shrink: 0;
}

.eth-callout p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #333;
}

.eth-callout p:last-child { margin-bottom: 0; }

/* ── ROI & Sécurité : cartes documents ─────────── */

.eth-docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px auto 0;
  max-width: 820px;
  text-align: left;
}

.eth-doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--blanc);
  border: 1.5px solid var(--gris-moyen);
  border-radius: 12px;
  padding: 20px 22px;
  transition: border-color var(--transition), transform var(--transition);
}

.eth-doc-card:hover {
  border-color: var(--rouge);
  transform: translateY(-2px);
}

.eth-doc-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--rouge);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
}

.eth-doc-texte strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.eth-doc-texte span {
  font-size: 0.8rem;
  color: var(--gris-texte);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .eth-hero { padding: 100px 20px 50px; }
  .eth-section { padding: 50px 20px; }
  .eth-aide-grid { grid-template-columns: 1fr; gap: 28px; }
  .eth-docs-grid { grid-template-columns: 1fr; }
  .eth-referente { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 600px) {
  .eth-hero { padding: 88px 16px 40px; }
  .eth-section { padding: 36px 16px; }
  .eth-titre { font-size: 1.6rem; }
  .eth-referente { align-items: center; text-align: center; }
  .eth-referente-infos a,
  .eth-referente-infos span { text-align: center; }
}
