/* ==========================================================
   STATION MÉTÉO OCTON - SALAGOU (VERSION MODERNE FIXE)
   ========================================================== */

:root {
    --bleu-octon: #2980b9;
    --bleu-pluie: #1e3c72;
    --blanc: #ffffff;
    --fond-gris: #f4f7f9;
    --ruffe-salagou: #A82511; /* Le rouge typique du Salagou */
    /* Ombre de base plus douce et permanente */
    --ombre-fixe: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Conteneur principal */
.container_octon { 
    max-width: 850px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    gap: 25px; 
    padding: 10px;
}

/* Titre principal du site */
.titre_template { 
    color: var(--ruffe-salagou); 
    text-align: center; 
    font-size: 2rem; 
    font-weight: bold;
    margin-bottom: 20px;
}

/* Style des Sections (Cartes) - SANS EFFET DE ZOOM */
.section { 
    background: var(--blanc); 
    border-radius: 12px; 
    box-shadow: var(--ombre-fixe); /* Ombre permanente douce */
    overflow: hidden;
    border: none;
    /* Transition supprimée car plus d'effet au survol */
}

/* En-tête des sections avec dégradé Lac du Salagou */
.section h2 {
    background: linear-gradient(135deg, var(--bleu-pluie) 0%, var(--bleu-octon) 100%);
    color: var(--blanc);
    padding: 15px 20px;
    font-size: 1.1rem;
    text-align: left;
    margin: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
}

/* La petite barre rouge "Ruffe" devant le titre */
.section h2::before {
    content: "";
    width: 4px;
    height: 18px;
    background-color: var(--ruffe-salagou);
    margin-right: 12px;
    border-radius: 2px;
}

/* Contenu intérieur */
.contenu { 
    padding: 20px; 
}

/* Tableaux à l'intérieur des sections */
table { 
    width: 100%; 
    border-collapse: collapse; 
    table-layout: fixed;
}

th {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    padding-bottom: 5px;
    font-weight: 600;
}

td { 
    padding: 15px 5px; 
    border-bottom: 1px solid #f0f4f8;
    text-align: center;
    vertical-align: middle;
    font-size: 1rem;
    color: #2c3e50;
}

/* Supprimer la bordure sur la dernière ligne du tableau */
tr:last-child td {
    border-bottom: none;
}

/* Mise en avant des valeurs */
.highlight { 
    color: var(--bleu-octon); 
    font-size: 1.2rem; 
    font-weight: bold; 
}

.pluie { 
    color: var(--bleu-pluie); 
    font-weight: bold; 
}

/* Spécificité pour la première section (Infos locales) */
.section:first-of-type {
    border-left: 6px solid var(--ruffe-salagou);
}

/* Responsive : passage en 2 colonnes sur grand écran */
@media (min-width: 768px) {
    .container_octon {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    /* Les sections larges */
    .section:nth-child(1), 
    .section:nth-child(2),
    .section:last-child { 
        grid-column: span 2; 
    }
}