/* ============================================================
   Cozzy — Site Vitrine Ultra Pro & Direction Artistique Fait-Main
   Palette : Paper #ECE3CF · Ink #3B322A · Accent Burgundy #7B3B42 · Rose #C08496 · Gold #B7974E
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=Cutive+Mono&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --paper: #ECE3CF;
  --paper-hi: #F7F1E3;
  --paper-card: #FAF6ED;
  --paper-shade: #E2D5BA;
  --ink: #3B322A;
  --ink-soft: #6E6153;
  --ink-light: #8C7C6B;
  --accent: #7B3B42;
  --accent-hover: #632D33;
  --accent-soft: #C08496;
  --rose-light: #FBF0F3;
  --gold: #B7974E;
  --gold-soft: #F9F3E5;
  --line: #D8C8A9;
  --line-light: #EBE0C8;
  --white: #FFFFFF;
  
  --serif: 'Fraunces', Georgia, serif;
  --hand: 'Caveat', cursive;
  --mono: 'Cutive Mono', monospace;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 4px 12px rgba(59, 50, 42, 0.05);
  --shadow-md: 0 12px 30px rgba(59, 50, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(59, 50, 42, 0.12);
  --shadow-paper: 0 16px 40px rgba(59, 50, 42, 0.14), 0 2px 6px rgba(59, 50, 42, 0.06);
}

/* Base resets & smooth rendering */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--paper);
  background-image: 
    radial-gradient(rgba(123, 59, 66, 0.03) 1px, transparent 0),
    radial-gradient(rgba(59, 50, 42, 0.02) 1px, transparent 0);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* Washi Tape decorative element */
.washi-tape {
  position: absolute;
  height: 28px;
  width: 90px;
  border-radius: 2px;
  opacity: 0.88;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.washi-tape.pink {
  background-color: #D9A7B0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.25) 0, rgba(255,255,255,0.25) 4px, transparent 0, transparent 8px);
}
.washi-tape.gold {
  background-color: #E3C79A;
  background-image: radial-gradient(rgba(183, 151, 78, 0.4) 1px, transparent 0);
  background-size: 8px 8px;
}
.washi-tape.rose {
  background-color: #C9A0AE;
}
.washi-tape.cream {
  background-color: #E0C4C0;
}

/* Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(236, 227, 207, 0.88);
  border-bottom: 1px solid var(--line-light);
  transition: all 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  position: relative;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
  transition: transform 0.2s ease;
}

.brand-logo:hover .brand-icon {
  transform: rotate(0deg) scale(1.05);
}

.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.brand-tag {
  font-family: var(--hand);
  font-size: 18px;
  color: var(--accent);
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(123, 59, 66, 0.25);
  transition: all 0.2s ease !important;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2deg);
  box-shadow: 0 6px 18px rgba(123, 59, 66, 0.35);
}

/* HERO SECTION */
.hero-section {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-hi);
  border: 1px dashed var(--accent);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  transform: rotate(-1deg);
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(192, 132, 150, 0.3);
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 18.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(123, 59, 66, 0.3);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-3deg);
  box-shadow: 0 12px 30px rgba(123, 59, 66, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-hi);
  color: var(--ink);
  border: 1.5px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 26px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--white);
  transform: translateY(-2deg);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--hand);
  font-size: 20px;
  color: var(--ink-soft);
}

.hero-note .star-icons {
  color: var(--gold);
}

/* Hero Visual Showcase Frame */
.hero-visual-wrap {
  position: relative;
}

.hero-paper-frame {
  position: relative;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow-paper);
  transform: rotate(1.5deg);
  transition: transform 0.4s ease;
}

.hero-paper-frame:hover {
  transform: rotate(0deg) scale(1.01);
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  object-fit: cover;
}

.hero-floating-tag {
  position: absolute;
  top: -18px;
  left: 30px;
  background: var(--paper-hi);
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 8px;
  font-family: var(--hand);
  font-size: 22px;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: rotate(-4deg);
  z-index: 15;
}

.hero-floating-sticker {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: var(--accent);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 50px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-md);
  transform: rotate(3deg);
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* STATS & TRUST BANNER */
.trust-banner {
  margin: 40px auto 80px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--paper-hi);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
}

.trust-item {
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--line);
}

.trust-icon {
  font-size: 26px;
  margin-bottom: 8px;
}

.trust-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
}

.trust-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* SECTION HEADER GENERAL */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
  position: relative;
}

