/* === GLOBAL RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: #f6f7f9;
    color: #333;
    line-height: 1.6;
}

/* === HEADER === */
.hero {
    background: linear-gradient(135deg, #0e1128, #1b1f3b);
    color: #fff;
    text-align: center;
    padding: 50px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* === CARDS === */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 10px;
}

.card {
    background: #fff;
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.featured {
    border: 3px solid #8a4fff;
}

.card h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price {
    font-size: 1.4rem;
    color: #555;
    margin-bottom: 15px;
    font-weight: bold;
}

.card ul {
    text-align: left;
    margin-bottom: 20px;
}

/* Base commune */
.card {
    border: 2px solid transparent;
    transition: border 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

/* NOBLE — vert au hover */
.noble-card:hover {
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.35);
}

/* DIGNITAIRE — violet permanent */
.dignitaire-card {
    border-color: #8a4fff;
    box-shadow: 0 0 0 3px rgba(138, 79, 255, 0.45);
}

/* MECENE — or au hover */
.mecene-card:hover {
    border-color: #f1c40f;
    box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.45);
}

.card:hover {
    transform: translateY(-6px);
}

.grade-icon {
    width: 140px;              /* ← taille visuelle correcte */
    height: auto;
    margin: 28px auto 16px;    /* plus d’air autour */
    display: block;

    filter:
        drop-shadow(0 18px 30px rgba(0,0,0,0.45))
        drop-shadow(0 0 18px rgba(80, 200, 120, 0.35)); /* glow gemme */

    transition: transform 0.25s ease, filter 0.25s ease;
}

.card:hover .grade-icon {
    transform: scale(1.1);
}

.card li {
    padding: 5px 0;
    font-size: 0.94rem;
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    background: #444;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn:hover {
    background: #222;
}

.btn-primary {
    background: #8a4fff;
}

.btn-primary:hover {
    background: #712ed6;
}

.grades-compare {
  padding: 60px 20px;
  background: #0e1128;
  color: #fff;
}

.grades-compare h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
}

.grades-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 15px;
  max-width: 1200px;
  margin: auto;
}

.grade-col {
  background: #1b1f3b;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform .2s, box-shadow .2s;
}

.grade-col:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.features {
  background: transparent;
  box-shadow: none;
}

.grade-header {
  padding: 18px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  background: rgba(255,255,255,0.05);
}

.grade-header span {
  font-size: .9rem;
  opacity: .8;
}

.grades-note {
    max-width: 900px;
    margin: 40px auto 0;
    padding-top: 18px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    border-top: 1px solid rgba(255,255,255,0.15);
}

.grades-note strong {
    color: #fff;
}

.info-dot {
    margin-right: 6px;
    opacity: 0.9;
}

.noble { color: #2ecc71; }
.dignitaire { color: #8a4fff; }
.mecene { color: #f1c40f; }

.highlight {
  outline: 3px solid #8a4fff;
  transform: scale(1.03);
}

.cell {
  min-height: 56px;               /* ← clé de l’alignement */
  display: flex;
  align-items: center;            /* centrage vertical */
  justify-content: center;
  text-align: center;
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.95rem;
  line-height: 1.2;
    overflow: hidden;
}

.cell small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 4px;
}
.features .cell {
  justify-content: flex-start;    /* colonne fonctionnalités à gauche */
}


.yes {
  color: #2ecc71;
  font-weight: bold;
}

.no {
  color: #e74c3c;
  opacity: .8;
}

/* === INFO SECTION === */
.info h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.support-list {
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
    padding-left: 20px;
}

.support-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #444;
}

.info-note {
    margin-top: 16px;
    font-size: 0.9rem;
    color: #555;
}

.info-support {
    max-width: 1100px;
    margin: 80px auto;
    padding: 20px 30px 10px;
    background: transparent;
    text-align: center;
}

.info-support h3 {
    text-align: center;
    margin-bottom: 28px;
    font-size: 1.6rem;
    position: relative;
}

.info-support h3::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, #8a4fff, #b59cff);
}

.support-content {
    max-width: 850px;
    margin: auto;
}

.support-content p {
    text-align: center;
    margin-bottom: 18px;
    font-size: 0.95rem;
    color: #444;
}

.support-points {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
    list-style: none;
    padding: 0;
}

@media (max-width: 1024px) {
    .support-points {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .support-points {
        grid-template-columns: 1fr;
    }
}

.support-points li {
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.support-points li:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.support-points span {
    font-size: 1.6rem;
}

.support-points p {
    margin: 0;
    text-align: left;
    font-size: 0.9rem;
}

.support-note {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #555;
}

.support-content p {
    max-width: 760px;
    margin: 0 auto 22px;
    font-size: 1rem;
    color: #444;
}

.guide-section {
    padding: 60px 20px;
    background: #f7f8fb;
}

.guide-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.guide-intro {
    text-align: center;
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

.guide-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.guide-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.guide-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

.guide-card .note {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #555;
    opacity: 0.85;
}

.disclaimer {
    max-width: 1100px;
    margin: 60px auto 40px;
    padding: 40px 30px;
    text-align: center;

    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.disclaimer::before {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 0 auto 22px;
    border-radius: 3px;
    background: linear-gradient(
        90deg,
        #8a4fff,
        #b59cff
    );
}

.disclaimer h3 {
    margin-bottom: 14px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2f2f2f;
}

.disclaimer p {
    max-width: 720px;
    margin: 0 auto 12px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.disclaimer-note {
    display: block;
    margin-top: 16px;
    font-size: 0.85rem;
    color: #777;
}

/* === FOOTER === */
footer {
    text-align: center;
    padding: 15px 0;
    font-size: 0.85rem;
    color: #666;
}