/* =========================
   PRESSTOULOUSE
   Style général du site
   ========================= */

/* Police Open Sans hébergée sur le site (aucun appel à Google Fonts) */
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/open-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/open-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/open-sans-latin-700-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("fonts/open-sans-latin-800-normal.woff2") format("woff2");
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    background-color: #F9F6F0;
    color: #000000;
    line-height: 1.6;
}


/* MENU */

header {
    width: 100%;
    min-height: 76px;
    padding: 0 6%;
position: sticky;
top: 0;
z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background-color: rgba(249, 246, 240, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #ECE7DE;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    display: block;
    width: 105px; 
    height: auto;
}


nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 30px;
}


nav a {
    text-decoration: none;
    color: #73978A;
    font-size: 15px;
    font-weight: 600;
}

nav a:hover {
    color: #C85126;
}





/* ACCUEIL */

#accueil {
    min-height: 560px;
    padding: 100px 8%;

    display: flex;
    align-items: center;

    background-image: url("images/hero-presstoulouse.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



.accueil-contenu {
    max-width: 590px;
}

.sur-titre {
    margin-bottom: 15px;
    color: #C85126;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

h1 {
    margin-bottom: 18px;
    color: #73978A;
    font-size: 62px;
    line-height: 1.05;
}

.accueil-description {
    max-width: 580px;
    margin-bottom: 28px;
    color: #6B6B6B;
    font-size: 21px;
}

.bouton-principal,
.bouton-secondaire {
    display: inline-block;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
}
.bouton-principal,
.bouton-secondaire,
.bouton-application {
    transition: background-color 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease,
                transform 0.2s ease;
}

.bouton-principal:hover,
.bouton-application:hover {
    background-color: #658679;
    transform: translateY(-2px);
}


.bouton-secondaire:hover {
    background-color: #73978A;
    border-color: #73978A;
    color: #ffffff;
    transform: translateY(-2px);
}
.bouton-principal {
    background-color: #73978A;
    color: #ffffff;
}

.bouton-secondaire {
    border: 2px solid #73978A;
    color: #73978A;
    background-color: #ffffff;
}

/* COMMENT ÇA MARCHE */



    #fonctionnement {
    padding: 50px 6%;
    background-color: #F9F6F0;
    text-align: center;
}

.fonctionnement-sur-titre {
    margin-bottom: 10px;
    color: #C85126;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}


    #fonctionnement h2 {
    margin-bottom: 35px;
    color: #73978A;
    font-size: 38px;
    line-height: 1.2;
}

.etapes {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto 30px;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.etape {
    position: relative;

    min-height: 190px;
padding: 22px 24px;

    background-color: #FFFFFF;
    border: 1px solid rgba(115, 151, 138, 0.20);
    border-radius: 22px;

    text-align: left;

    box-shadow: 0 8px 25px rgba(115, 151, 138, 0.07);

    overflow: hidden;

    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.etape::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background-color: #73978A;
}

.etape:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(115, 151, 138, 0.12);
}

.numero-etape {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    margin-bottom: 16px;

    background-color: #73978A;
color: #FFFFFF;

    border-radius: 50%;

    font-size: 14px;
    font-weight: 800;
}

.etape h3 {
    margin-bottom: 15px;

    color: #73978A;
    font-size: 19px;
    line-height: 1.35;
}

.etape p {
    color: #6B6B6B;
    font-size: 15px;
    line-height: 1.6;
}

.fonctionnement-bouton {
    display: inline-block;
    padding: 15px 27px;

    background-color: #73978A;
    color: #ffffff;
transition: background-color 0.2s ease,
            transform 0.2s ease;
    border-radius: 30px;

    text-decoration: none;
    font-weight: 700;
}

.fonctionnement-bouton:hover {
    background-color: #658679;
    transform: translateY(-2px);
}


/* NOS PRESTATIONS */

#prestations {
    padding: 65px 8%;
    background-color: #F9F6F0;
    text-align: center;
}

