/* ==========================================================
   COCOTTES — CSS DES GABARITS (header, footer, page produit)
   Extrait des mockups validés. Le design system de base
   (boutons, couleurs, body) est dans style.css.
   ========================================================== */

  /* ===== HEADER ===== */
  .cc-header {
    background: #fff;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #1A1A1A;
    position: sticky; top: 0; z-index: 100;
  }
  .cc-logo-wrap { display: flex; align-items: center; gap: 12px; }
  .cc-logo {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #F8C72E;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .cc-logo .cc-yorkmade { font-size: 10px; color: #E63329; text-align: center; line-height: 0.9; }
  .cc-tagline { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 2px; }
  .cc-nav { display: flex; gap: 28px; align-items: center; font-size: 14px; font-weight: 500; }
  .cc-nav a { color: #1A1A1A; text-decoration: none; }
  .cc-nav a.active { color: #E63329; font-weight: 600; }
  .cc-nav .cc-btn-yellow {
    font-size: 12px;
    padding: 10px 20px;
    border: 2px solid #1A1A1A;
    transition: all 0.2s;
  }
  .cc-nav .cc-btn-yellow:hover {
    background: #1A1A1A;
    color: #F8C72E;
  }

  /* ============================================
     SECTION 1 : HERO PARALLAX PLEIN ÉCRAN
     ============================================ */
  .cc-product-hero {
    height: 92vh;
    min-height: 600px;
    position: relative;
    background-image: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.65) 100%),
                      url('https://images.unsplash.com/photo-1565299543923-37dd37887442?w=1920');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 0;
    overflow: hidden;
  }

  /* Breadcrumb en haut */
  .cc-product-breadcrumb {
    padding: 0 40px;
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
  }
  .cc-product-breadcrumb a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s;
  }
  .cc-product-breadcrumb a:hover { color: #F8C72E; }

  /* Bloc titre en bas */
  .cc-product-hero-content {
    padding: 0 40px 30px;
    color: #fff;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }
  .cc-product-category {
    display: inline-block;
    background: #F8C72E;
    color: #1A1A1A;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
  }
  .cc-product-title {
    font-size: 140px;
    line-height: 0.9;
    margin-bottom: 16px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
  }
  .cc-product-tagline {
    font-family: 'Brush Script MT', cursive;
    font-size: 36px;
    color: #F8C72E;
    margin-bottom: 30px;
  }
  .cc-product-hero-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
  }
  .cc-product-hero-meta-item {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 30px;
  }
  .cc-product-hero-meta-item i { color: #F8C72E; font-size: 16px; }

  /* Indicateur scroll */
  .cc-scroll-indicator {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    z-index: 2;
  }
  .cc-scroll-indicator i {
    display: block;
    font-size: 22px;
    margin-top: 4px;
    animation: bounce 2s infinite;
  }
  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
  }

  /* ============================================
     SECTION 2 : DESCRIPTION
     ============================================ */
  .cc-product-description {
    background: #FDF6EC;
    padding: 100px 40px;
    position: relative;
  }
  .cc-description-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }
  .cc-description-img {
    height: 540px;
    background-image: url('https://images.unsplash.com/photo-1604908176997-125f25cc6f3d?w=900');
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    position: relative;
  }
  .cc-description-img::after {
    content: '';
    position: absolute;
    bottom: -20px; right: -20px;
    width: 100px; height: 100px;
    background: #F8C72E;
    border-radius: 50%;
    z-index: -1;
  }
  .cc-description-img::before {
    content: '';
    position: absolute;
    top: -20px; left: -20px;
    width: 60px; height: 60px;
    border: 3px solid #E63329;
    border-radius: 50%;
    z-index: -1;
  }
  .cc-description-text h2 {
    font-size: 64px;
    line-height: 0.95;
    margin-bottom: 24px;
  }
  .cc-description-text p {
    font-size: 17px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 18px;
  }
  .cc-product-quote {
    margin-top: 32px;
    padding: 24px 28px;
    background: #fff;
    border-left: 4px solid #E63329;
    border-radius: 8px;
    font-style: italic;
    color: #555;
    font-size: 15px;
  }
  .cc-product-quote::before {
    content: '"';
    font-family: 'Bowlby One SC', Impact, sans-serif;
    font-size: 60px;
    color: #F8C72E;
    line-height: 0;
    vertical-align: -20px;
    margin-right: 8px;
  }

  /* ============================================
     SECTION 3 : LES INGRÉDIENTS
     ============================================ */
  .cc-ingredients {
    background: #1A1A1A;
    color: #fff;
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
  }
  .cc-ingredients::before {
    content: '🌾';
    position: absolute;
    top: 60px; left: 60px;
    font-size: 48px;
    opacity: 0.12;
    transform: rotate(-15deg);
  }
  .cc-ingredients::after {
    content: '🌾';
    position: absolute;
    bottom: 60px; right: 60px;
    font-size: 48px;
    opacity: 0.12;
    transform: rotate(20deg);
  }

  .cc-ingredients-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
  }
  .cc-ingredients-header .cc-label-section { color: #F8C72E; }
  .cc-ingredients-script {
    font-family: 'Brush Script MT', cursive;
    font-size: 28px;
    color: #F8C72E;
    margin-bottom: 12px;
  }
  .cc-ingredients-header h2 {
    color: #fff;
    font-size: 56px;
    line-height: 1;
    margin-bottom: 18px;
  }
  .cc-ingredients-header p {
    color: rgba(255,255,255,0.75);
    font-size: 17px;
  }

  /* Ingrédient principal — bloc en vedette */
  .cc-main-ingredient {
    background: #fff;
    color: #1A1A1A;
    border-radius: 28px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    margin: 0 auto 50px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.3);
  }
  .cc-main-ingredient-img {
    height: 420px;
    background-color: #C97A5C;
    background-image: url('https://images.unsplash.com/photo-1599909533730-f6dfdab2bbcf?w=900');
    background-size: cover;
    background-position: center;
    position: relative;
  }
  .cc-main-ingredient-badge {
    position: absolute;
    top: 24px; left: 24px;
    background: #E63329;
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
  }
  .cc-main-ingredient-content {
    padding: 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .cc-main-ingredient-content .cc-label-section { color: #E63329; }
  .cc-main-ingredient-content h3 {
    font-family: 'Bowlby One SC', Impact, sans-serif;
    font-size: 52px;
    text-transform: lowercase;
    line-height: 1;
    margin-bottom: 20px;
  }
  .cc-main-ingredient-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  .cc-supplier-info {
    background: #FDF6EC;
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .cc-supplier-icon {
    width: 44px; height: 44px;
    background: #F8C72E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
  }
  .cc-supplier-name {
    font-size: 13px;
    color: #1A1A1A;
    font-weight: 700;
    margin-bottom: 2px;
  }
  .cc-supplier-place {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
  }

  /* Grille des ingrédients — tous au même niveau */
  .cc-other-ingredients {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .cc-ingredient-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 22px;
    transition: all 0.3s;
    position: relative;
  }
  .cc-ingredient-card:hover {
    border-color: #F8C72E;
    background: rgba(248, 199, 46, 0.08);
    transform: translateY(-4px);
  }
  /* Variante "ingrédient principal" — accent doré */
  .cc-ingredient-card-main {
    border-color: #F8C72E;
    background: rgba(248, 199, 46, 0.08);
  }
  .cc-ingredient-card-img {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
  }
  /* Badge "★ principal" sur la photo */
  .cc-ingredient-card-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: #E63329;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(230, 51, 41, 0.4);
  }
  .cc-ingredient-card h4 {
    font-family: 'Bowlby One SC', Impact, sans-serif;
    font-size: 22px;
    text-transform: lowercase;
    color: #fff;
    line-height: 1;
    margin-bottom: 12px;
  }
  .cc-ingredient-card-supplier {
    font-size: 13px;
    color: #F8C72E;
    font-weight: 700;
    margin-bottom: 2px;
  }
  .cc-ingredient-card-place {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
  }

  /* ============================================
     SECTION 4 : CTA FINAL
     ============================================ */
  .cc-cta-final {
    background: #F8C72E;
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .cc-cta-final::before {
    content: '';
    position: absolute;
    top: -100px; left: -100px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(230, 51, 41, 0.08);
  }
  .cc-cta-final h2 {
    font-size: 72px;
    line-height: 1;
    color: #1A1A1A;
    margin-bottom: 18px;
    position: relative; z-index: 1;
  }
  .cc-cta-final-subtitle {
    font-family: 'Brush Script MT', cursive;
    font-size: 32px;
    color: #E63329;
    margin-bottom: 24px;
    position: relative; z-index: 1;
  }
  .cc-cta-final p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 36px;
    color: #444;
    position: relative; z-index: 1;
  }
  .cc-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative; z-index: 1;
  }

  /* ===== FOOTER ===== */
  .cc-footer {
    background: #1A1A1A;
    color: #fff;
    padding: 60px 40px 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .cc-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto; margin-right: auto;
  }
  .cc-footer h5 {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #F8C72E;
    margin-bottom: 16px;
  }
  .cc-footer-links { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 2; }
  .cc-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    max-width: 1200px;
    margin: 0 auto;
  }
  .cc-social { display: flex; gap: 12px; }
  .cc-social a, .cc-social div {
    width: 38px; height: 38px;
    background: #F8C72E;
    color: #1A1A1A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 1024px) {
    .cc-product-title { font-size: 100px; }
    .cc-description-grid { gap: 40px; }
    .cc-description-text h2 { font-size: 48px; }
    .cc-other-ingredients { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  }

  @media (max-width: 800px) {
    .cc-product-title { font-size: 72px; }
    .cc-product-tagline { font-size: 26px; }
    .cc-description-grid { grid-template-columns: 1fr; }
    .cc-description-img { height: 380px; }
    .cc-description-text h2 { font-size: 42px; }
    .cc-ingredients-header h2 { font-size: 38px; }
    .cc-cta-final h2 { font-size: 48px; }
    .cc-other-ingredients { grid-template-columns: 1fr; }
    .cc-footer-grid { grid-template-columns: 1fr; }
    .cc-nav { display: none; }
    .cc-product-hero { background-attachment: scroll; height: 80vh; }
    .cc-product-description, .cc-ingredients, .cc-cta-final { padding: 60px 24px; }
  }

  @media (max-width: 480px) {
    .cc-product-title { font-size: 56px; }
    .cc-product-hero-meta-item { font-size: 11px; padding: 6px 12px; }
  }

/* ==========================================================
   MENU MOBILE (hamburger) — ajout pour le site réel
   ========================================================== */
.cc-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.cc-logo-link img { max-height: 56px; width: auto; border-radius: 50%; }

.cc-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.cc-nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #1A1A1A;
  border-radius: 3px;
  transition: all 0.3s;
}
.cc-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.cc-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.cc-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .cc-nav-toggle { display: flex; }
  .cc-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 32px 28px;
    gap: 18px;
    border-bottom: 2px solid #1A1A1A;
    box-shadow: 0 16px 30px rgba(0,0,0,0.1);
  }
  .cc-header { position: relative; }
  .cc-nav.cc-nav-open { display: flex; }
}
