:root{
    --black:#080706;
    --dark:#111820;
    --cream:#f2ece1;
    --cream2:#e8dfd2;
    --gold:#d2a24b;
    --green:#183321;
    --text:#281b17;
}

*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Arial, sans-serif;
    background:var(--cream);
    color:var(--text);
}
html{
    scroll-behavior:smooth;
}
h1,h2,h3{
    font-family:Georgia, "Times New Roman", serif;
    font-weight:700;
}

.container{
    width:90%;
    max-width:1180px;
    margin:auto;
}

.topbar{
    background:#050403;
    color:#fff;
    font-size:14px;
    padding:11px 0;
}

.topbar .container{
    display:flex;
    justify-content:space-between;
}

.navbar{
    background:#efe8dd;
    border-bottom:1px solid #ddd4c8;
    position:sticky;
    top:0;
    z-index:10;
}

.nav-inner{
    height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.brand{
    display:flex;
    align-items:center;
    gap:14px;
    font-weight:700;
    font-size:18px;
}

.logo{
    width:48px;
    height:48px;
    border-radius:50%;
    background:#050403;
    color:var(--gold);
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:Georgia, serif;
    font-size:22px;
    border:1px solid var(--gold);
    overflow:hidden;
}

.logo img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.menu{
    display:flex;
    align-items:center;
    gap:28px;
}

.menu a{
    color:#2a211b;
    text-decoration:none;
    font-size:16px;
}

.btn{
    display:inline-block;
    background:var(--gold);
    color:#070707 !important;
    padding:17px 28px;
    border-radius:28px;
    font-weight:700;
    text-decoration:none;
}

.btn-outline{
    background:transparent;
    color:#fff !important;
    border:1px solid rgba(255,255,255,.55);
}
.hero{
    position:relative;
    overflow:hidden;
}

.hero-slide{
    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity 2s ease;
    z-index:0;
}

.hero-slide.active{
    opacity:1;
}
.hero-slide:nth-child(1){
    background:
    linear-gradient(
        110deg,
        rgba(8,10,14,.45),
        rgba(26,34,42,.35)
    ),
    url("../../images/truffe.webp") center center / cover no-repeat;
}
.hero-slide:nth-child(2){
    background:
    linear-gradient(
        110deg,
        rgba(8,10,14,.45),
        rgba(26,34,42,.35)
    ),
    url("../../images/truffe-jpq.webp")
    center top / cover no-repeat;
}
.hero-content{
    max-width:720px;
    padding-top:70px;
}

.label{
    color:var(--gold);
    letter-spacing:5px;
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    margin-bottom:22px;
}

.hero h1{
    font-size:92px;
    line-height:.98;
    margin:0 0 28px;
    color:#fff;
}

.hero p{
    font-size:21px;
    line-height:1.45;
    max-width:650px;
}

.hero-actions{
    display:flex;
    gap:16px;
    margin-top:34px;
}

.cards-intro{
    margin-top:-65px;
    position:relative;
    z-index:2;
}

.cards-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.intro-card{
    background:white;
    padding:34px 26px 42px;
    border-radius:16px;
    box-shadow:0 25px 60px rgba(0,0,0,.10);
    min-height:220px;
}

.intro-card h3{
    font-size:31px;
    margin:16px 0 22px;
}

.intro-card p{
    font-size:17px;
    line-height:1.45;
}

.section{
    padding:90px 0;
}

.territoire{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.territoire h2{
    font-size:64px;
    line-height:1.02;
    margin:20px 0 22px;
}

.territoire p{
    font-size:18px;
    line-height:1.5;
}

.image-box{
    position:relative;
}
/*
.image-box img{
    width:100%;
    height:430px;
    object-fit:cover;
    border-radius:18px;
}
*/
.image-box img{
    display:block;
    width:100%;
    height:auto;
    border-radius:18px;
}
.objectif{
    position:absolute;
    left:-25px;
    bottom:32px;
    background:#070605;
    color:white;
    padding:22px 24px;
    border-radius:14px;
    max-width:300px;
    line-height:1.45;
    font-weight:700;
}

.objectif strong{
    color:var(--gold);
}

.agenda{
    background:#080706;
    color:white;
    padding:90px 0;
}

.agenda h2{
    font-size:62px;
    line-height:1.05;
    margin:20px 0 24px;
}

.agenda-grid{
    display:grid;
    grid-template-columns:1.25fr .9fr;
    gap:32px;
}

.agenda-card{
    background:#191614;
    border:1px solid #3a332c;
    border-radius:18px;
    padding:32px;
}

.date{
    display:inline-block;
    background:var(--gold);
    color:#090909;
    padding:10px 14px;
    border-radius:7px;
    font-weight:700;
    margin-bottom:22px;
}

.agenda-card h3{
    font-size:40px;
    line-height:1.6;
    margin:0 0 20px;
    color:#fff;
}

.agenda-card p{
    font-size:19px;
    line-height:1.45;
}

.list-event{
    display:flex;
    justify-content:space-between;
    border-bottom:1px solid #39322c;
    padding:22px 0;
    font-weight:700;
}

.syndicat h2{
    font-size:60px;
    margin:18px 0 24px;
}

.syndicat-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.syndicat-card{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 25px 60px rgba(0,0,0,.08);
}

.syndicat-card img{
    width:100%;
    height:210px;
    object-fit:cover;
}

.syndicat-card div{
    padding:22px;
}

.syndicat-card h3{
    font-size:30px;
    margin:8px 0 20px;
}

.syndicat-card p{
    font-size:17px;
    line-height:1.55;
}

.contact-block{
    background:var(--green);
    color:white;
    border-radius:22px;
    padding:50px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:88px;
}

.contact-block h2{
    font-size:45px;
    line-height:1.1;
    max-width:720px;
    margin:20px 0;
}

.footer{
    background:#050403;
    color:white;
    padding:78px 0;
}

.footer-grid{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:60px;
}

.footer h3{
    font-size:24px;
}

.footer p,
.footer a{
    color:#f5ead7;
    text-decoration:none;
    line-height:1.5;
}

.burger{
    display:none;
    width:44px;
    height:44px;
    border:none;
    background:#111;
    border-radius:50%;
    cursor:pointer;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
}

.burger span{
    width:22px;
    height:2px;
    background:#fff;
    border-radius:2px;
    transition:.25s;
}

.burger.active span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2){
    opacity:0;
}

.burger.active span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
}
.brand{
    display:flex;
    align-items:center;
    gap:14px;
    font-weight:700;
    font-size:18px;
    text-decoration:none;
    color:inherit;
}
.brand:hover{
    color:inherit;
}
@media(max-width:900px){

    html,
    body{
        width:100%;
        max-width:100%;
        overflow-x:hidden;
    }
	html.menu-open,
	body.menu-open{
		overflow:hidden;
		height:100%;
	}
    .topbar{
        display:none;
    }

    .container{
        width:90%;
        max-width:100%;
    }

    .nav-inner{
        height:76px;
        padding:0;
        flex-direction:row;
        align-items:center;
        justify-content:space-between;
        position:relative;
    }

    .brand{
        font-size:22px;
        max-width:calc(100% - 60px);
    }

    .burger{
        display:flex;
        flex-shrink:0;
    }

	.menu{
		position:fixed;
		top:76px;
		left:0;
		width:100vw;
		height:calc(100vh - 76px);
		overflow-y:auto;
		overscroll-behavior:contain;
		background:#efe8dd;
		display:none;
		flex-direction:column;
		align-items:flex-start;
		padding:20px;
		z-index:999;
	}
    .menu.active{
        display:flex;
    }

    .menu a{
        width:100%;
        padding:14px 0;
        font-size:17px;
        border-bottom:1px solid #ddd4c8;
    }

	.menu .btn{
		align-self:center;
		min-width:180px;
		padding:16px 35px;
		margin-top:25px;
		text-align:center;
	}
	body.menu-open{
		overflow:hidden;
	}
    .hero{
        padding:70px 0;
    }

    .hero-content{
        padding-top:30px;
    }

    .hero h1{
        font-size:48px;
        line-height:1.05;
    }

    .hero p{
        font-size:18px;
    }

    .hero-actions{
        flex-direction:column;
        align-items:flex-start;
    }

    .cards-grid,
    .territoire,
    .agenda-grid,
    .syndicat-grid,
    .footer-grid{
        display:grid;
        grid-template-columns:1fr !important;
        width:100%;
    }

    .cards-intro{
        margin-top:30px;
    }

    .section{
        padding:60px 0;
    }

    .territoire h2,
    .agenda h2,
    .syndicat h2{
        font-size:42px;
        line-height:1.1;
        word-break:normal;
    }

    .intro-card,
    .agenda-card,
    .syndicat-card,
    .contact-block{
        width:100%;
        max-width:100%;
    }

    .syndicat-card img,
    .image-box img{
        width:100%;
        height:auto;
        max-width:100%;
    }

    .objectif{
        position:relative;
        left:0;
        bottom:auto;
        margin-top:15px;
        max-width:100%;
    }

    .contact-block{
        flex-direction:column;
        align-items:flex-start;
        gap:24px;
        padding:32px;
    }

    .contact-block h2{
        font-size:34px;
    }
	.territoire{
		padding-left:15px;
		padding-right:15px;
	}
}
@media(max-width:900px){

    .navbar{
        position:fixed;
        top:0;
        left:0;
        width:100%;
        z-index:1000;
        transform:translateY(0);
        transition:transform .35s ease, opacity .35s ease;
    }

    .navbar.nav-hidden{
        transform:translateY(-100%);
        opacity:0;
    }

    .navbar.nav-visible{
        transform:translateY(0);
        opacity:1;
    }

    body{
        padding-top:76px;
    }
}
@media(max-width:900px){

    section,
    header,
    footer{
        scroll-margin-top:76px;
    }

    #truffe,
    #evenements,
    #syndicat,
    #formations,
    #contact{
        scroll-margin-top:76px;
    }
}
/*......................................

ADAPTATION MENU

........................................*/

