* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f7f8fb;
    color: #1f2430;
    line-height: 1.6;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 8%;
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

header h1 {
    font-size: 28px;
    color: #5b3f8c;
}

nav {
    display: flex;
    gap: 24px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

nav a:hover {
    color: #5b3f8c;
}

main section:first-child {
    min-height: 70vh;
    padding: 90px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #f4efff, #eef8ff);
}

main section:first-child > p:first-child {
    color: #5b3f8c;
    font-weight: 700;
    margin-bottom: 18px;
}

main section:first-child h2 {
    font-size: 52px;
    line-height: 1.1;
    max-width: 750px;
    margin-bottom: 24px;
}

main section:first-child p {
    max-width: 650px;
    font-size: 19px;
    margin-bottom: 28px;
}

button {
    width: fit-content;
    border: none;
    background: #5b3f8c;
    color: white;
    padding: 16px 26px;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(11, 143, 60, 0.25);
}

button:hover {
    transform: translateY(-2px);
}

main section:nth-child(2) {
    padding: 70px 8%;
    background: white;
}

main section:nth-child(2) h2 {
    font-size: 36px;
    margin-bottom: 35px;
    color: #5b3f8c;
}

main section:nth-child(2) p {
    background: #f7f8fb;
    padding: 22px;
    border-radius: 18px;
    margin-bottom: 16px;
    max-width: 700px;
    font-size: 18px;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    nav {
        flex-wrap: wrap;
        gap: 14px;
    }

    main section:first-child {
        padding: 60px 6%;
    }

    main section:first-child h2 {
        font-size: 38px;
    }

    main section:nth-child(2) {
        padding: 50px 6%;
    }
}#map {
    width: 100%;
    height: 450px;
    margin-top: 30px;
    border-radius: 20px;
    overflow: hidden;
}
.icone-utilisateur {
    background: transparent;
    border: none;
}

