/* ============================================
   YIMMO - Styles CSS Premium
   Couleurs: Noir, Doré, Blanc
   ============================================ */

:root {
  --primary: #1a1a1a;
  --accent: #d4af37;
  --accent-dark: #b8941f;
  --light: #ffffff;
  --gray: #f5f5f5;
  --text: #333333;
  --text-light: #666666;
  --border: #e0e0e0;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.2);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--light);
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHIE
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

h1 { font-size: 3.5rem; margin-bottom: 1rem; }
h2 { font-size: 2.4rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--text-light);
}

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

a:hover { color: var(--primary); }

/* ============================================
   UTILITAIRES
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
  color: var(--primary);
}

.btn-secondary {
  background-color: transparent;
  color: var(--light);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-secondary:hover {
  background-color: rgba(255,255,255,0.15);
  border-color: var(--light);
  color: var(--light);
  transform: translateY(-3px);
}

.section {
  padding: 100px 0;
}

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

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

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

.section-dark p {
  color: rgba(255,255,255,0.7);
}

/* Section header unifié */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  display: inline-block;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 0.5rem;
}

.section-header p {
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
}

.section-header.light h2 {
  color: var(--light);
  border-bottom-color: var(--accent);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-label.gold {
  color: var(--accent);
}

h2 {
  border-bottom: 3px solid var(--accent);
  padding-bottom: 0.5rem;
  display: inline-block;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(26, 26, 26, 0.97);
  z-index: 1000;
  padding: 1.1rem 0;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

header.scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
}

nav {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  letter-spacing: 0.3px;
  transition: var(--transition);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

nav a:hover {
  color: var(--accent);
}

nav a:hover::after {
  width: 100%;
}

.admin-link {
  display: none;
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 0.8rem;
  color: rgba(212, 175, 55, 0.3);
  cursor: pointer;
}

.admin-link:hover { color: var(--accent); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ============================================
   HERO — PLEIN ÉCRAN IMMERSIF
   ============================================ */

.hero {
  position: relative;
  margin-top: 72px;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--light);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
  will-change: transform;
}

.hero:hover .hero-bg {
  transform: scale(1.0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 10, 10, 0.88) 0%,
    rgba(10, 10, 10, 0.65) 55%,
    rgba(10, 10, 10, 0.25) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 24px 80px;
  width: 100%;
}

.hero-content {
  max-width: 680px;
  animation: heroFadeIn 1s ease-out both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}

.hero h1 {
  color: var(--light);
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-accent {
  color: var(--accent);
  font-style: italic;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Stats hero */
.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.3rem;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 1;
  animation: bounce 2s infinite;
}

.hero-scroll-hint span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}

.scroll-arrow {
  color: var(--accent);
  font-size: 1.2rem;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   À PROPOS
   ============================================ */

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

.about-text .section-label {
  display: block;
  margin-bottom: 0.5rem;
}

.about-text h2 {
  margin-top: 0;
}

.about-text p {
  font-size: 1.05rem;
}

.about-text strong {
  color: var(--primary);
  font-weight: 700;
}

.about-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--accent-dark);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.about-images {
  position: relative;
  height: 520px;
}

.about-image-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 78%;
  height: 85%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-image-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 55%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--light);
}

.about-image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9);
}

/* ============================================
   SERVICES
   ============================================ */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.service-image-overlay span {
  color: var(--light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background-color: var(--accent);
  padding: 4px 12px;
  border-radius: 3px;
  color: var(--primary);
}

.service-body {
  padding: 1.8rem;
}


.service-body h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.service-body p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--text-light);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ============================================
   AVANT / APRÈS — INTERACTIF
   ============================================ */

/* Grand affichage */
.ap-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: 1.5rem;
  min-height: 420px;
  position: relative;
  background: #111;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

/* État vide */
.ap-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 420px;
  color: rgba(255,255,255,0.25);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.5px;
}

