/* serrurier-urrugne.fr — feuille de style dédiée (refonte 2026-10)
   Palette : sable, vert basque, rouge basque. Unités en vw/vh. */

@font-face {
  font-family: 'Manrope';
  src: url('https://serrurier-urrugne.fr/fonts/Manrope-Regular.woff2') format('woff2');
  font-display: swap;
}

:root {
  --sable: #f4efe6;
  --papier: #fffdf9;
  --vert: #12493b;
  --vert-clair: #1f6b55;
  --vert-nuit: #0c3329;
  --rouge: #c41e3a;
  --rouge-vif: #e0314f;
  --encre: #1c1f1d;
  --gris: #5b625e;
  --trait: #e3dccf;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--sable);
  font-family: 'Manrope', sans-serif;
  color: var(--encre);
  font-size: 4vw;
  line-height: 1.55;
}

img {
  max-width: 100%;
}

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

.site-header {
  position: relative;
  padding: 7vh 6vw 9vh;
  background:
    linear-gradient(172deg, transparent 78%, var(--sable) 78.4%),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.08) 0 18vw, transparent 18.2vw),
    var(--vert);
  color: #ffffff;
  text-align: left;
}

.site-header::before {
  content: "";
  display: block;
  width: 14vw;
  height: 0.8vh;
  margin-bottom: 2.5vh;
  background: var(--rouge);
  border-radius: 1vw;
}

.site-title {
  margin: 0;
  font-size: 8.5vw;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.highlight {
  display: inline-block;
  padding: 0 0.25em;
  background: var(--rouge);
  color: #ffffff;
  border-radius: 0.2em;
  transform: rotate(-2deg);
}

.basca-villes-proches .highlight {
  transform: none;
}

.key-emoji {
  display: inline-block;
  animation: balance 2.4s ease-in-out infinite;
  transform-origin: 50% 60%;
}

@keyframes balance {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-14deg); }
}

@keyframes pulse {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.25); opacity: 0.75; }
  100% { transform: scale(1); opacity: 1; }
}

/* ---------- Présentation ---------- */

.presentation-urrugne {
  display: flex;
  flex-direction: column;
  gap: 4vh;
  margin-top: -5vh;
  padding: 0 6vw 6vh;
  color: var(--encre);
}

.adresse-meta {
  display: none;
}

.double-photo {
  position: relative;
  height: 52vw;
  margin: 0;
}

.double-photo img {
  position: absolute;
  object-fit: cover;
  display: block;
  margin: 0;
  box-shadow: 0 1.5vh 4vh rgba(12, 51, 41, 0.28);
}

.photo-gauche {
  top: 0;
  left: 0;
  width: 62%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 4vw 4vw 4vw 0;
  border: 1.2vw solid var(--papier);
}

.photo-droite {
  right: 0;
  bottom: -6vw;
  width: 46%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 4vw 0 4vw 4vw;
  border: 1.2vw solid var(--papier);
  transform: rotate(3deg);
}

.presentation-texte {
  margin-top: 6vw;
  padding: 5vh 6vw 4vh;
  background: var(--papier);
  border-radius: 4vw;
  border-left: 1.5vw solid var(--rouge);
  box-shadow: 0 1vh 3vh rgba(28, 31, 29, 0.06);
}

.presentation-titre {
  display: flex;
  align-items: center;
  gap: 3vw;
  margin: 0 0 2.5vh;
  font-size: 6.2vw;
  line-height: 1.2;
  color: var(--vert);
}

.presentation-logo {
  height: 12vw;
  width: auto;
  padding: 1.2vw;
  background: var(--sable);
  border-radius: 50%;
}

.description-paragraphe {
  margin: 0 0 2vh;
  font-size: 4vw;
  line-height: 1.6;
  text-align: left;
  color: var(--gris);
}

.description-paragraphe strong {
  color: var(--encre);
}

.presentation-visuel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4vw;
  box-shadow: 0 1vh 3vh rgba(28, 31, 29, 0.12);
}

/* ---------- Prestations ---------- */

.carousel-section-prestations {
  padding: 7vh 0 6vh;
  background: var(--papier);
  overflow: hidden;
}