.dropdown{
    position:relative;
    display:inline-flex;
    align-items:center;
    white-space:nowrap;
}

.dropdown-toggle{
    position:relative;
    display:inline-flex;
    align-items:center;
    white-space:nowrap;
    background:none;
    border:none;
    padding:0;
    font:inherit;
    color:#2a211b;
    cursor:pointer;
    transition:color .25s ease;
}

.dropdown-toggle::after{
    content:"▼";
    display:inline-block;
    font-size:11px;
    color:var(--gold);
    margin-left:8px;
    line-height:1;
}

.dropdown-menu{
    position:absolute;
    top:calc(100% + 12px);
    left:0;
    min-width:240px;
    background:#efe8dd;
    border:1px solid #ddd4c8;
    box-shadow:0 18px 35px rgba(0,0,0,.12);
    display:none;
    flex-direction:column;
    padding:10px 0;
    z-index:999;
}

.dropdown-menu::before{
    content:"";
    position:absolute;
    top:-12px;
    left:0;
    width:100%;
    height:12px;
}

.dropdown-menu a{
    padding:12px 18px;
    white-space:nowrap;
    transform:translateY(-5px);
    transition:all .3s ease;
}

.dropdown:hover .dropdown-menu{
    display:flex;
}

.dropdown.open .dropdown-menu a{
    transform:translateY(0);
}

.menu > a,
.menu .dropdown-toggle{
    position:relative;
    color:#2a211b;
    transition:color .25s ease;
}

.menu > a::after,
.menu .dropdown-toggle::before{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:2px;
    background:var(--gold);
    transition:width .28s ease;
}

.menu > a:hover,
.menu .dropdown-toggle:hover{
    color:var(--gold);
}

.menu > a:hover::after,
.menu .dropdown-toggle:hover::before{
    width:100%;
}

.menu > a.active,
.menu .dropdown-toggle.active{
    color:var(--gold) !important;
    font-weight:600;
}

.menu > a.active::after,
.menu .dropdown-toggle.active::before{
    width:100%;
}

/* Version mobile */
@media(max-width:900px){

    .dropdown{
        display:block;
        width:100%;
    }

    .dropdown-toggle{
        width:100%;
        justify-content:space-between;
        padding:14px 0;
        border-bottom:1px solid #ddd4c8;
    }

    .dropdown-toggle::after{
        font-size:12px;
        margin-left:10px;
    }

    .dropdown-menu{
        position:static;
        display:flex;
        flex-direction:column;
        width:100%;
        min-width:auto;
        background:transparent;
        border:none;
        box-shadow:none;
        padding:0 0 0 18px;

        max-height:0;
        opacity:0;
        overflow:hidden;
        visibility:hidden;

        transition:
            max-height .45s ease,
            opacity .35s ease,
            visibility .35s ease;
    }

    .dropdown-menu::before{
        display:none;
    }

    .dropdown.open .dropdown-menu{
        max-height:400px;
        opacity:1;
        visibility:visible;
    }

    .dropdown-menu a{
        width:100%;
        padding:12px 0;
        white-space:normal;
        border-bottom:1px solid rgba(221,212,200,.6);
        transform:translateY(-5px);
        transition:
            transform .35s ease,
            opacity .35s ease;
        opacity:0;
    }

    .dropdown.open .dropdown-menu a{
        transform:translateY(0);
        opacity:1;
    }

    .menu .dropdown-toggle::before{
        bottom:0;
    }
}

