/* =========================================================
   ADS Carrelage — Site one-page
   Palette : #dea94c (or) | #161616 (noir) | #7b7673 (gris)
   ========================================================= */

:root {
  --color-gold: #dea94c;
  --color-gold-light: #f0c97a;
  --color-gold-dark: #b88936;
  --color-dark: #161616;
  --color-dark-alt: #1f1f1f;
  --color-gray: #7b7673;
  --color-gray-light: #a8a4a1;
  --color-gray-bg: #f6f5f4;
  --color-white: #ffffff;
  --color-text: #3a3a3a;
  --font-title: 'Barlow Semi Condensed', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --radius: 8px;
  --shadow-sm: 0 2px 8px rgba(22, 22, 22, 0.08);
  --shadow-md: 0 8px 24px rgba(22, 22, 22, 0.12);
  --transition: 0.25s ease;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-gold-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus {
  color: var(--color-gold);
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-dark);
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p {
  margin: 0 0 1rem;
}

ul, ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.section {
  padding: 4rem 0;
}

.section--dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}

.section--gray {
  background-color: var(--color-gray-bg);
}

.section__intro {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section__label {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.btn--primary {
  background-color: var(--color-gold);
  color: var(--color-dark);
  border-color: var(--color-gold);
}

.btn--primary:hover,
.btn--primary:focus {
  background-color: var(--color-gold-light);
  border-color: var(--color-gold-light);
  color: var(--color-dark);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn--outline:hover,
.btn--outline:focus {
  background-color: var(--color-gold);
  color: var(--color-dark);
}

.btn--dark {
  background-color: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}

.btn--dark:hover,
.btn--dark:focus {
  background-color: var(--color-dark-alt);
  border-color: var(--color-dark-alt);
  color: var(--color-white);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-dark);
}

.header__logo img {
  max-height: 44px;
  width: auto;
  display: block;
}

.header__logo:hover,
.header__logo:focus {
  color: var(--color-dark);
}

.header__brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background-color: var(--color-gold);
  color: var(--color-dark);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.header__brand-icon svg {
  width: 20px;
  height: 20px;
}

.header__brand-name {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

@media (min-width: 768px) {
  .header__inner {
    height: 88px;
  }

  .header__logo img {
    max-height: 52px;
  }

  .header__brand-name {
    font-size: 1.55rem;
  }

  .header__brand-icon {
    width: 38px;
    height: 38px;
  }

  .header__brand-icon svg {
    width: 22px;
    height: 22px;
  }
}

.header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.header__nav a {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--color-dark);
  font-size: 0.95rem;
}

.header__nav a:hover,
.header__nav a:focus {
  color: var(--color-gold);
}

.header__cta {
  display: none;
}

.header__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-dark);
}

.header__toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--color-white);
  padding: 6rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-dark);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-gray-bg);
}

.mobile-menu__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-dark);
}

.mobile-menu__cta {
  margin-top: auto;
}

/* Hero */
.hero {
  position: relative;
  background-color: var(--color-dark);
  color: var(--color-white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 22, 22, 0.92) 0%, rgba(22, 22, 22, 0.65) 100%);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.hero__content {
  padding: 0 0.5rem;
}

@media (min-width: 768px) {
  .hero__content {
    padding: 0;
  }
}

.hero__content {
  max-width: 680px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__visual {
  display: flex;
  justify-content: center;
  order: -1;
}

.hero__logo {
  max-width: min(260px, 78vw);
  width: auto;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5));
  border-radius: 50%;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.hero__label::before {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background-color: var(--color-gold);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.hero__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.hero__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.hero__list svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Trust bar */
.trust {
  background-color: var(--color-gold);
  color: var(--color-dark);
  padding: 2rem 0;
}

.trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
}

.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.trust__number {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.trust__label {
  font-weight: 500;
  font-size: 0.95rem;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about__image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about__badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: var(--color-gold);
  color: var(--color-dark);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
}

.about__values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.value-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(222, 169, 76, 0.12);
  border-radius: 50%;
  color: var(--color-gold);
  flex-shrink: 0;
}

.value-card h4 {
  margin-bottom: 0.25rem;
}

.value-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-gray);
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card__image img,
.service-card:focus-within .service-card__image img {
  transform: scale(1.05);
}

.service-card__content {
  padding: 1.5rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--color-gray);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.service-card__link {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--color-gold-dark);
}

.service-card__link:hover,
.service-card__link:focus {
  color: var(--color-gold);
}

/* Portfolio */
.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.portfolio__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.portfolio__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio__item:hover img,
.portfolio__item:focus-within img {
  transform: scale(1.05);
}

.portfolio__caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(22, 22, 22, 0.85), transparent 60%);
  color: var(--color-white);
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio__item:hover .portfolio__caption,
.portfolio__item:focus-within .portfolio__caption {
  opacity: 1;
}

