/* ==========================================================================
   ATELIER DÔME & SOIE - STYLESHEET
   Design Brief: Modern soft agency / SaaS visual identity.
   Light gradient wash, white cards, soft shadows, pill badges, sans typography.
   IMAGE-FREE: Zero raster images, pure CSS shapes and SVG icons.
   ========================================================================== */

:root {
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --color-bg-light: #fbfbfc;
  --color-bg-gradient-top: #ffffff;
  --color-bg-gradient-bottom: #f2f5f9;
  --color-primary: #192a3e;
  --color-primary-soft: #243b55;
  --color-accent: #c47d48; /* Warm refined amber/terracotta */
  --color-accent-soft: rgba(196, 125, 72, 0.12);
  --color-accent-hover: #b06d3a;
  --color-text-main: #1f2937;
  --color-text-muted: #5b677a;
  --color-text-subtle: #8996a8;
  --color-surface-white: #ffffff;
  --color-surface-card: #ffffff;
  --color-border: rgba(36, 59, 85, 0.08);
  --color-border-hover: rgba(196, 125, 72, 0.35);
  --shadow-subtle: 0 4px 20px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  --shadow-hover: 0 20px 40px rgba(15, 23, 42, 0.09), 0 2px 6px rgba(15, 23, 42, 0.04);
  --radius-pill: 9999px;
  --radius-card: 24px;
  --radius-card-sm: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: linear-gradient(180deg, var(--color-bg-gradient-top) 0%, var(--color-bg-gradient-bottom) 100%);
  color: var(--color-text-main);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Pill Badges & Buttons
   -------------------------------------------------------------------------- */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #ffffff;
  color: var(--color-primary-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 18px;
}

.pill-badge-secondary {
  background: var(--color-accent-soft);
  color: var(--color-accent-hover);
  border-color: rgba(196, 125, 72, 0.2);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  padding: 12px 26px;
  transition: all 0.22s ease-in-out;
  cursor: pointer;
  border: none;
}

.pill-button-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(25, 42, 62, 0.16);
}

.pill-button-primary:hover {
  background: var(--color-primary-soft);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(25, 42, 62, 0.22);
}

.pill-button-ghost {
  background: #ffffff;
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
}

.pill-button-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.pill-button-header {
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.88rem;
  padding: 10px 20px;
}

.pill-button-header:hover {
  background: var(--color-accent);
}

.pill-button-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   1. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   2. Hero Section & Mock Preview Frame
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 70px 0 50px;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: 3.1rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--color-primary);
  max-width: 820px;
  margin-bottom: 22px;
}

.hero-subcopy {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 660px;
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Browser preview frame without raster images */
.mock-frame-wrapper {
  width: 100%;
  max-width: 920px;
}

.mock-frame {
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: 0 25px 60px -15px rgba(25, 42, 62, 0.12), 0 0 0 1px rgba(25, 42, 62, 0.06);
  overflow: hidden;
  text-align: left;
}

.mock-header {
  background: #f8fafc;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.mock-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-amber { background: #febc2e; }
.dot-green { background: #28c840; }

.mock-url-bar {
  flex-grow: 1;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  padding: 5px 14px;
  color: var(--color-text-subtle);
  font-family: monospace;
  max-width: 380px;
}

.mock-controls {
  display: flex;
  gap: 8px;
}

.mock-control-item {
  width: 20px;
  height: 6px;
  background: #e2e8f0;
  border-radius: 4px;
}

.mock-body {
  display: flex;
  min-height: 260px;
  background: #fafbfe;
}

.mock-sidebar {
  width: 180px;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
}

.mock-line {
  height: 7px;
  background: #e9eef5;
  border-radius: 4px;
}
.line-short { width: 45%; }
.line-med { width: 75%; }
.line-full { width: 100%; }
.mock-line.accent { background: var(--color-accent); opacity: 0.7; }

.mock-card-mini {
  height: 48px;
  border-radius: 10px;
  background: #f1f4f9;
  margin-top: 6px;
}

.mock-card-mini.mini-active {
  background: var(--color-accent-soft);
  border: 1px dashed var(--color-accent);
}

.mock-content-area {
  flex-grow: 1;
  padding: 24px;
}

.mock-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mock-chip {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
}

.mock-status-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  background: #e6f9ed;
  color: #1b873f;
  border-radius: var(--radius-pill);
}

.mock-grid-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mock-spec-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-card-sm);
  padding: 16px;
}