/*......................................

FIN ADAPTATION MENU

........................................*/
/*......................................

PAGE   truffe-noire-canigo.php

........................................*/

.truffe-hero{
    background:
    linear-gradient(
        110deg,
        rgba(8,10,14,.55),
        rgba(26,34,42,.45)
    ),
    url("../../images/truffe-jpq.webp")
    center top / cover no-repeat;

    color:#fff;
}

.truffe-hero .hero-content{
    color:#fff;
}

.agenda-card .list-event span:first-child{
    color:#ffffff;
    font-weight:600;
}

.agenda-card .list-event span:last-child{
    color:rgba(255,255,255,.75);
}

.truffe-hero{
    min-height:640px;
    display:flex;
    align-items:center;
}

.truffe-hero .hero-content{
    padding-top:100px;
    padding-bottom:100px;
}
/*......................................

FIN PAGE   truffe-noire-canigo.php

........................................*/
/*......................................

PAGE   tuber-melanosporum.php

........................................*/
.tuber-hero{
    min-height:640px;
    display:flex;
    align-items:center;
    color:#fff;
    background:
    linear-gradient(
        110deg,
        rgba(8,10,14,.62),
        rgba(26,34,42,.42)
    ),
    url("../../images/photo-truffe-maquette.webp")
    center center / cover no-repeat;
}

.tuber-hero .hero-content{
    padding-top:100px;
    padding-bottom:100px;
    color:#fff;
}

.tuber-hero p{
    color:#fff;
}
/*......................................

FIN  PAGE   tuber-melanosporum.php

........................................*/
/*......................................

PAGE   gastronomie.php

........................................*/

.gastronomie-hero{
    background:
    linear-gradient(
        110deg,
        rgba(8,10,14,.55),
        rgba(26,34,42,.45)
    ),
    url("../../images/photo-truffe-maquette.webp")
    center center / cover no-repeat;

    color:#fff;

    min-height:640px;
    display:flex;
    align-items:center;
}

.gastronomie-hero .hero-content{
    color:#fff;
    padding-top:100px;
    padding-bottom:100px;
}

.gastronomie-hero .label{
    color:var(--gold);
}

.gastronomie-hero h1{
    color:#fff;
}

.gastronomie-hero p{
    color:rgba(255,255,255,.92);
    max-width:700px;
}

.gastronomie-hero .btn-outline{
    border-color:rgba(255,255,255,.7);
    color:#fff;
}

.gastronomie-hero .btn-outline:hover{
    background:#fff;
    color:#111;
}

/*......................................

FIN PAGE   gastronomie.php

........................................*/
/*......................................

PAGE   syndicat.php

........................................*/

.syndicat-hero{
    background:
    linear-gradient(
        110deg,
        rgba(8,10,14,.55),
        rgba(26,34,42,.45)
    ),
    url("../../images/ambiance.webp")
    center center / cover no-repeat;

    color:#fff;

    min-height:640px;
    display:flex;
    align-items:center;
}

.syndicat-hero .hero-content{
    color:#fff;
    padding-top:100px;
    padding-bottom:100px;
}

.syndicat-hero .label{
    color:var(--gold);
}

.syndicat-hero h1{
    color:#fff;
}

.syndicat-hero p{
    color:rgba(255,255,255,.92);
    max-width:700px;
}

.syndicat-hero .btn-outline{
    border-color:rgba(255,255,255,.7);
    color:#fff;
}

.syndicat-hero .btn-outline:hover{
    background:#fff;
    color:#111;
}

.syndicat-hero .hero-content{
    max-width:700px;
}

/*......................................

FIN PAGE   syndicat.php

........................................*/
/*......................................

MODIFICATION HERO ACCUEIL

Ajout correctif lisibilité
22/06/2026

........................................*/

.hero{
    min-height:720px;
    display:flex;
    align-items:center;
}

.hero-content{
    position:relative;
    z-index:2;
    padding-top:120px;
    padding-bottom:140px;
}

.hero h1{
    text-shadow:0 4px 20px rgba(0,0,0,.45);
}

.hero p{
    color:#ffffff;
    text-shadow:0 2px 12px rgba(0,0,0,.55);
}

.hero-slide:nth-child(1){
    background:
    linear-gradient(
        110deg,
        rgba(8,10,14,.68),
        rgba(26,34,42,.52)
    ),
    url("../../images/truffe.webp")
    center center / cover no-repeat;
}

.hero-slide:nth-child(2){
    background:
    linear-gradient(
        110deg,
        rgba(8,10,14,.68),
        rgba(26,34,42,.52)
    ),
    url("../../images/truffe-jpq.webp")
    center top / cover no-repeat;
}

/*......................................

FIN MODIFICATION HERO ACCUEIL

........................................*/
/*......................................

PAGE   historique.php

........................................*/

.historique-hero{
    background:
    linear-gradient(
        110deg,
        rgba(8,10,14,.55),
        rgba(26,34,42,.45)
    ),
    url("../../images/ambiance.webp")
    center center / cover no-repeat;

    color:#fff;

    min-height:640px;
    display:flex;
    align-items:center;
}

.historique-hero .hero-content{
    color:#fff;
    padding-top:100px;
    padding-bottom:100px;
    max-width:700px;
}

.historique-hero .label{
    color:var(--gold);
}

.historique-hero h1{
    color:#fff;
}

.historique-hero p{
    color:rgba(255,255,255,.92);
    max-width:700px;
}

.historique-hero .btn-outline{
    border-color:rgba(255,255,255,.7);
    color:#fff;
}

.historique-hero .btn-outline:hover{
    background:#fff;
    color:#111;
}

/*......................................

FIN PAGE   historique.php

........................................*/
/*......................................

PAGE   missions.php

........................................*/

.missions-hero{
    background:
    linear-gradient(
        110deg,
        rgba(8,10,14,.55),
        rgba(26,34,42,.45)
    ),
    url("../../images/accompagner.webp")
    center center / cover no-repeat;

    color:#fff;

    min-height:640px;
    display:flex;
    align-items:center;
}

.missions-hero .hero-content{
    color:#fff;
    padding-top:100px;
    padding-bottom:100px;
    max-width:700px;
}

.missions-hero .label{
    color:var(--gold);
}

.missions-hero h1{
    color:#fff;
}

.missions-hero p{
    color:rgba(255,255,255,.92);
    max-width:700px;
}

.missions-hero .btn-outline{
    border-color:rgba(255,255,255,.7);
    color:#fff;
}

.missions-hero .btn-outline:hover{
    background:#fff;
    color:#111;
}

/*......................................

FIN PAGE   missions.php

........................................*/
/*......................................

PAGE   marches-evenements.php

........................................*/