.portfolio__caption h4 {
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.portfolio__caption p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Why us / testimonials */
.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.why__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.why__feature {
  display: flex;
  gap: 1rem;
}

.why__feature svg {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--color-gold);
}

.why__feature h4 {
  margin-bottom: 0.25rem;
}

.why__feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.testimonial {
  background-color: var(--color-dark-alt);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-gold);
}

.testimonial__stars {
  color: var(--color-gold);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.testimonial__text {
  font-style: italic;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.testimonial__author {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--color-white);
}

/* FAQ */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  background-color: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-dark);
  cursor: pointer;
}

.faq__question svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-gold);
  transition: transform var(--transition);
}

.faq__item.is-open .faq__question svg {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq__answer-inner {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-gray);
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact__info h2 {
  margin-bottom: 1rem;
}

.contact__info p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact__detail svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-gold);
  margin-top: 0.15rem;
}

.contact__detail strong {
  display: block;
  color: var(--color-white);
  font-family: var(--font-title);
}

.contact__detail span,
.contact__detail a {
  color: rgba(255, 255, 255, 0.8);
}

.contact__form {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark);
  background-color: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(222, 169, 76, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-message {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.form-message.is-visible {
  display: block;
}

.form-message--success {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.form-message--error {
  background-color: #ffebee;
  color: #c62828;
}

/* Footer */
.footer {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__brand img {
  width: auto;
  height: auto;
  max-width: 120px;
  max-height: 120px;
  margin-bottom: 1rem;
  border-radius: 50%;
}

.footer__brand p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer__title {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer__links a:hover,
.footer__links a:focus {
  color: var(--color-gold);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* Responsive */
@media (min-width: 640px) {
  .trust__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why__features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .header__nav,
  .header__cta {
    display: flex;
  }

  .header__toggle {
    display: none;
  }

  .hero__inner {
    padding: 7rem 0;
  }

  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .hero__visual {
    order: 0;
    justify-content: flex-end;
  }

  .hero__logo {
    max-width: 380px;
  }

  .about__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about__values {
    grid-template-columns: repeat(2, 1fr);
  }

  .why__grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* Mobile : textes de la galerie toujours visibles */
@media (max-width: 767px) {
  .portfolio__caption {
    opacity: 1;
  }
}

/* Widget d'appel flottant */
.call-widget {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-widget__toggle {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background-color: var(--color-gold);
  color: var(--color-dark);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(222, 169, 76, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-widget__toggle:hover,
.call-widget__toggle:focus {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(222, 169, 76, 0.5);
}

.call-widget__icon {
  position: absolute;
  width: 26px;
  height: 26px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.call-widget__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.call-widget__icon--close {
  opacity: 0;
  transform: rotate(-45deg);
}

.call-widget.is-open .call-widget__icon--phone {
  opacity: 0;
  transform: rotate(45deg);
}

.call-widget.is-open .call-widget__icon--close {
  opacity: 1;
  transform: rotate(0);
}

.call-widget__bubble {
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.call-widget__bubble:hover,
.call-widget__bubble:focus {
  color: var(--color-gold);
}

.call-widget.is-open .call-widget__bubble {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

@media (min-width: 768px) {
  .call-widget {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .call-widget__toggle {
    width: 64px;
    height: 64px;
  }

  .call-widget__icon {
    width: 28px;
    height: 28px;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(22, 22, 22, 0.95);
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__content {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox__image {
  max-width: 100%;
  max-height: calc(100vh - 180px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.lightbox__caption {
  text-align: center;
  color: var(--color-white);
  max-width: 600px;
}

.lightbox__caption h4 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.lightbox__caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox__close svg,
.lightbox__nav svg {
  width: 28px;
  height: 28px;
}

.lightbox__close:hover,
.lightbox__close:focus,
.lightbox__nav:hover,
.lightbox__nav:focus {
  background-color: var(--color-gold);
  color: var(--color-dark);
  transform: scale(1.08);
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 1rem;
}

.lightbox__nav--next {
  right: 1rem;
}

.lightbox__counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-title);
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .lightbox__nav {
    width: 40px;
    height: 40px;
  }

  .lightbox__nav svg {
    width: 24px;
    height: 24px;
  }

  .lightbox__nav--prev {
    left: 0.5rem;
  }

  .lightbox__nav--next {
    right: 0.5rem;
  }

  .lightbox__image {
    max-height: calc(100vh - 160px);
  }
}

/* Page content (mentions légales, etc.) */
.page-content {
  max-width: 760px;
}

.page-content__block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e7e7e7;
}

.page-content__block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.page-content__block h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.page-content__body p {
  margin-bottom: 0.75rem;
  color: var(--color-text);
  line-height: 1.7;
}

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

.page-content__body strong {
  color: var(--color-dark);
}
