/* ===== Le Cabinet des Halles — feuille de style =====

   La palette est relevée directement sur les images du projet
   d'aménagement (Polo studio, mai 2026) :
   crème chaud des murs, contreplaqué bouleau, terracotta de la banque
   d'accueil, rouge coquelicot des suspensions, vert d'eau de la salle
   d'attente, vert olive des chaises et du lettrage mural.
   ==================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Petrona:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Karla:ital,wght@0,400;0,500;0,600;0,700;1,500&display=swap');

:root{
  /* --- Fonds : les murs et plafonds du cabinet --- */
  --creme:#faf3ea;
  --creme-2:#f5ebde;
  --peche-pale:#fbe7db;
  --eau-pale:#e9f0ec;
  --surface:#fffcf8;

  /* --- Bois : contreplaqué bouleau et parquet chêne --- */
  --bois:#ecd7b5;
  --bois-2:#e0c197;
  --bois-fonce:#b98d5c;

  /* --- Pêche et rose poudré : murs du plateau, portes des cabines --- */
  --peche:#f2c4a8;
  --rose:#efcdc3;

  /* --- Terracotta : la banque d'accueil. C'est la couleur d'action. --- */
  --terre-100:#f6e0d6;
  --terre-200:#e9bda9;
  --terre-400:#c4704f;
  --terre-500:#a9502f;
  --terre-600:#8d4126;
  --terre-700:#70331e;

  /* --- Rouge coquelicot : suspensions, tabourets, coussins --- */
  --rouge:#d93a24;
  --rouge-fonce:#b52d19;

  /* --- Verts : salle d'attente, menuiseries, espaliers, lettrage --- */
  --eau-100:#dfeae3;
  --eau-200:#c4d8cd;
  --eau-300:#a5c0b3;
  --sapin:#2c6b3d;
  --olive-500:#5a6841;
  --olive-600:#485431;
  --olive-700:#3a4428;
  --olive-800:#2b331e;

  /* --- Encre et traits --- */
  --ink:#2a2920;
  --ink-light:#5d5849;
  --line:#e7dbc8;
  --white:#ffffff;

  --radius-lg:22px;
  --radius-md:14px;
  --radius-sm:9px;
  --shadow:0 18px 40px rgba(58,42,30,0.14);
  --shadow-sm:0 4px 16px rgba(58,42,30,0.09);
  --ease-out:cubic-bezier(.16,1,.3,1);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;scrollbar-color:var(--terre-200) var(--creme-2);scrollbar-width:thin;}
body{
  margin:0;
  font-family:'Karla',sans-serif;
  background:var(--creme);
  color:var(--ink);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Petrona',serif;
  font-weight:600;
  color:var(--ink);
  margin:0 0 .5em;
  line-height:1.15;
  text-wrap:balance;
  letter-spacing:-0.01em;
  /* Filet de sécurité : « kinésithérapeutes » est plus long que la largeur
     d'un petit téléphone. Sans ceci, le mot sort de sa boîte et fait
     glisser toute la page de côté. Ne s'active que si le mot ne tient
     vraiment pas — invisible partout ailleurs. */
  overflow-wrap:break-word;
  hyphens:auto;
}
p{margin:0 0 1em;text-wrap:pretty;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
ul{margin:0;padding:0;list-style:none;}
table{font-variant-numeric:tabular-nums;}
::selection{background:var(--peche);color:var(--ink);}
::-webkit-scrollbar{width:12px;height:12px;}
::-webkit-scrollbar-track{background:var(--creme-2);}
::-webkit-scrollbar-thumb{background:var(--terre-200);border-radius:100px;border:3px solid var(--creme-2);}
::-webkit-scrollbar-thumb:hover{background:var(--terre-400);}
:focus-visible{outline:2px solid var(--terre-500);outline-offset:3px;border-radius:4px;}

.container{
  max-width:1160px;
  margin:0 auto;
  padding:0 24px;
}

/* ===== Icon system ===== */
.icon{
  width:1.15em;
  height:1.15em;
  stroke:currentColor;
  stroke-width:1.75;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
  display:inline-block;
  vertical-align:-0.18em;
}
.icon-solid{fill:currentColor;stroke:none;}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:14px 28px;
  border-radius:100px;
  font-weight:600;
  font-family:'Karla',sans-serif;
  font-size:.98rem;
  transition:transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s var(--ease-out), border-color .2s;
  border:none;
  cursor:pointer;
}
.btn .icon{width:1.05em;height:1.05em;}
.btn:active{transform:translateY(0) scale(.97);}
.btn-primary{
  background:var(--terre-500);
  color:var(--white);
  box-shadow:var(--shadow-sm);
}
.btn-primary:hover{background:var(--terre-600);transform:translateY(-2px);box-shadow:var(--shadow);}
.btn-ghost{
  background:transparent;
  color:var(--terre-600);
  border:1.5px solid var(--terre-200);
}
.btn-ghost:hover{background:var(--terre-100);border-color:var(--terre-400);transform:translateY(-2px);}
/* Le rouge coquelicot des suspensions : réservé aux appels à l'action
   forts, posés sur un fond sombre. */