.prestations-sur-titre {
    margin-bottom: 10px;
    color: #C85126;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

#prestations h2 {
    margin-bottom: 20px;
    color: #73978A;
    font-size: 40px;
    line-height: 1.2;
}

#prestations .prestations-intro {
    max-width: 720px;
    margin: 0 auto 35px;
    color: #6B6B6B;
    font-size: 18px;
    line-height: 1.7;
}

.prestations-grille {
    max-width: 1400px;
    margin: 0 auto 30px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.prestation-carte {
    min-height: 190px;
padding: 25px 25px;
    
transition: transform 0.25s ease, box-shadow 0.25s ease;
   background-color: #FFFFFF;
border: 1px solid rgba(115, 151, 138, 0.18);
border-radius: 22px;

text-align: left;

box-shadow: 0 8px 25px rgba(115, 151, 138, 0.06);
}
.prestation-carte:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(115, 151, 138, 0.12);
}
.prestation-carte h3 {
    margin-bottom: 15px;
    color: #73978A;
    font-size: 20px;
    line-height: 1.35;
}

.prestation-carte h3::after {
    content: "";
    display: block;
    width: 32px;
    height: 3px;
    margin-top: 10px;
    background-color: #C85126;
    border-radius: 3px;
}


#prestations .prestation-carte p {
    margin: 0;
    color: #6B6B6B;
    font-size: 16px;
    line-height: 1.6;
}

.prestations-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.prestations-tarifs,
.prestations-application {
    display: inline-block;
    padding: 15px 25px;
    border-radius: 30px;

    text-decoration: none;
    font-weight: 700;
}

.prestations-tarifs {
    border: 2px solid #73978A;
    color: #73978A;
    background-color: #ffffff;
}

.prestations-application {
    background-color: #C85126;
    color: #ffffff;
}

#prestations .prestations-commande {
    margin: 0 auto;
    color: #6B6B6B;
    font-size: 15px;
}
/* APPLICATION */

#application {
    padding: 65px 8%;
    background-color: #ffffff;
    text-align: center;
}

.application-sur-titre {
    margin-bottom: 10px;

    color: #C85126;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

#application h2 {
    margin-bottom: 20px;

    color: #73978A;
    font-size: 40px;
    line-height: 1.2;
}

#application .application-intro {
    max-width: 750px;
    margin: 0 auto 35px;

    color: #6B6B6B;
    font-size: 18px;
    line-height: 1.7;
}

.application-avantages {
    max-width: 1200px;
    margin: 0 auto 30px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.application-avantage {
    padding: 26px 28px;
transition: transform 0.25s ease, box-shadow 0.25s ease;
    background-color: #F9F6F0;
    border: 1px solid rgba(115, 151, 138, 0.18);
    border-radius: 22px;

    box-shadow: 0 8px 25px rgba(115, 151, 138, 0.06);
}
.application-avantage:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(115, 151, 138, 0.12);
}
.application-avantage h3 {
    margin-bottom: 12px;

    color: #73978A;
    font-size: 20px;
}

#application .application-avantage p {
    margin: 0;

    color: #6B6B6B;
    font-size: 16px;
    line-height: 1.6;
}

.telechargements {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.app-store,
.google-play {
    display: inline-block;

    padding: 15px 25px;
    border-radius: 30px;

    text-decoration: none;
    font-weight: 700;
}

.app-store {
    background-color: #73978A;
    color: #ffffff;
}

.google-play {
    border: 2px solid #73978A;
    background-color: #ffffff;
    color: #73978A;
}
/* PROFESSIONNELS */

#professionnels {
    padding: 65px 8%;
    background-color: #F9F6F0;
    text-align: center;
}


.professionnels-sur-titre {
    margin-bottom: 10px;

    color: #C85126;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

#professionnels h2 {
    margin-bottom: 20px;

    color: #73978A;
    font-size: 40px;
    line-height: 1.2;
}