.marches-hero{
    background:
    linear-gradient(
        110deg,
        rgba(8,10,14,.55),
        rgba(26,34,42,.45)
    ),
    url("../../images/promouvoir.webp")
    center center / cover no-repeat;

    color:#fff;

    min-height:640px;
    display:flex;
    align-items:center;
}

.marches-hero .hero-content{
    color:#fff;
    padding-top:100px;
    padding-bottom:100px;
    max-width:700px;
}

.marches-hero .label{
    color:var(--gold);
}

.marches-hero h1{
    color:#fff;
}

.marches-hero p{
    color:rgba(255,255,255,.92);
    max-width:700px;
}

.marches-hero .btn-outline{
    border-color:rgba(255,255,255,.7);
    color:#fff;
}

.marches-hero .btn-outline:hover{
    background:#fff;
    color:#111;
}

.page-section-title{
    font-size:58px;
    line-height:1.05;
    margin:20px 0 24px;
}

.marches-intro{
    font-size:18px;
    line-height:1.55;
    max-width:850px;
    margin-bottom:28px;
}

.controle-qualite{
    background:#080706;
    color:#fff;
    padding:18px 24px;
    border-radius:14px;
    display:inline-block;
    margin:8px 0 28px;
    font-size:18px;
}

.controle-qualite strong{
    color:var(--gold);
}

.marches-table-wrap{
    background:#fff;
    padding:18px;
    border-radius:18px;
    box-shadow:0 25px 60px rgba(0,0,0,.08);
    overflow-x:auto;
}

.marches-table{
    width:100%;
    border-collapse:collapse;
    min-width:760px;
}

.marches-table th{
    background:#efe8dd;
    color:#111;
    text-transform:uppercase;
    letter-spacing:.5px;
    font-size:15px;
    padding:18px;
    border:1px solid #d8cfc2;
}

.marches-table td{
    padding:22px 18px;
    border:1px solid #e2d8ca;
    font-size:17px;
    color:#2a211b;
}

.marches-table tbody tr:nth-child(even){
    background:#fbf8f3;
}

.marches-note{
    margin-top:22px;
    font-size:16px;
    line-height:1.5;
    color:#5d5048;
    max-width:850px;
}

@media(max-width:900px){

    .page-section-title{
        font-size:40px;
    }

    .marches-table{
        min-width:0;
    }

    .marches-table thead{
        display:none;
    }

    .marches-table,
    .marches-table tbody,
    .marches-table tr,
    .marches-table td{
        display:block;
        width:100%;
    }

    .marches-table tr{
        background:#fff;
        border:1px solid #e2d8ca;
        border-radius:14px;
        margin-bottom:16px;
        padding:12px 0;
        overflow:hidden;
    }

    .marches-table td{
        border:none;
        border-bottom:1px solid #eee4d7;
        padding:14px 18px;
        display:flex;
        justify-content:space-between;
        gap:18px;
        font-size:16px;
    }

    .marches-table td:last-child{
        border-bottom:none;
    }

    .marches-table td::before{
        content:attr(data-label);
        font-weight:700;
        color:var(--gold);
        min-width:120px;
    }

    .controle-qualite{
        display:block;
        width:100%;
        font-size:16px;
    }
}

/*......................................

FIN PAGE   marches-evenements.php

........................................*/
/*......................................

PAGE   conseils-formations.php

........................................*/

.conseils-hero{
    background:
    linear-gradient(
        110deg,
        rgba(8,10,14,.55),
        rgba(26,34,42,.45)
    ),
    url("../../images/former.webp")
    center center / cover no-repeat;

    color:#fff;

    min-height:640px;
    display:flex;
    align-items:center;
}

.conseils-hero .hero-content{
    color:#fff;
    padding-top:100px;
    padding-bottom:100px;
    max-width:700px;
}

.conseils-hero .label{
    color:var(--gold);
}

.conseils-hero h1{
    color:#fff;
}

.conseils-hero p{
    color:rgba(255,255,255,.92);
    max-width:700px;
}

.conseils-hero .btn-outline{
    border-color:rgba(255,255,255,.7);
    color:#fff;
}

.conseils-hero .btn-outline:hover{
    background:#fff;
    color:#111;
}

/*......................................

FIN PAGE   conseils-formations.php

........................................*/
/*......................................

PAGE   creer-truffiere.php

........................................*/

.creer-truffiere-hero{
    background:
    linear-gradient(
        110deg,
        rgba(8,10,14,.55),
        rgba(26,34,42,.45)
    ),
    url("../../images/accompagner.webp")
    center center / cover no-repeat;

    color:#fff;

    min-height:640px;
    display:flex;
    align-items:center;
}

.creer-truffiere-hero .hero-content{
    color:#fff;
    padding-top:100px;
    padding-bottom:100px;
    max-width:700px;
}

.creer-truffiere-hero .label{
    color:var(--gold);
}

.creer-truffiere-hero h1{
    color:#fff;
}

.creer-truffiere-hero p{
    color:rgba(255,255,255,.92);
    max-width:700px;
}

.creer-truffiere-hero .btn-outline{
    border-color:rgba(255,255,255,.7);
    color:#fff;
}

.creer-truffiere-hero .btn-outline:hover{
    background:#fff;
    color:#111;
}

/*......................................

FIN PAGE   creer-truffiere.php

........................................*/
/*......................................

PAGE   contact.php

........................................*/

.contact-hero{
    background:
    linear-gradient(
        110deg,
        rgba(8,10,14,.58),
        rgba(26,34,42,.48)
    ),
    url("../../images/ambiance.webp")
    center center / cover no-repeat;

    color:#fff;

    min-height:640px;
    display:flex;
    align-items:center;
}

.contact-hero .hero-content{
    color:#fff;
    padding-top:100px;
    padding-bottom:100px;
    max-width:700px;
}

.contact-hero .label{
    color:var(--gold);
}

.contact-hero h1{
    color:#fff;
}

.contact-hero p{
    color:rgba(255,255,255,.92);
    max-width:700px;
}

.contact-hero .btn-outline{
    border-color:rgba(255,255,255,.7);
    color:#fff;
}

.contact-hero .btn-outline:hover{
    background:#fff;
    color:#111;
}

.contact-page-grid{
    display:grid;
    grid-template-columns:1.35fr .8fr;
    gap:70px;
    align-items:start;
}

.contact-page-grid h2{
    font-size:58px;
    line-height:1.05;
    margin:20px 0 24px;
}

.contact-page-grid > div > p{
    font-size:18px;
    line-height:1.55;
    max-width:760px;
}