.btn-gold{
  background:var(--rouge);
  color:var(--white);
  box-shadow:var(--shadow-sm);
}
.btn-gold:hover{background:var(--rouge-fonce);transform:translateY(-2px);box-shadow:var(--shadow);}

/* ===== Header ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(250,243,234,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid transparent;
  transition:box-shadow .25s var(--ease-out), border-color .25s var(--ease-out);
}
.site-header.scrolled{
  border-bottom-color:var(--line);
  box-shadow:0 6px 20px rgba(58,42,30,0.07);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  /* Garantit un espace minimum entre le nom du cabinet et le téléphone,
     même quand la place vient à manquer sur un petit écran. */
  gap:14px;
  padding:16px 24px;
  max-width:1160px;
  margin:0 auto;
}
/* Le nom du cabinet est l'élément le plus affirmé de l'en-tête : c'est lui
   qu'on doit lire en premier, avant même la navigation. Il ne se laisse
   jamais comprimer — plutôt basculer en menu burger que couper
   « Le Cabinet des Halles » sur deux lignes. */
.logo{
  display:flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
  white-space:nowrap;
  font-family:'Petrona',serif;
  font-weight:700;
  font-size:1.62rem;
  line-height:1.1;
  letter-spacing:-0.015em;
  color:var(--ink);
}
.logo svg{flex-shrink:0;width:42px;height:42px;}
.logo .logo-sub{
  display:block;
  margin-top:3px;
  font-family:'Karla',sans-serif;
  font-weight:600;
  font-size:.68rem;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--terre-500);
}
.main-nav ul{display:flex;gap:4px;align-items:center;}
.main-nav a{
  padding:10px 16px;
  border-radius:100px;
  font-weight:500;
  font-size:.95rem;
  color:var(--ink-light);
  white-space:nowrap;
  transition:background .2s, color .2s;
}
.main-nav a:hover, .main-nav a.active{
  background:var(--terre-100);
  color:var(--terre-700);
}
/* Le téléphone et le bouton de menu ne se laissent jamais comprimer ni
   pousser : quoi qu'il arrive à gauche, ils restent visibles à l'écran. */
.header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;}
.header-phone{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  color:var(--terre-600);
  font-size:.95rem;
  font-variant-numeric:tabular-nums;
  padding:8px 10px;
  border-radius:100px;
  transition:background .2s;
}
.header-phone:hover{background:var(--terre-100);}
.header-phone .icon{color:var(--terre-500);}
.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
}
.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  background:var(--ink);
  margin:5px 0;
  border-radius:2px;
  transition:transform .2s var(--ease-out), opacity .2s;
}

/* ===== Motion: one authored entrance per page ===== */
@keyframes rise-in{
  from{opacity:0;transform:translateY(16px);}
  to{opacity:1;transform:translateY(0);}
}
.reveal{animation:rise-in .8s var(--ease-out) both;}
.reveal-d1{animation-delay:.09s;}
.reveal-d2{animation-delay:.18s;}
.reveal-d3{animation-delay:.27s;}
@media (prefers-reduced-motion:reduce){
  .reveal,.reveal-d1,.reveal-d2,.reveal-d3{animation:none;}
}

/* ===== Hero ===== */
.hero{
  padding:60px 0 44px;
}
.hero-inner{
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:56px;
  align-items:center;
}
.hero h1{
  font-size:clamp(2.3rem,4.2vw,3.5rem);
}
.hero p.lead{
  font-size:1.15rem;
  color:var(--ink-light);
  max-width:46ch;
}
.hero-actions{display:flex;gap:14px;margin-top:22px;flex-wrap:wrap;}
.hero-photo{
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow);
  aspect-ratio:4/3;
}
.hero-facts{
  display:flex;
  flex-wrap:wrap;
  gap:14px 28px;
  margin-top:30px;
  padding-top:22px;
  border-top:1px solid var(--line);
}
.hero-fact{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:.92rem;
  color:var(--ink-light);
  font-weight:500;
}
.hero-fact .icon{color:var(--terre-500);}
.hero-fact strong{color:var(--ink);font-weight:600;}