.titre-prestations {
  margin: 0 6vw 2vh;
  font-size: 6.4vw;
  line-height: 1.2;
  text-align: center;
  color: var(--vert);
}

.titre-prestations::after {
  content: "";
  display: block;
  width: 16vw;
  height: 0.7vh;
  margin: 2vh auto 0;
  background: linear-gradient(90deg, var(--rouge) 0 50%, var(--vert-clair) 50% 100%);
  border-radius: 1vw;
}

.text-bleu-foncé {
  margin: 0 6vw 3vh;
  font-size: 3.8vw;
  text-align: center;
  color: var(--gris);
}

.text-bleu-foncé strong {
  color: var(--encre);
}

.swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2vw;
  margin-bottom: 2vh;
  font-size: 4.2vw;
  font-weight: 700;
  color: var(--rouge);
  animation: slide-left 1.8s ease-in-out infinite;
}

.swipe-hint svg {
  width: 5vw;
  height: 5vw;
  fill: var(--rouge);
}

@keyframes slide-left {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(-3vw); opacity: 0.7; }
}

.swipe-icon {
  animation: icon-pulse 1.8s ease-in-out infinite;
}

@keyframes icon-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.8; }
}

.carousel-container-prestation {
  display: flex;
  gap: 4vw;
  padding: 1vh 6vw 3vh;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 6vw;
  -webkit-overflow-scrolling: touch;
}

.carousel-item-prestation {
  flex: 0 0 86%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 0.3vw solid var(--trait);
  border-radius: 5vw;
  overflow: hidden;
  box-shadow: 0 1vh 3vh rgba(12, 51, 41, 0.08);
}

.carousel-item-prestation img {
  display: block;
  width: 100%;
  height: 30vh;
  object-fit: cover;
  border-bottom: 0.8vh solid var(--vert);
}

.prestation-info {
  padding: 3vh 5vw 3vh;
  text-align: left;
}

.prestation-info h3 {
  margin: 0 0 2vh;
  padding-left: 3vw;
  border-left: 1.2vw solid var(--rouge);
  font-size: 5vw;
  line-height: 1.25;
  color: var(--vert);
}

.prestation-info p {
  margin: 0 0 1.6vh;
  font-size: 3.8vw;
  line-height: 1.6;
  color: var(--gris);
  text-align: left;
}

.prestation-info p b {
  color: var(--encre);
}

.prestation-info p strong {
  color: var(--rouge);
}

/* ---------- Avis ---------- */

.bloc-avis {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2vh;
  margin: 6vh 6vw 0;
  padding: 4vh 6vw;
  background: var(--papier);
  border-radius: 5vw;
  border: 0.3vw dashed var(--vert-clair);
}

.image-artisan {
  display: block;
  width: 70%;
  height: auto;
  margin: 0;
  border-radius: 4vw;
  box-shadow: 0 1vh 2.5vh rgba(28, 31, 29, 0.15);
}

.kksr-stars {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5vw;
  margin: 0;
  font-size: 9vw;
  direction: ltr;
  unicode-bidi: bidi-override;
}

