/**
 * Page Car Wash Tours - Design raffiné
 * Lavage Auto Pro 37
 */

/* Variables locales - palette Tours */
.page-car-wash-tours {
  --cwt-primary: #0d47a1;
  --cwt-primary-light: #1565c0;
  --cwt-primary-soft: rgba(21, 101, 192, 0.12);
  --cwt-accent: #ff6d00;
  --cwt-bg-soft: #f0f7ff;
  --cwt-bg-card: #ffffff;
  --cwt-text: #1a1a2e;
  --cwt-text-muted: #64748b;
  --cwt-border: #e2e8f0;
  --cwt-radius: 1rem;
  --cwt-radius-lg: 1.5rem;
  --cwt-shadow: 0 4px 24px rgba(13, 71, 161, 0.08);
  --cwt-shadow-hover: 0 12px 40px rgba(13, 71, 161, 0.15);
}

/* Hero */
.cwt-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(85vh, 700px);
  position: relative;
  overflow: hidden;
}

.cwt-hero__content {
  padding: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(165deg, #f0f7ff 0%, #ffffff 50%, #fafbff 100%);
  position: relative;
}

.cwt-hero__content::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 30%, rgba(21, 101, 192, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cwt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--cwt-primary) 0%, var(--cwt-primary-light) 100%);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: fit-content;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(13, 71, 161, 0.25);
}

.cwt-hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 900;
  color: var(--cwt-text);
  line-height: 1.08;
  margin: 0 0 1rem 0;
  letter-spacing: -0.03em;
}

.cwt-hero__title span {
  background: linear-gradient(135deg, var(--cwt-primary) 0%, var(--cwt-primary-light) 50%, #42a5f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cwt-hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--cwt-text-muted);
  line-height: 1.7;
  margin: 0 0 2rem 0;
  max-width: 460px;
}

.cwt-hero__subtitle strong {
  color: var(--cwt-primary);
}

.cwt-hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.cwt-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, var(--cwt-primary) 0%, var(--cwt-primary-light) 100%);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: var(--cwt-radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 6px 24px rgba(13, 71, 161, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cwt-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(13, 71, 161, 0.4);
}

.cwt-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #fff;
  color: var(--cwt-primary);
  padding: 1rem 2rem;
  border-radius: var(--cwt-radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  border: 2px solid var(--cwt-primary);
  transition: background 0.2s, color 0.2s;
}

.cwt-btn-outline:hover {
  background: var(--cwt-primary-soft);
}

.cwt-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cwt-border);
}

.cwt-stat__value {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--cwt-primary);
  line-height: 1.2;
}

.cwt-stat__label {
  font-size: 0.875rem;
  color: var(--cwt-text-muted);
  margin-top: 0.15rem;
}

.cwt-hero__image {
  position: relative;
  background: url('https://lavageautopro37.fr/wp-content/uploads/2026/01/Screenshot-2026-01-07-at-12.19.49.webp') center/cover;
}

.cwt-hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.4) 45%, transparent 70%);
}

@media (max-width: 968px) {
  .cwt-hero {
    grid-template-columns: 1fr;
  }
  .cwt-hero__image {
    min-height: 280px;
  }
}

/* Bande avantages */
.cwt-advantages {
  background: linear-gradient(135deg, var(--cwt-primary) 0%, var(--cwt-primary-light) 100%);
  padding: 2rem;
  position: relative;
}

.cwt-advantages::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L30 60M0 30L60 30' stroke='rgba(255,255,255,0.04)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  opacity: 0.8;
}

.cwt-advantages__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cwt-advantage {
  flex: 1 1 140px;
  min-width: 120px;
}

.cwt-advantage__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: 14px;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  color: #fff;
  backdrop-filter: blur(4px);
}

.cwt-advantage__title {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.cwt-advantage__desc {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.85);
}

/* Sections formules */
.cwt-section {
  padding: clamp(4rem, 8vw, 6rem) clamp(2rem, 4vw, 3rem);
}

.cwt-section--white { background: #fff; }
.cwt-section--soft { background: var(--cwt-bg-soft); }

.cwt-section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.cwt-section__title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--cwt-text);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.cwt-section__subtitle {
  font-size: 1.1rem;
  color: var(--cwt-text-muted);
}

/* Cards tarifs */
.cwt-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.cwt-cards--integral {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.cwt-card {
  background: var(--cwt-bg-card);
  border: 2px solid var(--cwt-border);
  border-radius: var(--cwt-radius-lg);
  padding: 2rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.cwt-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cwt-shadow-hover);
  border-color: rgba(21, 101, 192, 0.2);
}

