/* ================================================
   PAGE INTERNE - Header / Hero / Sections
   ================================================ */

/* Page Hero */
.page-hero {
  position: relative;
  min-height: 70vh;
  padding: 9rem clamp(1.5rem, 5vw, 4rem) 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) contrast(1.05);
}

.page-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.5) 0%, rgba(10, 10, 12, 0.9) 100%),
    radial-gradient(ellipse at left, rgba(168, 19, 140, 0.2), transparent 60%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover {
  color: var(--accent-light);
}

.breadcrumb span:not(:last-child) {
  opacity: 0.5;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Container variants */
.container.narrow {
  max-width: 900px;
}

/* ================================================
   INTRO SEO
   ================================================ */
.intro-seo {
  background: var(--bg-primary);
}

/* ================================================
   FILMS GRID (vitres teintées)
   ================================================ */
.films-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.film-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.4s var(--ease);
}

.film-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(168, 19, 140, 0.3);
  transform: translateY(-4px);
}

.film-card--featured {
  background: linear-gradient(180deg, rgba(168, 19, 140, 0.08), transparent);
  border-color: rgba(168, 19, 140, 0.3);
}

.film-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 0.4rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
}

.film-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(168, 19, 140, 0.15);
  border: 1px solid rgba(168, 19, 140, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.film-icon svg { width: 28px; height: 28px; }

.film-card h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.film-card h3 em {
  font-style: italic;
  color: var(--accent-light);
}

.film-card > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.film-list {
  list-style: none;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.film-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 1.5rem;
  position: relative;
}

.film-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-light);
  font-weight: 700;
}

@media (max-width: 900px) {
  .films-grid { grid-template-columns: 1fr; }
}

/* ================================================
   VISUAL BLOCK (texte + image cote a cote)
   ================================================ */
.visual-block {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.visual-grid.reversed {
  direction: rtl;
}

.visual-grid.reversed > * {
  direction: ltr;
}

.visual-img {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
}

.visual-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.visual-img:hover img {
  transform: scale(1.04);
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.check-list li {
  padding-left: 2rem;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.55;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 900px) {
  .visual-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .visual-img { aspect-ratio: 16/10; }
}

/* ================================================
   LEGAL / INFO BOX
   ================================================ */
.legal {
  background: var(--bg-primary);
}

.legal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 20px;
  padding: 2.5rem;
}

/* ================================================
   FAQ
   ================================================ */
.faq-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.faq-item.open {
  background: var(--bg-card-hover);
  border-color: rgba(168, 19, 140, 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.faq-question:hover {
  color: var(--accent-light);
}

.faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--accent-light);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.open .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding: 0 1.75rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ================================================
   CTA FINAL (reuse from home)
   ================================================ */
.cta-final {
  padding: 4rem clamp(1.5rem, 5vw, 4rem);
  background: var(--bg-primary);
}

.cta-box {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  background: linear-gradient(180deg, rgba(168, 19, 140, 0.12) 0%, rgba(168, 19, 140, 0.04) 100%);
  border: 1px solid rgba(168, 19, 140, 0.25);
  border-radius: 32px;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.cta-box .eyebrow {
  margin: 0 auto 1rem;
  justify-content: center;
}
.cta-box .eyebrow::before { display: none; }

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* ================================================
   GALERIE / REALISATIONS
   ================================================ */
.gallery {
  background: var(--bg-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
}

.gallery-item:nth-child(3n+1) { aspect-ratio: 4/5; }
.gallery-item:nth-child(3n+2) { aspect-ratio: 4/3; }
.gallery-item:nth-child(3n+3) { aspect-ratio: 1/1; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 12, 0.9) 100%);
  color: white;
}

.gallery-item-tag {
  display: inline-block;
  width: fit-content;
  padding: 0.3rem 0.7rem;
  background: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}

.gallery-item-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:nth-child(3n+1), .gallery-item:nth-child(3n+2), .gallery-item:nth-child(3n+3) {
    aspect-ratio: 4/3;
  }
}

/* ================================================
   BLOG GRID
   ================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(168, 19, 140, 0.3);
  transform: translateY(-4px);
}

.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.blog-card-tag {
  padding: 0.25rem 0.65rem;
  background: rgba(168, 19, 140, 0.15);
  border: 1px solid rgba(168, 19, 140, 0.3);
  color: var(--accent-light);
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  flex: 1;
}

.blog-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-top: auto;
  padding-top: 1rem;
}

@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* ================================================
   FORMULAIRE CONTACT
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

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

.contact-info-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(168, 19, 140, 0.15);
  border: 1px solid rgba(168, 19, 140, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
}

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

.contact-info-block h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 0.3rem;
}

.contact-info-block p, .contact-info-block a {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.55;
}

.contact-info-block a:hover { color: var(--accent-light); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
}

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

.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.2s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-secondary);
}

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

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

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.75rem; }
}

/* ================================================
   ARTICLE BLOG
   ================================================ */
.article-hero {
  padding: 9rem clamp(1.5rem, 5vw, 4rem) 3rem;
}

.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem) 5rem;
}

.article-cover {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 3rem;
  border: 1px solid var(--border);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 3rem 0 1rem;
  line-height: 1.2;
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.article-content p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-content ul, .article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.article-content ul li, .article-content ol li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-primary);
  margin: 2rem 0;
}

.article-meta-top {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ================================================
   FORM FIELDS (additions)
   ================================================ */
.form-field {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.9rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.2s var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-secondary);
  box-shadow: 0 0 0 3px rgba(168, 19, 140, 0.15);
}

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

.form-row .form-field {
  margin-bottom: 0;
}

.form-checkbox {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem !important;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.form-checkbox label {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  cursor: pointer;
  color: var(--text-secondary);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 1.25rem;
  letter-spacing: 0.02em;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.form-success.show {
  display: block;
  animation: fadeUp 0.6s var(--ease) both;
}

.form-success svg {
  width: 56px;
  height: 56px;
  color: #4ade80;
  margin-bottom: 1rem;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-secondary);
}

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

/* ================================================
   PAGE HERO COMPACT
   ================================================ */
.page-hero-compact {
  min-height: 60vh;
}

.page-hero-compact .page-hero-media img {
  filter: brightness(0.5);
}
