/* ==========================================================================
   Vidéo Clap – design system partagé (2026)
   Utilisé par toutes les pages du site. Remplace les anciens
   css/styles.css, css/bgFilm.css et css/videoclap.css.
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2933;
  background: #f7f7f5;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

.clear {
  clear: both;
}

/* ---------- Header / nav ---------- */

header {
  background: #111827;
  color: white;
  padding: 22px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header .logo {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 1px;
  color: white;
  text-decoration: none;
  display: block;
}

header .logo img {
  display: block;
  height: 36px;
  width: auto;
}

header nav a {
  color: white;
  text-decoration: none;
  margin-left: 24px;
  font-size: 15px;
}

header nav a:hover,
header nav a.active {
  text-decoration: underline;
}

/* ---------- Hero ---------- */

.hero {
  padding: 80px 8%;
  background: linear-gradient(135deg, #111827, #374151);
  color: white;
}

/* Variante avec photo d'ambiance studio (bobines de film) en fond */
.hero-photo {
  position: relative;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(55, 65, 81, 0.45)),
    url('../img/hero-film-reels.jpg') center center / cover no-repeat;
}

/* Bordure "perforations de pellicule" avec numéros de photogramme, le long du bord supérieur */
.hero-photo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background-color: #000;
  background-image: url('../img/film-perf-border.svg');
  background-repeat: repeat-x;
  background-position: left top;
  background-size: auto 48px;
}

.hero h1 {
  font-size: 46px;
  margin: 0 0 15px;
  line-height: 1.15;
}

.hero p {
  font-size: 20px;
  max-width: 800px;
}

.hero .buttons {
  margin-top: 30px;
}

/* ---------- Sections / typography ---------- */

section {
  padding: 70px 8%;
}

h2 {
  font-size: 34px;
  color: #111827;
  margin-bottom: 15px;
}

h3 {
  color: #111827;
}

.intro {
  max-width: 850px;
  font-size: 18px;
}

.highlight {
  background: #fff7ed;
}

section a:not(.button):not(.secondary-button) {
  color: #d97706;
  font-weight: bold;
  text-decoration: none;
}

section a:not(.button):not(.secondary-button):hover {
  text-decoration: underline;
}

.contact-block a:not(.button) {
  color: #f59e0b;
}

/* ---------- Grid / cards ---------- */

.grid,
.tarif-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 35px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin-top: 0;
  font-size: 23px;
}

.card .button {
  margin-top: auto;
  align-self: flex-start;
}

.icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  color: #111827;
}

.icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.card-kicker {
  margin: 0 0 12px;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #111827;
}

/* Logo client (à la place d'une icône), pour les cartes type "galerie" */
.card-logo {
  display: block;
  max-height: 40px;
  max-width: 160px;
  width: auto;
  margin-bottom: 14px;
}

/* Variante de carte avec bandeau photo (au lieu d'une icône) */
.card-banner {
  padding: 0;
  overflow: hidden;
}

.card-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.card-banner-media {
  position: relative;
}

.card-banner-media img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.card-banner-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 18px;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0));
  color: white;
  font-weight: bold;
  font-size: 17px;
}

