/* ===== Base ===== */
*{ box-sizing:border-box; }
html{ font-size:100%; }

body{
  margin:0;
  background:#2e342a;
  color:rgba(0,0,0,.85);
  font:400 1em/1.5 Helvetica, Arial, sans-serif;
}

a{ color:#00f; text-decoration:underline; }
a:hover{ color:#c00; }

img{ border:0; max-width:100%; height:auto; }

/* ===== Layout ===== */
#container{
  max-width:1000px;
  margin:0 auto;
  border-left:1px solid #222;
  border-right:1px solid #222;
  box-shadow:0 0 10px #000;
}

#main{ background:#fff; }

#header{ background:#171c1a; }

#header .logo{ box-shadow:0 5px 10px #000; }
#header .logo img{ display:block; width:100%; height:auto; }

#inner-content{ padding:1em 2em 2em; }

@media (max-width:640px){
  #container{ border:0; box-shadow:none; }
  #inner-content{ padding:1em; }
}

/* ===== Texte ===== */
p{
  margin:0 0 1em;
  color:#555;
  font:22px/1.6 Georgia, serif;
}

.text-center{ text-align:center; }

.page-header{
  text-align:center;
  margin:1.5rem 0 90px;
}

.page-title{
  margin:0;
  color:#444;
  letter-spacing:-1px;
  line-height:1.1;
  font-family:"Playfair Display","Times New Roman",Georgia,serif;
  font-size:clamp(1.8rem, 4.5vw, 2.5rem);
}

/* ===== Tableau “Science vs Création” (SEO-friendly + lisible) ===== */
.compareTable{
  width:100%;
  max-width:980px;
  margin:0 auto 1.8rem;

  /* colonnes égales */
  table-layout: fixed;

  border-collapse: separate;
  border-spacing:0;
  border-radius:16px;
  overflow:hidden;

  /* fond global pas blanc */
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
}

/* 50/50 */
.compareTable .colHead{ width:50%; }

/* Caption */
.compareTable caption{
  padding: 12px 14px;
  font-weight: 900;
  text-align: center;
  color: rgba(0,0,0,.85);
}

/* En-tête */
.compareTable thead th{
  padding: 14px;
  border-top:0;
  background: linear-gradient(90deg,
    rgba(120,170,220,.45),
    rgba(235,227,165,.65)
  );
}

/* Appliquer les 2 couleurs de colonnes aux 2 colHead */
.compareTable thead th{
  background: transparent; /* annule le gradient actuel */
}

.compareTable thead th:first-child{
  background: linear-gradient(180deg,
    rgba(235,245,255,.92),
    rgba(215,235,255,.86)
  );
}

.compareTable thead th:last-child{
  background: linear-gradient(180deg,
    rgba(255,248,224,.94),
    rgba(245,234,200,.88)
  );
}

/* cellules */
.compareTable th,
.compareTable td{
  padding:14px;
  vertical-align:top;
  border-top:1px solid rgba(0,0,0,.10);
}

/* Fond “split” gauche/droite + lisibilité */
.compareTable tbody td{
  background: rgba(255,255,255,.82);
}

/* Colonne gauche (évolution) : teinte froide */
.compareTable tbody td:first-child{
  background: linear-gradient(180deg,
    rgba(235,245,255,.88),
    rgba(215,235,255,.82)
  );
}

/* Colonne droite (Bible) : teinte chaude/parchemin */
.compareTable tbody td:last-child{
  background: linear-gradient(180deg,
    rgba(255,248,224,.90),
    rgba(245,234,200,.84)
  );
}

/* Zébrage léger (sans casser le split) */
.compareTable tbody tr:nth-child(even) td:first-child{
  background: linear-gradient(180deg,
    rgba(225,240,255,.90),
    rgba(205,228,255,.84)
  );
}
.compareTable tbody tr:nth-child(even) td:last-child{
  background: linear-gradient(180deg,
    rgba(255,244,210,.92),
    rgba(240,226,190,.86)
  );
}

/* Séparation verticale au milieu (desktop) */
@media (min-width:721px){
  .compareTable td + td,
  .compareTable th + th{
    border-left:1px solid rgba(0,0,0,.12);
  }
}

/* Header figures */
.headFigure{ margin:0; text-align:center; }
.headFigure img{
  display:block;
  margin:0 auto 6px;
  max-width:120px;
  height:auto;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.18));
}
.headFigure figcaption{ font-weight: 900; }

/* Mobile : mode “cartes” */
@media (max-width:720px){
  .compareTable thead{ display:none; }
  .compareTable tr{ display:block; }
  .compareTable td{ display:block; border-top:1px solid rgba(0,0,0,.10); }

  .compareTable td:first-child::before{
    content:"Point de vue de l’évolution";
    display:block;
    font-weight:900;
    margin-bottom:6px;
  }
  .compareTable td:last-child::before{
    content:"Point de vue de la Bible";
    display:block;
    font-weight:900;
    margin: 12px 0 6px;
  }
}

