/* ============================================================
   style.css — Vidéo Production inc.
   Feuille de style commune à toutes les pages du site
   ============================================================ */

/* --- Base & variables ---------------------------------------- */
:root {
  --rouge: #cc0000;
  --noir: #111;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Verdana, Geneva, sans-serif;
  background: #666;
  color: var(--noir);
}

/* --- Header -------------------------------------------------- */
header {
  background: #000000;
  position: relative;
}
header::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 46%;
  height: 4px;
  background: var(--rouge);
  z-index: 2;
}
.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 20px;
  position: relative;
  z-index: 10;
}
.logo-title {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  line-height: 1.1;
  color: var(--rouge);
  text-shadow: 2px 2px 4px rgba(0,0,0,.8), 1px 1px 0 #fff;
}
.logo-inc {
  font-size: .45em;
  color: #fff;
  vertical-align: super;
}
.logo-tagline {
  font-size: .82rem;
  color: #ccc;
  margin-top: 4px;
  font-style: italic;
}

/* --- Navigation ---------------------------------------------- */
nav {
  background: #1a1a1a;
  border-top: 2px solid var(--rouge);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.nav-links {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links li a {
  display: block;
  padding: 14px 12px;
  color: #ccc;
  text-decoration: none;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid transparent;
  transition: color .2s;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: #fff;
  border-bottom: 2px solid var(--rouge);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 14px 0;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ccc;
}

/* --- Conteneur principal ------------------------------------- */
.page-wrapper {
  max-width: 960px;
  margin: 30px auto;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}

/* --- Hero photo ---------------------------------------------- */
.hero-photo {
  position: relative;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.hero-photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  padding: 40px 36px 28px;
}
.hero-photo-overlay h2 {
  font-family: "Arial Black", sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.hero-photo-overlay p {
  font-size: clamp(.8rem, 2vw, .95rem);
  color: #ddd;
  line-height: 1.5;
}

/* --- Divider & bannière TVA ---------------------------------- */
.divider {
  height: 3px;
  background: linear-gradient(90deg, var(--rouge), transparent);
}
.tva-banner {
  background: #1a1a1a;
  color: #fff;
  padding: 18px 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.tva-badge {
  background: var(--rouge);
  color: #fff;
  font-size: .75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.tva-banner p {
  font-size: .88rem;
  color: #ccc;
  line-height: 1.5;
}

/* --- Contenu textuel ----------------------------------------- */
.content {
  padding: 32px 36px 20px;
}
.content h3 {
  font-family: "Arial Black", sans-serif;
  color: var(--rouge);
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}
.content p {
  font-size: .92rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 14px;
}

/* --- Grille équipements / cards ------------------------------ */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 30px;
}
.equip-card {
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-left: 3px solid var(--rouge);
  padding: 14px 16px;
  border-radius: 2px;
}
.equip-card h4 {
  font-size: .82rem;
  font-weight: bold;
  color: var(--rouge);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.equip-card p {
  font-size: .85rem;
  color: #444;
  line-height: 1.6;
}

/* --- Galerie photos ------------------------------------------ */
.galerie {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 36px 36px;
}
.galerie figure {
  margin: 0;
}
.galerie figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border: 1px solid #ddd;
  border-radius: 2px;
}
.galerie figure figcaption {
  font-size: .78rem;
  color: #777;
  padding: 6px 2px;
  line-height: 1.4;
  font-style: italic;
}

/* --- Footer -------------------------------------------------- */
footer {
  background: var(--noir);
  color: #fff;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.footer-adresse {
  padding: 18px 24px;
  font-size: .88rem;
  line-height: 1.7;
  border-right: 1px solid #333;
}
.footer-courriel {
  padding: 18px 24px;
  font-size: .88rem;
  text-align: right;
  line-height: 1.7;
}
.footer-courriel a.courriel {
  color: #4a90d9;
  text-decoration: underline;
}
.footer-courriel a.courriel:hover { color: #6aaff0; }
.footer-courriel a.direction {
  color: #4a90d9;
  text-decoration: underline;
}
.footer-courriel a.direction:hover { color: #6aaff0; }
.footer-bar {
  background: #000;
  text-align: center;
  padding: 8px;
  font-size: .72rem;
  color: #555;
}

/* --- Responsive (mobile ≤ 640px) ----------------------------- */
@media (max-width: 640px) {
  header::before { display: none; }
  .burger { display: flex; }
  .nav-links { display: none; flex-direction: column; width: 100%; }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 12px 0; border-bottom: 1px solid #333; }
  .hero-photo img { height: 240px; }
  .hero-photo-overlay { padding: 20px 18px 16px; }
  .tva-banner { padding: 14px 18px; }
  .content { padding: 20px 18px; }
  .galerie { grid-template-columns: 1fr; padding: 0 18px 24px; }
  .galerie figure img { height: 220px; }
  .equip-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-adresse { border-right: none; border-bottom: 1px solid #333; }
  .footer-courriel { text-align: left; }
}

/* ============================================================
   Styles spécifiques à index.htm
   ============================================================ */

/* Grille mixte de services */
.grid-mixte {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 24px 36px 36px;
}
.bloc-large {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.bloc-large img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.bloc-demi {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.bloc-demi img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.bloc-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 30px 20px 18px;
}
.bloc-overlay h3 {
  font-family: "Arial Black", sans-serif;
  font-size: clamp(.85rem, 2vw, 1.1rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.bloc-overlay span {
  display: inline-block;
  width: 30px;
  height: 2px;
  background: #cc0000;
  margin-bottom: 8px;
}
@media (max-width: 640px) {
  .grid-mixte { grid-template-columns: 1fr; padding: 16px; }
  .bloc-large { grid-column: 1; }
  .bloc-large img { height: 240px; }
  .bloc-demi img { height: 200px; }
}

/* Modal (index.htm) */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.75);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 4px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.modal-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 4px 4px 0 0;
}
.modal-body {
  padding: 28px 32px 32px;
}
.modal-titre {
  font-family: "Arial Black", sans-serif;
  font-size: 1rem;
  color: #cc0000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 2px solid #cc0000;
}
.modal-body p {
  font-size: .9rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 14px;
}
.modal-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
.modal-body ul li {
  padding: 6px 0 6px 18px;
  position: relative;
  font-size: .9rem;
  color: #333;
  border-bottom: 1px solid #f5f5f5;
}
.modal-body ul li::before {
  content: "•";
  color: #cc0000;
  position: absolute;
  left: 0;
  font-weight: bold;
}
.modal-close {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
  background: rgba(0,0,0,0.4);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .2s;
  z-index: 10;
}
.modal-close:hover { background: #cc0000; }
.modal-btn {
  display: inline-block;
  padding: 12px 26px;
  background: #cc0000;
  color: #fff;
  text-decoration: none;
  font-size: .85rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: background .2s;
}
.modal-btn:hover { background: #aa0000; color: #fff; }
@media (max-width: 640px) {
  .modal-body { padding: 20px; }
  .modal-photo img { height: 200px; }
}

/* ============================================================
   Styles spécifiques aux pages d'erreur (4xx, 5xx)
   ============================================================ */
.error-wrap {
  max-width: 720px;
  margin: 40px auto;
  padding: 30px 36px 40px;
}
.error-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border-left: 5px solid #cc0000;
  border-radius: 4px;
  padding: 28px;
  margin-bottom: 28px;
}
.error-code {
  font-family: "Arial Black", sans-serif;
  font-size: 3.5rem;
  color: #cc0000;
  line-height: 1;
  flex-shrink: 0;
}
.error-content h2 {
  font-family: "Arial Black", sans-serif;
  font-size: clamp(.9rem, 2vw, 1.1rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.error-content p {
  font-size: .88rem;
  color: #aaa;
  line-height: 1.6;
  margin: 0;
}
.error-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-retour {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: #cc0000;
  color: #fff;
  text-decoration: none;
  font-size: .85rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: background .2s;
}
.btn-retour:hover { background: #aa0000; color: #fff; }
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: #cc0000;
  text-decoration: none;
  font-size: .85rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  border: 2px solid #cc0000;
  transition: all .2s;
}
.btn-contact:hover { background: #cc0000; color: #fff; }
@media (max-width: 640px) {
  .error-wrap { padding: 20px 16px 30px; }
  .error-box { flex-direction: column; align-items: flex-start; gap: 12px; }
  .error-code { font-size: 2.5rem; }
  .error-actions { flex-direction: column; }
}

/* ============================================================
   Styles spécifiques à confirmation.htm
   ============================================================ */
.confirm-wrap {
  max-width: 720px;
  margin: 40px auto;
  padding: 30px 36px 40px;
}
.confirm-header {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border-left: 5px solid #2e7d32;
  border-radius: 4px;
  padding: 24px 28px;
  margin-bottom: 28px;
}
.confirm-check {
  width: 52px;
  height: 52px;
  background: #2e7d32;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.6rem;
  color: #fff;
}
.confirm-header h2 {
  font-family: "Arial Black", sans-serif;
  font-size: clamp(.9rem, 2vw, 1.1rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.confirm-header p {
  font-size: .88rem;
  color: #aaa;
  line-height: 1.6;
  margin: 0;
}
.resume-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.resume-card-header {
  background: #f8f8f8;
  border-bottom: 2px solid #cc0000;
  padding: 12px 20px;
  font-family: "Arial Black", sans-serif;
  font-size: .78rem;
  color: #cc0000;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.resume-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid #f0f0f0;
}
.resume-row:last-child { border-bottom: none; }
.resume-label {
  padding: 14px 20px;
  font-size: .78rem;
  font-weight: bold;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: #fafafa;
  border-right: 1px solid #f0f0f0;
}
.resume-value {
  padding: 14px 20px;
  font-size: .9rem;
  color: #333;
  line-height: 1.6;
  word-break: break-word;
}
.resume-value.message {
  white-space: pre-wrap;
  min-height: 60px;
}
.confirm-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-soumission {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: #cc0000;
  text-decoration: none;
  font-size: .85rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  border: 2px solid #cc0000;
  transition: all .2s;
}
.btn-soumission:hover { background: #cc0000; color: #fff; }
@media (max-width: 640px) {
  .confirm-wrap { padding: 0 16px 30px; }
  .resume-row { grid-template-columns: 1fr; }
  .resume-label { border-right: none; border-bottom: 1px solid #f0f0f0; }
  .confirm-actions { flex-direction: column; }
}

/* Filet blanc — modals des 6 services du bas uniquement */
.modal-box-bordure {
  border: 3px solid #fff;
}