.section-kicker {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-desc {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* SCRAPBOOK SHOWCASE SECTION */
.scrapbook-section {
  padding: 80px 0;
}

.scrapbook-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.scrapbook-image-wrap {
  position: relative;
}

.scrapbook-card-frame {
  background: var(--white);
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-paper);
  transform: rotate(-1.5deg);
}

.scrapbook-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 20px;
  background: var(--paper-hi);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 18px;
  transition: all 0.3s ease;
  position: relative;
}

.feature-item:hover {
  transform: translateY(-3deg);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  background: var(--rose-light);
  border: 1px solid var(--accent-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.feature-content h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}

.feature-content p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* CARDS GRID SECTION */
.cards-section {
  padding: 80px 0;
  background: rgba(247, 241, 227, 0.4);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

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

.craft-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.craft-card:nth-child(1) { transform: rotate(-0.8deg); }
.craft-card:nth-child(2) { transform: rotate(0.8deg); }
.craft-card:nth-child(3) { transform: rotate(-0.5deg); }
.craft-card:nth-child(4) { transform: rotate(0.6deg); }
.craft-card:nth-child(5) { transform: rotate(-0.7deg); }
.craft-card:nth-child(6) { transform: rotate(0.5deg); }

.craft-card:hover {
  transform: rotate(0deg) translateY(-6deg) !important;
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.card-badge {
  font-size: 32px;
  margin-bottom: 16px;
}

.card-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}

.card-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  flex-grow: 1;
}

.card-handnote {
  font-family: var(--hand);
  font-size: 19px;
  color: var(--gold);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

/* REVIEWS & POLAROIDS */
.reviews-section {
  padding: 90px 0;
}

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

.polaroid-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px 20px 28px;
  border-radius: 8px;
  box-shadow: var(--shadow-paper);
  position: relative;
  transition: transform 0.3s ease;
}

.polaroid-card:nth-child(1) { transform: rotate(-2deg); }
.polaroid-card:nth-child(2) { transform: rotate(1.5deg); }
.polaroid-card:nth-child(3) { transform: rotate(-1deg); }

.polaroid-card:hover {
  transform: rotate(0deg) scale(1.03);
  z-index: 20;
}

.polaroid-text {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 20px;
  font-style: italic;
}

.polaroid-user {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f0e6d6;
  padding-top: 14px;
}

.avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rose-light);
  border: 1.5px solid var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  font-size: 16px;
}

.user-info .user-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.user-info .user-handle {
  font-family: var(--hand);
  font-size: 17px;
  color: var(--accent);
}

/* FAQ SECTION */
.faq-section {
  padding: 80px 0;
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: var(--paper-hi);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--accent);
}

.faq-question {
  padding: 22px 26px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
  color: var(--accent);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 26px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 26px 24px;
}

/* FINAL CTA SECTION */
.cta-section {
  padding: 90px 0;
  margin-left: auto;
  margin-right: auto;
}

.cta-box {
  background: linear-gradient(135deg, var(--paper-card) 0%, var(--paper-hi) 100%);
  border: 2px dashed var(--accent);
  border-radius: 32px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-paper);
  transform: rotate(-0.5deg);
}

.cta-app-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  transform: rotate(-4deg);
}

.cta-title {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.cta-desc {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 60px;
  background: rgba(226, 213, 186, 0.3);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-brand .brand-name {
  font-size: 24px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14.5px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--ink-soft);
  border-top: 1px dashed var(--line);
  padding-top: 24px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero-grid, .scrapbook-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title { font-size: 42px; }
  .cards-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .trust-item:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 34px; }
  .section-title { font-size: 30px; }
  .cards-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }
  .cta-box { padding: 40px 20px; }
  .cta-title { font-size: 30px; }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 28px;
    line-height: 1.3;
  }
  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .hero-floating-tag {
    font-size: 16px;
    padding: 6px 12px;
    top: -12px;
    left: 10px;
  }
  .hero-floating-sticker {
    font-size: 12px;
    padding: 8px 16px;
    bottom: -15px;
    right: 5px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 16px;
  }
  .trust-item:not(:last-child)::after {
    display: none;
  }
  .trust-item {
    padding: 12px 0;
  }
  .trust-item:not(:last-child) {
    border-bottom: 1px dashed var(--line);
  }
  .section-title {
    font-size: 24px;
  }
  .section-desc {
    font-size: 15px;
  }
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .cta-actions .btn-primary {
    width: 100%;
    justify-content: center;
  }
}
