/* Excavations Garon - feuille de style */
:root{--jaune:#f9be40;--orange:#f39a1e;--fonce:#3a3a3f;--gris:#d5dedd;--texte:#242424}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Roboto,Arial,Helvetica,sans-serif;font-size:16px;line-height:1.35;color:var(--texte);background:#fff}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3,p,ul{margin:0}
ul{padding:0;list-style:none}
.conteneur{width:100%;max-width:960px;margin:0 auto;padding:0 20px}
.etroit{max-width:820px}
.saut{position:absolute;left:-9999px}
.saut:focus{left:10px;top:10px;background:#fff;padding:8px 12px;z-index:100}
:focus-visible{outline:3px solid var(--orange);outline-offset:2px}

/* Barre du haut */
.barre-haut{background:var(--fonce);color:#fff}
.appel{display:flex;justify-content:flex-end;align-items:center;gap:10px;height:38px;font-size:11px;text-transform:uppercase;letter-spacing:.02em}
.appel img{width:22px;height:22px}
.appel a{font-size:16px;text-decoration:none}
.barre-mobile{display:none}

/* En-tête */
.entete{background:var(--gris);box-shadow:0 2px 6px rgba(0,0,0,.25);position:relative;z-index:5}
.entete-int{display:flex;align-items:stretch;gap:60px}
.logo{display:flex;align-items:center;padding:10px 0}
.logo img{width:auto;height:120px}
#menu ul{display:flex;height:100%}
#menu a{display:flex;align-items:center;height:100%;padding:0 14px;text-transform:uppercase;text-decoration:none;font-size:15px;color:#1c1c1c;transition:background .2s,color .2s}
#menu a:hover,#menu a.actif{background:var(--jaune);color:#fff}

/* Diaporama */
.slider{position:relative;overflow:hidden;background:#222;aspect-ratio:1270/390;min-height:260px;box-shadow:0 4px 8px rgba(0,0,0,.45)}
.slides,.slide{position:absolute;inset:0}
.slide{opacity:0;transition:opacity .9s ease;visibility:hidden}
.slide.actif{opacity:1;visibility:visible}
.slide>img{width:100%;height:100%;object-fit:cover}
.slide::after{content:"";position:absolute;inset:auto 0 0 0;height:55%;background:linear-gradient(transparent,rgba(0,0,0,.55))}
.slide-texte{position:absolute;left:5%;right:5%;bottom:60px;z-index:2;color:#fff;font-weight:700;text-shadow:2px 2px 4px rgba(0,0,0,.7);line-height:1.1;max-width:900px}
.s-petit{font-size:clamp(18px,2.6vw,36px)}
.s-grand{font-size:clamp(26px,4vw,54px)}
.fly{position:absolute;z-index:3;right:10%;top:10%;width:clamp(150px,21vw,327px)}
.points{position:absolute;z-index:3;left:5%;bottom:22px;display:flex;gap:8px}
.points button{width:38px;height:6px;border:0;padding:0;background:#d9d9d9;cursor:pointer}
.points button.actif{background:var(--orange)}

/* Trois blocs */
.trio{padding:55px 0 70px}
.trio-grille{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;text-align:center;max-width:920px}
.trio img{margin:0 auto 22px;width:150px;height:150px;object-fit:cover;border-radius:50%}
.trio h2{font-size:17px;font-weight:700;line-height:1.05;margin-bottom:14px}
.trio p{font-size:14.5px}

/* Bande image */
.bande{background:#8a6f55 url(../images/bloc_a3_bg.jpg) center/cover no-repeat;color:#fff;padding:80px 0 90px;text-shadow:2px 2px 4px rgba(0,0,0,.55)}
.bande h1{font-size:clamp(28px,3.4vw,40px);font-weight:700;text-transform:uppercase;line-height:1.05}
.bande h1::after{content:"";display:block;width:135px;height:4px;background:var(--orange);margin:18px 0 20px}
.bande p{font-size:18px}
.bande-centre{text-align:center;padding:60px 0}
.bande-centre h1::after{margin:18px auto 0}

/* Deux colonnes accueil */
.duo{padding:45px 0 55px}
.duo-grille{display:grid;grid-template-columns:1fr 1fr;gap:80px;max-width:900px}
.t-section{font-size:19px;font-weight:700;text-transform:uppercase;margin-bottom:22px}
.vignettes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:24px}
.vignettes img{width:100%;aspect-ratio:1;object-fit:cover}
.duo p{font-size:14.5px;margin-bottom:16px}
.liste-services li{display:flex;gap:18px;margin-bottom:40px}
.liste-services img{flex:0 0 94px;width:94px;height:94px;object-fit:cover;border-radius:50%}
.liste-services h3{font-size:13.5px;font-weight:700;margin-bottom:4px}
.liste-services p{margin:0}

/* Pages intérieures */
.banniere{background:#222;box-shadow:0 4px 8px rgba(0,0,0,.45);position:relative;z-index:1}
.banniere img{width:100%;max-height:390px;object-fit:cover}
.titre-page{padding:45px 0 10px;text-align:center}
.titre-page h1{font-size:clamp(28px,3.4vw,40px);font-weight:700;text-transform:uppercase}
.titre-page h1::after{content:"";display:block;width:135px;height:4px;background:var(--orange);margin:16px auto 0}
.banniere-sous{margin-top:20px;font-size:17px;max-width:760px;margin-inline:auto}
.texte{padding:35px 0 55px}
.texte h2{font-size:19px;font-weight:700;margin:28px 0 10px}
.texte h2:first-child{margin-top:0}
.texte p{margin-bottom:14px}
.texte a{color:#b56d00}
.vedette{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}
.vedette img{width:100%}
.puces li{padding:5px 0 5px 22px;position:relative}
.puces li::before{content:"";position:absolute;left:0;top:12px;width:9px;height:9px;background:var(--jaune)}
.cartes-section{background:#f1f4f4;padding:55px 0}
.cartes{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.cartes article{background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.cartes img{width:100%;aspect-ratio:4/3;object-fit:cover}
.cartes h3{font-size:18px;font-weight:700;text-transform:uppercase;padding:18px 20px 8px}
.cartes p{padding:0 20px 22px;font-size:14.5px}

/* Réalisations */
.filtres{display:flex;justify-content:center;gap:8px;margin-bottom:30px;flex-wrap:wrap}
.filtres button{font:inherit;text-transform:uppercase;font-size:14px;padding:10px 22px;border:0;background:var(--gris);color:#1c1c1c;cursor:pointer}
.filtres button:hover,.filtres button.actif{background:var(--jaune);color:#fff}
.galerie{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.galerie a{display:block;overflow:hidden;background:#eee}
.galerie a[hidden]{display:none}
.galerie img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .3s}
.galerie a:hover img{transform:scale(1.06)}
.visionneuse{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.9);display:flex;align-items:center;justify-content:center}
.visionneuse[hidden]{display:none}
.visionneuse img{max-width:88vw;max-height:88vh}
.visionneuse button{position:absolute;background:none;border:0;color:#fff;font-size:54px;line-height:1;cursor:pointer;padding:10px 18px}
.v-fermer{top:8px;right:12px}
.v-prec{left:8px;top:50%;transform:translateY(-50%)}
.v-suiv{right:8px;top:50%;transform:translateY(-50%)}

/* Contact */
.coordonnees{background:var(--fonce);color:#fff;margin-top:30px;padding:35px 0}
.coord-grille{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;text-align:center}
.coord-grille a{text-decoration:none;font-size:17px}
.coord-grille a:hover{color:var(--jaune)}
.coord-grille img{width:48px;height:48px;object-fit:contain;margin:0 auto 12px}
.formulaire{width:100%;height:1000px;border:0}
.texte .t-section{text-align:center}

/* Pied */
.pied{background:var(--fonce);color:#fff;text-align:center;font-size:12px;padding:18px 0}
.pied p{margin:4px 0}
.pied a{text-decoration:none}
.pied p:last-child a,.pied a:hover{text-decoration:underline}

/* Mobile */
@media (max-width:860px){
  .barre-haut{display:none}
  .barre-mobile{display:grid;grid-template-columns:repeat(4,1fr);background:var(--fonce);position:sticky;top:0;z-index:20}
  .barre-mobile a,.barre-mobile button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:9px 4px;color:#fff;font:inherit;font-size:12px;text-decoration:none;background:none;border:0;border-right:1px solid rgba(255,255,255,.15);cursor:pointer}
  .barre-mobile img{height:24px;width:auto}
  .entete-int{flex-direction:column;gap:0;align-items:center;padding:0}
  .logo img{height:100px}
  #menu{display:none;width:100%}
  #menu.ouvert{display:block}
  #menu ul{flex-direction:column}
  #menu a{justify-content:center;padding:14px;border-top:1px solid rgba(0,0,0,.1)}
  .slider{aspect-ratio:auto;height:300px}
  .fly{right:4%;top:6%}
  .trio-grille,.duo-grille,.vedette,.cartes,.coord-grille{grid-template-columns:1fr}
  .duo-grille{gap:40px}
  .bande{padding:55px 0}
  .bande p br{display:none}
  .galerie{grid-template-columns:repeat(2,1fr)}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