/* Vue comparaison côte à côte */
.ap-main-split {
  display: flex;
  align-items: stretch;
  height: 420px;
}

.ap-main-side {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.ap-main-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ap-main-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}

.ap-main-badge.avant { background: #e53935; color: white; }
.ap-main-badge.apres { background: #43a047; color: white; }

.ap-main-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 900;
  width: 46px;
  flex-shrink: 0;
}

/* Vue image simple */
.ap-main-single {
  position: relative;
  height: 420px;
}

.ap-main-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ap-main-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
}

.ap-main-caption h3 {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.ap-main-caption p {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  margin: 0;
}

/* Vignettes */
.ap-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ap-thumb {
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid transparent;
  transition: var(--transition);
  opacity: 0.65;
}

.ap-thumb:hover {
  opacity: 0.9;
  border-color: rgba(212, 175, 55, 0.5);
}

.ap-thumb.active {
  border-color: var(--accent);
  opacity: 1;
  box-shadow: 0 0 0 2px var(--accent);
}

.ap-thumb-inner {
  height: 160px;
  overflow: hidden;
  background: #111;
}

.ap-thumb-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ap-thumb:hover .ap-thumb-inner img {
  transform: scale(1.05);
}

/* Vue split dans la vignette */
.ap-thumb-split {
  display: flex;
}

.ap-thumb-split img {
  width: 50%;
  flex-shrink: 0;
}

.ap-thumb-label {
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.05);
  text-align: center;
  letter-spacing: 0.3px;
}

/* ============================================
   PORTFOLIO
   ============================================ */

.portfolio-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--primary);
  background-color: transparent;
  color: var(--primary);
  cursor: pointer;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.filter-btn.active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.filter-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  background-color: var(--gray);
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.portfolio-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.9) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-info {
  color: var(--light);
}

.portfolio-info h3 {
  color: var(--accent);
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.portfolio-info p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: rgba(255,255,255,0.8);
}

.portfolio-details {
  padding: 1.4rem;
  background-color: var(--light);
}

.portfolio-details h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.portfolio-details p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.portfolio-tag {
  display: inline-block;
  background-color: var(--accent);
  color: var(--primary);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   CAROUSEL
   ============================================ */

.carousel-section {
  margin-bottom: 3.5rem;
}

.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.carousel-header h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin: 0;
  border-left: 4px solid var(--accent);
  padding-left: 14px;
}

.carousel-controls {
  display: flex;
  gap: 0.6rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  color: var(--light);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: scale(1.1);
}

.carousel-container {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--gray);
  padding-bottom: 4px;
}

.carousel-container::-webkit-scrollbar { height: 5px; }
.carousel-container::-webkit-scrollbar-track { background: var(--gray); border-radius: 3px; }
.carousel-container::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

.carousel-track {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 0.5rem;
  min-width: min-content;
}

.carousel-item {
  flex: 0 0 calc(33.333% - 0.84rem);
  min-width: 300px;
  max-width: 380px;
}

/* ============================================
   CONTACT
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}


.contact-item h3 {
  margin-top: 0;
  font-size: 1rem;
  color: var(--accent);
}

.contact-item p {
  margin-bottom: 0;
  color: rgba(255,255,255,0.75);
}

.contact-item a {
  color: rgba(255,255,255,0.75);
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-photo {
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  height: 160px;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.75) saturate(0.8);
}

.contact-form {
  background-color: var(--light);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: var(--light);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

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

.form-group small {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--text-light);
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

/* ============================================
   APPOINTMENT SECTION
   ============================================ */