#professionnels .professionnels-intro {
    max-width: 800px;
    margin: 0 auto 50px;

    color: #6B6B6B;
    font-size: 18px;
    line-height: 1.7;
}

.professionnels-grille {
    max-width: 1400px;
    margin: 0 auto 40px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.professionnel-carte {
    min-height: 190px;
    padding: 30px 25px;
    background-color: #ffffff;
    border: 1px solid rgba(115, 151, 138, 0.20);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(115, 151, 138, 0.06);
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.professionnel-carte:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(115, 151, 138, 0.12);
}
.professionnel-carte h3 {
    margin-bottom: 15px;

    color: #73978A;
    font-size: 20px;
    line-height: 1.35;
}
.professionnel-carte h3::after {
    content: "";
    display: block;
    width: 32px;
    height: 3px;
    margin-top: 10px;
    background-color: #C85126;
    border-radius: 3px;
}
#professionnels .professionnel-carte p {
    margin: 0;

    color: #6B6B6B;
    font-size: 16px;
    line-height: 1.6;
}

#professionnels .professionnels-contact-texte {
    max-width: 700px;
    margin: 0 auto 25px;

    color: #6B6B6B;
    font-size: 16px;
}

.contact-pro {
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.contact-pro a:hover {
    background-color: #658679;
    transform: translateY(-2px);

}
.contact-pro a {
    display: inline-block;

    padding: 15px 25px;
    border-radius: 30px;

    background-color: #73978A;
    color: #ffffff;

    text-decoration: none;
    font-weight: 700;
}
/* CONTACT */

#contact {
    padding: 55px 8%;
    background-color: #F9F6F0;
    text-align: center;
}
#contact .contact-sur-titre {
    margin-bottom: 10px;
    color: #C85126;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}
#contact h2 {
    margin-bottom: 15px;

    color: #73978A;
    font-size: 36px;
}

#contact p {
    margin-bottom: 25px;

    color: #6B6B6B;
    font-size: 18px;
}

#contact a {
    display: inline-block;
transition: background-color 0.2s ease, transform 0.2s ease;
    padding: 15px 25px;
    border-radius: 30px;

    background-color: #73978A;
    color: #ffffff;

    text-decoration: none;
    font-weight: 700;
}

#contact a:hover {
    background-color: #658679;
    transform: translateY(-2px);
}
/* PIED DE PAGE */

footer {
    padding: 35px 8%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    background-color: #73978A;
    color: #ffffff;
}

footer p {
    font-size: 14px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

footer a:hover {
    text-decoration: underline;
}
.menu-mobile {
    display: none;
    width: 44px;
    height: 44px;
    padding: 7px 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}


.menu-mobile span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 0;
    background-color: #73978A;
    border-radius: 2px;
}
.menu-mobile span {
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.menu-mobile:hover span {
    background-color: #C85126;
}

.menu-mobile:hover span:first-child {
    transform: translateX(2px);
}

.menu-mobile:hover span:last-child {
    transform: translateX(-2px);
}
.no-break {
    white-space: nowrap;
}

/* VERSION TÉLÉPHONE */
.menu-mobile.ouvert span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-mobile.ouvert span:nth-child(2) {
    opacity: 0;
}

.menu-mobile.ouvert span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 800px) {

    header {
        padding: 20px 5%;
    }

   nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 15px 5% 20px;
    background-color: #F9F6F0;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transform: none;
    border-top: 1px solid #ECE7DE;
    box-shadow: 0 8px 20px rgba(115, 151, 138, 0.08);
    
}





nav.ouvert {
    display: flex;
}
    
