/* ============================================================
   OLIPOP — Feuille de style CSS
   SAE Marketing RCN — IUT de Rennes
   ============================================================ */

/* --- Variables de couleurs --- */
:root {
  /* Couleurs officielles OLIPOP */
  --green:       #034638;
  --dark-green:  #022d23;
  --pink:        #FFB7B4;
  --light-green: #E8F3EE;
  --pale-pink:   #FFF0EF;
  --white:       #FFFFFF;
  --black:       #000000;

  /* Couleurs pages secondaires */
  --cream: #FDF6EC;
  --rust:  #C8502A;
  --sage:  #7A9E7E;
  --honey: #E8A837;
  --dark:  #1A1108;
  --soft:  #F5EDE0;
}

/* --- Reset & base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4rem;
  background: var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--pink);
  letter-spacing: -1px;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav ul a:hover,
nav ul a.active {
  color: var(--pink);
}

/* Navigation variante page secondaire (fond crème) */
nav.nav-light {
  background: var(--cream);
  border-bottom: 2px solid var(--dark);
  padding: 1.2rem 4rem;
}

nav.nav-light .logo {
  color: var(--rust);
}

nav.nav-light ul a {
  color: var(--dark);
}

nav.nav-light ul a:hover,
nav.nav-light ul a.active {
  color: var(--rust);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--dark-green);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--pink);
}

/* Footer variante page secondaire */
footer.footer-dark {
  background: var(--dark);
  color: var(--cream);
  border-top: 2px solid var(--dark);
}

footer.footer-dark .footer-logo {
  color: var(--honey);
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn-primary {
  background: var(--pink);
  color: var(--green);
  padding: 0.9rem 2rem;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: #ffa0a0;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border-radius: 4px;
  transition: border-color 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  border-color: var(--pink);
  color: var(--pink);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-green:hover {
  background: var(--dark-green);
  transform: translateY(-2px);
}

/* Bouton page secondaire */
.btn-rust {
  background: var(--rust);
  color: white;
  padding: 0.9rem 2rem;
  border: 2px solid var(--dark);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}

.btn-rust:hover {
  background: var(--dark);
  transform: translate(-2px, -2px);
}

/* ============================================================
   PAGE D'ACCUEIL — index.html
   ============================================================ */

/* Hero centré */
.hero {
  background: var(--green);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 4rem 0;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 780px;
  padding-bottom: 3.5rem;
}

.hero-tag {
  display: inline-block;
  background: var(--pink);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero h1 em {
  font-style: italic;
  color: var(--pink);
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-right {
  width: 100%;
  max-width: 1100px;
}

.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  border-radius: 16px 16px 0 0;
}

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

/* Barre de statistiques */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--pink);
}

.stat {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 2px solid rgba(3, 70, 56, 0.2);
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--green);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark-green);
  margin-top: 0.4rem;
}

/* Section "Notre histoire" */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-text {
  padding: 5rem 4rem;
  background: var(--white);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--green);
  margin-bottom: 1rem;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.2rem;
}

.about-image {
  background: var(--light-green);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section saveurs */
.flavors {
  padding: 5rem 4rem;
  background: var(--pale-pink);
}

.flavors-header {
  text-align: center;
  margin-bottom: 3rem;
}

.flavors-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green);
  margin-top: 0.5rem;
}

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.flavor-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.flavor-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(3, 70, 56, 0.12);
}

.flavor-color-block {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.flavor-body {
  padding: 1.2rem;
}

.flavor-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.4rem;
}

.flavor-desc {
  font-size: 0.83rem;
  line-height: 1.5;
  color: #555;
  margin-bottom: 0.8rem;
}

.flavor-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--light-green);
  color: var(--green);
}

/* Section "Pourquoi OLIPOP" */
.why {
  padding: 5rem 4rem;
  background: white;
}

.why-header {
  text-align: center;
  margin-bottom: 3rem;
}

.why-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green);
  margin-top: 0.5rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-item {
  padding: 2rem;
  background: var(--light-green);
  border-radius: 12px;
}

.why-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.why-item h3 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.why-item p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #333;
}

/* Bandeau CTA */
.cta-band {
  background: var(--pink);
  padding: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green);
  max-width: 500px;
}

/* ============================================================
   PAGE TÉMOIGNAGE — avis.html
   ============================================================ */
.testi-hero {
  background: var(--sage);
  padding: 5rem 4rem;
  border-bottom: 2px solid var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.testi-hero-left {
  border-right: 2px solid var(--dark);
  padding-right: 4rem;
}

.page-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: white;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.testi-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.testi-hero h1 em {
  font-style: italic;
  color: var(--honey);
}

.testi-hero > div > p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.7;
}

.testi-hero-right {
  padding-left: 4rem;
  display: flex;
  align-items: center;
}

.profile-card {
  background: white;
  border: 2px solid var(--dark);
  padding: 2.5rem;
  width: 100%;
  box-shadow: 6px 6px 0 var(--dark);
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--honey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  border: 2px solid var(--dark);
}