.appointment-container {
  max-width: 520px;
  margin: 0 auto;
  background-color: var(--light);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.appointment-form {
  display: flex;
  flex-direction: column;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: #111111;
  color: var(--light);
  padding: 4rem 0 1.5rem;
  border-top: 3px solid var(--accent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-section h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p {
  color: #aaaaaa;
  font-size: 0.9rem;
}

.footer-section a {
  color: #aaaaaa;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-section a:hover { color: var(--accent); }

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: rgba(212, 175, 55, 0.15);
  border-radius: 50%;
  margin: 0;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 1.5rem;
  text-align: center;
  color: #666;
  font-size: 0.85rem;
}

/* ============================================
   LIGHTBOX
   ============================================ */

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
}

#lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: zoom-out;
  animation: lbFadeIn 0.25s ease;
}

@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lb-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
  animation: lbZoomIn 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

@keyframes lbZoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

#lightboxImg {
  display: block;
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  user-select: none;
}

.lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.lb-close:hover {
  background: rgba(255,255,255,0.25);
  transform: rotate(90deg);
}

.lb-close svg {
  width: 20px;
  height: 20px;
}

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.lb-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.lb-nav svg {
  width: 22px;
  height: 22px;
}

.lb-prev { left: 20px; }
.lb-next { right: 20px; }

.lb-nav.hidden { display: none; }

.lb-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 16px;
  padding: 0 4px;
}

.lb-title {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 500;
}

.lb-counter {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: rgba(212,175,55,0.12);
  padding: 4px 12px;
  border-radius: 50px;
}

/* Icônes SVG service */
.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  color: var(--accent);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

/* Icônes SVG contact */
.contact-icon {
  min-width: 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(212, 175, 55, 0.12);
  border-radius: 50%;
  color: var(--accent);
  flex-shrink: 0;
}

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

/* Liens sociaux footer */
.social-link-wa,
.social-link-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin: 0;
  transition: var(--transition);
}

.social-link-wa {
  background-color: #25D366;
}

.social-link-wa:hover {
  background-color: #1ebe5d;
  transform: scale(1.1);
}

.social-link-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-link-ig:hover {
  transform: scale(1.1);
  filter: brightness(1.1);
}

/* Curseur zoom sur les images du portfolio */
.portfolio-item {
  cursor: zoom-in;
}

/* Badge nombre de photos */
.portfolio-count {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
  z-index: 1;
}

/* WhatsApp floating button */
.whatsapp-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 62px;
  height: 62px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  z-index: 999;
}

.whatsapp-btn:hover {
  background-color: #1da851;
  transform: scale(1.12);
  color: white;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

/* ============================================
   RESPONSIVE — TABLETTE
   ============================================ */

@media (max-width: 1024px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .about {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-images {
    height: 400px;
    order: -1;
  }

  .ap-main-split,
  .ap-main-single {
    height: 300px;
  }

  .ap-thumb-inner {
    height: 110px;
  }

  .carousel-item {
    flex: 0 0 calc(50% - 0.63rem);
    min-width: 280px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-photo {
    display: none;
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.2rem; }

  .section { padding: 60px 0; }

  .hero h1 { font-size: 2.4rem; }
  .hero-inner { padding: 60px 20px 60px; }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .stat-number { font-size: 1.6rem; }

  .hero-buttons {
    flex-direction: column;
  }

  .btn { width: 100%; }

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

  .about-images {
    height: 320px;
  }

  .about-image-main {
    width: 85%;
    height: 80%;
  }

  .about-image-secondary {
    width: 55%;
    height: 50%;
  }

  .avantapres-side img {
    height: 240px;
  }

  .avantapres-divider {
    width: 36px;
    font-size: 1.2rem;
  }

  .carousel-item {
    flex: 0 0 calc(100% - 0rem);
    min-width: 280px;
  }

  .carousel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .carousel-controls { align-self: flex-end; }

  .footer-content { grid-template-columns: 1fr; }

  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  /* Navigation mobile */
  .menu-toggle { display: block; }

  nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: rgba(17, 17, 17, 0.98);
    padding: 1rem;
    gap: 0;
    backdrop-filter: blur(10px);
  }

  nav.active { display: flex; }

  nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid #2a2a2a;
    font-size: 0.95rem;
  }

  nav a::after { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 50px 0; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 1.2rem; }
}
