/* styles/office-call.css */
/* VARIABLE ADDITIONS */
:root {
  --bg-alt: #f7f7f5;
}

.section-tag {
  color: var(--purple);
}

.section-tag::before {
  background: var(--purple);
}

.btn-light {
  background: var(--bg);
  color: var(--purple);
}

.btn-dark {
  background: var(--purple);
  color: var(--bg);
}

.btn-dark:hover {
  background: var(--purple-dark);
}

.btn-light:hover {
  color: var(--bg);
  background: var(--purple-dark);
}

/* SECTION TAG OVERRIDE */
.section-tag {
  font-weight: 800;
  margin-bottom: 18px;
}

/* HERO */
.hero {
  background: var(--bg);
  padding: 90px 0;
}

.hero .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--purple);
  text-transform: uppercase;
  background: var(--purple-light);
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 22px;
  width: fit-content;
  font-family: "Montserrat", sans-serif;
}

.hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero h1 em {
  font-style: normal;
  color: var(--purple);
}

.hero p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 420px;
}

.hero-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.blob-visual {
  width: 100%;
  max-width: 460px;
  height: 420px;
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  overflow: hidden;
  /* background: linear-gradient(135deg, var(--purple-light), var(--purple)); */
  display: flex;
  align-items: center;
  justify-content: center;
}

.blob-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* .blob-visual .img-ph {
  color: #999;
  font-size: 13px;
  font-style: italic;
  text-align: center;
  padding: 20px;
} */

/* HERO RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    padding: 40px 0 20px;
  }

  .hero .inner {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 30px;
  }

  .hero-img-wrap {
    order: 2;
  }

  .hero-text-wrap {
    padding: 0 15px;
  }

  .blob-visual {
    border-radius: 0;
    max-width: 100%;
    height: 280px;
  }
}

/* VIDEO */
.video-section {
  background: var(--bg);
  padding: 80px 0;
}

@media (max-width: 768px) {
  .video-section {
    padding: 20px 0;
  }
}

.video-wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: rgb(var(--black-rgb));
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA BANNER */
.cta-banner {
  background: var(--purple);
  padding: 50px 0;
}

@media (max-width: 768px) {
  .cta-banner {
    padding: 20px 0;
  }
}

.cta-banner .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

@media (max-width: 768px) {
  .cta-banner .inner {
    flex-direction: column;
    gap: 20px;
  }
}

.cta-banner-text h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--bg);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.cta-banner-text p {
  font-size: 14px;
  color: rgba(var(--white-rgb), 0.7);
}

/* GARANTIES */
.garanties-section {
  background: var(--bg);
  padding: 80px 0;
}

@media (max-width: 768px) {
  .garanties-section {
    padding: 20px 0;
  }
}

.garanties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  .garanties-grid {
    grid-template-columns: 1fr;
  }
}

.garantie-card {
  background: var(--bg);
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  transition: background 0.25s;
}

.garantie-card:last-child {
  border-right: none;
}

.garantie-card:hover {
  background: #f8f8f6;
}

.garantie-icon {
  margin-bottom: 20px;
}

.garantie-card h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 10px;
}

.garantie-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.75;
}

/* CALCULATOR */
.calc-section {
  background: var(--purple-light);
  padding: 80px 0;
}

@media (max-width: 768px) {
  .calc-section {
    padding: 20px 0;
  }
}

.calc-section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 48px;
  letter-spacing: -0.3px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 768px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .calc-section h2 {
    margin-bottom: 25px;
  }
}

.sliders-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  height: 100%;
}

@media (max-width: 768px) {
  .sliders-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

.slider-group {
  margin-bottom: 28px;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .slider-label {
    font-size: 12px;
  }
}

.slider-val {
  font-weight: 900;
  color: var(--purple);
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: #535353;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--purple);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--purple);
  cursor: pointer;
}

.calc-result {
  background: var(--bg);
  border-radius: 6px;
  overflow: hidden;
}

.result-header {
  background: var(--purple);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-header-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(var(--white-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-header h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--bg);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.result-body {
  padding: 28px 28px 20px;
}

.result-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.metric-box {
  background: #f8f8f6;
  border-radius: 4px;
  padding: 18px;
  text-align: center;
  border: 1px solid var(--border);
}

.metric-label {
  font-size: 10px;
  color: var(--gray);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.metric-value {
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  font-weight: 900;
}

.result-cost {
  background: var(--purple);
  border-radius: 4px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cost-label {
  font-size: 12px;
  color: rgba(var(--white-rgb), 0.6);
  line-height: 1.6;
  max-width: 140px;
}

.cost-amount {
  font-family: "Montserrat", sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--bg);
  line-height: 1;
}

.cost-sublabel {
  font-size: 10px;
  color: rgba(var(--white-rgb), 0.5);
  margin-top: 4px;
  text-align: right;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.calc-cta {
  padding: 18px 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  border-top: 1px solid var(--border);
}

.calc-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.calc-cta-text {
  font-size: 12px;
  color: var(--gray);
  font-weight: 600;
  line-height: 1.5;
}

.calc-cta-text strong {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}

.calc-cta a {
  background: var(--purple);
  color: var(--bg);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.calc-cta a:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .result-body,
  .calc-cta {
    padding: 18px;
  }
}

/* JOURNÉE TYPE */
.journee-section {
  background: var(--bg);
  padding: 80px 0;
}

.journee-section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 44px;
  letter-spacing: -0.3px;
}

.journee-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: start;
}

.journee-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-toggle {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.2s;
  text-align: center;
  letter-spacing: 0.5px;
  background: var(--bg);
  color: var(--gray);
}

.btn-toggle.active {
  background: var(--purple);
  color: var(--bg);
  border-color: var(--purple);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tl-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tl-time {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray);
  width: 38px;
  flex-shrink: 0;
  font-family: "Montserrat", sans-serif;
}

.tl-bar {
  flex: 1;
  height: 28px;
  border-radius: 3px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(-16px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.tl-bar.tl-in {
  opacity: 1;
  transform: translateX(0);
}

.tl-work {
  background: #ddf0f1;
  color: #0a5c60;
}

.tl-call {
  background: #fde8d8;
  color: #8a3300;
}

.tl-recup {
  background: #feecd8;
  color: #7a3800;
}

.tl-pause {
  background: #ebebeb;
  color: #555;
}

.tl-free {
  background: #e0f0e5;
  color: #155724;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .journee-section {
    padding: 20px 0;
  }
  .journee-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .journee-btns {
    flex-direction: row;
    justify-content: center;
  }

  .legend {
    gap: 8px;
  }
}
