/* ==========================================================================
   Océane Désamiantage - Dépollution
   ========================================================================== */

@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/polices/hanken-grotesk-latin.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --marine: #08153f;
  --marine-clair: #12256b;
  --azur: #2f80ed;
  --azur-fonce: #1c64c7;
  --azur-pale: #9cc4ff;
  --blanc: #fff;
  --gris: #f3f5f9;
  --trait: #dfe4ee;
  --texte: #1b2233;
  --texte-doux: #566078;
  --rouge: #c0271f;
  --vert: #1b7a45;
  --fond: #fff;
  --fond-doux: #f3f5f9;
  --carte: #fff;
  --titre: var(--marine);
  --lien: var(--azur-fonce);
  --pastille: var(--marine);
  --champ: #fff;
  --champ-bord: #c3cbda;
  --filtre-logo: none;
  color-scheme: light;
  --largeur: 1180px;
  --marge: clamp(1.25rem, 5vw, 3rem);
  --rayon: 14px;
}

/* Mode sombre : choisi par le visiteur (bouton), sinon celui du système */
:root[data-theme='sombre'] {
  --fond: #0b1122;
  --fond-doux: #121a31;
  --carte: #1a2440;
  --titre: #f2f5fb;
  --texte: #d9dfec;
  --texte-doux: #a3aec6;
  --trait: #2a3554;
  --lien: #8ab8ff;
  --pastille: var(--azur);
  --champ: #0f172b;
  --champ-bord: #3a4668;
  --rouge: #ff8a80;
  --vert: #6fd39a;
  --filtre-logo: brightness(0) invert(1);
  color-scheme: dark;
}

/* Sans JavaScript, on suit simplement le réglage du système */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --fond: #0b1122;
    --fond-doux: #121a31;
    --carte: #1a2440;
    --titre: #f2f5fb;
    --texte: #d9dfec;
    --texte-doux: #a3aec6;
    --trait: #2a3554;
    --lien: #8ab8ff;
    --pastille: var(--azur);
    --champ: #0f172b;
    --champ-bord: #3a4668;
    --rouge: #ff8a80;
    --vert: #6fd39a;
    --filtre-logo: brightness(0) invert(1);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  font-family: 'Hanken Grotesk', 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--texte);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--lien);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  color: var(--titre);
  text-wrap: balance;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--azur);
  outline-offset: 3px;
}

.conteneur {
  width: 100%;
  max-width: calc(var(--largeur) + 2 * var(--marge));
  margin-inline: auto;
  padding-inline: var(--marge);
}

.centre {
  text-align: center;
}

.visuellement-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.lien-evitement {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--carte);
  border-radius: 8px;
  font-weight: 600;
}

.lien-evitement:focus {
  top: 1rem;
}

.icone {
  flex: none;
  width: 1.5em;
  height: 1.5em;
}

/* --- Boutons ------------------------------------------------------------ */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.bouton:hover {
  transform: translateY(-2px);
}

.bouton--plein {
  background: var(--azur);
  border-color: var(--azur);
  color: var(--blanc);
}

.bouton--plein:hover {
  background: var(--azur-fonce);
  border-color: var(--azur-fonce);
}

.bouton--contour {
  border-color: var(--blanc);
  color: var(--blanc);
}

.bouton--contour:hover {
  background: var(--blanc);
  color: var(--marine);
}

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  text-decoration: none;
}

.lien-fleche .icone {
  transition: transform 0.2s;
}

.lien-fleche:hover .icone {
  transform: translateX(4px);
}

/* --- En-tête ------------------------------------------------------------ */

.entete {
  z-index: 20;
}

.entete__contenu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: calc(var(--largeur) + 2 * var(--marge));
  margin-inline: auto;
  padding: 0.9rem var(--marge);
}

.entete__logo img {
  width: clamp(150px, 18vw, 205px);
}

.entete--barre .entete__logo img {
  filter: var(--filtre-logo);
}

.entete__actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  order: 3;
}

.bouton-theme {
  display: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--titre);
  cursor: pointer;
  transition: background-color 0.2s;
}

/* Le bouton n'a d'effet qu'avec JavaScript */
.js .bouton-theme {
  display: grid;
}