/* ===== Le récit du cabinet (accueil) =====
   La colonne est centrée dans la page, mais son texte est aligné à gauche :
   sur trois paragraphes, un texte centré oblige l'œil à rechercher le début
   de chaque ligne. Seul le titre reste centré, pour garder le rythme des
   autres sections de la page. */
.recit{
  max-width:64ch;
  margin:0 auto;
}
.recit h1, .recit h2{text-align:center;}
.recit p{color:var(--ink-light);}
.recit p:last-child{margin-bottom:0;}
/* Quand le récit introduit ce qui suit (une galerie, une grille), il garde
   l'espacement d'un chapô de section. */
.recit--intro{margin-bottom:44px;}

/* ===== Petite galerie (aperçu du cabinet sur l'accueil) ===== */
.galerie{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.galerie .photo-frame{
  aspect-ratio:4/3;
  box-shadow:var(--shadow-sm);
  transition:transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.galerie a.photo-frame:hover{transform:translateY(-4px);box-shadow:var(--shadow);}

/* ===== Sections generic ===== */
section{padding:60px 0;}
.section-head{
  max-width:640px;
  margin:0 0 44px;
}
.section-head.center{text-align:center;margin-inline:auto;}
.section-head p{color:var(--ink-light);margin-top:10px;}
.bg-soft{background:var(--eau-pale);}
.bg-cream-dark{background:var(--creme-2);}
.bg-peche{background:var(--peche-pale);}

/* ===== Photo / image placeholders ===== */
.photo-frame{
  position:relative;
  background:var(--eau-100);
  border-radius:var(--radius-lg);
  overflow:hidden;
}
.photo-frame img{width:100%;height:100%;object-fit:cover;}
.photo-frame.no-photo{
  display:flex;
  align-items:center;
  justify-content:center;
}
.no-photo-content{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  padding:20px;
}
.no-photo-content .icon{
  width:30px;
  height:30px;
  color:var(--eau-300);
  stroke-width:1.5;
}
.no-photo-content span{
  font-size:.82rem;
  font-weight:600;
  color:var(--olive-600);
  text-align:center;
}

/* ===== Specialty list (editorial rows, not cards) ===== */
.spec-list{
  border-top:1px solid var(--line);
}
.spec-row{
  display:grid;
  grid-template-columns:56px 1fr;
  gap:22px;
  align-items:start;
  padding:26px 0;
  border-bottom:1px solid var(--line);
}
/* Les pastilles reprennent les couleurs des portes du cabinet :
   vert d'eau, pêche, rose, bois, terracotta… une par ligne. */
.spec-row-icon{
  width:52px;
  height:52px;
  border-radius:50%;
  background:var(--eau-200);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--olive-700);
  flex-shrink:0;
}
.spec-row:nth-child(6n+2) .spec-row-icon{background:var(--peche);color:var(--terre-700);}
.spec-row:nth-child(6n+3) .spec-row-icon{background:var(--rose);color:var(--terre-700);}
.spec-row:nth-child(6n+4) .spec-row-icon{background:var(--bois);color:var(--terre-700);}
.spec-row:nth-child(6n+5) .spec-row-icon{background:var(--eau-300);color:var(--olive-800);}
.spec-row:nth-child(6n+6) .spec-row-icon{background:var(--terre-200);color:var(--terre-700);}
.spec-row-icon .icon{width:24px;height:24px;}
.spec-row h3{font-size:1.15rem;margin-bottom:6px;}
.spec-row p{color:var(--ink-light);margin-bottom:0;max-width:62ch;font-size:.98rem;}

/* Specialty teaser (homepage) */
.spec-teaser{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
}
.spec-pill{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:11px 20px;
  border-radius:100px;
  border:1px solid var(--line);
  background:var(--surface);
  font-weight:600;
  font-size:.92rem;
  color:var(--ink);
  transition:border-color .2s, transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.spec-pill:hover{border-color:var(--terre-400);transform:translateY(-2px);box-shadow:var(--shadow-sm);}
.spec-pill .icon{color:var(--terre-500);width:1.05em;height:1.05em;}

/* ===== Team grid ===== */
.team-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:22px;
}
.team-card{
  background:var(--surface);
  border-radius:var(--radius-md);
  padding:26px 18px;
  text-align:center;
  box-shadow:var(--shadow-sm);
  transition:transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.team-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);}