.headFigure{ margin:0; text-align:center; }
.headFigure img{ display:block; margin:0 auto 6px; max-width:120px; height:auto; }
.headFigure figcaption{ font-weight:800; }

/* ===== Accessibilité ===== */
.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* ===== Footer ===== */
footer{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  padding:20px 0;
  background:#131313;
}

.footer-actions{ display:flex; justify-content:center; }

.back-link-wrapper{ text-align:center; }

.back-link{
  display:inline-block;
  padding:.6em 1.4em;
  border-radius:999px;
  border:1px solid #e7e5e4;
  background:#131313;
  color:#e7e5e4;
  font-family:system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size:1.1rem;
  text-decoration:none;
  letter-spacing:.02em;
  transition:background .2s ease, transform .1s ease, box-shadow .2s ease;
}

.back-link:hover{
  background:#1f1f1f;
  box-shadow:0 4px 10px rgba(0,0,0,.4);
  transform:translateY(-1px);
}

.back-link:active{
  transform:translateY(1px);
  box-shadow:none;
}

/* Bloc citation de verset (1 Pierre et King James / David Martin, etc.) */
.verse-box {
  position: relative;
  margin: 1.5rem auto;
  padding: 1.4rem 1.6rem 1.2rem;
  background: #f7f7f9;
  border-radius: 6px;
  border: 1px solid #d4d7dd;
  border-left: 4px solid #4b5a73;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  color: #444;
  font-size: 22px;
  font-family: "Georgia", serif;
}

.verse-box p {
  margin: 0.4em 0;
}

/* Référence du verset en bas à droite */
.verse-ref {
  margin-top: 0.8em;
  font-size: 0.95em;
  text-align: right;
  font-style: italic;
  font-weight: bold;
}

/* Petite icône Bible dans le coin haut-gauche */
.verse-icon {
  position: absolute;
  top: -16px;
  left: 18px;
  padding: 3px 6px;
  background: rgba(247, 247, 249, 0.9);
  border-radius: 999px;
}

.verse-icon-svg {
  width: 28px;
  height: 18px;
  fill: none;
  stroke: #4b5a73;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
}

.note-box {
  position: relative;
  max-width: 95%;
  margin: 1.4rem auto 1.8rem;
  padding: 1rem 1.2rem 1.1rem;
  background: #f8f4e9;
  border-radius: 6px;
  border: 1px solid #e3d8c3;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  font-size: 1.25em;
  color: #5a4a32;
}

/* Cartouche "Note" */
.note-box::before {
  content: "Note";
  position: absolute;
  top: -0.7rem;
  left: 1.2rem;
  padding: 0.12rem 0.7rem;
  background: #f8f4e9;
  border-radius: 999px;
  border: 1px solid #e3d8c3;
  font-size: 0.8em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7b6740;
}

/* Texte interne des notes */
.note-box p {
  margin: 0.35rem 0;
  font-size: 1em;
}

.ombre{ text-shadow: 1px 1px 1px #000; color:#000; }
.ombreRed{ text-shadow: 1px 1px 1px #000; color:red; }
.ombreBlue{ text-shadow: 1px 1px 1px #000; color:#005580; }
.ombreBrown{ text-shadow: 1px 1px 1px #000; color:#802A00; }
.ombreGreen{ text-shadow: 1px 1px 1px #000; color:green; }
.ombreMaroon{ text-shadow: 1px 1px 1px #000; color:purple; }
.ombrePink{text-shadow: 1px 1px 1px black; color:#FF00FF;}

.size-shadow {
  max-width: 100%;
  height: auto;
  box-shadow: 2px 2px 10px gray;
  -moz-box-shadow: 2px 2px 10px gray;
  -webkit-box-shadow: 8px 8px 10px gray;
}

.size {
  max-width: 100%;
  height: auto;
}

.underline {border-bottom: 2px solid red;}

/* Soulignement ondulé rouge (TMN) */
.vagues {
  text-decoration-line: underline;
  text-decoration-color: red;
  text-decoration-style: wavy;
  /* + visibilité */
  text-decoration-thickness: 2px;   /* plus épais */
  text-underline-offset: 3px;         /* légèrement décollé du texte */
}

/* Titraille */
h1 {
  font-family: times, "Times New Roman", times-roman, georgia, serif;
  color: #444;
  margin: 0;
  padding-top: 10px;
  font-size: 50px;
  line-height: 44px;
  letter-spacing: -2px;
  font-weight: bold;
}

h2 {
  font-family: "Times New Roman", Georgia, serif;
  color: #444;
  font-size: 30px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 2.2rem 0 0.8rem;
  padding: 0;
}

h3 {
  font-family: "lemon", Georgia, serif;
  color: #444;
  font-size: 27px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 2.2rem 0 0.8rem;
  padding: 0;
}

.embed{
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  box-shadow: 2px 2px 10px rgba(0,0,0,.35);
  border-radius: 12px;        /* optionnel */
  overflow: hidden;           /* utile avec border-radius */
}

.embed iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