.bouton-theme:hover {
  background: rgb(127 127 127 / 0.2);
}

.bouton-theme span {
  display: grid;
}

.bouton-theme__soleil,
[data-theme='sombre'] .bouton-theme__lune {
  display: none !important;
}

[data-theme='sombre'] .bouton-theme__soleil {
  display: grid !important;
}

.menu {
  margin-left: auto;
}

.menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
}

.menu a {
  display: block;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--titre);
  text-decoration: none;
  transition: border-color 0.2s;
}

.menu a:hover,
.menu a[aria-current='page'] {
  border-bottom-color: var(--azur);
}

.entete__bouton-menu {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--titre);
  cursor: pointer;
}

.entete__barres,
.entete__barres::before,
.entete__barres::after {
  display: block;
  width: 1.5rem;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  transition: transform 0.2s, background-color 0.2s;
}

.entete__barres {
  position: relative;
}

.entete__barres::before,
.entete__barres::after {
  content: '';
  position: absolute;
  left: 0;
}

.entete__barres::before {
  top: -7px;
}

.entete__barres::after {
  top: 7px;
}

.entete__bouton-menu[aria-expanded='true'] .entete__barres {
  background: transparent;
}

.entete__bouton-menu[aria-expanded='true'] .entete__barres::before {
  transform: translateY(7px) rotate(45deg);
}

.entete__bouton-menu[aria-expanded='true'] .entete__barres::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Variante barre blanche (pages intérieures) */
.entete--barre {
  position: sticky;
  top: 0;
  background: var(--fond);
  box-shadow: 0 1px 0 var(--trait);
}

/* Variante posée sur la photo (accueil) : logo centré, menu dessous */
.entete--photo {
  position: absolute;
  inset: 0 0 auto 0;
}

.entete--photo .entete__contenu {
  flex-direction: column;
  gap: 1.1rem;
  padding-top: clamp(1.25rem, 3.5vh, 2.25rem);
}

.entete--photo .entete__logo img {
  width: clamp(190px, 22vw, 280px);
  filter: brightness(0) invert(1);
}

.entete--photo .menu {
  margin-left: 0;
}

.entete--photo .entete__actions {
  position: absolute;
  top: 1rem;
  right: var(--marge);
}

.entete--photo .menu a,
.entete--photo .bouton-theme,
.entete--photo .entete__bouton-menu {
  color: var(--blanc);
}

.entete--photo .menu a:hover,
.entete--photo .menu a[aria-current='page'] {
  border-bottom-color: var(--azur-pale);
}

/* --- Accueil : photo d'ouverture ---------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 100svh, 1100px);
  padding-block: 13rem 7rem;
  background: var(--marine);
  color: var(--blanc);
  overflow: hidden;
}

.hero__fond,
.bandeau__fond,
.pied__fond {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__fond {
  object-position: 28% center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(8 21 63 / 0.72) 0%, rgb(8 21 63 / 0.5) 45%, rgb(8 21 63 / 0.78) 100%);
}

.hero__contenu {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 62rem;
  font-size: clamp(1.2rem, 0.75rem + 1.9vw, 2.05rem);
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--blanc);
  text-wrap: pretty;
}

.hero__boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero__telephone {
  position: absolute;
  right: var(--marge);
  bottom: 1.75rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blanc);
  text-decoration: none;
}

.hero__pastille {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--azur);
  transition: transform 0.2s;
}

.hero__telephone:hover .hero__pastille {
  transform: scale(1.08);
}

/* --- Sections ----------------------------------------------------------- */

.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.section--grise {
  background: var(--fond-doux);
}

.section--marine {
  background: var(--marine);
  color: var(--blanc);
}

.titre-section {
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  font-weight: 700;
}