.contact-form{
    margin-top:34px;
    background:#fff;
    padding:34px;
    border-radius:18px;
    box-shadow:0 25px 60px rgba(0,0,0,.08);
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.form-group{
    margin-bottom:22px;
}

.form-group label{
    display:block;
    font-weight:700;
    margin-bottom:8px;
    color:#2a211b;
}

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    border:1px solid #d8cfc2;
    background:#fbf8f3;
    border-radius:12px;
    padding:15px 16px;
    font-size:16px;
    font-family:Arial, sans-serif;
    color:#2a211b;
    outline:none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    border-color:var(--gold);
    background:#fff;
}

.form-group textarea{
    resize:vertical;
}

.form-consent{
    display:flex;
    gap:12px;
    align-items:flex-start;
    margin:8px 0 26px;
    font-size:15px;
    line-height:1.45;
}

.form-consent input{
    margin-top:3px;
}

.form-hp{
    display:none;
}

.form-message{
    margin:24px 0;
    padding:16px 20px;
    border-radius:12px;
    font-weight:700;
}

.form-message.success{
    background:#e9f6ec;
    color:#214f2c;
    border:1px solid #b8dfc1;
}

.form-message.error{
    background:#fbeaea;
    color:#7a1d1d;
    border:1px solid #e0b4b4;
}

.contact-infos{
    background:#080706;
    color:#fff;
    padding:34px;
    border-radius:18px;
    position:sticky;
    top:120px;
}

.contact-infos h3{
    font-size:32px;
    line-height:1.1;
    margin:16px 0 24px;
    color:#fff;
}

.contact-infos p{
    font-size:17px;
    line-height:1.55;
    color:rgba(255,255,255,.84);
}

.contact-infos strong{
    color:var(--gold);
}

.contact-infos a{
    color:#fff;
    text-decoration:none;
}

.contact-infos a:hover{
    color:var(--gold);
}

@media(max-width:900px){

    .contact-page-grid{
        grid-template-columns:1fr;
        gap:40px;
    }

    .contact-page-grid h2{
        font-size:40px;
    }

    .form-row{
        grid-template-columns:1fr;
        gap:0;
    }

    .contact-form{
        padding:24px;
    }

    .contact-infos{
        position:relative;
        top:auto;
    }
}

/*......................................

FIN PAGE   contact.php

........................................*/
/*......................................

SURIMPRESSION IMAGE TOTEM PAGE ACCUEIL

........................................*/

.hero {
    position: relative;
    overflow: hidden;
}

.hero-totem {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    width: 190px;
    max-width: 22vw;
    z-index: 3;
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    z-index: 4;
}

@media (max-width: 900px) {
    .hero-totem {
        width: 130px;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.9;
    }
}

@media (max-width: 600px) {
    .hero-totem {
        display: none;
    }
}

/*......................................

FIN         SURIMPRESSION IMAGE TOTEM PAGE ACCUEIL

........................................*/

/* ==========================================================================
   Marchés et événements dynamiques
   ========================================================================== */

.public-events-alert {
    margin: 24px 0;
    padding: 16px 18px;
    border-left: 5px solid #b3261e;
    border-radius: 10px;
    background: #fdeaea;
    color: #241810;
}

.public-highlight-events {
    display: grid;
    gap: 28px;
    margin: 34px 0;
}

.public-highlight-card {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 28px;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(0, 0, 0, .08);
}

.public-highlight-image {
    min-height: 320px;
    background: #efe8de;
}

.public-highlight-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.public-highlight-content {
    padding: 30px;
}

.public-highlight-content h3 {
    margin: 8px 0 14px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
}

.public-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.public-event-meta span {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f6f3ee;
    color: #4a3a2d;
    font-size: 14px;
    font-weight: 700;
}

.public-event-info-box,
.public-event-program,
.public-event-meal {
    margin-top: 20px;
    padding: 18px;
    border-radius: 16px;
    background: #f6f3ee;
}

.public-event-info-box p,
.public-event-program p,
.public-event-meal p {
    margin: 0;
}

.public-event-info-box p + p,
.public-event-meal p + p {
    margin-top: 10px;
}

.public-event-program h4,
.public-event-meal h4 {
    margin: 0 0 10px;
    font-size: 20px;
}

.public-event-documents,
.public-event-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.marches-table-detail {
    display: block;
    margin-top: 6px;
    color: #6f6258;
    font-size: 14px;
    line-height: 1.35;
}

.marches-table-documents {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.marches-table-documents a {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 999px;
    background: #f6f3ee;
    color: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.marches-table-documents a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .public-highlight-card {
        grid-template-columns: 1fr;
    }

    .public-highlight-image,
    .public-highlight-image img {
        min-height: 260px;
    }
}

@media (max-width: 560px) {
    .public-highlight-content {
        padding: 22px;
    }

    .public-event-meta {
        display: grid;
    }
}

/* ==========================================================================
   Calendrier synthétique marchés / événements
   ========================================================================== */

.public-calendar-empty {
    margin: 34px 0;
    padding: 28px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .06);
}

.public-calendar-empty h3 {
    margin: 0 0 10px;
}

.public-calendar-empty p {
    margin: 0;
}

.public-calendar-list {
    display: grid;
    gap: 22px;
    margin-top: 34px;
}

.public-calendar-card {
    display: grid;
    grid-template-columns: 210px 1fr;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
}

.public-calendar-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    background: #efe8de;
    color: #5d4d40;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.public-calendar-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
}

.public-calendar-content {
    padding: 24px;
}

.public-calendar-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.public-calendar-topline span {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 999px;
    background: #f6f3ee;
    color: #4a3a2d;
    font-size: 13px;
    font-weight: 700;
}

.public-calendar-content h3 {
    margin: 0 0 10px;
    font-size: clamp(24px, 2.5vw, 34px);
    line-height: 1.1;
}

.public-calendar-content h3 a {
    color: inherit;
    text-decoration: none;
}

.public-calendar-content h3 a:hover {
    text-decoration: underline;
}

.public-calendar-summary {
    margin: 0 0 18px;
}

.public-calendar-infos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.public-calendar-infos div {
    padding: 12px;
    border-radius: 14px;
    background: #f6f3ee;
}

.public-calendar-infos strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    color: #6f6258;
}

.public-calendar-infos span {
    display: block;
    font-weight: 700;
}

.public-calendar-market {
    display: grid;
    gap: 6px;
    margin: 18px 0 0;
    color: #6f6258;
    font-size: 14px;
}

.public-calendar-actions {
    margin-top: 20px;
}

@media (max-width: 960px) {
    .public-calendar-card {
        grid-template-columns: 170px 1fr;
    }

    .public-calendar-infos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .public-calendar-card {
        grid-template-columns: 1fr;
    }

    .public-calendar-thumb,
    .public-calendar-thumb img {
        min-height: 230px;
    }
}

