/* 1. IMPORT DES TYPOGRAPHIES FANTAISISTES */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Great+Vibes&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* 2. RESET & TYPOGRAPHIE GLOBALE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Playfair Display', serif;
  background: #2b2b2b;
  color: #e0e0e0;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 3. OVERLAY TEXTURÉ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('https://www.transparenttextures.com/patterns/asfalt-light.png');
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}

/* 4. NAVIGATION */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(43, 43, 43, 0.95);
  backdrop-filter: blur(6px);
  z-index: 5;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
  list-style: none;
  position: relative;
  z-index: 10;
}

.nav-list a {
  color: #f5f5f5;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-list a:hover,
.nav-list .active {
  color: #e67e22;
}

/* 5. BOUTONS GÉNÉRIQUES */
.btn {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  background: #e67e22;
  color: #fff;
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.btn:hover {
  background: #cf711b;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.5);
}

/* 6. HERO */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(43,43,43,0.8), rgba(68,68,68,0.8)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1920') center/cover no-repeat;
  z-index: 2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.hero h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 4.5rem;
  color: #fff;
  text-shadow: 0 6px 20px rgba(0,0,0,0.7);
  margin-bottom: 0.5rem;
  z-index: 3;
  position: relative;
}

.hero p {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1.5rem;
  z-index: 3;
  position: relative;
}

.hero .btn {
  z-index: 3;
  position: relative;
}

/* 7. MASONRY PORTFOLIO */
.masonry {
  column-count: 4;
  column-gap: 1em;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1em 0;
}

/* Espacement pour la page portfolio uniquement */
.page-portfolio .masonry {
  padding-top: 5em;
}

.masonry .item {
  display: inline-block;
  width: 100%;
  margin: 0 0 1em;
  break-inside: avoid;
  position: relative;
}

.masonry .item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  transform-origin: center center;
  transition: transform .3s ease;
  cursor: pointer;
}

.masonry .item img:hover {
  transform: scale(1.5);
  position: relative;
  z-index: 100;
}

@media (max-width: 800px) {
  .masonry {
    column-count: 2;
  }
}

@media (max-width: 500px) {
  .masonry {
    column-count: 1;
  }
}

/* 8. SECTION À PROPOS */
.about.container {
  min-height: calc(100vh - 8rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}

.about-img {
  width: 800px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.about-text {
  max-width: 600px;
  text-align: left;
}

.about-text .btn {
  margin-top: 2rem;
}

@media(max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
  }
  .about-text {
    text-align: center;
  }
}

/* 9. SECTION CONTACT */
.contact.container {
  max-width: 700px;
  margin: 6rem auto 3rem;
  padding: 2rem 1rem;
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #e67e22;
}

.contact p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-form {
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #e0e0e0;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #555;
  border-radius: 4px;
  background: #3a3a3a;
  color: #e0e0e0;
  font-family: 'Playfair Display', serif;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e67e22;
}

.contact-form .btn {
  width: 100%;
}

/* 10. LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}

.lightbox .image-container {
  position: relative;
}

.lightbox-content {
  max-width: 45vw;
  max-height: 45vh;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.lightbox .close {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 2rem;
  color: #fff;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox .close:hover {
  color: #e67e22;
}

/* 11. FOOTER */
main, .about {
  flex: 1;
}

footer {
  background: #2f2f2f;
  color: #bbb;
  text-align: center;
  padding: 2rem 0;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

footer a {
  color: #e67e22;
  text-decoration: none;
}

footer a:hover {
  color: #cf711b;
}

/* 12. RESPONSIVE */
@media(max-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media(max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .nav-list {
    gap: 1rem;
  }
}
/* ========== PRIVACY PAGE ========== */
.privacy.container {
  padding: 8rem 1rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.privacy.container h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 3.5rem;
  text-align: center;
  color: #e67e22;
  margin-bottom: 0.5rem;
}

.privacy-subtitle {
  text-align: center;
  color: #999;
  font-size: 1rem;
  margin-bottom: 3rem;
  font-style: italic;
}

.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* CARDS */
.privacy-card {
  background: rgba(60, 60, 60, 0.6);
  border-left: 3px solid #e67e22;
  padding: 2rem;
  border-radius: 6px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.privacy-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.privacy-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #e67e22;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(230, 126, 34, 0.2);
  padding-bottom: 0.8rem;
}

.privacy-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #f5f5f5;
  margin: 1rem 0 0.5rem;
}

.privacy-card p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #ddd;
}

.privacy-card a {
  color: #e67e22;
  text-decoration: none;
  transition: color 0.3s;
}

.privacy-card a:hover {
  color: #cf711b;
  text-decoration: underline;
}

.muted {
  color: #999;
  font-size: 0.95rem;
  margin-top: 0.5rem !important;
}

.warning {
  color: #ff9999;
  font-weight: bold;
}

/* INFO GRID */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 4px;
}