.point-utilisateur {
    width: 24px;
    height: 24px;
    background: #2196F3 !important;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.centre-utilisateur {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}
.icone-distributeur-proche {
    background: transparent;
    border: none;
}

.marqueur-distributeur-proche {
    width: 34px;
    height: 34px;
    background: #0B8F3C;
    border: 4px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 34px;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}
.marqueur-distributeur-proche span {
    display: block;
    font-size: 18px;
    line-height: 1;
}
.icone-distributeur-proche {
    background: transparent !important;
    border: none !important;
}

.icone-distributeur-proche .marqueur-distributeur-proche {
    width: 34px !important;
    height: 34px !important;
    background: #0B8F3C !important;
    border: 4px solid white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.icone-distributeur-proche .patte {
    display: block !important;
    color: white !important;
    font-size: 18px !important;
    line-height: 1 !important;
    position: relative !important;
    z-index: 999 !important;
}
.marqueur-distributeur-proche {
    width: 34px;
    height: 34px;
    background: #0B8F3C;
    border: 4px solid white;
    border-radius: 50%;
    position: relative;
    box-sizing: border-box;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.marqueur-distributeur-proche .coussinet {
    position: absolute;
    width: 5px;
    height: 7px;
    background: white;
    border-radius: 50%;
}

.marqueur-distributeur-proche .coussinet-1 {
    top: 5px;
    left: 7px;
    transform: rotate(-25deg);
}

.marqueur-distributeur-proche .coussinet-2 {
    top: 3px;
    left: 13px;
    transform: rotate(-8deg);
}

.marqueur-distributeur-proche .coussinet-3 {
    top: 3px;
    right: 7px;
    transform: rotate(8deg);
}

.marqueur-distributeur-proche .coussinet-4 {
    top: 6px;
    right: 3px;
    transform: rotate(25deg);
}

.marqueur-distributeur-proche .coussinet-central {
    position: absolute;
    width: 13px;
    height: 10px;
    background: white;
    border-radius: 50% 50% 45% 45%;
    left: 7px;
    top: 13px;
}
/* ===== BOUTONS CHARTE TOUTOU MAP ===== */

button,
.btn-itineraire {
    background: #0B8F3C !important;
    background-color: #0B8F3C !important;
    color: white !important;
    border: none !important;
}

button:hover,
.btn-itineraire:hover {
    background: #087A33 !important;
    background-color: #087A33 !important;
}
/* =========================================
   CHARTE GRAPHIQUE TOUTOU MAP - VERT
   ========================================= */

/* Logo / titre Toutou Map */
header h1 {
    color: #0B8F3C !important;
}

/* Titres principaux */
main h1,
main h2,
main section h2 {
    color: #0B8F3C !important;
}

/* Boutons principaux */
button,
.btn-itineraire {
    background: #0B8F3C !important;
    background-color: #0B8F3C !important;
    color: white !important;
    border: none !important;
}

/* Survol des boutons */
button:hover,
.btn-itineraire:hover {
    background: #087A33 !important;
    background-color: #087A33 !important;
}

/* Liens du menu au survol */
nav a:hover {
    color: #0B8F3C !important;
}

/* Ombre des boutons */
button {
    box-shadow: 0 8px 20px rgba(11, 143, 60, 0.20) !important;
}
/* =========================================
   SUPPRESSION DES DERNIERS ELEMENTS VIOLETS
   ========================================= */

/* Texte d'introduction au-dessus du grand titre */
main section:first-child > p:first-child {
    color: #0B8F3C !important;
}

/* Bouton Y aller dans la popup Leaflet */
.leaflet-popup-content button,
.leaflet-popup-content .btn-itineraire {
    background: #0B8F3C !important;
    background-color: #0B8F3C !important;
    color: white !important;
}

.leaflet-popup-content button:hover,
.leaflet-popup-content .btn-itineraire:hover {
    background: #087A33 !important;
    background-color: #087A33 !important;
}
.icone-distributeur-proche {
    pointer-events: auto !important;
}

.marqueur-distributeur-proche,
.marqueur-distributeur-proche * {
    pointer-events: none !important;
}

/* Boutons principaux côte à côte */
.actions-principales {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.actions-principales button {
  margin: 0;
}

/* Sur téléphone : boutons l'un sous l'autre */
@media (max-width: 700px) {
  .actions-principales {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}
/* =========================================
   NOUVEAU DESIGN - PAGE PRINCIPALE TOUTOU MAP
   ========================================= */

.home-page {
    background: #f4f8f5;
    color: #163c2f;
    font-family: Arial, sans-serif;
}

/* En-tête */
.home-page .app-header {
    background: #ffffff;
    padding: 18px 20px 14px;
    justify-content: center;
    text-align: center;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1000;
}

.home-page .logo-zone {
    width: 100%;
}

.home-page .logo-zone h1 {
    margin: 0;
    font-size: 34px;
    font-weight: 800;
    color: #0b6f43 !important;
    line-height: 1.05;
    letter-spacing: -1px;
}

.home-page .logo-zone p {
    margin: 5px 0 0;
    font-size: 15px;
    color: #5b6d64;
    font-weight: 500;
}

/* Zone principale */
.home-page main {
    width: 100%;
}

.home-page main section:first-child {
    min-height: auto;
    padding: 18px 20px 20px;
    background: #f4f8f5;
    display: block;
}

/* Actions */
.home-page .actions-principales {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.home-page .actions-principales button {
    width: 100%;
    min-height: 54px;
    margin: 0;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(11, 143, 60, 0.14) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-page .actions-principales button:first-child {
    background: #0b8f3c !important;
    color: #ffffff !important;
}

.home-page #bouton-signaler {
    background: #ffffff !important;
    color: #0b8f3c !important;
    border: 2px solid #0b8f3c !important;
}

.home-page .actions-principales button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(11, 143, 60, 0.18) !important;
}

/* Carte */
.home-page #map {
    width: 100%;
    max-width: 1200px;
    height: calc(100vh - 180px);
    min-height: 520px;
    margin: 0 auto;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(24, 65, 45, 0.12);
    border: 1px solid rgba(11, 143, 60, 0.08);
}

/* Mobile */
@media (max-width: 700px) {

    .home-page .app-header {
        padding: 14px 14px 10px;
    }

    .home-page .logo-zone h1 {
        font-size: 28px;
    }

    .home-page .logo-zone p {
        font-size: 13px;
        margin-top: 3px;
    }

    .home-page main section:first-child {
        padding: 12px 12px 14px;
    }

    .home-page .actions-principales {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-bottom: 12px;
    }

    .home-page .actions-principales button {
        min-height: 50px;
        font-size: 15px;
        border-radius: 14px;
    }

    .home-page #map {
        height: calc(100vh - 210px);
        min-height: 480px;
        border-radius: 18px;
    }
}
/* ===== TEXTE INTRODUCTION TOUTOU MAP ===== */

.home-page .intro-home {
  text-align: center;
  margin-top: 18px;
  max-width: 850px;
margin-left: auto;
margin-right: auto; 
}

.home-page .intro-home p {
  margin: 4px auto;
  max-width: 850px;
  font-size: 16px;
  line-height: 1.4;
  color: #1f2430;
}

.home-page .intro-home p {
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
}

.home-page .intro-home .intro-title {
    font-size: 25px;
    font-weight: 700;
    color: #0B8F3C;
    margin-bottom: 10px;
}

.home-page .intro-home .intro-fun {
    font-size: 21px;
    font-weight: 600;
    margin-top: 10px;
}

/* Adaptation téléphone */
@media (max-width: 700px) {
  .home-page .intro-home {
    margin-top: 12px;
  }

  .home-page .intro-home p {
    font-size: 14px;
    line-height: 1.35;
  }

  .home-page .intro-home .intro-title {
    font-size: 16px;
  }
}
/* ===== LOGO TOUTOU MAP ===== */

.home-page .logo-toutou-map {
    display: block;
    width: 220px;
    max-width: 70%;
    height: auto;
    margin: 0 auto 25px auto;
}

@media (max-width: 700px) {
    .home-page .logo-toutou-map {
        width: 160px;
        max-width: 65%;
        margin-bottom: 20px;
    }
}
/* ===== ESPACEMENTS PLUS AERES ===== */

.home-page .app-header {
    padding-top: 26px;
    padding-bottom: 34px;
}

.home-page .logo-toutou-map {
    margin-bottom: 34px;
}

.home-page .intro-home {
    margin-top: 0;
    margin-bottom: 42px;
}

.home-page .intro-home p {
    margin: 0 0 16px 0;
}

.home-page .intro-home .intro-title {
    margin-bottom: 18px;
}

.home-page .intro-home .intro-fun {
    margin-top: 20px;
    margin-bottom: 0;
}

.home-page .actions-principales {
    margin-bottom: 32px;
}

@media (max-width: 700px) {
    .home-page .app-header {
        padding-top: 18px;
        padding-bottom: 24px;
    }

    .home-page .logo-toutou-map {
        margin-bottom: 24px;
    }

    .home-page .intro-home {
        margin-bottom: 28px;
    }

    .home-page .intro-home p {
        margin-bottom: 12px;
    }

    .home-page .intro-home .intro-title {
        margin-bottom: 14px;
    }

    .home-page .intro-home .intro-fun {
        margin-top: 16px;
    }

    .home-page .actions-principales {
        margin-bottom: 22px;
    }
}
/* ===== BOUTONS ACCUEIL RECTANGULAIRES ===== */

.home-page .actions-principales button {
    border-radius: 14px !important;
    min-height: 68px;
    padding: 16px 28px;
    font-size: 18px;
    font-weight: 700;
}

@media (max-width: 700px) {
    .home-page .actions-principales button {
        border-radius: 12px !important;
        min-height: 58px;
        padding: 14px 18px;
        font-size: 16px;
    }
}
/* ===== FOND DECORATIF TOUTOU MAP ===== */

.home-page .app-header {
    position: relative;
    overflow: hidden;
}

.home-page .app-header::before {
    content: "🐾";
    position: absolute;
    left: 5%;
    top: 18%;
    font-size: 75px;
    opacity: 0.07;
    transform: rotate(-18deg);
    pointer-events: none;
}

.home-page .app-header::after {
    content: "🐾";
    position: absolute;
    right: 5%;
    top: 55%;
    font-size: 65px;
    opacity: 0.06;
    transform: rotate(18deg);
    pointer-events: none;
}
/* ===== PETITES CROTTES EN FILIGRANE ===== */

.home-page .logo-zone {
    position: relative;
}

.home-page .logo-zone::before {
    content: "💩";
    position: absolute;
    left: 14%;
    top: 42%;
    font-size: 34px;
    opacity: 0.045;
    transform: rotate(-10deg);
    pointer-events: none;
}

.home-page .logo-zone::after {
    content: "💩";
    position: absolute;
    right: 14%;
    top: 22%;
  font-size: 30px;
    opacity: 0.04;
    transform: rotate(12deg);
    pointer-events: none;
}
.home-page .app-header {
    background: #F8FCF9;
}
/* ===== NOUVELLE INTRO TOUTOU MAP ===== */

.home-page .intro-home {
    max-width: 1000px;
    margin: 28px auto 0;
    padding: 0 25px;
    text-align: center;
}

/* Petite accroche */
.home-page .intro-home .intro-small {
    font-size: 18px;
    font-weight: 700;
    color: #0B8F3C;
    margin: 0 0 14px;
}

/* Phrase principale */
.home-page .intro-home .intro-title {
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
    color: #0B8F3C;
    margin: 0 auto 18px;
    max-width: 900px;
}

/* Explication */
.home-page .intro-home .intro-description {
    font-size: 21px;
    line-height: 1.45;
    font-weight: 400;
    color: #1f2430;
    margin: 0 auto 18px;
}

/* Phrase finale */
.home-page .intro-home .intro-fun {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    color: #1f2430;
    margin: 0 auto;
    max-width: 900px;
}

/* ===== VERSION MOBILE ===== */

@media (max-width: 700px) {

    .home-page .intro-home {
        margin-top: 20px;
        padding: 0 20px;
    }

    .home-page .intro-home .intro-small {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .home-page .intro-home .intro-title {
       font-size: 26px;
        line-height: 1.12;
        margin-bottom: 16px;
    }

    .home-page .intro-home .intro-description {
        font-size: 17px;
        line-height: 1.4;
        margin-bottom: 16px;
    }

    .home-page .intro-home .intro-fun {
        font-size: 16px;
        line-height: 1.4;
    }
}
/* ===== TITRE PRINCIPAL PLUS IMPACTANT ===== */

.home-page .intro-home .intro-title {
    font-size: 48px;
    line-height: 1.08;
    font-weight: 800;
    color: #0B8F3C;
    max-width: 1050px;
    margin: 0 auto 22px;
    letter-spacing: -1px;
}

@media (max-width: 700px) {
    .home-page .intro-home .intro-title {
        font-size: 30px;
        line-height: 1.1;
        max-width: 100%;
        letter-spacing: -0.5px;
    }
}
/* ===== CARTE VERSION MOBILE ===== */

@media (max-width: 700px) {
    .home-page #map {
        height: 520px;
    }
}
/* ===== ICONE SIGNALEMENT PAGE ACCUEIL ===== */
.home-page .icone-signalement {
    color: #07963f;
    font-size: 1.25em;
    margin-right: 8px;
}
