* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f3f0ea;
  color: #111;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 78px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(243, 240, 234, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.logo {
  display: flex;
  align-items: center;
  height: 58px;
}

.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

nav {
  display: flex;
  gap: 28px;
  font-size: .95rem;
  font-weight: 700;
}

.cart-btn,
.btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary,
.cart-btn {
  background: #111;
  color: white;
}

.btn.secondary {
  background: white;
  color: #111;
}

.btn.small {
  padding: 11px 18px;
  background: #111;
  color: white;
  font-size: .9rem;
}

.secondary-small {
  background: #e8e0d4 !important;
  color: #111 !important;
}

/* HERO */
.hero {
  min-height: calc(100vh - 78px);
  padding: 6vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  color: #777;
  font-weight: 900;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: .9;
  letter-spacing: -.08em;
  margin: 20px 0;
  max-width: 1100px;
}

.hero p {
  max-width: 620px;
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-card {
  position: relative;
  min-height: 580px;
  border-radius: 36px;
  background: radial-gradient(circle, white, #ddd2c3);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.15);
}

.floating-badge {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 30;
  background: #111;
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
}

/* HERO SLIDER */
.hero-slider {
  padding: 0;
}

.hero-slide-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 600%;
  height: 100%;
  animation: heroProductSlide 24s infinite ease-in-out;
}

.hero-slide-track img {
  width: calc(100% / 6);
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes heroProductSlide {
  0%, 12% { transform: translateX(0); }
  16%, 28% { transform: translateX(-16.666%); }
  32%, 44% { transform: translateX(-33.333%); }
  48%, 60% { transform: translateX(-50%); }
  64%, 76% { transform: translateX(-66.666%); }
  80%, 92% { transform: translateX(-83.333%); }
  100% { transform: translateX(0); }
}

.dynamic-card {
  animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* SHOP */
.shop {
  padding: 90px 6vw;
}

.section-title p {
  color: #777;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 900;
}

.section-title h1,
.section-title h2 {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  letter-spacing: -.08em;
  line-height: .9;
  margin: 10px 0 40px;
}

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

.product-card {
  position: relative;
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

.product-image {
  position: relative;
  height: 380px;
  background: #e8e0d4;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
}

.product-image img {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform .35s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 20;
  background: #111;
  color: white;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(0,0,0,.22);
}

.product-info {
  padding: 24px;
}

.product-info p {
  color: #777;
  margin: 0;
}

.product-info h3 {
  font-size: 1.4rem;
  margin: 8px 0;
}

.product-info strong {
  display: block;
  font-size: 1.35rem;
  margin: 14px 0;
}

.product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-actions form {
  margin: 0;
}

/* STRIP */
.animated-strip {
  background: #111;
  color: white;
  overflow: hidden;
  width: 100%;
}

.strip-track {
  display: flex;
  gap: 70px;
  width: max-content;
  padding: 30px 0;
  animation: stripMove 28s linear infinite;
}

.strip-track span {
  font-size: clamp(1.6rem, 4vw, 4.4rem);
  font-weight: 950;
  white-space: nowrap;
}

@keyframes stripMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* MARQUE */
.brand-section {
  background: #f3f0ea;
  color: #111;
}

.brand-grid {
  grid-template-columns: repeat(3, 1fr);
}

.brand-product-card .product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-product-card .product-image img {
  position: relative;
  inset: unset;
  width: auto;
  height: auto;
  max-width: 86%;
  max-height: 86%;
  object-fit: contain;
}

.brand-product-card:hover .product-image img {
  transform: scale(1.04);
}

.flip-product-btn {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #111;
  color: white;
  font-size: 1.4rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  transition: .25s ease;
  z-index: 25;
}

.flip-product-btn:hover {
  transform: rotate(180deg) scale(1.08);
}

.brand-flip-image img.is-flipping {
  transform: rotateY(90deg) scale(.96);
  opacity: .4;
}

/* INFO DTF */
.info-section {
  padding: 90px 6vw;
}

.info-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 30px;
}

.info-header h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: .95;
  letter-spacing: -.08em;
  margin: 12px 0 0;
  max-width: 720px;
}

.info-card {
  background: linear-gradient(135deg, #161616, #0f0f0f);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 34px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  color: white;
  box-shadow: 0 20px 60px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.04);
}

.info-left p,
.info-right p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-top: 0;
}

.info-left ul {
  margin-top: 26px;
  padding-left: 22px;
  display: grid;
  gap: 16px;
}

.info-actions {
  display: flex;
  gap: 16px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.gradient-btn {
  background: linear-gradient(90deg, #6d5dfc, #3ccf91);
  color: white;
}

.outline-btn {
  border: 1px solid rgba(255,255,255,.16);
  background: transparent;
  color: white;
}

.info-right small {
  display: block;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}

/* FAQ */
.faq-section {
  padding: 90px 6vw;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,.06);
}

.faq-item button {
  width: 100%;
  border: none;
  background: white;
  padding: 24px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
}

.faq-item p {
  display: none;
  padding: 0 24px 24px;
  margin: 0;
  color: #555;
  line-height: 1.7;
}

.faq-item.open p {
  display: block;
}

/* FOOTER */
.site-footer {
  margin-top: 90px;
  padding: 44px 6vw 28px;
  background: #111;
  color: white;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  object-fit: contain;
}

.footer-logo strong {
  display: block;
  font-size: 1.1rem;
}

.footer-logo span {
  display: block;
  margin-top: 4px;
  font-size: .85rem;
  font-weight: 800;
  color: rgba(255,255,255,.75);
}

.footer-brand p {
  color: rgba(255,255,255,.82);
}

.footer-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-socials a {
  padding: 13px 20px;
  border-radius: 999px;
  background: #050505;
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
}

.footer-bottom div {
  display: flex;
  gap: 12px;
}

/* AUTH */
.auth-card {
  width: min(460px, 92vw);
  margin: 10vh auto;
  background: white;
  padding: 36px;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
  display: grid;
  gap: 18px;
}

.auth-card h1 {
  font-size: 3rem;
  margin: 0;
  letter-spacing: -.07em;
}

.auth-card input {
  width: 100%;
  padding: 15px;
  border-radius: 16px;
  border: 1px solid #ddd;
}

.auth-error {
  color: #dc2626;
  font-weight: 800;
}

/* DASHBOARD */
.dashboard-body {
  background: #f3f0ea;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.dashboard-sidebar {
  background: #111;
  color: white;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}

.dashboard-nav a {
  padding: 16px 18px;
  border-radius: 18px;
  color: rgba(255,255,255,.75);
  font-weight: 800;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
  background: white;
  color: #111;
}

.dashboard-sidebar-bottom {
  display: grid;
  gap: 12px;
}

.dashboard-back,
.dashboard-logout {
  display: block;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  font-weight: 800;
}

.dashboard-logout {
  background: rgba(239,68,68,.18);
  color: #fecaca;
}

.dashboard-main {
  padding: 50px;
}

.dashboard-hero {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
}

.dashboard-hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: .9;
  letter-spacing: -.08em;
  margin: 10px 0;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
}

.dashboard-stat-card,
.project-card,
.empty-card,
.quote-form,
.cart-item,
.cart-total,
.message-form {
  background: white;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(0,0,0,.06);
}

.dashboard-stat-card {
  padding: 30px;
}

.dashboard-stat-card span {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -.08em;
}

.dashboard-stat-card p {
  color: #666;
}

.dashboard-projects {
  margin-top: 70px;
}

.dashboard-project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  padding: 30px;
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-status {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 900;
}

.project-status.waiting {
  background: #ffedd5;
  color: #ea580c;
}

.project-status.progress {
  background: #dbeafe;
  color: #2563eb;
}

.project-date {
  color: #777;
  font-weight: 700;
}

.project-card h3 {
  margin: 24px 0 10px;
  font-size: 2rem;
  letter-spacing: -.05em;
}

.project-card p {
  color: #666;
  line-height: 1.7;
}

.empty-card {
  padding: 28px;
  display: grid;
  gap: 14px;
}

/* SIMPLE PAGES */
.simple-page {
  padding: 70px 6vw;
}

.quote-form {
  padding: 34px;
  display: grid;
  gap: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid #ddd;
  font: inherit;
}

.quote-form textarea {
  min-height: 130px;
}

.quote-list {
  margin-top: 36px;
}

.bottom-return {
  margin-top: 50px;
}

/* CART */
.cart-list,
.message-list {
  display: grid;
  gap: 18px;
  margin: 30px 0;
}

.cart-item,
.cart-total {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-total strong {
  font-size: 2rem;
}

.mini-cart {
  position: fixed;
  top: 96px;
  right: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #111;
  color: white;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
  transition: .25s ease;
}

.mini-cart:hover {
  transform: translateY(-3px);
}

/* MESSAGE FLOAT */
.floating-message-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #111;
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  z-index: 80;
  box-shadow: 0 18px 45px rgba(0,0,0,.25);
}

.floating-panel {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 100;
  padding: 6vw;
}

.floating-panel:target {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.floating-panel-card {
  width: min(460px, 100%);
  background: white;
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 25px 70px rgba(0,0,0,.25);
  position: relative;
}

.floating-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2rem;
  font-weight: 900;
}

.message-form-mini {
  display: grid;
  gap: 14px;
}

.message-form-mini textarea {
  width: 100%;
  min-height: 130px;
  border-radius: 18px;
  border: 1px solid #ddd;
  padding: 14px;
}

.message-bubble {
  margin-top: 16px;
  background: #111;
  color: white;
  padding: 18px;
  border-radius: 20px;
}

.message-bubble p {
  line-height: 1.6;
}

/* LEGAL */
.legal-page {
  padding: 70px 6vw;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

.legal-summary,
.legal-content {
  background: white;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

.legal-summary {
  position: sticky;
  top: 100px;
  padding: 28px;
  max-height: calc(100vh - 130px);
  overflow: auto;
}

.legal-summary a {
  display: block;
  padding: 12px 0;
  color: #555;
  line-height: 1.5;
  font-weight: 700;
}

.legal-content {
  padding: 44px;
}

.legal-header {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.legal-header h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: .9;
  letter-spacing: -.08em;
  margin: 12px 0;
}

.legal-actions {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.legal-highlight,
.legal-note,
.legal-warning,
.legal-box {
  padding: 24px;
  border-radius: 24px;
  margin: 24px 0;
  line-height: 1.7;
}

.legal-highlight {
  background: #111;
  color: white;
}

.legal-note {
  background: #3a2c18;
  color: white;
  border-left: 5px solid #f59e0b;
}

.legal-warning {
  background: #3a1c20;
  color: white;
  border-left: 5px solid #ef4444;
}

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

.legal-box {
  background: #f3f0ea;
  margin: 0;
}

.legal-content article {
  padding: 26px 0;
  border-top: 1px solid rgba(0,0,0,.1);
}

.legal-content article h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -.04em;
}

.legal-content article p,
.legal-content li {
  line-height: 1.8;
  color: #333;
}

.legal-contact {
  padding: 16px 18px;
  background: #f3f0ea;
  border-radius: 16px;
  margin: 10px 0;
  font-weight: 700;
}

/* CREATEUR BASIQUE */
.creator-page,
.product-page {
  padding: 70px 6vw;
}

.creator-layout,
.product-page {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 50px;
  align-items: center;
}

.mockup-zone,
.product-detail-image {
  min-height: 600px;
  background: radial-gradient(circle, white, #d8cdbc);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.controls {
  background: white;
  padding: 32px;
  border-radius: 30px;
  display: grid;
  gap: 20px;
}

.controls label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.controls input,
.controls select,
.controls textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 16px;
}

.hidden-control {
  display: none !important;
}

.checkbox-line {
  display: flex !important;
  align-items: center;
  gap: 10px;
  background: #f3f0ea;
  padding: 14px;
  border-radius: 16px;
}

.checkbox-line input {
  width: auto !important;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  nav {
    display: none;
  }

  .hero,
  .products-grid,
  .info-card,
  .dashboard-layout,
  .dashboard-project-grid,
  .product-page,
  .creator-layout,
  .legal-page,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .mockup-zone,
  .product-detail-image {
    min-height: 430px;
  }

  .dashboard-main,
  .simple-page {
    padding: 28px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .dashboard-hero,
  .footer-top,
  .footer-bottom,
  .legal-header {
    flex-direction: column;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .legal-summary {
    position: relative;
    top: unset;
    max-height: none;
  }

  .legal-content {
    padding: 28px;
  }

  .mini-cart {
    top: 88px;
    right: 16px;
  }
}

/* AUTH */

.auth-container{
    min-height: 100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px;
    background:#f3f0ea;
}

.auth-form{
    width:100%;
    max-width:480px;
    background:white;
    padding:40px;
    border-radius:32px;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
    display:flex;
    flex-direction:column;
    gap:18px;
}

.auth-form h1{
    margin:0;
    font-size:3rem;
    line-height:.9;
    letter-spacing:-.08em;
}

.auth-form p{
    margin:0;
    color:#666;
    line-height:1.6;
}

.auth-form input{
    width:100%;
    border:1px solid #ddd;
    border-radius:18px;
    padding:16px;
    font-size:1rem;
    background:white;
    transition:.2s;
}

.auth-form input:focus{
    outline:none;
    border-color:#111;
}

.forgot-link{
    text-align:center;
    font-weight:700;
    color:#666;
    transition:.2s;
}

.forgot-link:hover{
    color:#111;
}

.auth-success {
  color: #16a34a;
  font-weight: 800;
}

.auth-card p {
  line-height: 1.6;
  color: #555;
}

.auth-card a {
  font-weight: 800;
}

.auth-success {
  color: #16a34a !important;
  font-weight: 900;
}

.mockup-view img{
  max-width:80%;
  max-height:80%;
}

.hidden-preview{
  display:none;
}

.mockup-switch{
  position:absolute;
  top:20px;
  left:20px;
  z-index:20;
  display:flex;
  gap:10px;
}

.mockup-switch button{
  border:none;
  background:white;
  padding:12px 18px;
  border-radius:999px;
  font-weight:800;
  cursor:pointer;
}

.mockup-switch button.active{
  background:#111;
  color:white;
}

.price-box{
  background:#111;
  color:white;
  padding:24px;
  border-radius:24px;
}

.price-box span{
  display:block;
  opacity:.7;
}

.price-box strong{
  display:block;
  font-size:2.5rem;
  margin-top:10px;
}

.mockup-card{
  position:relative;
  width:100%;
  height:100%;
}

.mockup-view{
  position:relative;
  height:760px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.mockup-background{
  position:absolute;
  width:340px;
  height:100%;
  border-radius:999px;
  background:linear-gradient(
    180deg,
    #ffffff,
    #ddd2c3
  );
  box-shadow:
    inset 0 0 30px rgba(255,255,255,.7),
    0 30px 70px rgba(0,0,0,.12);
}

.mockup-product{
  position:relative;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
}

#mockupBase{
  max-width:520px;
  max-height:80%;
  object-fit:contain;
  position:relative;
  z-index:2;
  filter:drop-shadow(0 25px 45px rgba(0,0,0,.18));
}

.design-preview{
  position:absolute;
  width:180px;
  object-fit:contain;
  z-index:3;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
}

.hidden-preview{
  display:none;
}

.preview-text{
  position:absolute;
  bottom:130px;
  left:50%;
  transform:translateX(-50%);
  z-index:4;
  font-weight:900;
  font-size:1.5rem;
  letter-spacing:-.04em;
  color:#111;
  text-align:center;
}

.mockup-switch{
  position:absolute;
  top:20px;
  left:20px;
  z-index:20;
  display:flex;
  gap:10px;
}

.mockup-switch button{
  border:none;
  background:white;
  padding:12px 18px;
  border-radius:999px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.mockup-switch button.active{
  background:#111;
  color:white;
}

.price-box{
  background:#111;
  color:white;
  padding:24px;
  border-radius:24px;
}

.price-box span{
  display:block;
  opacity:.7;
}

.price-box strong{
  display:block;
  font-size:2.5rem;
  margin-top:10px;
}

.creator-preview-card {
  width: 100%;
  min-height: 680px;
  background: radial-gradient(circle, #fff, #ddd2c3);
  border-radius: 36px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.12);
}

.creator-preview-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-weight: 900;
  margin-bottom: 20px;
}

.creator-preview-header small {
  color: #777;
}

.custom-product-stage {
  position: relative;
  width: 100%;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.custom-product-base {
  width: 100%;
  max-width: 920px;
  max-height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.design-zone {
  position: absolute;
  z-index: 5;
  width: 210px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.front-zone {
  left: 26%;
  top: 34%;
}

.back-zone {
  right: 24%;
  top: 34%;
}

.uploaded-design {
  display: none;
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
}

.custom-text {
  position: absolute;
  font-weight: 900;
  text-align: center;
  color: #111;
  max-width: 180px;
  word-break: break-word;
}

@media (max-width: 900px) {
  .creator-preview-card {
    min-height: 460px;
  }

  .custom-product-stage {
    height: 390px;
  }

  .design-zone {
    width: 120px;
    height: 160px;
  }

  .front-zone {
    left: 24%;
    top: 34%;
  }

  .back-zone {
    right: 22%;
    top: 34%;
  }
}

.creator-control-box {
  background: #f3f0ea;
  padding: 20px;
  border-radius: 24px;
  display: grid;
  gap: 16px;
}

.creator-control-box h3 {
  margin: 0;
  font-size: 1.4rem;
}

.movable-item {
  position: absolute;
  z-index: 8;
  width: 180px;
  height: 180px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: grab;
  border: 1px dashed rgba(0,0,0,.35);
  border-radius: 12px;
}

.movable-item.dragging {
  cursor: grabbing;
  border-color: #111;
  background: rgba(255,255,255,.18);
}

.front-image-item {
  left: 23%;
  top: 38%;
}

.back-image-item {
  left: 63%;
  top: 38%;
}

.front-text-item {
  left: 23%;
  top: 58%;
}

.back-text-item {
  left: 63%;
  top: 58%;
}

.text-item {
  min-width: 120px;
  min-height: 60px;
}

.uploaded-design {
  display: none;
  max-width: 110px;
  max-height: 110px;
  object-fit: contain;
  pointer-events: none;
}

.custom-text {
  font-weight: 900;
  text-align: center;
  color: #111;
  word-break: break-word;
  pointer-events: none;
}

.custom-product-stage {
  touch-action: none;
}

/* ==========================
   CGU / CGV
========================== */

.legal-page{
    padding:60px 6vw;
    display:grid;
    grid-template-columns:300px 1fr;
    gap:30px;
    align-items:start;
}

.legal-summary{
    position:sticky;
    top:100px;
    background:white;
    border-radius:28px;
    padding:30px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.legal-summary h2{
    margin-top:0;
    font-size:1.6rem;
}

.legal-summary a{
    display:block;
    padding:10px 0;
    color:#666;
    font-weight:700;
    transition:.2s;
}

.legal-summary a:hover{
    color:#111;
    padding-left:8px;
}

.legal-content{
    background:white;
    border-radius:32px;
    padding:50px;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
}

.legal-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:30px;
    margin-bottom:40px;
}

.legal-header h1{
    font-size:clamp(3rem,6vw,5rem);
    line-height:.9;
    letter-spacing:-.08em;
    margin:15px 0;
}

.legal-header p{
    max-width:700px;
    color:#666;
    line-height:1.8;
}

.legal-highlight{
    background:#111;
    color:white;
    border-radius:28px;
    padding:30px;
    margin-bottom:40px;
}

.legal-highlight strong{
    display:block;
    margin-bottom:12px;
    font-size:1.2rem;
}

.legal-content article{
    padding:35px 0;
    border-top:1px solid rgba(0,0,0,.08);
}

.legal-content article:first-of-type{
    border-top:none;
}

.legal-content article h2{
    font-size:2rem;
    margin-top:0;
    margin-bottom:15px;
    letter-spacing:-.04em;
}

.legal-content article p{
    line-height:1.9;
    color:#444;
}

.legal-content ul{
    padding-left:20px;
}

.legal-content li{
    margin-bottom:10px;
    line-height:1.8;
}

.legal-contact{
    background:#f3f0ea;
    padding:16px 20px;
    border-radius:18px;
    margin-bottom:12px;
    font-weight:700;
}

.legal-note{
    background:#fff4d6;
    border-left:5px solid #f59e0b;
    padding:20px;
    border-radius:16px;
    margin-top:20px;
}

.legal-warning{
    background:#fee2e2;
    border-left:5px solid #dc2626;
    padding:20px;
    border-radius:16px;
    margin-top:20px;
}

.legal-actions{
    display:flex;
    gap:12px;
}

@media(max-width:1000px){

    .legal-page{
        grid-template-columns:1fr;
    }

    .legal-summary{
        position:relative;
        top:auto;
    }

    .legal-content{
        padding:30px;
    }

    .legal-header{
        flex-direction:column;
    }

}

.quote-number {
  display: inline-block;
  margin: 18px 0 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: #111;
  color: white !important;
  font-weight: 900;
  font-size: .85rem;
}

.quote-cancel-form {
  margin-top: 20px;
}

/* FAQ */
.faq-section {
  padding: 90px 6vw;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,.06);
}

.faq-question {
  width: 100%;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 900;
}

.faq-arrow {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  font-size: 24px;
  cursor: pointer;
  transition: .25s ease;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 24px;
  color: #555;
  line-height: 1.7;
  transform: translateX(30px);
  transition: .35s ease;
}

.faq-item.open .faq-answer {
  max-height: 220px;
  opacity: 1;
  padding: 0 24px 24px;
  transform: translateX(0);
}

.faq-item.open .faq-arrow {
  transform: rotate(90deg);
}

/* CORRECTION ORIGINAL + FAQ */

.brand-flip-image {
  position: relative;
}

.flip-checkbox {
  display: none;
}

.brand-flip-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-back {
  opacity: 0;
  transform: translate(-50%, -50%) rotateY(90deg);
}

.flip-checkbox:checked ~ .brand-front {
  opacity: 0;
  transform: translate(-50%, -50%) rotateY(90deg);
}

.flip-checkbox:checked ~ .brand-back {
  opacity: 1;
  transform: translate(-50%, -50%) rotateY(0);
}

.flip-product-btn {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #111;
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 900;
  cursor: pointer;
  z-index: 25;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.faq-item summary {
  padding: 24px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 900;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: "›";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  display: grid;
  place-items: center;
  font-size: 24px;
  transition: .25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(90deg);
}

.faq-item p {
  display: block !important;
  padding: 0 24px 24px;
  margin: 0;
  color: #555;
  line-height: 1.7;
}

.brand-product-card .product-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-product-card .product-image img {
  position: relative;
  inset: unset;
  width: auto;
  height: auto;
  max-width: 86%;
  max-height: 86%;
  object-fit: contain;
}

.brand-back {
  display: none;
}

.flip-checkbox:checked ~ .brand-front {
  display: none;
}

.flip-checkbox:checked ~ .brand-back {
  display: block;
}
