body {
  font-family: Georgia, Times, Arial, Montserrat, sans-serif;
  margin: 0;
  padding: 0;
  background: url("Chef de cuisine.jpg") no-repeat center center fixed;
  background-size: cover;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Bandeau du header */
header {
    background:  #FAF7F7;
    padding: 8px 16px;
    margin-bottom: 18px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* H1 propre (texte seul, SEO OK) */
header h1 {
    margin: 0;               /* supprime l'espace autour */
    font-size: 1.2rem;       /* contrôle la taille */
    line-height: 1.2;        /* réduit la hauteur */
    font-weight: 700;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-top img {
    height: 60px;    /* ou 50 / 80 selon ton besoin */
    width: auto;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 18px;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

/* Image principale de la recette */
.header img {
    flex-shrink: 0;
    max-width: 450px;
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

.header .info {
    flex: 1;
}

.time-inline {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.time-pill {
    background: #fff7e6;
    border: 1px solid #ffe4b5;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.95rem;
}

.section { 
    margin-top: 16px; 
}

ul.ingredients,
ol.steps {
    padding-left: 1.1rem;
}

.present {
    font-size: 0.9em;
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 1em;
    display: block;
}

h2 {
    font-size: 1.1rem;
    line-height: 1.15;
    margin: 5px 0 10px;
    font-weight: 650;
}

/* Style global pour tous les liens */
a {
    color: #0066cc;           /* bleu principal */
    text-decoration: none;    /* pas de soulignement */
    transition: 0.2s;
}

a:hover {
    color: #004a99;           /* bleu plus foncé au survol */
    text-decoration: underline;
}

/* Liens intégrés dans les paragraphes */
p a {
    background: #f2f6ff;
    padding: 2px 4px;
    border-radius: 4px;
}

.skip-intro {
    text-align: center;
    margin: 6px 0 9px 0;
}

.skip-intro a {
    display: inline-block;
    background: #2E96FF;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s ease;
}

.skip-intro a:hover {
    background: #004a99;
    transform: translateY(-1px);
}


/* --- Bloc Histoire / Intro --- */
.histoire_intro {
    margin-top:0;
    margin-bottom:1em;
    line-height:1.4;
}

.histoire_label {
    font-weight:500;
    font-style:italic;
    color:#555;
    display:block;
    margin-bottom:0.3em;  /* réduit l’espace sous le span */
}

.histoire_link {
    text-decoration:none;
    color:#0077cc;
}

.intro_txt {
    background-color: #f9f9f9;
    padding: 0.5em 0.8em;
    border-left: 3px solid #ccc;
    margin:0 0 0.5em 0; /* supprime marges excessives */
}

.a_decouvrir {
    display:block;
    margin:0.3em 0;
    font-weight:bold;
}

.intro_links {
    margin:0;
    padding-left:1.2em;
}

.intro_links li {
    margin-bottom:0.2em;
}

.intro_links a {
    text-decoration:none;
    color:#0077cc;
}

.intro_links a:hover {
    text-decoration:underline;
}

/* Responsive */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
    }
    .time-inline {
        flex-direction: column;
        align-items: flex-start;
    }
    .time-inline .time-pill,
    .time-inline button {
        width: 100%;
        margin: 4px 0;
    }
}

/* Boutons Toquata */
a.btn {
    display: inline-block;
    text-decoration: none;
    color: #0066cc;
    padding: 6px 6px;
    border-radius: 6px;
    background: #f2f6ff;
    transition: 0.2s;
    margin-right: 8px;
}

a.btn:hover {
    background: #dbe8ff;
    color: #004a99;
}



@media (max-width: 600px) {
    .header {
        flex-direction: column;
    }
    .time-inline {
        flex-direction: column;
        align-items: flex-start;
    }
    .time-inline .time-pill,
    .time-inline button {
        width: 100%;
        margin: 4px 0;
    }
}

a.btn {
    display: inline-block;
    text-decoration: none;
    color: #0066cc;
    padding: 6px 6px;
    border-radius: 6px;
    background: #f2f6ff;
    transition: 0.2s;
    margin-right: 8px;
}

a.btn:hover {
    background: #dbe8ff;
    color: #004a99;
}