@media (max-width: 520px) {
    .public-calendar-content {
        padding: 20px;
    }

    .public-calendar-infos {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Page détail événement
   ========================================================================== */

.event-detail-hero h1 {
    max-width: 900px;
}

.event-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
}

.event-detail-content {
    display: grid;
    gap: 24px;
}

.event-detail-card,
.event-detail-side-card {
    padding: 28px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .07);
}

.event-detail-card h2,
.event-detail-side-card h3 {
    margin-top: 8px;
}

.event-detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.event-detail-meta-grid div {
    padding: 14px;
    border-radius: 16px;
    background: #f6f3ee;
}

.event-detail-meta-grid strong {
    display: block;
    margin-bottom: 5px;
    color: #6f6258;
    font-size: 13px;
}

.event-detail-meta-grid span {
    display: block;
    font-weight: 700;
}

.event-detail-location {
    margin-top: 24px;
}

.event-detail-location h3 {
    margin-bottom: 10px;
}

.event-detail-location p {
    margin: 0 0 8px;
}

.event-detail-sidebar {
    position: sticky;
    top: 20px;
    display: grid;
    gap: 22px;
}

.event-detail-image-card {
    padding: 0;
    overflow: hidden;
}

.event-detail-image-card img {
    display: block;
    width: 100%;
    height: auto;
}

.event-detail-image-card p {
    margin: 0;
    padding: 16px 18px;
    color: #6f6258;
    font-size: 14px;
}

.event-detail-documents {
    display: grid;
    gap: 10px;
}

.event-detail-documents a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f6f3ee;
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.event-detail-documents a:hover {
    text-decoration: underline;
}

.event-detail-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.event-detail-gallery figure {
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #f6f3ee;
}

.event-detail-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.event-detail-gallery figcaption {
    padding: 12px 14px;
    color: #6f6258;
    font-size: 14px;
}

@media (max-width: 980px) {
    .event-detail-layout {
        grid-template-columns: 1fr;
    }

    .event-detail-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .event-detail-card,
    .event-detail-side-card {
        padding: 22px;
    }

    .event-detail-meta-grid,
    .event-detail-gallery {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Accueil - agenda dynamique
   ========================================================================== */

.home-agenda-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.home-agenda-more {
    margin-top: 18px;
}

.home-agenda-more a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.home-agenda-more a:hover {
    text-decoration: underline;
}

.list-event a {
    color: inherit;
    text-decoration: none;
}

.list-event a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Accueil - agenda dynamique : liens sur fond sombre
   ========================================================================== */

.agenda .list-event a,
.agenda .list-event a:visited {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.agenda .list-event a:hover,
.agenda .list-event a:focus {
    color: #d9a441;
    text-decoration: none;
}

.agenda .home-agenda-more {
    margin-top: 22px;
}

.agenda .home-agenda-more a,
.agenda .home-agenda-more a:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid rgba(217, 164, 65, .7);
    border-radius: 999px;
    color: #d9a441;
    font-weight: 700;
    text-decoration: none;
}

.agenda .home-agenda-more a:hover,
.agenda .home-agenda-more a:focus {
    background: #d9a441;
    color: #111111;
    text-decoration: none;
}

/* ==========================================================================
   Boutons outline dans les héros
   ========================================================================== */

.hero .hero-actions .btn.btn-outline,
.page-hero .hero-actions .btn.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, .85);
    color: #ffffff;
}

.hero .hero-actions .btn.btn-outline:hover,
.hero .hero-actions .btn.btn-outline:focus,
.page-hero .hero-actions .btn.btn-outline:hover,
.page-hero .hero-actions .btn.btn-outline:focus {
    background: #d9a441;
    border-color: #d9a441;
    color: #241810;
    text-decoration: none;
}

/* ==========================================================================
   Formulaire contact - bouton envoyer
   ========================================================================== */

