/* =============================================
   RECYTECH CIRCULAR — CSS PARTAGÉ
   Thème : beige #fafaf8 · orange #c8400a · noir #1a1a1a
   ============================================= */

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

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: #fafaf8;
  color: #1a1a1a;
}

/* ---- NAVIGATION ---- */
nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 60px; height: 72px; background: #fafaf8;
  border-bottom: 2px solid #1a1a1a;
  position: sticky; top: 0; z-index: 100;
}
.logo { font-size: 22px; font-weight: 800; letter-spacing: -1px; text-decoration: none; color: #1a1a1a; }
.logo span { color: #c8400a; }
nav ul { list-style: none; display: flex; gap: 32px; align-items: center; }
nav ul a { color: #444; text-decoration: none; font-size: 13px; font-family: 'Segoe UI', sans-serif; letter-spacing: 1px; text-transform: uppercase; transition: color .2s; }
nav ul a:hover { color: #c8400a; }
nav ul a.active { color: #c8400a; font-weight: 700; }
.nav-cta { background: #c8400a; color: #fff !important; padding: 10px 22px; border-radius: 4px; font-weight: 700 !important; }
.nav-cta:hover { background: #a83308 !important; }

/* ---- FOOTER ---- */
footer { background: #1a1a1a; color: #555; padding: 60px 60px 32px; font-family: 'Segoe UI', sans-serif; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo-footer { font-family: Georgia, serif; font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; display: block; }
.footer-brand .logo-footer span { color: #c8400a; }
.footer-brand p { color: #666; line-height: 1.7; font-size: 13px; }
.footer-col h4 { color: #fff; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; font-family: 'Segoe UI', sans-serif; font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { color: #666; text-decoration: none; transition: color .2s; }
.footer-col ul a:hover { color: #c8400a; }
.footer-bottom { border-top: 1px solid #2a2a2a; padding-top: 24px; display: flex; justify-content: space-between; color: #444; }
.footer-bottom a { color: #444; text-decoration: none; }
.footer-bottom a:hover { color: #c8400a; }

/* ---- PAGE HEADER ---- */
.page-header {
  background: linear-gradient(180deg, #f0ede8 0%, #fafaf8 100%);
  border-bottom: 1px solid #e0dbd2;
  padding: 60px 60px 48px;
}
.page-header .eyebrow { font-family: 'Segoe UI', sans-serif; font-size: 11px; font-weight: 700; color: #c8400a; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; }
.page-header h1 { font-size: 44px; font-weight: 800; line-height: 1.1; margin-bottom: 12px; }
.page-header p { font-family: 'Segoe UI', sans-serif; font-size: 16px; color: #666; max-width: 600px; line-height: 1.7; }

/* ---- UTILITAIRES ---- */
.section { padding: 80px 60px; }
.section-sm { padding: 48px 60px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; }
.section-header h2 { font-size: 36px; font-weight: 800; }
.section-header a { font-family: 'Segoe UI', sans-serif; font-size: 13px; font-weight: 700; color: #c8400a; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; }

.btn-primary { background: #c8400a; color: #fff; padding: 14px 28px; border-radius: 5px; text-decoration: none; font-family: 'Segoe UI', sans-serif; font-weight: 700; font-size: 14px; display: inline-block; transition: background .2s; border: none; cursor: pointer; }
.btn-primary:hover { background: #a83308; }
.btn-secondary { background: transparent; color: #1a1a1a; padding: 13px 28px; border-radius: 5px; text-decoration: none; font-family: 'Segoe UI', sans-serif; font-weight: 700; font-size: 14px; display: inline-block; border: 2px solid #1a1a1a; transition: all .2s; }
.btn-secondary:hover { background: #1a1a1a; color: #fff; }
.btn-white { background: #fff; color: #c8400a; padding: 14px 28px; border-radius: 5px; text-decoration: none; font-family: 'Segoe UI', sans-serif; font-weight: 700; font-size: 14px; display: inline-block; transition: background .2s; }
.btn-white:hover { background: #f5f5f0; }

/* ---- TRUST BAR ---- */
.trust-bar { display: flex; justify-content: center; gap: 48px; padding: 36px 60px; background: #1a1a1a; color: #fff; }
.trust-item { text-align: center; font-family: 'Segoe UI', sans-serif; }
.trust-item strong { display: block; font-size: 28px; font-weight: 800; color: #c8400a; }
.trust-item span { font-size: 12px; color: #888; margin-top: 4px; display: block; letter-spacing: 1px; text-transform: uppercase; }

/* ---- CARTES PRODUITS ---- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.products-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { border: 1px solid #e0dbd2; border-radius: 10px; overflow: hidden; background: #fff; transition: border-color .2s, transform .2s; }
.product-card:hover { border-color: #c8400a; transform: translateY(-3px); }
.product-img { background: #f5f2ed; height: 200px; display: flex; align-items: center; justify-content: center; font-size: 60px; position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-badge { position: absolute; top: 12px; left: 12px; font-family: 'Segoe UI', sans-serif; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 3px; }
.badge-orange { background: #c8400a; color: #fff; }
.badge-dark { background: #1a1a1a; color: #fff; }
.badge-green { background: #2d7a4f; color: #fff; }
.product-info { padding: 18px; }
.product-info h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.product-info .compat { font-family: 'Segoe UI', sans-serif; font-size: 12px; color: #aaa; margin-bottom: 14px; }
.product-info .ref { font-family: monospace; font-size: 11px; color: #bbb; margin-bottom: 14px; display: block; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.price { font-size: 22px; font-weight: 800; }
.add-btn { background: #c8400a; color: #fff; border: none; padding: 9px 16px; border-radius: 5px; cursor: pointer; font-family: 'Segoe UI', sans-serif; font-weight: 700; font-size: 12px; transition: background .2s; }
.add-btn:hover { background: #a83308; }

/* ---- FORMULAIRES ---- */
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-family: 'Segoe UI', sans-serif; font-size: 13px; font-weight: 600; color: #1a1a1a; margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid #d0cbc4; border-radius: 5px;
  font-family: 'Segoe UI', sans-serif; font-size: 14px; color: #1a1a1a;
  background: #fff; transition: border-color .2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #c8400a; box-shadow: 0 0 0 3px rgba(200,64,10,.08); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---- TÉMOIGNAGES ---- */
.temoignages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.temoignage { background: #fff; border-radius: 10px; padding: 28px; border: 1px solid #e0dbd2; }
.stars { color: #c8400a; font-size: 16px; margin-bottom: 12px; }
.temoignage p { font-size: 15px; color: #555; line-height: 1.7; margin-bottom: 16px; }
.temoignage strong { font-family: 'Segoe UI', sans-serif; font-size: 12px; color: #aaa; }

/* ---- MODÈLE TABS ---- */
.model-tabs { display: flex; gap: 8px; margin-bottom: 32px; }
.model-tab { padding: 9px 22px; border-radius: 4px; cursor: pointer; font-family: 'Segoe UI', sans-serif; font-weight: 700; font-size: 14px; color: #888; border: 2px solid #e0dbd2; background: #fff; transition: all .15s; }
.model-tab:hover { border-color: #1a1a1a; color: #1a1a1a; }
.model-tab.active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }

/* ---- STEPS ---- */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid #e0dbd2; align-items: flex-start; }
.step:last-child { border: none; }
.step-n { font-size: 40px; font-weight: 900; color: #e8e0d6; line-height: 1; flex-shrink: 0; width: 48px; }
.step-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.step-info p { font-family: 'Segoe UI', sans-serif; font-size: 14px; color: #777; margin: 0; }

/* =============================================
   RESPONSIVE MOBILE
   ============================================= */

/* Tablette — 768px */
@media (max-width: 768px) {

  /* Navigation */
  nav { padding: 0 20px; height: 60px; }
  nav ul { gap: 16px; }
  nav ul a { font-size: 11px; letter-spacing: 0; }
  .nav-cta { padding: 8px 14px; font-size: 12px !important; }

  /* Page header */
  .page-header { padding: 40px 20px 32px; }
  .page-header h1 { font-size: 30px; }
  .page-header p { font-size: 14px; }

  /* Sections */
  .section { padding: 48px 20px; }
  .section-sm { padding: 32px 20px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-header h2 { font-size: 26px; }

  /* Trust bar */
  .trust-bar { gap: 24px; padding: 28px 20px; flex-wrap: wrap; }
  .trust-item strong { font-size: 22px; }

  /* Grilles produits */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Formulaires */
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Témoignages */
  .temoignages-grid { grid-template-columns: 1fr; }

  /* Footer */
  footer { padding: 40px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Model tabs */
  .model-tabs { flex-wrap: wrap; }
}

/* Mobile — 480px */
@media (max-width: 480px) {

  /* Navigation — masquer les liens, garder logo + CTA */
  nav ul li:not(:last-child) { display: none; }
  nav { padding: 0 16px; }
  .logo { font-size: 18px; }

  /* Page header */
  .page-header { padding: 32px 16px 24px; }
  .page-header h1 { font-size: 26px; }
  .page-header .eyebrow { font-size: 10px; }

  /* Sections */
  .section { padding: 36px 16px; }
  .section-sm { padding: 24px 16px; }
  .section-header h2 { font-size: 22px; }

  /* Trust bar */
  .trust-bar { flex-direction: column; align-items: center; gap: 20px; padding: 28px 16px; }

  /* Grilles produits → 1 colonne */
  .products-grid { grid-template-columns: 1fr; }
  .products-grid-3 { grid-template-columns: 1fr; }

  /* Cartes produits */
  .product-img { height: 160px; }

  /* Footer → 1 colonne */
  footer { padding: 32px 16px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Boutons pleine largeur */
  .btn-primary, .btn-secondary, .btn-white { width: 100%; text-align: center; display: block; }
}
