/* iStock Particulier website styles. SiteLayout links this file when SITE_PRODUCT=solo.
   Strictly complies with iStock 360 brand kit (docs/design/DESIGN.md). */

/* Brand color swapping for iStock Particulier */
:root {
  --particulier-petrol: #ff7a2f;
  --particulier-lid: #063b46;
  --particulier-face: #b4501a;
}
:root[data-theme="dark"] {
  --particulier-petrol: #ff8a47;
  --particulier-lid: #e8f1f0;
  --particulier-face: #ffa470;
}

/* Particulier wordmark (SoloLogo.astro) */
.solo-logo {
  display: block;
  width: auto;
  height: 36px;
  overflow: visible;
  --t: 0.85;
}
@media (max-width: 440px) {
  .top .solo-logo { height: 31px; }
}
footer .solo-logo {
  height: 34px;
}

/* Static logo elements: fk, fl, ff */
.solo-logo .fk { fill: var(--particulier-petrol); }
.solo-logo .fl { fill: var(--particulier-lid); }
.solo-logo .ff { fill: var(--particulier-face); }

/* Animated logo elements: k/ch, l, k2 */
.solo-logo :is(.k, .ch) { fill: var(--particulier-petrol); }
.solo-logo .l { fill: var(--particulier-lid); }
.solo-logo .k2 { fill: var(--particulier-face); }

/* Header animated logo motion */
.solo-logo.solo-anim .stem {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: i3-stem calc(0.45s * var(--t)) cubic-bezier(0.2, 0.9, 0.2, 1) both;
}
.solo-logo.solo-anim .crt {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: i3-drop calc(0.42s * var(--t)) var(--land) calc(0.33s * var(--t)) both;
}
.solo-logo.solo-anim .lidg {
  animation: i3-liddrop calc(0.42s * var(--t)) var(--land) calc(0.4s * var(--t)) both;
}
.solo-logo.solo-anim .ch {
  animation: i3-in-x calc(0.45s * var(--t)) var(--ease) calc((1.45s + var(--i) * 0.08s) * var(--t)) both;
}

/* Footer grid: 3 columns after brand (no enterprise feature links) */
footer .wrap.solo-wrap {
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
}
@media (max-width: 760px) {
  footer .wrap.solo-wrap { grid-template-columns: 1fr 1fr; }
}

/* Hero Section */
.solo-hero {
  padding: 48px 0 32px;
}
.solo-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.solo-hero-copy h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}
.solo-hero-copy .hero-highlight {
  color: var(--lid);
}
.solo-hero-copy .lede {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 540px;
  margin-bottom: 28px;
}
.solo-hero-copy .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.solo-hero-media {
  position: relative;
}
.hero-image-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px -10px rgba(6, 59, 70, 0.16);
  border: 1px solid var(--line);
  background: var(--surface);
  aspect-ratio: 16 / 9.5;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  animation: hero-ken-burns 22s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}
@keyframes hero-ken-burns {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

.hero-floating-chip {
  position: absolute;
  bottom: 16px;
  inset-inline-start: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(6, 59, 70, 0.1);
}
.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 30%, transparent);
}

/* Benefit chips strip */
.benefit-strip-wrap {
  padding: 12px 0 24px;
}
.benefit-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.benefit-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(6, 59, 70, 0.04);
}
.chip-check {
  width: 15px;
  height: 15px;
  color: var(--ok);
  flex-shrink: 0;
}

/* Features alternating sections */
.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}
.section-heading h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.section-heading .lede {
  font-size: 1.1rem;
  color: var(--ink-2);
  margin-top: 10px;
}

.features-flow {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 24px;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature-row.row-reversed {
  direction: rtl;
}
.feature-row.row-reversed > * {
  direction: ltr;
}
html[dir="rtl"] .feature-row.row-reversed {
  direction: ltr;
}
html[dir="rtl"] .feature-row.row-reversed > * {
  direction: rtl;
}

.feature-text {
  max-width: 480px;
}
.feature-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lid);
  margin-bottom: 8px;
}
.feature-text h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.22;
}
.feature-desc {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 10px;
}
.feature-detail {
  font-size: 0.96rem;
  color: var(--ink-2);
  line-height: 1.55;
}