.contact-form button.btn,
.contact-form input[type="submit"].btn {
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.contact-form button.btn:hover,
.contact-form button.btn:focus,
.contact-form input[type="submit"].btn:hover,
.contact-form input[type="submit"].btn:focus {
    background: #d9a441;
    border-color: #d9a441;
    color: #241810;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.contact-form button.btn:active,
.contact-form input[type="submit"].btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ==========================================================================
   Menu public - lien actif visible
   ========================================================================== */

header nav a.active,
header nav a.is-active,
header nav a[aria-current="page"],
.site-header nav a.active,
.site-header nav a.is-active,
.site-header nav a[aria-current="page"],
.main-header nav a.active,
.main-header nav a.is-active,
.main-header nav a[aria-current="page"],
.menu a.active,
.menu a.is-active,
.menu a[aria-current="page"],
.main-menu a.active,
.main-menu a.is-active,
.main-menu a[aria-current="page"] {
    background: #d9a441;
    color: #241810 !important;
    border-radius: 999px;
    text-decoration: none;
}

header nav a.active:hover,
header nav a.is-active:hover,
header nav a[aria-current="page"]:hover,
.site-header nav a.active:hover,
.site-header nav a.is-active:hover,
.site-header nav a[aria-current="page"]:hover,
.main-header nav a.active:hover,
.main-header nav a.is-active:hover,
.main-header nav a[aria-current="page"]:hover,
.menu a.active:hover,
.menu a.is-active:hover,
.menu a[aria-current="page"]:hover,
.main-menu a.active:hover,
.main-menu a.is-active:hover,
.main-menu a[aria-current="page"]:hover {
    background: #d9a441;
    color: #241810 !important;
}

/* ==========================================================================
   Menu public - lien actif sans halo
   ========================================================================== */

header nav a.active,
header nav a.is-active,
header nav a[aria-current="page"],
.site-header nav a.active,
.site-header nav a.is-active,
.site-header nav a[aria-current="page"],
.main-header nav a.active,
.main-header nav a.is-active,
.main-header nav a[aria-current="page"],
.menu a.active,
.menu a.is-active,
.menu a[aria-current="page"],
.main-menu a.active,
.main-menu a.is-active,
.main-menu a[aria-current="page"] {
    background: transparent !important;
    color: #d9a441 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-decoration: none;
}

header nav a.active:hover,
header nav a.is-active:hover,
header nav a[aria-current="page"]:hover,
.site-header nav a.active:hover,
.site-header nav a.is-active:hover,
.site-header nav a[aria-current="page"]:hover,
.main-header nav a.active:hover,
.main-header nav a.is-active:hover,
.main-header nav a[aria-current="page"]:hover,
.menu a.active:hover,
.menu a.is-active:hover,
.menu a[aria-current="page"]:hover,
.main-menu a.active:hover,
.main-menu a.is-active:hover,
.main-menu a[aria-current="page"]:hover {
    background: transparent !important;
    color: #d9a441 !important;
    text-decoration: none;
}

/* ==========================================================================
   Menu public - rubrique active et sous-rubrique active
   ========================================================================== */

.navbar .menu > a.active,
.navbar .menu > a.is-active,
.navbar .menu > a[aria-current="page"],
.navbar .menu .dropdown-toggle.active,
.navbar .menu .dropdown-toggle.is-active {
    background: transparent !important;
    color: #d9a441 !important;
    box-shadow: none !important;
    text-decoration: none;
}

.navbar .menu > a.active:hover,
.navbar .menu > a.is-active:hover,
.navbar .menu > a[aria-current="page"]:hover,
.navbar .menu .dropdown-toggle.active:hover,
.navbar .menu .dropdown-toggle.is-active:hover {
    background: transparent !important;
    color: #d9a441 !important;
    box-shadow: none !important;
    text-decoration: none;
}

.navbar .dropdown-menu a.active,
.navbar .dropdown-menu a.is-active,
.navbar .dropdown-menu a[aria-current="page"] {
    background: transparent !important;
    color: #d9a441 !important;
    font-weight: 700;
    box-shadow: none !important;
    text-decoration: none;
}

.navbar .dropdown-menu a.active:hover,
.navbar .dropdown-menu a.is-active:hover,
.navbar .dropdown-menu a[aria-current="page"]:hover {
    background: transparent !important;
    color: #d9a441 !important;
    text-decoration: none;
}

/* ==========================================================================
   Accueil - totem Truffe Noire du Canigó dans le hero
   ========================================================================== */

.hero {
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero .hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
}

.hero-totem {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: clamp(30px, 7vw, 130px);
    transform: translateY(-50%);
    width: auto;
    height: clamp(460px, 68vh, 740px);
    max-height: calc(100% - 70px);
    object-fit: contain;
    pointer-events: none;
}

/* Ajustement intermédiaire : on garde le totem visible mais moins envahissant */
@media (max-width: 1180px) {
    .hero-totem {
        right: clamp(20px, 4vw, 60px);
        height: clamp(390px, 60vh, 620px);
        max-width: 34vw;
    }

    .hero .hero-content {
        max-width: 62%;
    }
}

/* Mobile / tablette : priorité à la lisibilité du texte */
@media (max-width: 820px) {
    .hero-totem {
        display: none;
    }

    .hero .hero-content {
        max-width: 100%;
    }
}

/* ==========================================================================
   Page Truffe Noire du Canigó - méthodes de cavage
   ========================================================================== */

.cavage-methods {
    display: grid;
    gap: 16px;
    margin-top: 26px;
}

.cavage-methods .intro-card {
    padding: 22px;
}

.cavage-methods .intro-card p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Page contact - annuaire du syndicat
   ========================================================================== */

.contact-directory-section {
    position: relative;
}

.contact-general-info {
    max-width: 900px;
    margin: 0 auto 28px;
    padding: 20px 24px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .06);
    text-align: center;
}

.contact-general-info p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
}

.contact-general-info a {
    color: #d9a441;
    font-weight: 700;
    text-decoration: none;
}

.contact-general-info a:hover {
    text-decoration: underline;
}

.contact-directory-card {
    padding: 28px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .07);
}

.contact-directory-card h3 {
    margin: 0 0 18px;
    font-size: 24px;
}

.contact-directory-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.contact-directory-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.contact-directory-table th,
.contact-directory-table td {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(36, 24, 16, .12);
    text-align: left;
    vertical-align: top;
}

.contact-directory-table th {
    background: #241810;
    color: #ffffff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.contact-directory-table td {
    color: #241810;
    line-height: 1.45;
}

.contact-directory-table td:first-child {
    font-weight: 700;
}

.contact-directory-table td span {
    display: inline-block;
    margin-top: 3px;
    color: #6f6258;
    font-size: 14px;
    font-weight: 400;
}

.contact-directory-table a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.contact-directory-table a:hover {
    color: #d9a441;
    text-decoration: none;
}

.contact-directory-note {
    margin: 20px 0 0;
    color: #6f6258;
    font-size: 14px;
    line-height: 1.5;
}

/* Version mobile : le tableau devient une succession de fiches */
@media (max-width: 720px) {
    .contact-directory-card {
        padding: 22px;
    }

    .contact-directory-table {
        min-width: 0;
    }

    .contact-directory-table thead {
        display: none;
    }

    .contact-directory-table,
    .contact-directory-table tbody,
    .contact-directory-table tr,
    .contact-directory-table td {
        display: block;
        width: 100%;
    }

    .contact-directory-table tr {
        margin-bottom: 16px;
        padding: 14px;
        border: 1px solid rgba(36, 24, 16, .12);
        border-radius: 14px;
        background: #f6f3ee;
    }

    .contact-directory-table td {
        padding: 8px 0;
        border-bottom: 0;
    }

    .contact-directory-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 3px;
        color: #6f6258;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .contact-general-info {
        text-align: left;
    }
}

/* ==========================================================================
   Page Truffe Noire du Canigó - image de la section arômes
   ========================================================================== */

#parfum-truffe .truffe-aromes-image img {
    object-position: center top !important;
}

/* ==========================================================================
   Page partenaires
   ========================================================================== */

.partenaires-intro {
    max-width: 900px;
    margin: 0 auto 36px;
    text-align: center;
    color: #6f6258;
    font-size: 18px;
    line-height: 1.6;
}

.partenaires-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.partenaire-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .07);
}

.partenaire-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    padding: 28px;
    background: #ffffff;
    border-bottom: 1px solid rgba(36, 24, 16, .10);
    text-decoration: none;
}

.partenaire-logo img {
    display: block;
    width: 100%;
    max-width: 260px;
    max-height: 150px;
    object-fit: contain;
}

.partenaire-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.partenaire-content h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.2;
}

.partenaire-content p {
    margin: 0 0 20px;
    color: #6f6258;
    line-height: 1.55;
}

.partenaire-link {
    margin-top: auto;
    color: #d9a441;
    font-weight: 700;
    text-decoration: none;
}

.partenaire-link:hover,
.partenaire-link:focus {
    text-decoration: underline;
}

/* Cas particuliers : logos très horizontaux */
.partenaire-logo img[src$="fft.webp"],
.partenaire-logo img[src$="robin.webp"],
.partenaire-logo img[src$="banque-populaire-sud.webp"] {
    max-width: 300px;
}

/* Cas particulier : logo Sud de France plus vertical */
.partenaire-logo img[src$="sud.webp"] {
    max-height: 170px;
}

@media (max-width: 1050px) {
    .partenaires-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .partenaires-grid {
        grid-template-columns: 1fr;
    }

    .partenaire-logo {
        min-height: 180px;
    }

    .partenaires-intro {
        text-align: left;
    }
}