.avatar{
  width:108px;
  height:108px;
  border-radius:50%;
  margin:0 auto 16px;
  background:var(--eau-200);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  border:3px solid var(--eau-100);
}
.avatar img{width:100%;height:100%;object-fit:cover;}
.avatar.no-photo::before{
  content:attr(data-initials);
  font-family:'Petrona',serif;
  font-weight:600;
  font-size:1.7rem;
  color:var(--olive-700);
}
/* Comme les portes numérotées du cabinet, chaque rond a sa teinte. */
.team-card:nth-child(5n+2) .avatar{background:var(--peche);border-color:var(--terre-100);}
.team-card:nth-child(5n+2) .avatar.no-photo::before{color:var(--terre-700);}
.team-card:nth-child(5n+3) .avatar{background:var(--rose);border-color:var(--terre-100);}
.team-card:nth-child(5n+3) .avatar.no-photo::before{color:var(--terre-700);}
.team-card:nth-child(5n+4) .avatar{background:var(--bois);border-color:var(--creme-2);}
.team-card:nth-child(5n+4) .avatar.no-photo::before{color:var(--terre-700);}
.team-card:nth-child(5n+5) .avatar{background:var(--eau-300);border-color:var(--eau-100);}
.team-card:nth-child(5n+5) .avatar.no-photo::before{color:var(--olive-800);}

.team-card h3{font-size:1.06rem;margin-bottom:6px;}
.tag-list{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  justify-content:center;
  margin-top:10px;
}
.tag{
  font-size:.72rem;
  font-weight:600;
  padding:5px 12px;
  border-radius:100px;
  background:var(--terre-100);
  color:var(--terre-700);
}

/* ===== Carousel photos du cabinet ===== */
.carousel{
  position:relative;
  max-width:880px;
  margin:0 auto;
}
.carousel-viewport{
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow);
  background:var(--surface);
}
.carousel-track{
  display:flex;
  transition:transform .5s var(--ease-out);
}
.carousel-slide{min-width:100%;}
/* Les photos réelles mélangent portrait et paysage : on les montre en
   entier (contain), posées sur un fond flouté de la même photo (--photo,
   défini sur chaque cadre dans cabinet.html) plutôt que de les rogner. */
.carousel-slide .photo-frame{aspect-ratio:4/3;border-radius:0;isolation:isolate;}
.carousel-slide .photo-frame::before{
  content:"";
  position:absolute;
  inset:-40px;
  background:var(--photo) center/cover no-repeat;
  filter:blur(28px) saturate(1.1);
  opacity:.55;
  z-index:-1;
}
.carousel-slide .photo-frame img{object-fit:contain;position:relative;}
.carousel-btn{
  position:absolute;
  /* Les flèches sont posées sur `.carousel`, qui comprend aussi la rangée de
     pastilles sous l'image (~27 px). Ce retrait les recentre sur la photo. */
  top:calc(50% - 14px);
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:50%;
  border:none;
  background:var(--white);
  box-shadow:var(--shadow-sm);
  color:var(--terre-600);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .2s, transform .2s var(--ease-out);
  z-index:5;
}
.carousel-btn .icon{width:20px;height:20px;}
.carousel-btn:hover{background:var(--terre-100);transform:translateY(-50%) scale(1.06);}
.carousel-btn.prev{left:-8px;}
.carousel-btn.next{right:-8px;}
.carousel-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:18px;
  flex-wrap:wrap;
}
/* Les pastilles rouges des coussins de la salle d'attente. */
.carousel-dot{
  position:relative;
  width:22px;
  height:9px;
  padding:0;
  border:none;
  background:transparent;
  cursor:pointer;
}
.carousel-dot::after{
  content:"";
  position:absolute;
  inset:0;
  margin:auto;
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--terre-200);
  transition:transform .25s var(--ease-out), background .25s;
}
.carousel-dot.active::after{transform:scaleX(2.6);background:var(--rouge);}
@media (prefers-reduced-motion:reduce){
  .carousel-track{transition:none;}
  .carousel-dot::after{transition:none;}
}
@media (max-width:640px){
  .carousel-btn{width:38px;height:38px;}
  .carousel-btn.prev{left:4px;}
  .carousel-btn.next{right:4px;}
  /* Quatorze pastilles ne tiennent pas sur une ligne d'écran de téléphone :
     on les resserre plutôt que de les laisser passer à la ligne. */
  .carousel-dots{gap:4px;}
  .carousel-dot{width:16px;height:16px;}
  .carousel-dot::after{width:8px;height:8px;}
  .carousel-dot.active::after{transform:scaleX(2);}
}

