/* ============================================
   FICHE MODÈLE — AVENTURA YACHTS
   modele.css — chargé sur toutes les fiches modèles
   ============================================ */

/* ============================================
   HERO
   ============================================ */
.am45-hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 8% 60px;
}

.am45-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65);
  transition: transform 8s ease;
}

.am45-hero:hover .am45-hero-bg {
  transform: scale(1.03);
}

.am45-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18,20,23,0.95) 0%,
    rgba(18,20,23,0.4) 50%,
    rgba(18,20,23,0.1) 100%
  );
}

.am45-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.am45-hero-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.am45-breadcrumb {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.am45-breadcrumb:hover {
  color: var(--av-white);
}

.am45-hero-cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
}

.am45-hero-title {
  font-family: var(--av-font-title);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 700;
  color: var(--av-white);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.am45-hero-specs {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  font-family: var(--av-font-body);
}

.am45-spec-sep {
  color: rgba(255,255,255,0.2);
}

.am45-hero-scroll {
  position: absolute;
  bottom: 30px;
  right: 8%;
  z-index: 2;
}

.am45-hero-scroll span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ============================================
   SECTION PRINCIPALE
   ============================================ */
.am45-main {
  background: var(--av-navy-dark);
  min-height: 60vh;
}

/* ============================================
   NAVIGATION ONGLETS
   ============================================ */
.am45-tabs-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 8%;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 70px;
  z-index: 10;
  background: var(--av-navy-dark);
}

.am45-tab {
  font-family: var(--av-font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  position: relative;
  transition: color 0.3s ease;
}

.am45-tab::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--av-white);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.am45-tab.active {
  color: var(--av-white);
}

.am45-tab.active::after {
  transform: scaleX(1);
}

.am45-tab-sep {
  color: rgba(255,255,255,0.1);
  font-size: 12px;
}

/* ============================================
   CONTENU ONGLETS
   ============================================ */
.am45-tab-content {
  display: none;
}

.am45-tab-content.active {
  display: block;
}

/* ============================================
   ONGLET DESCRIPTION
   ============================================ */
.am45-desc-container {
  max-width:  1400px !important;
  margin: 0 auto;
  padding: 80px 4% !important;
}

.am45-desc-intro {
  font-family: var(--av-font-title);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--av-white);
  line-height: 1.3;
  margin: 0 0 32px;
}

.am45-desc-text p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  max-width: 800px;
}

.am45-desc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.am45-desc-list li {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  padding-left: 20px;
  position: relative;
}

.am45-desc-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.2);
  font-size: 12px;
}

/* SPECS */
.am45-specs {
  margin-top: 70px;
  padding-top: 70px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.am45-specs-title {
  font-family: var(--av-font-title);
  font-size: 24px;
  font-weight: 700;
  color: var(--av-white);
  margin: 0 0 30px;
  letter-spacing: -0.01em;
}

.am45-specs-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 40px;
  padding: 16px 24px;
  background: rgba(255,255,255,0.03);
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.06);
}

.am45-specs-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.am45-specs-col {
  display: flex;
  flex-direction: column;
}

.am45-specs-col:first-child {
  border-right: 1px solid rgba(255,255,255,0.06);
}

.am45-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.am45-spec-row:last-child {
  border-bottom: none;
}

.am45-spec-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
}

.am45-spec-value {
  font-size: 14px;
  color: var(--av-white);
  font-weight: 500;
  text-align: right;
}

/* CONFIGURATION */
.am45-config {
  margin-top: 70px;
  padding-top: 70px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.am45-config-img {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  text-align: center;
  padding: 40px;
}

.am45-config-img img {
  max-width: 100%;
  height: auto;
  filter: brightness(0.9);
}

/* CTA */
.am45-desc-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.am45-btn-primary {
  display: inline-flex;
  align-items: center;
  font-family: var(--av-font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--av-navy-dark);
  background: var(--av-white);
  text-decoration: none;
  padding: 18px 36px;
  border-radius: 2px;
  border: 2px solid var(--av-white);
  transition: all 0.4s ease;
}

.am45-btn-primary:hover {
  background: transparent;
  color: var(--av-white);
  transform: translateY(-2px);
}

.am45-btn-outline {
  display: inline-flex;
  align-items: center;
  font-family: var(--av-font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--av-white);
  background: transparent;
  text-decoration: none;
  padding: 18px 36px;
  border-radius: 2px;
  border: 2px solid rgba(255,255,255,0.2);
  transition: all 0.4s ease;
}

.am45-btn-outline:hover {
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.am45-btn-text {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.am45-btn-text:hover {
  color: var(--av-white);
}

/* ============================================
   ONGLET GALERIE
   ============================================ */
.am45-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 3px;
  background: rgba(255,255,255,0.03);
}

.am45-gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: #1A1D21;
}

.am45-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.am45-gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .am45-specs-table {
    grid-template-columns: 1fr;
  }
  .am45-specs-col:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .am45-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .am45-hero {
    padding: 0 24px 50px;
  }
  .am45-tabs-nav {
    padding: 0 24px;
    top: 60px;
  }
  .am45-desc-container {
    padding: 50px 24px;
  }
  .am45-specs-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .am45-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .am45-desc-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .am45-btn-primary,
  .am45-btn-outline {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   CAROUSEL CONFIGURATION
   ============================================ */
.am45-carousel {
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.am45-carousel-track {
  position: relative;
  min-height: 280px;
}

.am45-carousel-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  gap: 20px;
}

.am45-carousel-slide.active {
  display: flex;
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.am45-carousel-slide img {
  max-width: 100%;
  max-height: 260px;
  height: auto;
  object-fit: contain;
  filter: brightness(0.9);
}

.am45-slide-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
}

/* Boutons nav */
.am45-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.am45-carousel-btn:hover {
  background: rgba(255,255,255,0.12);
  color: var(--av-white);
}

.am45-carousel-prev { left: 16px; }
.am45-carousel-next { right: 16px; }

/* Dots */
.am45-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.am45-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.am45-dot.active {
  background: var(--av-white);
  transform: scale(1.2);
}

.am45-media-container {
  max-width: 1400px !important ;
  margin: 0 auto;
  padding: 80px 4% !important ;
}

.am45-video-wrapper,
.am45-3d-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: #0A0C0F;
  margin-top: 30px;
}

.am45-video-wrapper iframe,
.am45-3d-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 767px) {
  .am45-media-container {
    padding: 50px 24px;
  }
}

