@font-face{font-family:"Montserrat";font-weight:400;font-style:normal;font-display:swap;src:url(fonts/montserrat-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-weight:500;font-style:normal;font-display:swap;src:url(fonts/montserrat-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-weight:600;font-style:normal;font-display:swap;src:url(fonts/montserrat-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-weight:800;font-style:normal;font-display:swap;src:url(fonts/montserrat-latin-800-normal.woff2) format("woff2")}
@font-face{font-family:"Bodoni Moda";font-weight:500;font-style:normal;font-display:swap;src:url(fonts/bodoni-moda-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Bodoni Moda";font-weight:700;font-style:normal;font-display:swap;src:url(fonts/bodoni-moda-latin-700-normal.woff2) format("woff2")}

:root{
  --nuit:#17332d; --nuit-2:#21463e; --teal:#529180; --menthe:#8bc1b6; --sable:#d0be9e;
  --ambre:#f5a623; --fond:#f4f8f6; --fond-2:#e4efeb; --texte:#14231f; --doux:#4d6159;
  --titre:"Montserrat","Helvetica Neue",Arial,sans-serif;
  --serif:"Bodoni Moda","Didot",Georgia,serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:80px}
body{margin:0;font-family:var(--titre);font-size:1.0625rem;line-height:1.7;color:var(--texte);background:var(--fond)}
a{color:inherit}
:focus-visible{outline:3px solid var(--ambre);outline-offset:3px}
h1,h2{font-family:var(--titre);font-weight:800;line-height:1.08;margin:0 0 .5em;letter-spacing:-.015em}
h2{font-size:clamp(1.9rem,4.6vw,2.8rem)}
h3{font-family:var(--serif);font-weight:700;font-size:1.45rem;line-height:1.2;margin:0 0 .5em}
p{margin:0 0 1em;max-width:64ch}
.wrap{width:min(1100px,100% - 2.5rem);margin-inline:auto}
section{padding:5rem 0}

.age{background:#0f221e;color:#cfe3dc;font-size:.82rem;text-align:center;padding:.4rem 1rem;line-height:1.4}
header.nav{position:sticky;top:0;z-index:10;background:var(--nuit);color:#fff}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:64px}
.marque{display:flex;align-items:center;gap:.7rem;text-decoration:none;font-weight:800;font-size:1.1rem}
.marque img{width:46px;height:46px}
.nav ul{display:flex;gap:1.4rem;list-style:none;margin:0;padding:0;font-weight:500;font-size:.95rem}
.nav li a{text-decoration:none;padding:.4rem 0;border-bottom:2px solid transparent}
.nav li a:hover{border-color:var(--ambre)}
@media(max-width:820px){.nav .wrap{padding:.4rem 0}.nav ul{gap:.2rem .9rem;font-size:.85rem;flex-wrap:wrap;justify-content:flex-end}.marque span{display:none}}

/* hero */
.hero{background:var(--nuit);color:#fff;padding:4rem 0 0}
.hero .wrap{display:grid;grid-template-columns:1.3fr 1fr;gap:3rem;align-items:center}
.hero h1{font-size:clamp(2.3rem,6vw,4.3rem);max-width:14ch}
.hero p{font-size:1.15rem;color:#d3e6df}
.hero .logo{width:100%;max-width:380px;justify-self:center}
@media(max-width:820px){.hero .wrap{grid-template-columns:1fr}.hero .logo{max-width:230px;grid-row:1;justify-self:start}}
.btns{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.8rem}
.btn{display:inline-block;font-weight:800;text-decoration:none;padding:.85rem 1.5rem;border-radius:999px;background:var(--ambre);color:#14231f}
.btn:hover{background:#ffb94a}
.btn.alt{background:transparent;color:#fff;border:2px solid var(--menthe)}
.btn.alt:hover{background:rgba(255,255,255,.1)}
.btn.sombre{background:var(--nuit);color:#fff}
.btn.sombre:hover{background:var(--nuit-2)}
.pour{margin-top:4rem;height:84px;display:flex;font-weight:800;transform-origin:left;animation:remplir 1.4s cubic-bezier(.2,.7,.2,1) both}
.pour a{flex:1;display:flex;align-items:flex-end;padding:0 1.2rem .8rem;text-decoration:none;color:#14231f}
.pour a:nth-child(1){background:#f3c552}
.pour a:nth-child(2){background:#f5a623}
.pour a:nth-child(3){background:#c4722a;color:#14231f}
.pour a:hover{filter:brightness(1.08)}
@keyframes remplir{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){.pour{animation:none}html{scroll-behavior:auto}}

/* fûts */
.intro{font-size:1.2rem}
.offres{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:2.5rem;margin-top:2rem}
.offres h3{border-top:4px solid var(--teal);padding-top:.8rem}
.inclus{background:var(--fond-2);border-radius:8px;padding:1.6rem 1.8rem;margin-top:3rem}
.inclus h3{margin-top:0}
.inclus ul{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.2rem 2rem}
.inclus li{padding-left:1.6rem;position:relative}
.inclus li::before{content:"";position:absolute;left:0;top:.5em;width:.8rem;height:.8rem;border-radius:50%;background:var(--teal)}
.inclus strong{display:block}
.etapes{list-style:none;counter-reset:e;padding:0;margin:1rem 0 2rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem}
.etapes li{counter-increment:e;padding-left:3.1rem;position:relative;max-width:34ch}
.etapes li::before{content:counter(e);position:absolute;left:0;top:0;width:2.3rem;height:2.3rem;border-radius:50%;background:var(--teal);color:#0f221e;font-weight:800;display:grid;place-items:center}
.note{font-size:.95rem;color:var(--doux);margin-top:1.5rem}
.trio .photo {aspect-ratio: 4 / 3;background: var(--fond-2);overflow: hidden;}

/* Supprime le texte de remplacement "Photo 8", etc. */
.trio .photo::before {content: none;}

/* brasserie */
.duo{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.duo img{width:100%;border-radius:8px;display:block}
@media(max-width:800px){.duo{grid-template-columns:1fr}}
.lieu{font-weight:500;color:var(--doux);font-size:.95rem}

/* bières */
.fiche .photo {height: 335px;width: 100%;margin: 0;padding: 15px;box-sizing: border-box;display: flex;align-items: center;justify-content: center;overflow: hidden;background: #e8f5f1;border-radius: 8px;}
.fiche .photo img {display: block;width: 100%;height: 100%;object-fit: contain;object-position: center;}

/* Affichage sur mobile */
@media (max-width: 600px) {.fiche .photo {height: 300px;}}

/* points de vente */
.pdv-liste{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:2rem 2.5rem;margin-top:2rem}
.pdv h3{font-size:1.25rem;margin-bottom:.3em;border-top:3px solid var(--ambre);padding-top:.7rem}
.pdv p{margin:0 0 .6em;color:var(--doux);line-height:1.5}
.pdv strong{color:var(--texte);font-weight:600}

/* infos */
.infos{background:var(--nuit);color:#fff}
.infos .duo{align-items:start}
.infos p{color:#d3e6df}
.horaires{list-style:none;padding:0;margin:0 0 1.5rem}
.horaires li{display:flex;justify-content:space-between;gap:1rem;padding:.6rem 0;border-bottom:1px solid rgba(255,255,255,.2);max-width:26rem;font-weight:500}
.infos a.lien{color:var(--ambre)}

footer{background:#0f221e;color:#aac3ba;padding:2rem 0;font-size:.9rem}
footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem}

/* pages + photos */
.nav li a[aria-current="page"]{border-color:var(--ambre)}
.photo{position:relative;background:var(--menthe);border-radius:8px;overflow:hidden;aspect-ratio:4/3;margin:0}
.photo.haut{aspect-ratio:3/4}
.photo::before{content:"Photo " attr(data-n);position:absolute;inset:0;display:grid;place-items:center;font-weight:800;color:var(--nuit);opacity:.55}
.photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.galerie{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin-top:2rem}
.trio{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin:2rem 0}
.fiche{display:grid;grid-template-columns:1fr 1.2fr;gap:2.5rem;align-items:center;padding:2.5rem 0;border-top:1px solid #c9ddd6}
.fiche:nth-of-type(even) .photo{order:2}
@media(max-width:800px){.fiche{grid-template-columns:1fr}.fiche:nth-of-type(even) .photo{order:0}}
.fiche .teinte{width:64px;height:8px;border-radius:4px;margin-bottom:1rem}
.fiche .formats{font-weight:600;font-size:.95rem;color:var(--doux)}
.teaser{background:var(--ambre);color:#14231f}
.teaser .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.5rem}
.teaser h2{margin:0 0 .3em}.teaser p{margin:0}

.icones{display:flex;gap:.3rem;margin-left:.5rem}
.icones a{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--nuit-2);color:#fff}
.icones a:hover{background:var(--ambre);color:#14231f}
.nav .wrap{flex-wrap:wrap}
.reseaux-bandeau{background:var(--teal);color:#0f221e;padding:3.5rem 0}
.reseaux-bandeau .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.5rem}
.reseaux-bandeau h2{margin:0 0 .3em}.reseaux-bandeau p{margin:0}
.reseaux-bandeau .btn{display:inline-flex;align-items:center;gap:.5rem}
footer a{color:#e4efeb}

.form{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.2rem 1.5rem;margin-top:2rem;max-width:860px}
.form label{display:flex;flex-direction:column;gap:.35rem;font-weight:600;font-size:.95rem}
.form small{font-weight:400;color:var(--doux)}
.form .plein{grid-column:1/-1}
.form input,.form select,.form textarea{font:inherit;font-weight:400;padding:.7rem .85rem;border:2px solid #b9d3ca;border-radius:6px;background:#fff;color:var(--texte);width:100%}
.form input:focus,.form select:focus,.form textarea:focus{outline:3px solid var(--ambre);border-color:var(--teal)}
.form .coche{flex-direction:row;align-items:center;gap:.6rem;font-weight:500}
.form .coche input{width:auto}
.form button{border:0;cursor:pointer;font-family:var(--titre);font-size:1rem}

/* Médaille : petite, en haut à droite */
.fiche .photo img.medaille-image {position: absolute;top: 10px;right: 10px;width: 65px;height: 65px;padding: 0;margin: 0;object-fit: contain;z-index: 2;background: transparent;border: none;}

/* Affichage sur mobile */
@media (max-width: 600px) {.fiche .photo {height: 300px;}
.fiche .photo img.medaille-image {width: 55px;height: 55px;top: 8px;right: 8px;}}

/* Fûts et tireuses : afficher les produits en entier */
.trio .photo {height: 300px;aspect-ratio: auto;padding: 10px;background: #e4efeb;}
.trio .photo img {position: relative;inset: auto;width: 100%;height: 100%;object-fit: contain;object-position: center;}


/* ========================================
   GOODIES : IMAGES COMPLÈTES ET CENTRÉES
   ======================================== */

.offres-goodies {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    align-items: start;}

.offres-goodies .goodie {
    min-width: 0;}

.offres-goodies .photo-goodie {
    width: 100%;
    height: 260px;
    margin: 0;
    padding: 15px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    border-radius: 8px;
    background: #e8f1ed;}

.offres-goodies .photo-goodie img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;}

.offres-goodies .goodie h3 {
    margin-top: 1rem;}

/* Tablettes */
@media (max-width: 900px) {
    .offres-goodies {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;}}

/* Téléphones */
@media (max-width: 550px) {
    .offres-goodies {
        grid-template-columns: 1fr;
        gap: 30px;}

    .offres-goodies .photo-goodie {
        height: 280px;}}

/* ===== ajouts de sécurité et de fiabilité ===== */
.photo:has(img)::before,.photo:not([data-n])::before{content:none}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.skip{position:absolute;left:-9999px;top:0;background:var(--ambre);color:#14231f;padding:.7rem 1rem;font-weight:800;z-index:100}
.skip:focus{left:0}
.avert{background:#fff3c4;padding:.1rem .35rem;border-radius:3px}
.legal h2{font-size:1.4rem;margin-top:2rem}
/* styles auparavant écrits dans le HTML */
.s1{padding:3rem 0}
.s2{padding:3rem 0;background:var(--fond-2)}
.s3{margin-top:2.5rem;font-size:1.6rem}
.s4{background:#f3c552}
.s5{background:#0ab9c5}
.s6{background:#c4722a}
.s7{background:#a51de4}
.s8{background:#0f0601}
.s9{margin-top:3rem}
.s10{display:none}
.s11{max-width:26rem}
.s12{background:var(--fond-2)}
