<style>
/* ===========================
   Réglages généraux
   =========================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f6f8;
  color: #1a1a1a;
  line-height: 1.6;
}

/* ===========================
   En-tête
   =========================== */

.entete {
  background: #0b3a5c;
  color: #fff;
  padding: 1rem;
  text-align: center;
  border-bottom: 4px solid #fbbf24;
}

.entete a {
  color: #fbbf24;
  text-decoration: none;
  font-weight: bold;
}

/* ===========================
   Conteneur principal
   =========================== */

.contenu {
  max-width: 1100px;
  margin: auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ===========================
   Titres
   =========================== */

h1, h2, h3 {
  color: #0b3a5c;
  margin-top: 0;
}

h1 {
  font-size: 1.9rem;
  border-bottom: 3px solid #fbbf24;
  padding-bottom: .4rem;
}

h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
}

/* ===========================
   Liens
   =========================== */

a {
  color: #0b7285;
  text-decoration: none;
  border-bottom: 1px solid rgba(11,114,133,0.3);
}

a:hover {
  color: #0c8599;
  border-color: rgba(12,133,153,0.6);
}

/* ===========================
   Boutons
   =========================== */

.bouton {
  display: inline-block;
  padding: .55rem 1.1rem;
  background: #fbbf24;
  color: #1a1a1a;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: .15s;
}

.bouton:hover {
  background: #f59e0b;
}

.bouton-secondaire {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;

    padding: 0.45rem 0.9rem;
    border-radius: 6px;

    background: #f3f6fa;
    color: #1a4f8b;
    border: 1px solid #c9d7e8;

    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;

    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bouton-secondaire:hover {
    background: #e8f0fa;
    border-color: #b7c9e1;
    color: #163f70;
}

.bouton-secondaire:active {
    background: #dce7f5;
    border-color: #a8bdd8;
}

.bouton-secondaire svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}


/* ===========================
   Formulaires
   =========================== */

form {
  background: #f7fafc;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  border: 1px solid #d9e2ec;
  margin: 1.5rem 0;
}

label {
  font-weight: bold;
  display: block;
  margin-top: .8rem;
}

input[type="text"],
select {
  width: 100%;
  padding: .5rem;
  margin-top: .3rem;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  font-size: 1rem;
}

input[type="submit"] {
  margin-top: 1rem;
}

/* ===========================
   Tableaux (résultats)
   =========================== */

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

th {
  background: #0b3a5c;
  color: #fff;
  padding: .6rem;
  text-align: left;
}

td {
  padding: .6rem;
  border-bottom: 1px solid #e2e8f0;
}

tr:nth-child(even) {
  background: #f7fafc;
}

/* ===========================
   Pied de page
   =========================== */

.pied {
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  color: #0b3a5c;
  font-size: .9rem;
}

/* ===========================
   Cards pour les résultats
   =========================== */

.cartes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    margin-top: 1.5rem;
}

.carte {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    padding: 15px 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.carte h3 {
    margin-top: 0;
    color: #0b3a5c;
}

.carte a {
    font-weight: bold;
    color: #0b7285;
}

.carte a:hover {
    color: #0c8599;
}

.carte-aide {
	margin-top: 6px;
	padding: 10px;
	background: #e3f2fd;
	border-left: 3px solid #1e88e5;
	border-radius: 4px;
	font-size: 0.9em;
}

.carte-erreur {
	margin-top: 6px;
	padding: 10px;
	background: #ffdddd;
	border-left: 3px solid #d8000c;
	border-radius: 4px;
	font-size: 0.9em;
}

/* Le conteneur de toutes les cartes */
.cartes-res {
    display: block;          /* Empêche l’alignement horizontal */
    width: 100%;
}

/* Une carte = un site */
.result-card {
    width: 100%;             /* Une carte par ligne */
    display: flex;
    flex-direction: column;  /* Chaque résultat sur sa propre ligne */
    gap: 6px;                /* Espacement propre entre les résultats */
	box-sizing: border-box;

    padding: 14px 18px;
    margin: 14px 0;

    border-radius: 10px;
    background: #f7f9fc;
    border: 1px solid #dce3ec;
}

/* Titre du site */
.result-card .result-left h3 {
    margin: 0 0 6px 0;
    font-size: 1.2rem;
    color: #1a3d7c;
}

/* Lien d’un résultat */
.result-card a {
    display: block;          /* Force chaque lien sur sa propre ligne */
    text-decoration: none;
    color: #1a73e8;
}

.result-card a:hover {
    text-decoration: underline;
}

.result-card:nth-child(odd) {
    background: #f7f9fc;
}

.result-card:nth-child(even) {
    background: #eef2f7;
}

/* ci-dessous pour la demande de site */
/* Section compacte */
.section.carte {
    padding: 12px 16px;    /* réduit */
    margin-bottom: 14px;
}

/* Titre compact */
.section.carte h2 {
    margin: 0 0 10px 0;
    font-size: 1.05rem;
}

/* Ajoute un espace avant chaque libellé */
.form-ligne label {
    margin-left: 6px;          /* espace avant le label */
    margin-bottom: 3px;
    font-size: 0.95rem;
    text-align: left;
}

/* Champs plus petits, avec espace à gauche et à droite */
.form-ligne input[type="text"],
.form-ligne input[type="email"],
.form-ligne input[type="password"] {
    width: calc(100% - 40px);  /* réduit la largeur */
    margin-left: 6px;          /* espace à gauche */
    margin-right: 6px;         /* espace à droite */
    padding: 6px 8px;
    font-size: 0.95rem;
    box-sizing: border-box;
}

/* Ligne avec préfixe (URL du site) */
.input-prefix {
    margin-left: 6px;          /* espace avant */
    gap: 4px;
    font-size: 0.95rem;
}

/* Captcha compact + aligné */
.captcha-zone {
    margin-left: 6px;          /* espace avant */
    gap: 6px;
}


/* Checkbox compacte + espace avant */
.checkbox-ligne {
    margin-left: 6px;          /* espace avant */
    gap: 6px;
    font-size: 0.95rem;
}

/* Boutons avec marge horizontale */
.buttons {
    margin-left: 6px;
}

/* pour la confirmation de demande de site */
.gm-ligne {
    display: inline-block;
    vertical-align: middle;
}

.gm-coche {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    margin-right: 6px;
}

.gm-coche circle {
    fill: #f7e79e;        /* jaune Généamania */
    stroke: #1a4f8b;      /* bleu Généamania */
    stroke-width: 1.6;
}

.gm-coche path {
    fill: none;
    stroke: #1a4f8b;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gm-texte {
    display: inline-block;
    vertical-align: middle;
    color: #163a63;
}

</style>