.menu-mobile {
    display: flex;
}
    .logo {
        font-size: 20px;
    }

    .bouton-application {
        padding: 10px 14px;
        font-size: 12px;
    }

    /* ACCUEIL */

    #accueil {
    min-height: 520px;
    padding: 60px 6%;
    background-position: 58% center;
   background-image:
    linear-gradient(
        90deg,
        rgba(249, 246, 240, 0.82) 0%,
        rgba(249, 246, 240, 0.68) 55%,
        rgba(249, 246, 240, 0.18) 100%
    ),
    url("images/hero-presstoulouse.jpg");
}
    h1 {
    font-size: 44px;
    line-height: 1.05;
}
    

    .accueil-description {
        font-size: 18px;
    }

  .accueil-boutons {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 25px;
}.accueil-boutons a {
    padding: 13px 20px;
    font-size: 14px;
}

    /* COMMENT ÇA MARCHE */

    #fonctionnement {
        padding: 55px 6%;
    }

    #fonctionnement h2 {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .etapes {
    grid-template-columns: 1fr;
}

.etape {
    min-height: auto;
    padding: 20px 24px 22px;
}

.numero-etape {
    margin-bottom: 12px;
}

.etape h3 {
    margin-bottom: 10px;
}
    

    /* PRESTATIONS */

    #prestations {
        padding: 60px 6%;
    }

    #prestations h2 {
        font-size: 32px;
    }

    .prestations-grille {
        grid-template-columns: 1fr;
    }
.prestation-carte {
    min-height: auto;
    padding: 22px 24px;
}
    .prestations-actions {
        flex-direction: column;
        align-items: center;
    }

    /* APPLICATION */

    #application {
        padding: 60px 6%;
    }

    #application h2 {
        font-size: 32px;
    }

    .application-avantages {
        grid-template-columns: 1fr;
    }
.application-avantage {
    padding: 22px 24px;
}
    .telechargements {
        flex-direction: column;
        align-items: center;
    }

    /* PROFESSIONNELS */

    #professionnels {
        padding: 60px 6%;
    }

    #professionnels h2 {
        font-size: 32px;
    }

    .professionnels-grille {
        grid-template-columns: 1fr;
    }
.professionnel-carte {
    min-height: auto;
    padding: 22px 24px;
}
    .contact-pro {
        flex-direction: column;
        align-items: center;
    }

    /* CONTACT */

    /* CONTACT */

#contact {
    padding: 55px 6%;
    background-color: #F9F6F0;
    text-align: center;
}

.contact-sur-titre {
    margin-bottom: 10px;

    color: #C85126;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

#contact h2 {
    max-width: 750px;
    margin: 0 auto 20px;

    color: #73978A;
    font-size: 36px;
    line-height: 1.25;
}

#contact p:not(.contact-sur-titre) {
    max-width: 650px;
    margin: 0 auto 30px;

    color: #6B6B6B;
    font-size: 18px;
    line-height: 1.7;
}

#contact a {
    display: inline-block;

    padding: 15px 25px;
    border-radius: 30px;

    background-color: #73978A;
    color: #ffffff;

    text-decoration: none;
    font-weight: 700;
}
/* FOOTER MOBILE */

footer {
    padding: 28px 6%;
    flex-direction: column;
    text-align: center;
    gap: 12px;
}

footer p,
footer a {
    font-size: 14px;
}


}

/* =========================================================
   Ajouts : offre, vidéo, tarif, zone, contact, pied de page
   ========================================================= */

.accueil-offre {
    margin-top: 22px;
    color: #6B6B6B;
    font-size: 15px;
}

.accueil-offre strong { color: #C85126; }

.accueil-boutons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* VIDÉO */

#video {
    padding: 65px 8%;
    background-color: #ffffff;
    text-align: center;
}

.video-sur-titre,
.zone-sur-titre {
    margin-bottom: 10px;
    color: #C85126;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

#video h2,
#zone h2 {
    margin-bottom: 30px;
    color: #73978A;
    font-size: 40px;
    line-height: 1.2;
}

.video-cadre {
    max-width: 1000px;
    margin: 0 auto;
}