.cwt-card--featured {
  border-color: var(--cwt-primary);
  border-width: 3px;
  box-shadow: 0 8px 32px rgba(13, 71, 161, 0.12);
}

.cwt-card--featured:hover {
  box-shadow: 0 16px 48px rgba(13, 71, 161, 0.18);
}

.cwt-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cwt-accent), #ff8f00);
  color: #fff;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255, 109, 0, 0.35);
}

.cwt-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cwt-text);
  margin: 0 0 0.5rem 0;
}

.cwt-card--featured .cwt-card__title {
  color: var(--cwt-primary);
}

.cwt-card__duration {
  color: var(--cwt-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.cwt-card__duration i {
  margin-right: 0.35rem;
}

.cwt-card__price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--cwt-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.cwt-card--integral .cwt-card__price {
  font-size: 2.25rem;
}

.cwt-card__price-unit {
  font-size: 1.25rem;
  color: var(--cwt-text-muted);
  font-weight: 500;
}

.cwt-card__services {
  text-align: left;
  margin: 1.75rem 0 1.5rem 0;
}

.cwt-card__services-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cwt-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.cwt-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cwt-card__list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0;
  color: var(--cwt-text-muted);
  font-size: 0.9375rem;
}

.cwt-card__list li i {
  color: var(--cwt-primary);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.cwt-card__cta {
  display: block;
  background: linear-gradient(135deg, var(--cwt-primary), var(--cwt-primary-light));
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--cwt-radius);
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(13, 71, 161, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cwt-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 71, 161, 0.4);
}

/* Cards intégral (layout différent) */
.cwt-card--integral {
  text-align: left;
}

.cwt-card--integral .cwt-card__title,
.cwt-card--integral .cwt-card__duration,
.cwt-card--integral .cwt-card__price {
  text-align: center;
}

.cwt-card__group-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--cwt-primary);
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.cwt-card--integral .cwt-card__list li {
  font-size: 0.875rem;
  padding: 0.25rem 0;
}

/* Section Gold (1 seule card centrée) */
.cwt-cards--single {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* Section localisation */
.cwt-location {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.cwt-map-wrapper {
  border-radius: var(--cwt-radius-lg);
  overflow: hidden;
  box-shadow: var(--cwt-shadow-hover);
}

.cwt-map-wrapper iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.cwt-location__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cwt-info-card {
  background: #fff;
  border-radius: var(--cwt-radius);
  padding: 1.75rem;
  box-shadow: var(--cwt-shadow);
  border: 1px solid var(--cwt-border);
}

.cwt-info-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cwt-text);
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cwt-info-card__title i {
  color: var(--cwt-primary);
}

.cwt-info-card__content {
  font-size: 1rem;
  color: var(--cwt-text-muted);
  line-height: 2;
}

.cwt-info-card__muted {
  margin-top: 0.5rem;
  color: var(--cwt-text-muted);
  opacity: 0.9;
}

.cwt-btn--center {
  text-align: center;
  justify-content: center;
}

.cwt-location__sidebar .cwt-btn-primary {
  width: 100%;
}

.cwt-info-note {
  background: linear-gradient(135deg, #fff8e1 0%, #fffde7 100%);
  border-left: 4px solid #ffc107;
  padding: 1rem 1.25rem;
  border-radius: 0 10px 10px 0;
  font-size: 0.9375rem;
  color: #856404;
}

.cwt-info-note i {
  margin-right: 0.5rem;
}

@media (max-width: 968px) {
  .cwt-location {
    grid-template-columns: 1fr;
  }
}

/* CTA final */
.cwt-cta {
  background: linear-gradient(135deg, var(--cwt-primary) 0%, var(--cwt-primary-light) 100%);
  padding: clamp(4rem, 8vw, 6rem) clamp(2rem, 4vw, 3rem);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cwt-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.cwt-cta__title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 900;
  margin: 0 0 0.75rem 0;
  position: relative;
}

.cwt-cta__text {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  position: relative;
}

.cwt-cta__buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.cwt-cta__btn-main {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #fff;
  color: var(--cwt-primary);
  padding: 1.2rem 2.5rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cwt-cta__btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.cwt-cta__btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255,255,255,0.12);
  color: #fff;
  padding: 1.2rem 2.5rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s;
}

.cwt-cta__btn-phone:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
}