.feature-media {
  position: relative;
}
.photo-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 10px 30px -8px rgba(6, 59, 70, 0.1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  aspect-ratio: 16 / 9;
}
.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(6, 59, 70, 0.16);
}
.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Report mock card */
.report-mock-card {
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 10px 30px -8px rgba(6, 59, 70, 0.1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.report-mock-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(6, 59, 70, 0.16);
}
.report-mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.report-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  color: var(--ink);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse-dot 2s infinite ease-in-out;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.mono-badge {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--sunk);
  color: var(--ink);
}
.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.report-metric {
  background: var(--sunk);
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.report-metric small {
  display: block;
  font-size: 0.84rem;
  color: var(--ink-2);
  margin-bottom: 4px;
}
.metric-val {
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.text-ok {
  color: var(--ok);
}
.report-receipt-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.88rem;
}

/* Offline band */
.solo-band {
  background: var(--band);
  color: var(--band-ink);
  border-radius: 24px;
  padding: 56px 0;
  margin: 32px auto;
}
.solo-band h2 {
  color: var(--band-ink);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.solo-band .lede {
  color: color-mix(in srgb, var(--band-ink) 85%, transparent);
  font-size: 1.12rem;
  line-height: 1.5;
  max-width: 620px;
}
.band-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--lid);
  color: #063b46;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 6px;
  margin-bottom: 12px;
}
.band-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.pillar-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.25s var(--ease);
}
.pillar-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.09);
}
.pillar-icon {
  width: 28px;
  height: 28px;
  color: var(--lid);
  margin-bottom: 14px;
}
.pillar-icon svg {
  width: 100%;
  height: 100%;
}
.pillar-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--band-ink);
  margin-bottom: 8px;
}
.pillar-card p {
  font-size: 0.94rem;
  color: color-mix(in srgb, var(--band-ink) 78%, transparent);
  line-height: 1.5;
}

/* Steps section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(6, 59, 70, 0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(6, 59, 70, 0.12);
}
.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.step-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--lid);
  color: #063b46;
  font-weight: 800;
  font-size: 1.1rem;
}
.step-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
}
.step-card p {
  font-size: 0.96rem;
  color: var(--ink-2);
  line-height: 1.55;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
}
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.faq-list details[open] {
  border-color: var(--ink);
  box-shadow: 0 4px 16px rgba(6, 59, 70, 0.06);
}
.faq-list summary {
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-sign {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
  margin-inline-start: 12px;
}
.faq-sign::before,
.faq-sign::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}
.faq-sign::before {
  top: 8px;
  left: 1px;
  right: 1px;
  height: 2px;
}
.faq-sign::after {
  left: 8px;
  top: 1px;
  bottom: 1px;
  width: 2px;
}
.faq-list details[open] .faq-sign::after {
  transform: rotate(90deg);
  opacity: 0;
}
.faq-answer {
  padding: 0 22px 18px;
}
.faq-answer p {
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

/* Final CTA Section */
.solo-final {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px 36px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(6, 59, 70, 0.06);
  max-width: 840px;
  margin: 20px auto 48px;
}
.solo-final h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}
.solo-final .lede {
  font-size: 1.1rem;
  color: var(--ink-2);
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.5;
}
.solo-final .wa {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
.solo-final .tel {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-inline-start: 8px;
}

/* Scroll reveal helper */
.rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: var(--sd, 0s);
}
.rv.in {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-img {
    animation: none !important;
  }
  .rv {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .photo-card,
  .step-card,
  .report-mock-card,
  .pillar-card {
    transition: none !important;
    transform: none !important;
  }
  .live-dot {
    animation: none !important;
  }
}

/* Responsive queries */
@media (max-width: 880px) {
  .solo-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature-row.row-reversed {
    direction: ltr;
  }
  html[dir="rtl"] .feature-row.row-reversed {
    direction: rtl;
  }
  .band-pillars {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .solo-hero {
    padding: 24px 0 20px;
  }
  .solo-final {
    padding: 32px 20px;
  }
  .solo-final .wa {
    flex-direction: column;
    align-items: stretch;
  }
}