.info-item .label {
  font-size: 0.85rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.info-item .value {
  color: #f5f5f5;
  font-weight: 500;
  word-break: break-word;
}

/* HIGHLIGHTS */
.privacy-highlight {
  background: rgba(230, 126, 34, 0.1);
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.privacy-highlight:last-child {
  margin-bottom: 0;
}

.privacy-highlight h3 {
  margin-top: 0;
}

/* PERMISSIONS */
.permission-item {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(230, 126, 34, 0.2);
}

.permission-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* SERVICES */
.service-item {
  margin-bottom: 2rem;
}

.service-item ul {
  list-style: none;
  margin: 1rem 0 1rem 1.5rem;
  padding: 0;
}

.service-item li {
  color: #ddd;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.2rem;
}

.service-item li:before {
  content: "•";
  color: #e67e22;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* SECURITY LIST */
.security-list {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.security-list li {
  color: #ddd;
  margin: 0.8rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.security-list li:before {
  content: "✓";
  color: #6ac5a0;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* RETENTION */
.retention-item {
  margin-bottom: 1.5rem;
}

.retention-item h3 {
  margin-bottom: 0.5rem;
}

/* SPECIAL CARDS */
.privacy-notice {
  border-left-color: #e67e22;
  background: rgba(230, 126, 34, 0.08);
}

.privacy-contact {
  border-left-color: #6ac5a0;
  background: rgba(106, 197, 160, 0.08);
}

.privacy-contact h2 {
  color: #6ac5a0;
}

.privacy-contact p {
  font-size: 1.1rem;
}

/* RESPONSIVE */
@media(max-width: 768px) {
  .privacy.container {
    padding: 6rem 1rem 3rem;
  }

  .privacy.container h1 {
    font-size: 2.5rem;
  }

  .privacy-card {
    padding: 1.5rem;
  }

  .privacy-card h2 {
    font-size: 1.5rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}
/* ========== PRIVACY PAGE ========== */
.privacy.container {
  padding: 8rem 1rem 4rem;
  max-width: 950px;
  margin: 0 auto;
}

.privacy-wrapper {
  width: 100%;
}

.privacy-wrapper h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 3.5rem;
  text-align: center;
  color: #e67e22;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
}

.privacy-subtitle {
  text-align: center;
  color: #999;
  font-size: 1.05rem;
  margin-bottom: 3rem;
  font-style: italic;
  letter-spacing: 0.5px;
}

.privacy-sections {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* ARTICLES (CARDS) */
.privacy-sections article {
  background: linear-gradient(135deg, rgba(60, 60, 60, 0.7), rgba(50, 50, 50, 0.7));
  border-left: 4px solid #e67e22;
  padding: 2.5rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.privacy-sections article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(230, 126, 34, 0.2);
  border-left-color: #cf711b;
}

.privacy-sections article h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: #e67e22;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(230, 126, 34, 0.3);
  letter-spacing: 0.5px;
}

.privacy-sections article h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #fff;
  margin: 1.5rem 0 0.7rem;
  font-weight: 600;
}

.privacy-sections article p {
  margin-bottom: 1.2rem;
  line-height: 1.9;
  color: #ddd;
  font-size: 1.05rem;
}

.privacy-sections article p:last-child {
  margin-bottom: 0;
}

.privacy-sections article a {
  color: #e67e22;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.privacy-sections article a:hover {
  color: #cf711b;
  border-bottom-color: #cf711b;
}

.privacy-sections article ul {
  list-style: none;
  margin: 1.2rem 0 1.2rem 0;
  padding: 0;
}

.privacy-sections article li {
  margin: 0.9rem 0;
  padding-left: 2rem;
  position: relative;
  color: #ddd;
  line-height: 1.8;
  font-size: 1.05rem;
}

.privacy-sections article li:before {
  content: "✓";
  color: #6ac5a0;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

/* NOTE TEXT */
.note {
  color: #aaa;
  font-size: 0.95rem;
  margin-top: -0.8rem !important;
  margin-bottom: 1.2rem !important;
  font-style: italic;
}

/* SPECIAL CARDS */
.highlight-notice {
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.15), rgba(230, 126, 34, 0.08)) !important;
  border-left-color: #e67e22 !important;
}

.highlight-contact {
  background: linear-gradient(135deg, rgba(106, 197, 160, 0.15), rgba(106, 197, 160, 0.08)) !important;
  border-left-color: #6ac5a0 !important;
}

.highlight-contact h2 {
  color: #6ac5a0 !important;
}

.highlight-contact a {
  color: #6ac5a0 !important;
  font-size: 1.15rem;
}

.highlight-contact a:hover {
  color: #5ab389;
}

/* RESPONSIVE */
@media(max-width: 768px) {
  .privacy.container {
    padding: 6rem 1rem 3rem;
  }

  .privacy-wrapper h1 {
    font-size: 2.8rem;
  }

  .privacy-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
  }

  .privacy-sections article {
    padding: 1.8rem;
    border-left-width: 3px;
  }

  .privacy-sections article h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
  }

  .privacy-sections article h3 {
    font-size: 1.15rem;
  }

  .privacy-sections article p,
  .privacy-sections article li {
    font-size: 1rem;
  }

  .privacy-sections {
    gap: 2rem;
  }
}

@media(max-width: 480px) {
  .privacy-wrapper h1 {
    font-size: 2.2rem;
  }

  .privacy-sections article {
    padding: 1.5rem;
  }

  .privacy-sections article h2 {
    font-size: 1.4rem;
  }
}
