/*
===============================================================
  styles_combined.css — SIM4TRACK V5.2 POLISH
  ------------------------------------------------------------
  ✅ Bande Martini via body::before (opacité réglable)
  ✅ Polices Barlow + Barlow Condensed (cohérence avec booking)
  ✅ Titres de section harmonisés
  ✅ Hero centré verticalement
  ✅ Carousel 3D photos uniquement
  ✅ Témoignages en grille responsive
  ✅ Section tarif valorisée
  ✅ Responsive mobile / tablette / desktop
===============================================================
*/

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500;600&display=swap');

/* ── Variables ── */
:root {
  --martini-blue:   #1D2088;
  --martini-red:    #E10600;
  --martini-sky:    #00A3E0;
  --dark-grey:      #2c2c2c;
  --white:          #ffffff;
  --light-bg:       #f5f5fa;
  --box-shadow:     0 4px 16px rgba(0,0,0,0.10);
  --radius:         10px;
  --radius-sm:      6px;
  --font-body:      'Barlow', sans-serif;
  --font-heading:   'Barlow Condensed', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Body — fond clair landing ── */
html, body {
  min-height: 100vh;
  overflow-y: auto;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--dark-grey);
  background-color: var(--light-bg);
  line-height: 1.6;
}

/* ── Bande Martini en filigrane — opacité réglable ── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('/assets/images/martini.jpg');
  background-repeat: repeat-y;
  background-position: center top;
  background-size: contain;
  background-attachment: fixed;
  opacity: 0.80;          /* ← ajuster ici si trop fort ou trop discret */
  pointer-events: none;
  z-index: 0;
}

/* Tout le contenu au-dessus du filigrane */
body > * {
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero-wrapper {
  position: relative;
  z-index: 1;
}

.hero-martini {
  position: relative;
  height: 100vh;
  max-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.background-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.65);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-overlay h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  margin-bottom: 8px;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  margin: 4px 0;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  margin: 6px 0 4px 0;
}

.hero-location {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.60);
  font-style: italic;
  margin-bottom: 20px;
}

/* CTA Hero */
a.cta-button {
  display: inline-block;
  background-color: var(--martini-red);
  color: white;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 14px rgba(225,6,0,0.4);
}
a.cta-button:hover {
  background-color: #c40500;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════
   SECTIONS — base
══════════════════════════════════════════════ */
section {
  max-width: 1160px;
  margin: 36px auto;
  padding: 10px 20px;
  background-color: transparent;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

section.card-background {
  background-color: rgba(255, 255, 255, 0.90);
  box-shadow: var(--box-shadow);
  border-radius: var(--radius);
  padding: 30px;
}

/* ── Titre de section — standard unique ── */
section h2,
section > h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--martini-blue);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

section h2 svg,
section > h3 svg {
  width: 22px;
  height: 22px;
  stroke: var(--martini-sky);
  stroke-width: 2.2;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   INFO CARDS — profils clients
══════════════════════════════════════════════ */
.info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 0 20px;
}

.info-card {
  background-color: rgba(255, 255, 255, 0.92);
  border-left: 5px solid var(--martini-red);
  padding: 22px 24px;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--martini-blue);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card h3 svg {
  width: 20px;
  height: 20px;
  stroke: var(--martini-sky);
  stroke-width: 2.2;
  flex-shrink: 0;
}

.info-card p {
  font-family: var(--font-body);
  font-size: 0.97rem;
  line-height: 1.65;
  color: #444;
}

/* Carte tarif */
.tarif-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.tarif-texte { flex: 1; min-width: 200px; }

.tarif-texte h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--martini-blue);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tarif-texte h3 svg {
  width: 20px; height: 20px;
  stroke: var(--martini-sky);
  stroke-width: 2.2;
}

.tarif-prix {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--martini-blue);
  line-height: 1;
  margin-bottom: 4px;
}

.tarif-detail {
  font-size: 0.85rem;
  color: #777;
  font-style: italic;
}