.profile-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.profile-info span {
  font-size: 0.85rem;
  color: #7A6A55;
}

.stars {
  color: var(--honey);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.verified {
  display: inline-block;
  background: var(--sage);
  color: white;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-weight: 500;
  margin-top: 0.5rem;
}

.main-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  border-bottom: 2px solid var(--dark);
}

.story {
  padding: 5rem 4rem;
  border-right: 2px solid var(--dark);
}

.story h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.story p {
  font-size: 1rem;
  line-height: 1.85;
  color: #3A2F22;
  margin-bottom: 1.5rem;
}

.pull-quote {
  border-left: 4px solid var(--rust);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  background: var(--soft);
}

.pull-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 700;
  color: var(--rust);
  line-height: 1.4;
  margin: 0;
}

.pull-quote cite {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-size: 0.85rem;
  color: #7A6A55;
  margin-top: 0.8rem;
}

.sidebar {
  padding: 3rem 2rem;
}

.sidebar-block {
  border: 2px solid var(--dark);
  margin-bottom: 1.5rem;
}

.sidebar-block-header {
  background: var(--dark);
  color: var(--cream);
  padding: 0.8rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sidebar-block-content {
  padding: 1.2rem;
}

.rating-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--soft);
  font-size: 0.9rem;
}

.rating-row:last-child {
  border-bottom: none;
}

.rating-bar {
  height: 6px;
  background: var(--soft);
  border-radius: 3px;
  width: 80px;
  overflow: hidden;
  display: inline-block;
}

.rating-fill {
  height: 100%;
  background: var(--honey);
  border-radius: 3px;
}

.pros-cons li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
  list-style: none;
}

.pros-cons .pro::before {
  content: '✓ ';
  color: var(--sage);
  font-weight: 700;
}

.pros-cons .con::before {
  content: '− ';
  color: var(--rust);
  font-weight: 700;
}

.timeline {
  padding: 4rem 4rem;
  border-bottom: 2px solid var(--dark);
}

.timeline h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--dark);
}

.step {
  padding: 2rem 1.5rem;
  border-right: 2px solid var(--dark);
}

.step:last-child {
  border-right: none;
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--honey);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.step-week {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7A6A55;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.step h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #5A4E3A;
}

.cta-back {
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--soft);
  border-bottom: 2px solid var(--dark);
}

.cta-back p {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
}

/* ============================================================
   PAGE SEO — seo.html
   ============================================================ */
.page-header {
  padding: 4rem 4rem 3rem;
  border-bottom: 2px solid var(--dark);
}

.page-header.bg-dark {
  background: var(--dark);
  color: var(--cream);
}

.page-header.bg-honey {
  background: var(--honey);
}

.page-header .label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.page-header.bg-dark .label { color: var(--honey); }
.page-header.bg-honey .label { color: rgba(26,17,8,0.6); }

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-header.bg-dark h1 { color: var(--white); }
.page-header.bg-honey h1 { color: var(--dark); }

.page-header > p {
  font-size: 1rem;
  max-width: 600px;
  line-height: 1.7;
}

.page-header.bg-dark > p { color: rgba(255,255,255,0.7); }
.page-header.bg-honey > p { color: rgba(26,17,8,0.7); }

.concept {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 2px solid var(--dark);
}

.concept-block {
  padding: 3rem 4rem;
  border-right: 2px solid var(--dark);
}

.concept-block:last-child { border-right: none; }

.concept-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.concept-block p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #4A3F30;
  margin-bottom: 0.8rem;
}

.concept-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.seo-section { border-bottom: 2px solid var(--dark); }

.seo-header {
  display: grid;
  grid-template-columns: auto 1fr;
  border-bottom: 2px solid var(--dark);
}

.seo-page-num {
  width: 80px;
  background: var(--rust);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  border-right: 2px solid var(--dark);
  flex-shrink: 0;
}

.seo-header-info { padding: 1.5rem 2.5rem; }

.seo-header-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.seo-header-info .file-tag {
  display: inline-block;
  background: var(--dark);
  color: var(--cream);
  font-size: 0.75rem;
  font-family: monospace;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

.seo-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.kw-col {
  padding: 2.5rem 3rem;
  border-right: 2px solid var(--dark);
}

.kw-col:last-child { border-right: none; }

.col-title {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rust);
  margin-bottom: 1.5rem;
}

.kw-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.kw-chip {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--dark);
  font-size: 0.85rem;
  font-weight: 500;
  background: white;
  transition: background 0.15s;
  cursor: default;
}

.kw-chip:hover { background: var(--soft); }
.kw-chip.primary { background: var(--honey); font-weight: 700; }
.kw-chip.secondary { background: var(--sage); color: white; }

.arg-table { width: 100%; border-collapse: collapse; }

.arg-table th {
  background: var(--soft);
  padding: 0.6rem 0.8rem;
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--dark);
}

.arg-table td {
  padding: 0.7rem 0.8rem;
  font-size: 0.87rem;
  line-height: 1.5;
  vertical-align: top;
  border: 1px solid var(--dark);
}

.arg-table tr:nth-child(even) td { background: var(--soft); }

