/* ================================
   SEO IA – V4 Premium Styles
   ================================ */

.seoia-section {
  padding: 40px 0;
}

.seoia-h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0f2a56;
}

/* CARD */
.seoia-card,
.seoia-box {
  background: #ffffff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

/* FORM */
.seoia-form input[type=url] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 16px;
}

.seoia-form button {
  width: 100%;
  padding: 12px;
  background: #0f2a56;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.seoia-form button:hover {
  opacity: 0.85;
}

/* LOADER */
.seoia-loader {
  text-align: center;
  padding: 20px;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ddd;
  border-top-color: #0f2a56;
  border-radius: 50%;
  margin: 0 auto 12px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* METRICS ROW */
.seoia-metrics-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
}

.seoia-metric {
    width: 32%;
    background: #ffffff;
    padding: 22px 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.seoia-metric .metric-icon {
    font-size: 34px;
    margin-bottom: 6px;
}

.metric-score {
    font-size: 42px;
    font-weight: 700;
    color: #0f2a56;
    margin: 5px 0;
}

.metric-label {
    font-size: 18px;
    font-weight: 600;
    color: #0f2a56;
}

.metric-hint {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 4px;
}


.badge-score {
    font-size: 14px;
    background: #0f2a56;
    padding: 4px 8px;
    color: #fff;
    border-radius: 6px;
}

/* BADGES */
.seoia-badge {
  background: #eee;
  padding: 6px 12px;
  border-radius: 10px;
  margin-right: 8px;
}

/* TABS */
.seoia-tabs {
  margin-top: 20px;
}
/* Astuce onglets */
.seoia-tabs-tip {
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 15px;
    color: #4a4a4a;
    text-align: left;
}

/* Onglets */
.seoia-tab-header {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.seoia-tab-button {
    padding: 10px 18px;
    background: #eaeef5;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #0f2a56;
    transition: background .2s;
}

.seoia-tab-button.active {
    background: #0f2a56;
    color: #fff;
}

.seoia-tab-panel {
    display: none;
}

.seoia-tab-panel.active {
    display: block;
}
/* SHARE */
.seoia-share-row {
  margin-top: 25px;
  display: flex;
  gap: 12px;
}

.seoia-btn {
  padding: 10px 14px;
  background: #0f2a56;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
}

.seoia-btn.ghost {
  background: #ddd;
  color: #0f2a56;
}
#seoia-fast,
#seoia-pro {
    display: none;
}
/* ————————————————————————
   RAPPORT GLOBAL (FAST + PRO)
———————————————————————— */
.seoia-report {
    background: #fff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    margin-bottom: 40px;
    border-left: 6px solid #0F2A56;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity:0; transform:translateY(10px); }
    to   { opacity:1; transform:none; }
}

/* HEADER (icône + titres) */
.seoia-report {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 25px;
    border: 1px solid #dde3eb;
}

.seoia-report-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.seoia-report-icon {
    font-size: 35px;
}

.seoia-report-title {
    margin: 0;
    font-size: 22px;
    color: #0f2a56;
}

.seoia-report-subtitle {
    margin: 0;
    color: #666;
}
.seoia-list {
    padding-left: 22px;
    margin: 0;
}

.seoia-list li {
    margin-bottom: 6px;
    line-height: 1.55;
}

/* COLOR VARIANTS */
.seoia-report-fast .seoia-report-icon { background:#E7F9FF; }
.seoia-report-seo  .seoia-report-icon { background:#E7F1FF; }
.seoia-report-ux   .seoia-report-icon { background:#FFF3E7; }
.seoia-report-ia   .seoia-report-icon { background:#F2E7FF; }

/* BADGES (Quick Wins / Contenu / Tech) */
.seoia-badges-row {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.seoia-badge {
    background: #f1f4fa;
    padding: 6px 12px;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid #d4dae3;
}

/* TABS (SEO / UX / IA) */
.seoia-tab-button {
    background: #f1f5fa;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    color: #0F2A56;
    margin-right: 8px;
    transition: 0.2s;
}

.seoia-tab-button.active {
    background: #0F2A56;
    color: #fff;
}

.seoia-tab-panel {
    display: none;
    margin-top: 20px;
}

.seoia-tab-panel.active {
    display: block;
}
/* PDF button */
#btn-pdf {
    margin-left: 10px;
}
/* Texte explicatif au-dessus des onglets */
.seoia-tabs-tip {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
}

/* Badges Quick Wins / Contenu / Technique */
.seoia-badges-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

/* Onglets SEO / UX / IA plus “cliquables” */
.seoia-tab-header {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.seoia-tab-button {
    padding: 10px 20px;
    border-radius: 10px;
    border: 2px solid transparent;
    background: #e8edf5;
    color: #0f2a56;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.seoia-tab-button:hover {
    background: #d9e2f3;
}

.seoia-tab-button.active {
    background: #0f2a56;
    border-color: #0a1c3a;
    color: #fff;
}

/* Mode "rapport complet" : on affiche toutes les sections */
.seoia-show-all .seoia-tab-panel {
    display: block !important;
}

/* Optionnel : atténuer légèrement la barre d’onglets en mode complet */
.seoia-show-all .seoia-tab-header {
    opacity: 0.7;
}

/* Boutons en bas (PDF & voir tout) */
.seoia-share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

#btn-viewall,
#btn-pdf {
    order: -1; /* ils apparaissent avant les boutons de partage sur desktop */
}
.seoia-metrics-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
}

.seoia-metric {
    width: 32%;
    background: #fff;
    padding: 20px 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.seoia-metric .metric-icon {
    font-size: 34px;
    margin-bottom: 8px;
}

.metric-score {
    font-size: 42px;
    font-weight: 700;
    color: #0f2a56;
    margin: 5px 0;
}

.metric-label {
    font-size: 18px;
    font-weight: 600;
    color: #0f2a56;
}

.metric-hint {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 4px;
}
/* Ligne des 3 cartes */
.seoia-cards-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 25px 0 35px;
}

/* Carte individuelle */
.seoia-card-filter {
    width: 32%;
    background: #fff;
    padding: 22px 20px;
    border-radius: 18px;
    cursor: pointer;
    text-align: center;
    border: 2px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

/* Survol */
.seoia-card-filter:hover {
    transform: translateY(-4px);
    border-color: #0f2a56;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

/* Icône */
.filter-icon {
    font-size: 38px;
    margin-bottom: 6px;
}

/* Titres */
.filter-title {
    font-size: 20px;
    font-weight: 700;
    margin: 4px 0;
    color: #0f2a56;
}

/* Description */
.filter-desc {
    font-size: 14px;
    opacity: 0.75;
}

/* État actif */
.seoia-card-filter.active {
    border-color: #0f2a56;
    background: #f2f6ff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}
/* ===== Landing CHOOSER ===== */

.seoia-landing {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

.seoia-title {
    font-size: 42px;
    margin-bottom: 10px;
    color: #0f2a56;
    font-weight: 800;
}

.seoia-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    color: #333;
}

.seoia-chooser-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- CARDS --- */

.seoia-choice-card {
    display: block;
    width: 380px;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: all .3s ease;
    border: 3px solid transparent;
}

.seoia-choice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.seoia-choice-card.fast {
    border-color: #2ecc71;
}

.seoia-choice-card.pro {
    border-color: #3498db;
}

.choice-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.seoia-choice-card h2 {
    margin-bottom: 5px;
    font-size: 28px;
    color: #0f2a56;
}

.choice-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.choice-list {
    text-align: left;
    margin: 0 auto 25px;
    max-width: 250px;
    padding: 0;
    list-style: none;
}

.choice-list li {
    padding: 6px 0;
    font-size: 15px;
}

.choice-btn {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: #0f2a56;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background .25s;
}

.seoia-choice-card.fast .choice-btn {
    background: #2ecc71;
}
.seoia-choice-card.pro .choice-btn {
    background: #3498db;
}

.seoia-choice-card:hover .choice-btn {
    background: #000;
}
/* Container général */
.seoia-landing {
    text-align: center;
    padding: 50px 20px;
}

.seoia-title {
    font-size: 42px;
    font-weight: 800;
    color: #0f2a56;
    margin-bottom: 10px;
}

.seoia-subtitle {
    font-size: 18px;
    color: #444;
    margin-bottom: 40px;
}

/* Flex cartes côte à côte */
.seoia-chooser-flex {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Carte */
.seoia-choice-card {
    width: 340px;
    padding: 30px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: 0.25s ease;
    text-decoration: none;
    color: #222;
}

.seoia-choice-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.choice-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.choice-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.choice-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 25px;
}

.choice-list li {
    margin-bottom: 8px;
}

/* Bouton */
.choice-btn {
    display: inline-block;
    padding: 12px 18px;
    border: none;
    background: #0f2a56;
    color: white;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.25s ease;
}

.choice-btn:hover {
    background: #133873;
}

/* Couleurs spécifiques */
.seoia-choice-card.fast {
    border-top: 6px solid #007bff;
}
.seoia-choice-card.pro {
    border-top: 6px solid #ff6a00;
}

/* MOBILE */
@media (max-width: 768px) {
    .seoia-chooser-flex {
        flex-direction: column;
        align-items: center;
    }

    .seoia-choice-card {
        width: 90%;
    }
}