/* ===== Info / contact blocks ===== */
.info-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}
.info-card{
  background:var(--surface);
  border-radius:var(--radius-md);
  padding:32px;
  box-shadow:var(--shadow-sm);
}
.info-card h3{display:flex;align-items:center;gap:10px;font-size:1.08rem;margin-bottom:14px;}
.info-card h3 .icon{color:var(--terre-500);}
.info-card a.value{color:var(--terre-600);font-weight:600;font-variant-numeric:tabular-nums;}
.hours-table{width:100%;border-collapse:collapse;}
.hours-table td{padding:8px 0;border-bottom:1px solid var(--line);font-size:.95rem;}
.hours-table td:last-child{text-align:right;font-weight:600;color:var(--terre-600);}
.hours-table tr:last-child td{border-bottom:none;}
.map-frame{
  width:100%;
  height:340px;
  border:0;
  border-radius:var(--radius-md);
  filter:saturate(.85);
}
/* Cible des boutons « Appeler un kiné » : on la décale sous l'en-tête fixe. */
#contacts-equipe{scroll-margin-top:96px;}
.roster-table td:first-child{font-weight:500;}
.roster-table td:last-child{color:var(--ink-light);font-weight:500;}
.roster-table a{color:var(--terre-600);text-decoration:none;white-space:nowrap;}
.roster-table a:hover{text-decoration:underline;}
.roster-table .non-renseigne{font-weight:400;font-style:italic;}

/* ===== Bloc « à venir » (page Les cours) ===== */
.bientot{
  max-width:640px;
  margin:0 auto;
  text-align:center;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:48px 32px;
  box-shadow:var(--shadow-sm);
}
.bientot-pastille{
  width:68px;
  height:68px;
  border-radius:50%;
  margin:0 auto 22px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--peche);
  color:var(--terre-700);
}
.bientot-pastille .icon{width:32px;height:32px;}
.bientot h2{margin-bottom:12px;}
.bientot p{
  color:var(--ink-light);
  max-width:46ch;
  margin:0 auto .7em;
}
.bientot .btn{margin-top:24px;}
@media (max-width:640px){
  .bientot{padding:36px 22px;}
}

/* ===== Venir au cabinet (accès) =====
   Une pastille de couleur par mode de transport, comme les portes
   numérotées du cabinet. */
.acces-list{display:block;}
.acces-row{
  display:grid;
  grid-template-columns:46px 1fr;
  gap:16px;
  align-items:start;
  padding:18px 0;
  border-bottom:1px solid var(--line);
}
.acces-row:first-child{padding-top:2px;}
.acces-row:last-child{border-bottom:none;padding-bottom:0;}
.acces-pastille{
  width:44px;
  height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--eau-200);
  color:var(--olive-700);
}
.acces-row:nth-child(2) .acces-pastille{background:var(--peche);color:var(--terre-700);}
.acces-row:nth-child(3) .acces-pastille{background:var(--rose);color:var(--terre-700);}
.acces-pastille .icon{width:22px;height:22px;}
.acces-row h4{font-size:1.02rem;margin:0 0 5px;}
.acces-row p{margin:0;color:var(--ink-light);font-size:.95rem;}
.acces-row p + p{margin-top:6px;}
.acces-row strong{color:var(--ink);font-weight:600;}
.acces-temps{
  color:var(--terre-600);
  font-weight:600;
  white-space:nowrap;
}

/* ===== CTA band =====
   Le vert olive du carrelage et du lettrage de la salle d'attente. */
.cta-band{
  background:var(--olive-700);
  color:var(--eau-100);
  border-radius:var(--radius-lg);
  padding:48px;
  text-align:center;
}
.cta-band h2{color:var(--white);}
.cta-band p{color:var(--eau-200);}
/* Bandeau sans phrase intermédiaire (titre puis bouton directement) : on
   rend au bouton l'air que le paragraphe lui donnait. */