/* ==========================================================================
   Pages légales
   ========================================================================== */

.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.legal-card {
    padding: 28px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .07);
}

.legal-card-wide {
    max-width: 980px;
    margin: 0 auto;
}

.legal-card h3 {
    margin: 0 0 18px;
    font-size: 24px;
}

.legal-card p {
    margin: 0 0 16px;
    color: #4a3a2d;
    line-height: 1.65;
}

.legal-card p:last-child {
    margin-bottom: 0;
}

.legal-card a {
    color: #d9a441;
    font-weight: 700;
    text-decoration: none;
}

.legal-card a:hover,
.legal-card a:focus {
    text-decoration: underline;
}

.legal-details {
    display: grid;
    gap: 16px;
    margin: 0;
}

.legal-details div {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(36, 24, 16, .10);
}

.legal-details div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.legal-details dt {
    margin-bottom: 5px;
    color: #6f6258;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.legal-details dd {
    margin: 0;
    color: #241810;
    line-height: 1.55;
}

.legal-details-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
}

.legal-details-compact div {
    padding-bottom: 0;
    border-bottom: 0;
}

@media (max-width: 820px) {
    .legal-grid,
    .legal-details-compact {
        grid-template-columns: 1fr;
    }

    .legal-card {
        padding: 22px;
    }
}

/* ==========================================================================
   Listes des pages légales
   ========================================================================== */

.legal-list {
    margin: 0 0 18px;
    padding-left: 22px;
    color: #4a3a2d;
    line-height: 1.65;
}

.legal-list li + li {
    margin-top: 6px;
}

/* ==========================================================================
   Page cookies
   ========================================================================== */

.cookies-table-wrap {
    width: 100%;
    margin: 24px 0;
    overflow-x: auto;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.cookies-table th,
.cookies-table td {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(36, 24, 16, .12);
    text-align: left;
    vertical-align: top;
}

.cookies-table th {
    background: #241810;
    color: #ffffff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.cookies-table td {
    color: #241810;
    line-height: 1.55;
}

.cookies-table td:first-child {
    font-weight: 700;
}

.legal-note {
    margin-top: 18px !important;
    color: #6f6258 !important;
    font-size: 14px;
}

@media (max-width: 720px) {
    .cookies-table {
        min-width: 0;
    }

    .cookies-table thead {
        display: none;
    }

    .cookies-table,
    .cookies-table tbody,
    .cookies-table tr,
    .cookies-table td {
        display: block;
        width: 100%;
    }

    .cookies-table tr {
        margin-bottom: 16px;
        padding: 14px;
        border: 1px solid rgba(36, 24, 16, .12);
        border-radius: 14px;
        background: #f6f3ee;
    }

    .cookies-table td {
        padding: 8px 0;
        border-bottom: 0;
    }

    .cookies-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 3px;
        color: #6f6258;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
    }
}

/* ==========================================================================
   Événements annulés côté public
   ========================================================================== */

.public-calendar-card-cancelled {
    position: relative;
    border: 2px solid rgba(179, 38, 30, .28);
}

.public-calendar-card-cancelled .public-calendar-thumb {
    filter: grayscale(.25);
}

.public-calendar-status-cancelled {
    background: #fdeaea !important;
    color: #9f241d !important;
}

.public-calendar-cancelled-notice {
    margin: 16px 0 18px;
    padding: 14px 16px;
    border-left: 5px solid #b3261e;
    border-radius: 12px;
    background: #fdeaea;
    color: #241810;
}

.public-calendar-cancelled-notice strong {
    display: block;
    margin-bottom: 6px;
    color: #9f241d;
}

.public-calendar-cancelled-notice p {
    margin: 0;
    line-height: 1.45;
}

.event-cancelled-section {
    padding-bottom: 0;
}

.event-cancelled-box {
    padding: 26px;
    border-left: 6px solid #b3261e;
    border-radius: 18px;
    background: #fdeaea;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .07);
}

.event-cancelled-box h2 {
    margin: 8px 0 12px;
}

.event-cancelled-box p {
    max-width: 900px;
    margin: 0 0 18px;
    line-height: 1.55;
}

/* ==========================================================================
   Page partenaires - ajustement nouveaux logos
   ========================================================================== */

.partenaire-logo img[src$="logo-mairie.webp"] {
    max-width: 190px;
    max-height: 190px;
}

.partenaire-logo img[src$="copylux.webp"] {
    max-width: 310px;
    max-height: 110px;
}

/* ==========================================================================
   Page Cycle de la truffe - schéma portrait
   ========================================================================== */

.cycle-truffe-schema {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 760px;
    margin: 30px auto 0;
    padding: 24px;
    background: #ffffff;
    border-radius: 18px;
    overflow: visible;
}

.cycle-truffe-schema img {
    display: block;
    width: 100%;
    height: auto !important;
    max-width: 100%;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 12px;
}

/* ==========================================================================
   Page Syndicat - image portrait de la section Promotion
   ========================================================================== */

.syndicat-promotion-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto !important;
    min-height: 520px;
    padding: 18px;
    background: #f6f3ee;
    overflow: visible !important;
}

.syndicat-promotion-image img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 680px;
    object-fit: contain !important;
    object-position: center center !important;
}

/* ==========================================================================
   Page Cycle de la truffe - second schéma paysage
   ========================================================================== */

.cycle-truffe-schema-paysage {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 980px;
    margin: 30px auto 0;
    padding: 18px;
    background: #ffffff;
    border-radius: 18px;
    overflow: visible;
}

.cycle-truffe-schema-paysage img {
    display: block;
    width: 100%;
    height: auto !important;
    max-width: 100%;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 12px;
}

/* ==========================================================================
   Accueil - image portrait dans la carte centrale du syndicat
   ========================================================================== */

#syndicat .home-syndicat-card-portrait img {
    display: block;
    width: 100%;
    height: 380px;
    object-fit: contain !important;
    object-position: center center !important;
    background: #f6f3ee;
    padding: 12px;
}

/* Ajustement tablette */
@media (max-width: 900px) {
    #syndicat .home-syndicat-card-portrait img {
        height: 340px;
    }
}

/* Ajustement mobile */
@media (max-width: 620px) {
    #syndicat .home-syndicat-card-portrait img {
        height: 360px;
        max-height: 70vh;
    }
}

/* Liens contextuels intégrés dans les paragraphes */
.section p a:not(.btn),
.agenda p a:not(.btn){
    color:inherit;
    font-weight:700;
    text-decoration:underline;
    text-decoration-thickness:2px;
    text-underline-offset:3px;
}

.section p a:not(.btn):hover,
.agenda p a:not(.btn):hover{
    opacity:.75;
}