.mock-spec-box.highlight {
  border-color: var(--color-accent);
  box-shadow: 0 6px 14px rgba(196, 125, 72, 0.08);
}

.spec-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.spec-bar-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.spec-bar {
  height: 6px;
  border-radius: 4px;
  background: #e5ebf3;
}

.val-90 { width: 90%; }
.val-80 { width: 80%; }
.val-70 { width: 70%; }
.val-60 { width: 60%; }
.accent-bar { background: var(--color-accent); }

.spec-stat {
  font-size: 0.72rem;
  color: var(--color-text-subtle);
}

.spec-circle-chart {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid var(--color-accent-soft);
  border-top-color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.chart-inner {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   3. Thin Logos / Trust Strip
   -------------------------------------------------------------------------- */
.trust-strip {
  padding: 34px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.4);
}

.trust-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.trust-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-subtle);
  font-weight: 600;
}

.trust-names {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  align-items: center;
}

.trust-brand {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.trust-brand:hover {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   4. Features Grid
   -------------------------------------------------------------------------- */
.features-section {
  padding: 85px 0;
}

.section-header {
  margin-bottom: 50px;
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.35rem;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.section-subcopy {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-surface-card);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-border-hover);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: gap 0.2s ease;
}

.feature-link:hover {
  gap: 10px;
  color: var(--color-accent-hover);
}

/* --------------------------------------------------------------------------
   5. How It Works (Steps)
   -------------------------------------------------------------------------- */
.steps-section {
  padding: 75px 0;
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: #ffffff;
  border-radius: var(--radius-card-sm);
  padding: 26px 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.step-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.step-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   6. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 85px 0;
}

.faq-container {
  max-width: 820px;
}

.accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion-item {
  background: #ffffff;
  border-radius: var(--radius-card-sm);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.accordion-item.active {
  border-color: rgba(196, 125, 72, 0.4);
}

.accordion-header {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  gap: 16px;
}

.accordion-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f4f9;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.2s;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--color-primary);
  transform: translate(-50%, -50%);
  border-radius: 2px;
}

.accordion-icon::before {
  width: 10px;
  height: 2px;
}

.accordion-icon::after {
  width: 2px;
  height: 10px;
  transition: transform 0.2s ease;
}

.accordion-item.active .accordion-icon {
  background: var(--color-accent-soft);
  transform: rotate(90deg);
}

.accordion-item.active .accordion-icon::before,
.accordion-item.active .accordion-icon::after {
  background-color: var(--color-accent);
}

.accordion-item.active .accordion-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.accordion-item.active .accordion-content {
  max-height: 400px;
  padding-bottom: 22px;
}

.accordion-content p {
  font-size: 0.94rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   7. Big Rounded CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner-section {
  padding: 30px 0 80px;
}

.cta-banner-card {
  background: linear-gradient(135deg, #1b2838 0%, #293d56 100%);
  color: #ffffff;
  border-radius: 32px;
  padding: 60px 48px;
  text-align: center;
  box-shadow: 0 24px 60px -10px rgba(25, 42, 62, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-pill-highlight {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: #fce8d8;
  margin-bottom: 20px;
}

.cta-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-text {
  font-size: 1.1rem;
  color: #c9d5e3;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.contact-details-box {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9cb1c9;
}

.contact-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-link:hover {
  color: #f7d2b2;
}

/* --------------------------------------------------------------------------
   8. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-col-main .brand-logo {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 360px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}

.social-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.footer-address,
.footer-hours {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--color-text-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.legal-link {
  color: var(--color-text-muted);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Legal Page Styles (politique-confidentialite.html)
   -------------------------------------------------------------------------- */
.legal-page-main {
  padding: 60px 0 80px;
}

.legal-container {
  max-width: 800px;
}

.legal-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 12px 0 6px;
}

.legal-date {
  font-size: 0.9rem;
  color: var(--color-text-subtle);
  margin-bottom: 30px;
}

.legal-content-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.legal-content-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 26px;
  margin-bottom: 12px;
}

.legal-content-card h2:first-of-type {
  margin-top: 0;
}

.legal-content-card p {
  font-size: 0.96rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-content-card ul {
  margin-left: 20px;
  margin-bottom: 18px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Responsive Queries
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .mock-grid-preview {
    grid-template-columns: 1fr;
  }
  .mock-sidebar {
    display: none;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .cta-title {
    font-size: 2rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .contact-details-box {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-item {
    justify-content: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}