.kksr-star {
  display: inline-block;
  cursor: pointer;
  color: #e9b53c;
  filter: brightness(0.55) saturate(0.6);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.kksr-star.active,
.kksr-star.hover {
  filter: brightness(1.1);
  transform: translateY(-0.4vh);
}

.kksr-caption {
  flex-basis: 100%;
  margin: 0;
  font-size: 3.8vw;
  text-align: center;
  color: var(--gris);
}

/* ---------- Contact ---------- */

.contact-section {
  position: relative;
  margin: 6vh 6vw;
  padding: 5vh 6vw;
  background: var(--vert);
  color: #ffffff;
  text-align: center;
  border-radius: 5vw;
  overflow: hidden;
  box-shadow: 0 1.5vh 4vh rgba(12, 51, 41, 0.3);
}

.contact-section::before {
  content: "";
  position: absolute;
  top: -12vw;
  right: -12vw;
  width: 36vw;
  height: 36vw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.contact-logo {
  display: block;
  width: auto;
  max-height: 14vh;
  margin: 0 auto 2.5vh;
  border-radius: 50%;
  border: 1vw solid rgba(255, 255, 255, 0.85);
}

.contact-titre {
  margin: 0 0 3vh;
  font-size: 6.4vw;
}

.contact-ligne {
  margin: 0 0 3vh;
  font-size: 3.8vw;
  color: #d5e6df;
}

.contact-ligne:last-child {
  margin-bottom: 0;
}

.contact-ligne b {
  color: #ffffff;
}

.contact-bouton {
  display: inline-block;
  margin-top: 1.2vh;
  padding: 1.6vh 6vw;
  background: var(--rouge);
  color: #ffffff;
  font-size: 4.6vw;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10vw;
  box-shadow: 0 0.8vh 2vh rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-bouton:hover {
  background: var(--rouge-vif);
  transform: translateY(-0.3vh);
}

/* ---------- Villes ---------- */

.basca-villes-proches {
  padding: 7vh 6vw;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1vw, transparent 1vw 2vw),
    var(--vert-nuit);
  color: #ffffff;
  text-align: center;
}

.basca-villes-proches h2 {
  margin: 0 0 3vh;
  font-size: 5.6vw;
  line-height: 1.3;
}

.basca-villes-proches p {
  margin: 0 auto 2.5vh;
  font-size: 3.8vw;
  color: #c3d6cf;
}

.basca-villes-proches strong {
  color: #ffffff;
}

.villes-liste {
  display: flex;
  flex-direction: column;
  gap: 4vh;
  margin-top: 4vh;
}

.colonne-villes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2vw;
}

.colonne-villes strong {
  flex-basis: 100%;
  margin-bottom: 1vh;
  font-size: 4.2vw;
  color: var(--rouge-vif);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.colonne-villes a {
  padding: 0.9vh 3vw;
  font-size: 3.3vw;
  color: #ffffff;
  text-decoration: none;
  border: 0.3vw solid rgba(255, 255, 255, 0.35);
  border-radius: 10vw;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.colonne-villes a:hover {
  background: var(--rouge);
  border-color: var(--rouge);
}

/* ---------- Carte ---------- */

.map-section {
  padding: 5vh 6vw;
  background: var(--sable);
}

#map-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 5vw;
  border: 1vw solid var(--papier);
  background: var(--trait);
  box-shadow: 0 1vh 3vh rgba(28, 31, 29, 0.12);
}

.map-actions {
  margin-top: 2.5vh;
  text-align: center;
}

.map-bouton {
  padding: 1.6vh 7vw;
  border: 0.5vw solid var(--vert);
  background: transparent;
  color: var(--vert);
  font-family: inherit;
  font-size: 4vw;
  font-weight: 700;
  border-radius: 10vw;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.map-bouton:hover {
  background: var(--vert);
  color: #ffffff;
}

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

.footer-site {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1vh 5vw;
  margin-bottom: 0;
  padding: 3vh 6vw 22vh;
  background: var(--vert-nuit);
  font-size: 3.4vw;
}

.footer-site a {
  color: #c3d6cf;
  text-decoration: none;
  white-space: nowrap;
}

.footer-site a:hover {
  color: #ffffff;
}

/* ---------- Barre d'actions fixe ---------- */

.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  border-top: 0.6vh solid var(--rouge);
  box-shadow: 0 -0.5vh 2vh rgba(0, 0, 0, 0.12);
  font-family: 'Manrope', sans-serif;
}

.mobile-nav-top {
  display: flex;
  justify-content: center;
  padding: 1.2vh 4vw 0;
}

.mobile-nav-top a {
  display: inline-flex;
  align-items: center;
  gap: 2.5vw;
  padding: 1.3vh 8vw;
  background: var(--rouge);
  color: #ffffff;
  font-size: 5.2vw;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10vw;
  box-shadow: 0 0.6vh 1.6vh rgba(196, 30, 58, 0.35);
}

.mobile-nav-top a .pulse {
  font-size: 6vw;
  animation: pulse 1.2s infinite;
}

.mobile-nav-bottom {
  display: flex;
  justify-content: space-around;
  padding: 1.4vh 2vw 1.6vh;
}

.mobile-nav-bottom > a {
  text-align: center;
  font-size: 3.6vw;
  color: var(--vert);
  text-decoration: none;
}

.mobile-nav-bottom > a div:first-child {
  font-size: 5.5vw;
  margin-bottom: 0.3vh;
}

.dropdown {
  position: relative;
  text-align: center;
}

.dropdown-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0;
  background: none;
  border: none;
  color: var(--vert);
  font-family: inherit;
  font-size: 3.6vw;
  cursor: pointer;
}

.dropdown-toggle div:first-child {
  font-size: 5.5vw;
  margin-bottom: 0.3vh;
}

.dropdown-menu {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  min-width: 60vw;
  margin-bottom: 1vh;
  padding: 1vh 0;
  background: #ffffff;
  border: 0.3vw solid var(--trait);
  border-top: 0.6vh solid var(--vert);
  border-radius: 3vw;
  box-shadow: 0 1vh 3vh rgba(0, 0, 0, 0.15);
  z-index: 1001;
}

.dropdown-toggle:focus + .dropdown-menu,
.dropdown-menu:hover {
  display: flex;
}

.dropdown-menu a {
  padding: 1.6vh 5vw;
  color: var(--vert);
  font-size: 3.8vw;
  text-decoration: none;
  text-align: left;
}

.dropdown-menu a:hover {
  background: var(--sable);
  color: var(--rouge);
}

/* ---------- Bureau ---------- */

@media (min-width: 1024px) {
  body {
    font-size: 1.05vw;
  }

  .site-header {
    padding: 9vh 12vw 16vh;
    background:
      linear-gradient(176deg, transparent 80%, var(--sable) 80.3%),
      radial-gradient(circle at 82% 30%, rgba(255, 255, 255, 0.07) 0 12vw, transparent 12.1vw),
      var(--vert);
  }

  .site-header::before {
    width: 5vw;
    height: 0.6vh;
    margin-bottom: 3vh;
    border-radius: 0.3vw;
  }

  .site-title {
    font-size: 3.6vw;
  }

  .presentation-urrugne {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "photos texte"
      "photos visuel";
    column-gap: 5vw;
    row-gap: 4vh;
    max-width: 76vw;
    margin: -11vh auto 0;
    padding: 0 0 10vh;
  }

  .double-photo {
    grid-area: photos;
    height: 34vw;
  }

  .photo-gauche {
    width: 72%;
    border-width: 0.5vw;
    border-radius: 1.6vw 1.6vw 1.6vw 0;
  }

  .photo-droite {
    bottom: 0;
    width: 48%;
    border-width: 0.5vw;
    border-radius: 1.6vw 0 1.6vw 1.6vw;
  }

  .presentation-texte {
    grid-area: texte;
    margin-top: 12vh;
    padding: 4vh 2.6vw 3vh;
    border-radius: 1.4vw;
    border-left-width: 0.45vw;
  }

  .presentation-titre {
    gap: 1vw;
    font-size: 1.9vw;
  }

  .presentation-logo {
    height: 3.6vw;
    padding: 0.4vw;
  }

  .description-paragraphe {
    font-size: 1.02vw;
  }

  .presentation-visuel {
    grid-area: visuel;
  }

  .presentation-visuel img {
    width: 80%;
    margin: 0 auto;
    border-radius: 1.4vw;
  }

  .carousel-section-prestations {
    padding: 11vh 0 10vh;
  }

  .titre-prestations {
    margin: 0 auto 2vh;
    max-width: 60vw;
    font-size: 2.3vw;
  }

  .titre-prestations::after {
    width: 5vw;
    border-radius: 0.3vw;
  }

  .text-bleu-foncé {
    max-width: 52vw;
    margin: 0 auto 6vh;
    font-size: 1.1vw;
  }

  .swipe-hint {
    display: none;
  }

  .carousel-container-prestation {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4vw;
    max-width: 56vw;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .carousel-item-prestation {
    border-width: 0.08vw;
    border-radius: 1.4vw;
  }

  .carousel-item-prestation img {
    height: auto;
    aspect-ratio: 4 / 3;
    border-bottom-width: 0.6vh;
  }

  .prestation-info {
    padding: 3.6vh 1.8vw 2.6vh;
  }

  .prestation-info h3 {
    padding-left: 0.9vw;
    border-left-width: 0.3vw;
    font-size: 1.35vw;
  }

  .prestation-info p {
    font-size: 0.95vw;
  }

  .bloc-avis {
    flex-direction: row;
    justify-content: center;
    gap: 4vw;
    max-width: 60vw;
    margin: 10vh auto 0;
    padding: 4vh 4vw;
    border-radius: 1.4vw;
    border-width: 0.1vw;
  }

  .image-artisan {
    width: 22vw;
    border-radius: 1.2vw;
  }

  .kksr-stars {
    flex-direction: row;
    gap: 0.6vw;
    font-size: 3vw;
  }

  .kksr-caption {
    font-size: 1.05vw;
  }

  .contact-section {
    max-width: 44vw;
    margin: 10vh auto;
    padding: 6vh 4vw;
    border-radius: 1.6vw;
  }

  .contact-section::before {
    top: -6vw;
    right: -6vw;
    width: 16vw;
    height: 16vw;
  }

  .contact-logo {
    border-width: 0.3vw;
  }

  .contact-titre {
    font-size: 2vw;
  }

  .contact-ligne {
    font-size: 1.05vw;
  }

  .contact-bouton {
    padding: 1.4vh 2.2vw;
    font-size: 1.3vw;
  }

  .basca-villes-proches {
    padding: 11vh 12vw;
    background:
      repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 0.4vw, transparent 0.4vw 0.8vw),
      var(--vert-nuit);
  }

  .basca-villes-proches h2 {
    font-size: 2vw;
  }

  .basca-villes-proches p {
    max-width: 56vw;
    font-size: 1.05vw;
  }

  .villes-liste {
    flex-direction: row;
    justify-content: center;
    gap: 4vw;
  }

  .colonne-villes {
    flex: 0 1 36vw;
    gap: 0.6vw;
    align-content: flex-start;
  }

  .colonne-villes strong {
    font-size: 1.05vw;
  }

  .colonne-villes a {
    padding: 0.8vh 1vw;
    font-size: 0.95vw;
    border-width: 0.08vw;
  }

  .map-section {
    max-width: 60vw;
    margin: 0 auto;
    padding: 9vh 0;
  }

  #map-placeholder {
    aspect-ratio: 16 / 8;
    border-width: 0.4vw;
    border-radius: 1.6vw;
  }

  .map-bouton {
    padding: 1.4vh 2.4vw;
    border-width: 0.12vw;
    font-size: 1.05vw;
  }

  .footer-site {
    gap: 3vw;
    padding: 3vh 0 14vh;
    font-size: 0.95vw;
  }

  .mobile-nav {
    left: 50%;
    bottom: 2vh;
    width: auto;
    display: flex;
    align-items: center;
    gap: 2vw;
    padding: 1vh 1vw 1vh 1.6vw;
    transform: translateX(-50%);
    background: var(--vert);
    border-top: 0;
    border-radius: 3vw;
    box-shadow: 0 1.5vh 4vh rgba(12, 51, 41, 0.35);
  }

  .mobile-nav-top {
    order: 2;
    padding: 0;
  }

  .mobile-nav-top a {
    gap: 0.6vw;
    padding: 1.2vh 1.6vw;
    font-size: 1.15vw;
    border-radius: 2vw;
  }

  .mobile-nav-top a .pulse {
    font-size: 1.4vw;
  }

  .mobile-nav-bottom {
    order: 1;
    gap: 2vw;
    padding: 0;
  }

  .mobile-nav-bottom > a,
  .dropdown-toggle {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4vw;
    color: #ffffff;
    font-size: 1vw;
  }

  .mobile-nav-bottom > a div:first-child,
  .dropdown-toggle div:first-child {
    margin: 0;
    font-size: 1.2vw;
  }

  .dropdown-menu {
    min-width: 14vw;
    margin-bottom: 2.4vh;
    padding: 0.8vh 0;
    border-width: 0.08vw;
    border-top-width: 0.5vh;
    border-radius: 0.8vw;
  }

  .dropdown-menu a {
    padding: 1.1vh 1.2vw;
    font-size: 0.95vw;
  }
}
