
/* -------------------------
   TEAVISO.PE STYLE
   Version : juin 2025
   ------------------------- */

/* --- BASE --- */
body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #fafbfc;
    color: #232323;
}

/* --- NAVBAR HOVER EFFECT --- */
nav.navbar .navbar-nav .nav-link:hover,
nav.navbar .navbar-nav .nav-link:focus,
nav.navbar .navbar-nav .nav-item:hover > .nav-link,
nav.navbar .navbar-nav .nav-item:focus > .nav-link {
    color: #095e23 !important;
    text-decoration: none !important;
    transition: color 0.2s, text-shadow 0.2s;
    text-shadow: 0 0 8px #d4f5d4, 0 0 16px #095e23;
}

/* --- CARDS --- */
.card {
    border: none;
    box-shadow: 0 4px 14px rgba(60,72,88,.06);
    border-radius: 18px;
    transition: box-shadow .2s;
}
.card:hover {
    box-shadow: 0 8px 24px rgba(60,72,88,.12);
}
.card .list-unstyled li {
    margin-bottom: 0.75em;
    line-height: 1.7;
}

/* --- WIDGETS --- */
.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.widget-title i {
    color: #66bb6a !important;
    margin-right: 0.35em;
}

/* --- FOOTER --- */
.footer {
    background: #232323;
    color: #fff;
    padding: 2.5rem 0 0.5rem 0;
}
.footer a {
    color: #a8e6a1;
}
.footer .widget-title {
    color: #a8e6a1;
}
.copyrights {
    background: #111;
    color: #bbb;
    text-align: center;
    padding: 1rem 0 0.5rem 0;
    font-size: 0.95rem;
}

/* --- SCROLL TO TOP BUTTON --- */
#scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #232323;
    color: #a8e6a1;
    border-radius: 50%;
    padding: 12px 16px;
    font-size: 1.4rem;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(60,72,88,.22);
}
#scroll-to-top:hover {
    background: #a8e6a1;
    color: #232323;
}

/* --- HERO BANNER --- */
.hero-banner {
    max-width: 500px;
    margin: 2.3rem auto;
    position: relative;
}
.hero-banner img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 90vw;       /* largeur maximale adaptative */
    width: auto;           /* conserve la taille réelle de l'image */
    height: auto;
    border-radius: 18px;
}
.hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    z-index: 2;
    text-align: center;
}
.hero-title h1 {
    font-size: 2.3rem;
    color: #004225;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px #fff, 0 4px 24px #bbb;
    font-weight: 700;
}
.hero-title span {
    color: #66bb6a;
}
.hero-title p.lead {
    color: #232323;
    text-shadow: 0 2px 8px #fff;
}
.hero-title blockquote {
    max-width: 500px;
    font-size: 1.07rem;
    background: rgba(255,255,255,0.77);
    border-radius: 12px;
    border-left: 5px solid #004225;
    color: #232323;
    padding: 0.6em 1em 0.6em 1.2em;
    margin: 1.2em auto 0 auto;
}

.logo-img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* --- TITRES --- */
h1 {
    font-size: 2rem;
    color: #004225;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.2rem;
    color: #bf6524;
    font-weight: 500;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    padding-left: 10px;
    border-left: 3px solid #a3c9a8;
    background-color: transparent;
    border-radius: 0;
}

/* Correction pour les grands titres centrés */
.text-center.mb-4 h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #004225;
    border: none;
    background: none;
    padding: 0;
    margin-bottom: 1rem;
}

/* --- LIENS CLIQUABLES DANS LES SECTIONS --- */
section ul li a {
  display: block;
  padding: 10px 8px;
  text-decoration: none;
  font-size: 1.05rem;
  transition: background-color 0.2s ease;
}
section ul li a:hover {
  background-color: #f0fdf5;
  border-radius: 6px;
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
    .hero-banner {
        max-width: 98vw;
    }
    .hero-title h1 {
        font-size: 1.4rem !important;
    }
    .hero-title blockquote {
        font-size: 0.95rem !important;
        padding: 0.5em 0.7em 0.5em 1em !important;
    }
}