.tarif-bouton {
  display: flex;
  align-items: center;
}

.tarif-bouton .cta-button {
  font-size: 1.1rem;
  padding: 14px 28px;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════
   CAROUSEL 3D — photos uniquement
══════════════════════════════════════════════ */
#carousel3D-section {
  text-align: center;
}
#carousel3D-section h2 {
  justify-content: center;
}
.coverflow-container {
  perspective: 1000px;
  max-width: 600px;
  margin: 20px auto 50px auto;
  height: 300px;
  position: relative;
}

.coverflow-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform-origin: center center;
  will-change: transform;
}

.coverflow {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform-origin: center center;
}

.coverflow-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 240px;
  transform-origin: center center;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.coverflow-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coverflow-item:nth-child(1) { transform: translate(-50%, -50%) rotateY(0deg)   translateZ(300px); }
.coverflow-item:nth-child(2) { transform: translate(-50%, -50%) rotateY(72deg)  translateZ(300px); }
.coverflow-item:nth-child(3) { transform: translate(-50%, -50%) rotateY(144deg) translateZ(300px); }
.coverflow-item:nth-child(4) { transform: translate(-50%, -50%) rotateY(216deg) translateZ(300px); }
.coverflow-item:nth-child(5) { transform: translate(-50%, -50%) rotateY(288deg) translateZ(300px); }

/* ══════════════════════════════════════════════
   TÉMOIGNAGES EN GRILLE
══════════════════════════════════════════════ */
.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.avis-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px 20px 20px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 3px solid var(--martini-red);
}

.avis-quote {
  font-size: 3.5rem;
  line-height: 0.8;
  color: var(--martini-sky);
  font-family: Georgia, serif;
  margin-bottom: 10px;
  opacity: 0.35;
}

.avis-card p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--dark-grey);
  flex-grow: 1;
}

.avis-signature {
  display: block;
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--martini-blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   BOUTONS génériques
══════════════════════════════════════════════ */
button {
  background-color: var(--martini-red);
  color: var(--white);
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease;
}
button:hover { background-color: #c40500; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
  background-color: var(--martini-blue);
  color: var(--white);
  text-align: center;
  padding: 24px 20px;
  margin-top: 60px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  position: relative;
  z-index: 1;
}
footer a {
  color: var(--martini-sky);
  text-decoration: none;
}
footer a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */

/* Tablette — 768px */
@media (max-width: 900px) {
  .avis-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile — 600px */
@media (max-width: 600px) {

  .hero-martini { height: 360px; }

  .hero-overlay h1   { font-size: 2rem; }
  .hero-tagline      { font-size: 1.2rem; }
  .hero-subtitle     { font-size: 0.88rem; }
  .hero-location     { font-size: 0.78rem; }

  .info-cards { padding: 0 10px; gap: 14px; }
  .info-card  { padding: 16px; }
  .info-card p { font-size: 0.92rem; }

  .tarif-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .tarif-bouton { width: 100%; }
  .tarif-bouton .cta-button {
    display: block;
    width: 100%;
    text-align: center;
  }

  .coverflow-container { height: 200px; }
  .coverflow-item {
    width: 140px;
    height: 140px;
  }
  .coverflow-item:nth-child(1) { transform: translate(-50%, -50%) rotateY(0deg)   translateZ(170px); }
  .coverflow-item:nth-child(2) { transform: translate(-50%, -50%) rotateY(72deg)  translateZ(170px); }
  .coverflow-item:nth-child(3) { transform: translate(-50%, -50%) rotateY(144deg) translateZ(170px); }
  .coverflow-item:nth-child(4) { transform: translate(-50%, -50%) rotateY(216deg) translateZ(170px); }
  .coverflow-item:nth-child(5) { transform: translate(-50%, -50%) rotateY(288deg) translateZ(170px); }

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

  section { margin: 20px auto; padding: 8px 12px; }
  section.card-background { padding: 20px 16px; }
}
