/*
Theme Name: Cocottes Child
Theme URI: https://cocottes.fr
Description: Thème enfant Astra pour Crêperie Cocottes — foodtruck breton à Lyon. Contient le design system, les types de contenu et les gabarits de pages personnalisés.
Author: Crêperie Cocottes
Author URI: https://cocottes.fr
Template: astra
Version: 1.7.0
Text Domain: cocottes-child
*/

/* ============================================================
   COCOTTES — DESIGN SYSTEM
   Couleurs : Jaune #F8C72E · Rouge #E63329 · Noir #1A1A1A · Crème #FDF6EC
   Typo : Yorkmade (fallback Bowlby One SC) pour titres · Jost pour texte
   ============================================================ */

:root {
  --cc-yellow: #F8C72E;
  --cc-red: #E63329;
  --cc-dark: #1A1A1A;
  --cc-cream: #FDF6EC;
  --cc-radius-pill: 40px;
  --cc-radius-card: 18px;
  --cc-max: 1280px;
}

/* ===== BASE ===== */
body {
  font-family: 'Jost', 'Inter', system-ui, sans-serif;
  background: var(--cc-cream);
  color: var(--cc-dark);
  line-height: 1.6;
}

/* Police titres (Yorkmade si dispo, sinon Bowlby One SC) */
.cc-yorkmade,
.cocottes-title {
  font-family: 'Yorkmade', 'Bowlby One SC', Impact, sans-serif;
  letter-spacing: 0.5px;
  text-transform: lowercase;
  font-weight: 400;
}

/* ===== UTILITAIRES COULEURS ===== */
.cc-red { color: var(--cc-red); }
.cc-yellow { color: var(--cc-yellow); }
.cc-dark { color: var(--cc-dark); }
.cc-bg-yellow { background: var(--cc-yellow); }
.cc-bg-cream { background: var(--cc-cream); }
.cc-bg-dark { background: var(--cc-dark); color: #fff; }

/* ===== CONTENEUR ===== */
.cc-container { max-width: var(--cc-max); margin: 0 auto; }

/* ===== ÉTIQUETTE DE SECTION ===== */
.cc-label-section {
  color: var(--cc-red);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-block;
}

/* ===== BOUTONS ===== */
.cc-btn-red,
.cc-btn-yellow,
.cc-btn-dark,
.cc-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--cc-radius-pill);
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cc-btn-red { background: var(--cc-red); color: #fff; }
.cc-btn-red:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(230,51,41,0.3); color: #fff; }
.cc-btn-yellow { background: var(--cc-yellow); color: var(--cc-dark); }
.cc-btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(248,199,46,0.35); color: var(--cc-dark); }
.cc-btn-dark { background: var(--cc-dark); color: #fff; }
.cc-btn-dark:hover { transform: translateY(-2px); color: #fff; }
.cc-btn-outline { background: transparent; color: var(--cc-dark); border: 2px solid var(--cc-dark); padding: 12px 26px; font-size: 13px; }
.cc-btn-outline:hover { background: var(--cc-dark); color: var(--cc-yellow); }

/* ===== SECTIONS ===== */
.cc-section { padding: 90px 40px; }
.cc-section-cream { background: var(--cc-cream); }
.cc-section-yellow { background: var(--cc-yellow); }
.cc-section-dark { background: var(--cc-dark); color: #fff; }
.cc-section-white { background: #fff; }

/* ===== TITRES ===== */
.cc-h2 {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 16px;
}

/* ===== CARTES GÉNÉRIQUES ===== */
.cc-card {
  background: #fff;
  border-radius: var(--cc-radius-card);
  overflow: hidden;
  transition: all 0.3s;
  border: 3px solid transparent;
}
.cc-card:hover {
  transform: translateY(-6px);
  border-color: var(--cc-yellow);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

/* ===== SCRIPT MANUSCRIT (accents) ===== */
.cc-script {
  font-family: 'Brush Script MT', cursive;
  color: var(--cc-red);
}

/* ===== RESPONSIVE GÉNÉRAL ===== */
@media (max-width: 800px) {
  .cc-section { padding: 60px 24px; }
  .cc-h2 { font-size: 38px; }
}