.titre-section--centre {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.titre-section--centre::after {
  content: '';
  display: block;
  width: 3.5rem;
  height: 4px;
  margin: 1rem auto 0;
  border-radius: 2px;
  background: var(--azur);
}

.section--marine .titre-section {
  color: var(--blanc);
}

/* Présentation : titre à gauche, texte à droite */
.presentation__colonnes {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: start;
}

.presentation p {
  margin: 0 0 1.1rem;
  color: var(--texte-doux);
}

/* Services : bande grise et tuiles à pictogramme */
.metiers__bande {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: var(--fond-doux);
}

.metiers__grille {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.metier {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 2rem 1.5rem;
  border-radius: var(--rayon);
  background: var(--carte);
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgb(8 21 63 / 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.metier:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgb(8 21 63 / 0.14);
}

.metier__icone {
  display: grid;
  place-items: center;
  flex: none;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  background: var(--pastille);
  color: var(--blanc);
}

.metier__icone .icone {
  width: 2.25rem;
  height: 2.25rem;
}

.metier h3 {
  margin: 1.25rem 0 0.6rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.metier p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--texte-doux);
}

/* Repères chiffrés */
.reperes__grille {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  text-align: center;
}

.reperes__grille strong {
  display: block;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--azur);
}

.reperes__grille span {
  display: block;
  max-width: 16rem;
  margin: 0.6rem auto 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--texte-doux);
}

/* Tuiles photo des réalisations */
.tuiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.tuiles--trois {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tuile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--rayon);
  background: var(--marine-clair);
  color: var(--blanc);
  text-decoration: none;
}

.tuile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.tuile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(8 21 63 / 0.1) 30%, rgb(8 21 63 / 0.85) 100%);
  transition: background-color 0.3s;
}

.tuile span {
  position: absolute;
  inset: auto 1.5rem 1.25rem;
  z-index: 1;
  font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.4rem);
  font-weight: 700;
  line-height: 1.3;
}

.tuile:hover img {
  transform: scale(1.06);
}

.realisations-accueil .centre {
  margin: 2.5rem 0 0;
}

/* Appel au contact */
.appel__contenu {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 2rem clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.appel p {
  margin: 1rem 0 0;
  color: var(--texte-doux);
}

.appel__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.appel__telephone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--titre);
  text-decoration: none;
}

/* --- Pages intérieures -------------------------------------------------- */

.bandeau {
  position: relative;
  padding-block: clamp(3rem, 8vw, 5.5rem);
  background: var(--marine);
  overflow: hidden;
}

.bandeau__fond,
.pied__fond {
  opacity: 0.22;
}

.bandeau .conteneur {
  position: relative;
}

.bandeau h1 {
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3rem);
  font-weight: 700;
  color: var(--blanc);
}

.texte p {
  margin: 0 0 1.15rem;
}

.texte h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.4rem;
}

.texte--etroit {
  max-width: calc(48rem + 2 * var(--marge));
}

.chapeau {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--titre);
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.service {
  display: flex;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
}

.service h2 {
  margin: 0.4rem 0 0.9rem;
  font-size: 1.4rem;
}

.service p {
  margin: 0 0 1rem;
  color: var(--texte-doux);
}

.service p:last-child {
  margin-bottom: 0;
}

.service:target {
  border-color: var(--azur);
  box-shadow: 0 0 0 3px rgb(47 128 237 / 0.18);
}

.photo-large {
  margin: 0;
}

.photo-large img {
  width: 100%;
  max-height: 34rem;
  object-fit: cover;
}

/* À propos */
.a-propos {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.a-propos__photo {
  position: sticky;
  top: 7rem;
  margin: 0;
}

.a-propos__photo img {
  border-radius: var(--rayon);
}

/* Réalisation */
.etapes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  counter-reset: etape;
}

.etapes li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem 0.5rem 0.5rem;
  border-radius: 999px;
  background: var(--fond-doux);
  font-weight: 600;
  color: var(--titre);
  counter-increment: etape;
}

.etapes li::before {
  content: counter(etape);
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--pastille);
  font-size: 0.95rem;
  color: var(--blanc);
}

.galerie {
  columns: 3 18rem;
  column-gap: 1.25rem;
}

.galerie li {
  margin-bottom: 1.25rem;
  break-inside: avoid;
}

.galerie img {
  width: 100%;
  border-radius: var(--rayon);
}

.a-venir {
  margin: 0;
  padding: 3rem 1.5rem;
  border: 2px dashed var(--trait);
  border-radius: var(--rayon);
  text-align: center;
  color: var(--texte-doux);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.coordonnees {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.coordonnees li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.coordonnees .icone {
  color: var(--azur);
}

.coordonnees a {
  color: inherit;
}

.formulaire {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-radius: var(--rayon);
  background: var(--fond-doux);
}

.champ {
  margin-bottom: 1.25rem;
}

.champ label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--titre);
}