.card-banner .card-banner-body {
  padding: 24px 30px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-banner .card-banner-body p {
  margin-top: 0;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-block;
  background: #f59e0b;
  color: #111827;
  padding: 13px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 12px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.button:hover {
  background: #d97706;
  text-decoration: none;
}

.secondary {
  border: 1px solid white;
  color: white;
}

.secondary-button {
  display: inline-block;
  border: 1px solid #111827;
  color: #111827;
  padding: 13px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}

.buttons a {
  margin-right: 12px;
}

/* ---------- Process steps ---------- */

.step {
  background: white;
  padding: 26px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  position: relative;
}

/* Variante d'étape avec photo (au lieu du texte seul) */
.step-banner {
  padding: 0;
}

.step-banner .step-media {
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}

.step-banner .step-media img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.step-banner .step-body {
  padding: 20px 26px 26px;
}

.step-banner .step-body h3 {
  margin-top: 0;
}

/* ---------- Tarif / price ---------- */

.price {
  font-size: 22px;
  font-weight: bold;
  color: #d97706;
  margin: 18px 0;
}

.calculator {
  background: white;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  max-width: 720px;
  margin-top: 30px;
}

.calc-fields {
  border-top: 1px solid #e5e7eb;
  margin-top: 18px;
  padding-top: 4px;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: normal;
  margin-top: 16px;
}

.checkbox-field input {
  width: auto;
  margin-top: 0;
}

.result {
  background: #111827;
  color: white;
  padding: 22px;
  border-radius: 10px;
  margin-top: 25px;
  font-size: 22px;
  font-weight: bold;
}

.result-detail {
  font-size: 14px;
  font-weight: normal;
  color: #9ca3af;
  margin-top: 6px;
}

.note {
  font-size: 14px;
  color: #4b5563;
  margin-top: 12px;
}

.note.card {
  background: #fff7ed;
  padding: 26px;
  border-radius: 14px;
  margin-top: 35px;
  font-size: 16px;
  color: #1f2933;
}

/* ---------- Contact block ---------- */

.contact-block {
  background: #111827;
  color: white;
  text-align: center;
}

.contact-block h2 {
  color: white;
}

.contact-block a.button {
  color: #111827;
}

/* ---------- Forms ---------- */

label {
  display: block;
  font-weight: bold;
  margin-top: 18px;
}

select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  width: 100%;
  padding: 13px;
  margin-top: 6px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  background: white;
}

.form-card {
  background: white;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  max-width: 760px;
  margin-top: 30px;
}

.form-card fieldset {
  border: none;
  border-top: 1px solid #e5e7eb;
  padding: 20px 0 0;
  margin: 25px 0 0;
}

.form-card fieldset:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.form-card legend {
  font-size: 20px;
  font-weight: bold;
  color: #111827;
  padding: 0;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0 20px;
}

.required-note {
  font-size: 13px;
  color: #6b7280;
  margin-top: 30px;
}

/* ---------- Vidéo responsive ---------- */

.video-wrap {
  position: relative;
  padding-top: 56.25%;
  height: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  margin-top: 30px;
}

.video-wrap iframe,
.video-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

video.plain {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  margin-top: 20px;
}

/* ---------- Galerie ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 35px;
}

.gallery-grid figure {
  margin: 0;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.gallery-grid img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 14px 18px;
  font-size: 14px;
  color: #4b5563;
}

/* ---------- Carte / itinéraire ---------- */

.map-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.map-wrap iframe {
  border: 0;
  width: 100%;
  height: 450px;
}

.itineraire-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.itineraire-list a {
  display: block;
  background: white;
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  color: #111827;
  text-decoration: none;
  font-weight: bold;
}

.itineraire-list a:hover {
  color: #d97706;
}

/* ---------- News ---------- */

.news-post {
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-top: 30px;
}

.news-post .date {
  display: inline-block;
  background: #111827;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 12px;
}

.news-post h2 {
  font-size: 24px;
  margin-top: 0;
}

/* ---------- Footer ---------- */

footer {
  background: #0b1120;
  color: #cbd5e1;
  padding: 25px 8%;
  font-size: 14px;
}

footer a {
  color: #cbd5e1;
}

/* ---------- Tableau de tarifs (facile à mettre à jour) ---------- */

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 25px;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.price-table th,
.price-table td {
  padding: 14px 24px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  font-size: 16px;
}

.price-table th {
  background: #111827;
  color: white;
  font-weight: bold;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table td.price-cell {
  font-weight: bold;
  color: #d97706;
  text-align: right;
}

.price-table tr.price-tbd td.price-cell {
  color: #6b7280;
  font-weight: normal;
  font-style: italic;
}

/* ---------- Responsive ---------- */

@media (max-width: 700px) {
  .hero h1 {
    font-size: 34px;
  }

  header nav {
    margin-top: 15px;
  }

  header nav a {
    display: inline-block;
    margin: 8px 12px 0 0;
  }

  section {
    padding: 50px 6%;
  }
}