.vol-badge {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-weight: 700;
}

.vol-high { background: #d4edda; color: #155724; }
.vol-med  { background: #fff3cd; color: #856404; }
.vol-low  { background: #f8d7da; color: #721c24; }

.tips-section {
  padding: 3rem 4rem;
  border-bottom: 2px solid var(--dark);
  background: var(--soft);
}

.tips-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--dark);
}

.tip {
  padding: 2rem 1.5rem;
  border-right: 2px solid var(--dark);
  background: white;
}

.tip:last-child { border-right: none; }
.tip-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }

.tip h3 {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.tip p { font-size: 0.87rem; line-height: 1.6; color: #5A4E3A; }

.back-bar {
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--dark);
}

/* ============================================================
   PAGE INFORMATIONS — information.html
   ============================================================ */
.table-section {
  padding: 4rem 4rem;
  border-bottom: 2px solid var(--dark);
  background: var(--cream);
}

.table-section-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.table-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--rust);
  line-height: 1;
  flex-shrink: 0;
}

.table-section-header div h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.table-section-header div p {
  font-size: 0.9rem;
  color: #7A6A55;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid var(--dark);
}

thead th {
  background: var(--dark);
  color: var(--cream);
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

thead th:not(:last-child) {
  border-right: 2px solid rgba(255, 255, 255, 0.15);
}

tbody tr { border-bottom: 2px solid var(--dark); }
tbody tr:last-child { border-bottom: none; }
tbody tr:nth-child(even) td { background: var(--soft); }
tbody tr:hover td { background: #EDE3D4; }

tbody td {
  padding: 1.2rem 1.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
  vertical-align: top;
}

tbody td:not(:last-child) { border-right: 2px solid var(--dark); }

/* Badges IA */
.ia-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  border: 2px solid var(--dark);
  border-radius: 4px;
  white-space: nowrap;
}

.ia-gpt    { background: #d4f0d4; color: #1a5e1a; }
.ia-mid    { background: #d4e3f5; color: #0a2e5c; }
.ia-claude { background: #f5e5d4; color: #5c2e0a; }

.prompt-code {
  font-family: monospace;
  font-size: 0.85rem;
  background: rgba(26, 17, 8, 0.06);
  padding: 0.4rem 0.8rem;
  border-radius: 3px;
  border-left: 3px solid var(--honey);
  display: block;
  margin-top: 0.3rem;
  line-height: 1.5;
}

.content-tag {
  display: inline-block;
  background: var(--sage);
  color: white;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.3rem;
}

/* Badges contribution */
.contrib-badge {
  display: inline-block;
  background: var(--rust);
  color: white;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
}

.contrib-badge.design  { background: var(--honey); color: var(--dark); }
.contrib-badge.content { background: var(--sage); }
.contrib-badge.seo     { background: #7B5EA7; }
.contrib-badge.code    { background: #2C5282; }

.student-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 768px) {
  nav, nav.nav-light { padding: 1rem 1.5rem; }
  nav ul { gap: 1rem; }

  /* Accueil */
  .hero { padding: 3rem 1.5rem 0; }
  .hero-img { height: 240px; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 2px solid rgba(3,70,56,0.2); }
  .about { grid-template-columns: 1fr; }
  .about-text { padding: 3rem 1.5rem; }
  .about-image { min-height: 250px; }
  .flavors, .why { padding: 3rem 1.5rem; }
  .flavor-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; gap: 2rem; padding: 3rem 1.5rem; text-align: center; }

  /* Témoignage */
  .testi-hero { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  .testi-hero-left { border-right: none; padding-right: 0; margin-bottom: 2rem; }
  .testi-hero-right { padding-left: 0; }
  .main-content { grid-template-columns: 1fr; }
  .story { padding: 3rem 1.5rem; border-right: none; }
  .sidebar { padding: 2rem 1.5rem; border-top: 2px solid var(--dark); }
  .timeline { padding: 3rem 1.5rem; }
  .timeline-steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(even) { border-right: none; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 2px solid var(--dark); }
  .cta-back { flex-direction: column; gap: 1.5rem; padding: 2rem 1.5rem; text-align: center; }

  /* SEO */
  .page-header { padding: 3rem 1.5rem 2rem; }
  .concept { grid-template-columns: 1fr; }
  .concept-block { border-right: none; border-bottom: 2px solid var(--dark); padding: 2.5rem 1.5rem; }
  .seo-body { grid-template-columns: 1fr; }
  .kw-col { border-right: none; border-bottom: 2px solid var(--dark); padding: 2rem 1.5rem; }
  .tips-section { padding: 2rem 1.5rem; }
  .tips-grid { grid-template-columns: 1fr; }
  .tip { border-right: none; border-bottom: 2px solid var(--dark); }
  .back-bar { flex-direction: column; gap: 1rem; padding: 2rem 1.5rem; text-align: center; }

  /* Informations */
  .table-section { padding: 2rem 1rem; overflow-x: auto; }
  table { min-width: 600px; }

  footer, footer.footer-dark {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 1.5rem;
  }
}