.video-cadre video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #F9F6F0;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(115, 151, 138, 0.18);
}

/* TARIF */

.tarif {
    max-width: 1400px;
    margin: 0 auto 25px;
    padding: 28px 36px;
    border-radius: 22px;
    background-color: #73978A;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 16px 40px;
    flex-wrap: wrap;
    text-align: left;
}

.tarif-montant {
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

#prestations .tarif-texte {
    flex: 1;
    min-width: 240px;
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
}

.tarif-texte strong {
    display: block;
    font-size: 19px;
}

/* ZONE */

#zone {
    padding: 65px 8%;
    background-color: #ffffff;
    text-align: center;
}

#zone .zone-intro {
    max-width: 720px;
    margin: -10px auto 30px;
    color: #6B6B6B;
    font-size: 18px;
}

.communes {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.communes li {
    padding: 9px 18px;
    border-radius: 30px;
    background-color: #F9F6F0;
    color: #000000;
    font-size: 15px;
    font-weight: 600;
}

.communes li:has(a) { background-color: #73978A; }

.communes a {
    color: #ffffff;
    text-decoration: none;
}

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

/* CONTACT ET PIED DE PAGE */

.contact-boutons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

#contact .contact-boutons a + a {
    background-color: #ffffff;
    color: #73978A;
    border: 2px solid #73978A;
}

.footer-liens {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

/* PAGES COMMUNES */

.page-commune {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 6% 70px;
}

.fil-ariane {
    margin-bottom: 22px;
    color: #6B6B6B;
    font-size: 14px;
}

.fil-ariane a { color: #73978A; }

.page-commune h1 { margin-bottom: 18px; font-size: 52px; }

.page-commune h2 {
    margin: 44px 0 12px;
    color: #73978A;
    font-size: 30px;
    line-height: 1.2;
}

.page-commune p,
.page-commune li {
    color: #6B6B6B;
    font-size: 17px;
    margin-bottom: 12px;
}

.page-commune ul { padding-left: 22px; }
.page-commune strong { color: #000000; }
.page-commune a:not(.bouton-principal):not(.bouton-secondaire) { color: #73978A; }
.page-commune .video-cadre { margin: 34px 0 0; }

.faq details {
    background-color: #ffffff;
    border: 1px solid rgba(115, 151, 138, 0.18);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 10px;
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    color: #000000;
}

.faq details p { margin: 10px 0 0; }

@media (max-width: 800px) {
    #video, #zone { padding: 55px 6%; }
    #video h2, #zone h2 { font-size: 30px; }
    .video-cadre video { aspect-ratio: 9 / 16; max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; }
    .tarif { padding: 24px; }
    .tarif-montant { font-size: 52px; }
    .page-commune h1 { font-size: 38px; }
    .footer-liens { justify-content: center; }
}

/* Lisibilité du texte d'accueil sur la photo (ordinateur) */
@media (min-width: 801px) {
    #accueil {
        background-image:
            linear-gradient(90deg, rgba(249, 246, 240, 0.88) 0%, rgba(249, 246, 240, 0.6) 38%, rgba(249, 246, 240, 0) 62%),
            url("images/hero-presstoulouse.jpg");
    }
}

.page-commune .sur-titre { color: #C85126; font-size: 14px; }


/* En-tête agrandi : logo plus grand, menu sur une ligne */
header { min-height: 104px; gap: 32px; }
.logo img { width: 150px; }
@media (min-width: 801px) {
    nav {
        position: static;
        transform: none;
        margin-left: auto;
        align-items: center;
    }
}
nav a { white-space: nowrap; }

@media (min-width: 801px) and (max-width: 1100px) {
    nav { gap: 18px; }
    nav a { font-size: 14px; }
    .logo img { width: 120px; }
}

@media (max-width: 800px) {
    header { min-height: 84px; }
    .logo img { width: 110px; }
}
header { padding-top: 10px; padding-bottom: 10px; }
@media (max-width: 800px) { header { padding-top: 12px; padding-bottom: 12px; } }

/* Menu : liens plus grands, centrés dans l'en-tête */
@media (min-width: 1200px) {
    nav {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
        gap: 34px;
    }
    nav a { font-size: 17px; font-weight: 700; }
}

@media (min-width: 1101px) and (max-width: 1199px) {
    nav a { font-size: 16px; }
}

/* Pages légales */
.page-legale h2 { font-size: 24px; }
.page-legale h2 strong { color: inherit; }
.tableau { overflow-x: auto; margin: 18px 0 24px; }
.tableau table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    font-size: 15px;
}
.tableau th, .tableau td {
    padding: 12px 14px;
    border-bottom: 1px solid #ECE7DE;
    text-align: left;
    vertical-align: top;
    color: #000000;
}
.tableau th { background-color: #73978A; color: #ffffff; }
.tableau thead td, .tableau tr:first-child td strong { color: #000000; }
.tableau td p { font-size: 15px; margin-bottom: 6px; color: #000000; }

.page-commune a, .page-commune p { overflow-wrap: anywhere; }

/* Correctif en-tête : fond plein, menu centré dans l'espace à droite du logo, sans chevauchement */
header { background-color: #F9F6F0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.logo { flex-shrink: 0; }

@media (min-width: 1001px) {
    nav {
        position: static;
        left: auto;
        transform: none;
        margin-left: 0;
        flex: 1;
        justify-content: center;
        flex-wrap: nowrap;
        gap: clamp(14px, 2.2vw, 34px);
    }
    nav a { font-size: clamp(14px, 1.25vw, 17px); }
}

/* Menu déroulant jusqu'à 1000 px (le menu complet ne tient pas en dessous) */
@media (max-width: 1000px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 15px 5% 20px;
        background-color: #F9F6F0;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        transform: none;
        border-top: 1px solid #ECE7DE;
        box-shadow: 0 8px 20px rgba(115, 151, 138, 0.08);
    }
    nav.ouvert { display: flex; }
    .menu-mobile { display: flex; }
    nav a { font-size: 16px; }
}

@media (min-width: 1001px) { nav a { font-weight: 700; } }

/* Badges officiels des stores */
.telechargements { flex-wrap: wrap; align-items: center; }
.telechargements-gauche { justify-content: flex-start; margin-top: 4px; }
.badge-store { display: inline-block; line-height: 0; transition: transform 0.2s ease; }
.badge-store:hover { transform: translateY(-2px); }
.badge-store img { height: 52px; width: auto; }
@media (max-width: 800px) {
    .telechargements { flex-direction: row; justify-content: center; }
    .telechargements-gauche { justify-content: flex-start; }
}

/* Étapes : cartes plus compactes, comme la version de Tom sur grand écran */
@media (min-width: 801px) and (max-width: 1400px) {
    #fonctionnement { padding-left: 4%; padding-right: 4%; }
    .etapes { gap: 14px; }
    .etape { min-height: 0; padding: 20px 18px; }
    .numero-etape { width: 38px; height: 38px; margin-bottom: 12px; }
    .etape h3 { font-size: 17px; margin-bottom: 10px; }
    .etape p { font-size: 14px; line-height: 1.55; }
}
@media (min-width: 801px) and (max-width: 1100px) {
    .etapes { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 801px) and (max-width: 1100px) {
    .etapes { display: flex; flex-wrap: wrap; justify-content: center; }
    .etape { flex: 0 1 calc((100% - 28px) / 3); }
}

/* Badges des stores dans l'en-tête (grand écran) */
.header-stores { display: none; flex-shrink: 0; gap: 10px; align-items: center; }
.header-stores .badge-store img { height: 40px; }
@media (min-width: 1400px) {
    .header-stores { display: flex; }
}

/* Bouton « Télécharger l'app » dans l'en-tête (téléphone et tablette) */
.header-app { display: none; }
@media (max-width: 1000px) {
    .header-app {
        display: inline-flex;
        align-items: center;
        order: 2;
        margin-left: auto;
        padding: 10px 16px;
        border-radius: 30px;
        background-color: #73978A;
        color: #ffffff;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }
    .menu-mobile { order: 3; margin-left: 4px; margin-right: -8px; width: 40px; padding: 7px 8px; }
}

/* Téléphone : boutons d'accueil pleine largeur, badges côte à côte */
@media (max-width: 600px) {
    .accueil-boutons { flex-direction: column; align-items: stretch; }
    .accueil-boutons a { text-align: center; }
    .badge-store img { height: 46px; }
    .telechargements { gap: 10px; }
}
@media (max-width: 380px) {
    .logo img { width: 92px; }
    .header-app { padding: 9px 12px; font-size: 13px; }
}

@media (max-width: 1000px) { header { gap: 10px; } }

@media (min-width: 801px) and (max-width: 1100px) {
    .prestations-grille, .professionnels-grille { grid-template-columns: repeat(2, 1fr); }
}

/* SAVOIR-FAIRE ARTISANAL */

#savoir-faire {
    padding: 65px 8%;
    background-color: #ffffff;
    text-align: center;
}

.savoir-sur-titre {
    margin-bottom: 10px;
    color: #C85126;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

#savoir-faire h2 {
    max-width: 900px;
    margin: 0 auto 20px;
    color: #73978A;
    font-size: 40px;
    line-height: 1.2;
}

#savoir-faire .savoir-intro {
    max-width: 760px;
    margin: 0 auto 40px;
    color: #6B6B6B;
    font-size: 18px;
    line-height: 1.7;
}

.comparatif {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
    text-align: left;
}

.comparatif-carte {
    padding: 30px 30px 26px;
    border-radius: 22px;
}

.comparatif-carte h3 {
    margin-bottom: 18px;
    font-size: 22px;
    line-height: 1.3;
}

.comparatif-carte h3::after {
    content: "";
    display: block;
    width: 32px;
    height: 3px;
    margin-top: 10px;
    border-radius: 3px;
}

.comparatif-carte ul { list-style: none; padding: 0; margin: 0; }

.comparatif-carte li {
    position: relative;
    padding: 10px 0 10px 34px;
    font-size: 16px;
    line-height: 1.5;
    border-top: 1px solid rgba(115, 151, 138, 0.18);
}

.comparatif-carte li::before {
    position: absolute;
    left: 0;
    top: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.comparatif-artisan {
    background-color: #73978A;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(115, 151, 138, 0.25);
}

.comparatif-artisan h3 { color: #ffffff; }
.comparatif-artisan h3::after { background-color: #ffffff; }
.comparatif-artisan li { border-top-color: rgba(255, 255, 255, 0.3); }
.comparatif-artisan li::before { content: "✓"; background-color: #ffffff; color: #73978A; }

.comparatif-laverie {
    background-color: #F9F6F0;
    border: 1px solid #ECE7DE;
    color: #6B6B6B;
}

.comparatif-laverie h3 { color: #6B6B6B; }
.comparatif-laverie h3::after { background-color: #C85126; }
.comparatif-laverie li::before { content: "–"; background-color: #ECE7DE; color: #6B6B6B; }

@media (max-width: 800px) {
    #savoir-faire { padding: 55px 6%; }
    #savoir-faire h2 { font-size: 30px; }
    .comparatif { grid-template-columns: 1fr; }
    .comparatif-carte { padding: 24px 22px 20px; }
}

/* Téléphone : voile plus couvrant sur la photo d'accueil pour la lisibilité */
@media (max-width: 800px) {
    #accueil {
        background-image:
            linear-gradient(180deg, rgba(249, 246, 240, 0.9) 0%, rgba(249, 246, 240, 0.86) 100%),
            url("images/hero-presstoulouse.jpg");
    }
}