.champ input[type='text'],
.champ input[type='email'],
.champ input[type='tel'],
.champ textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--champ-bord);
  border-radius: 10px;
  background: var(--champ);
  font: inherit;
  color: var(--texte);
}

.champ textarea {
  resize: vertical;
}

.champ [aria-invalid='true'] {
  border-color: var(--rouge);
}

.champ__erreur {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--rouge);
}

.champ--case {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 0.75rem;
  align-items: start;
}

.champ--case input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.3rem 0 0;
  accent-color: var(--azur);
}

.champ--case label {
  margin: 0;
  font-weight: 500;
  color: var(--texte-doux);
}

.champ--case .champ__erreur {
  grid-column: 2;
}

.champ-piege {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.message {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1.1rem;
  border-left: 4px solid;
  border-radius: 8px;
  background: var(--carte);
  font-weight: 600;
}

.message--succes {
  border-color: var(--vert);
  color: var(--vert);
}

.message--erreur {
  border-color: var(--rouge);
  color: var(--rouge);
}

/* --- Pied de page ------------------------------------------------------- */

.pied {
  position: relative;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--marine);
  color: rgb(255 255 255 / 0.82);
  font-size: 1.05rem;
  overflow: hidden;
}

.pied__colonnes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 5vw, 4rem);
}

.pied__logo {
  width: 210px;
  margin-bottom: 1.75rem;
  filter: brightness(0) invert(1);
}

.pied h2 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blanc);
}

.pied p {
  margin: 0 0 1.5rem;
}

.pied a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.pied a:hover {
  color: var(--blanc);
  text-decoration: underline;
}

.pied__liens {
  display: grid;
  gap: 0.35rem;
}

.pied__copyright {
  position: relative;
  margin: 2rem 0 0 !important;
  padding: 1.25rem var(--marge);
  border-top: 1px solid rgb(255 255 255 / 0.15);
  text-align: center;
  font-size: 0.95rem;
}

/* --- Apparition au défilement (uniquement si JavaScript est actif) ------- */

.js .apparition {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .apparition.est-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .apparition {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .bouton,
  .metier,
  .tuile img {
    transition: none;
  }
}

/* --- Adaptation aux petits écrans --------------------------------------- */

@media (max-width: 1000px) {
  .metiers__grille,
  .reperes__grille {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .presentation__colonnes,
  .appel__contenu,
  .a-propos,
  .contact,
  .pied__colonnes {
    grid-template-columns: minmax(0, 1fr);
  }

  .a-propos__photo {
    position: static;
  }

  .tuiles--trois {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Menu repliable */
  .entete__bouton-menu {
    display: block;
  }

  .entete__contenu {
    flex-wrap: wrap;
  }

  .entete__actions {
    order: 0;
    margin-left: auto;
  }

  .entete--photo .entete__actions {
    position: static;
  }

  .menu {
    display: none;
    flex-basis: 100%;
    margin-left: 0;
  }

  .menu.est-ouvert {
    display: block;
  }

  .menu ul {
    flex-direction: column;
    gap: 0;
    padding-bottom: 0.5rem;
  }

  .menu a {
    padding: 0.7rem 0;
  }

  .entete--photo .entete__contenu {
    flex-direction: row;
    gap: 1rem;
  }

  .entete--photo .entete__logo img {
    width: 170px;
  }

  .entete--photo .menu.est-ouvert {
    margin-inline: calc(-1 * var(--marge));
    padding-inline: var(--marge);
    background: rgb(8 21 63 / 0.96);
  }

  .hero {
    padding-block: 8rem 7.5rem;
  }

  .hero__telephone {
    left: var(--marge);
    justify-content: space-between;
  }
}

@media (max-width: 560px) {
  .metiers__grille,
  .tuiles,
  .tuiles--trois {
    grid-template-columns: minmax(0, 1fr);
  }

  .service {
    flex-direction: column;
    gap: 1rem;
  }

  .hero__boutons .bouton {
    flex: 1 1 100%;
  }
}