.cta-band > h2 + .btn{margin-top:12px;}

/* ===== Footer ===== */
.site-footer{
  background:var(--olive-800);
  color:var(--eau-100);
  padding:56px 0 24px;
  margin-top:64px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:40px;
  margin-bottom:32px;
}
.footer-grid h4{color:var(--white);font-size:1rem;}
.footer-grid p, .footer-grid a{color:var(--eau-200);font-size:.92rem;}
.footer-grid ul li{margin-bottom:10px;display:flex;align-items:center;gap:9px;}
.footer-grid a{display:inline-flex;align-items:center;gap:9px;transition:color .2s;}
.footer-grid a:hover{color:var(--white);}
.footer-grid .icon{color:var(--peche);width:1.05em;height:1.05em;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.13);
  padding-top:20px;
  text-align:center;
  font-size:.82rem;
  color:var(--eau-200);
}

/* ===== Responsive ===== */
@media (max-width:900px){
  .hero-inner{grid-template-columns:1fr;}
  .hero-photo{order:-1;aspect-ratio:16/10;}
  .info-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;gap:28px;}
  .spec-row{grid-template-columns:44px 1fr;}
}
/* Six onglets + un nom de cabinet écrit gros : mesuré au navigateur, il
   faut 1112 px de large pour que tout tienne sur une ligne. En dessous de
   1120 px on passe donc au menu déroulant, sinon l'en-tête se casse en
   deux lignes.
   Le menu est positionné par rapport à l'en-tête (`top:100%`) et non à une
   hauteur écrite en dur : il reste collé dessous même si le titre change
   de taille. */
@media (max-width:1120px){
  .main-nav{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:var(--creme);
    border-bottom:1px solid var(--line);
    transform:translateY(-120%);
    opacity:0;
    /* Fermé, le menu est glissé au-dessus de l'en-tête : sans ceci il
       continuerait d'intercepter les clics sur le haut de la page. */
    pointer-events:none;
    transition:transform .25s var(--ease-out), opacity .25s var(--ease-out);
    box-shadow:var(--shadow-sm);
  }
  .main-nav.open{transform:translateY(0);opacity:1;pointer-events:auto;}
  .main-nav ul{flex-direction:column;padding:16px 24px;gap:2px;align-items:stretch;}
  .main-nav a{display:block;}
  .nav-toggle{display:block;}
}

/* Sur un téléphone, le nom du cabinet à sa taille de bureau (300 px) ne
   laissait plus la place au téléphone ni au bouton de menu : ceux-ci
   partaient hors de l'écran, et il fallait faire glisser la page vers la
   droite pour trouver le menu. On réduit donc le nom ici, et on l'autorise
   à passer sur deux lignes sur les très petits écrans — deux lignes propres
   valent mieux qu'un bouton invisible. */
@media (max-width:560px){
  .header-inner{padding:14px 16px;}
  .logo{
    font-size:1.2rem;
    gap:10px;
    flex-shrink:1;
    min-width:0;
    white-space:normal;
  }
  .logo svg{width:34px;height:34px;}
  .logo .logo-sub{font-size:.62rem;letter-spacing:.1em;}
  /* Le grand titre de bureau était trop gros pour un téléphone : les mots
     longs n'y tenaient plus. Le plafond rejoint exactement la taille du
     titre de bureau à 560 px, il n'y a donc aucun saut au changement. */
  .hero h1{font-size:clamp(1.9rem,8vw,2.3rem);}
}

/* Les resserrements propres au téléphone restent, eux, au seuil d'origine :
   sur une tablette de 900 px, trois photos côte à côte tiennent très bien. */
@media (max-width:760px){
  .header-phone span.long{display:none;}
  section{padding:44px 0;}
  .cta-band{padding:36px 24px;}
  .galerie{grid-template-columns:1fr;gap:14px;}
}

/* ===== INTERRUPTEUR — standard téléphonique 02 28 30 82 99 =====
   Ligne coupée depuis le 16/11/2026 : le numéro est masqué partout
   (en-tête, pied de page, boutons) et les boutons « appeler » renvoient
   vers les numéros directs de l'équipe (contact.html#contacts-equipe).

   POUR RÉAFFICHER LE NUMÉRO quand la ligne remarche : remplacer la ligne
   ci-dessous par
       .sans-standard{display:none !important;}
   (et rien d'autre à toucher). */
.standard{display:none !important;}
