/* ==============================================
   THEME 3 - MOONRISE
   Violet profond, accents or/jaune, style corporate
   ============================================== */

/* ==============================================
   VARIABLES & RESET
   ============================================== */
:root {
  --color-primary: #680000;
  --color-secondary: #FCCC30;
  --color-silver: #E1E1E1;
  --color-white: #FFFFFF;
  --color-dark: #1A1A1A;
  --color-text: #333333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --article-width: 900px;
  --page-width: 1200px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

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

body {
  background-color: var(--color-white);
  color: var(--color-text);
  overflow-x: hidden;
  max-width: 100vw;
}

/* ==============================================
   TYPOGRAPHY
   ============================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-primary);
  line-height: 1.2;
}

h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.2rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
h4 { font-size: 1.25rem; margin: 1.75rem 0 0.875rem; }
h5 { font-size: 1.125rem; margin: 1.5rem 0 0.75rem; }
h6 { font-size: 1rem; margin: 1.25rem 0 0.625rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

strong {
  font-weight: 700;
  color: var(--color-primary);
}

em { font-style: italic; }

ul, ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
  position: relative;
  padding-left: 0.5rem;
}

ul li::before {
  content: '';
  position: absolute;
  left: -1.25rem;
  top: 0.65em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--color-dark);
  border-radius: 50%;
}

li > p { margin-bottom: 0.75rem; }

/* ==============================================
   HEADER & NAVIGATION
   ============================================== */
header {
  background: linear-gradient(135deg, var(--color-primary) 0%, #3a1857 100%);
  padding: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 998;
  box-shadow: 0 4px 12px rgba(79, 33, 112, 0.15);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-desktop {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-desktop a {
  color: var(--color-white);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  position: relative;
  padding: 0.5rem 0.75rem;
  display: inline-block;
  white-space: nowrap;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width 0.3s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: calc(100% - 1.5rem);
}

/* Sidebar mobile */
.sidebar-mobile { display: none; }

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1105;
  background: none;
  border: none;
  padding: 5px;
  position: fixed;
  right: 2rem;
  top: 1.5rem;
}

.burger-menu span {
  width: 28px;
  height: 3px;
  background-color: var(--color-white);
  transition: all 0.3s ease;
  border-radius: 2px;
  display: block;
}

.burger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.burger-menu.active span:nth-child(2) { opacity: 0; }
.burger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* Overlay */
.nav-overlay { display: none; }

/* ==============================================
   BUTTONS
   ============================================== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #e6b82a 100%);
  color: var(--color-dark);
  box-shadow: 0 4px 15px rgba(252, 204, 48, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(252, 204, 48, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* ==============================================
   SECTIONS
   ============================================== */
section {
  padding: 6rem 2rem;
  width: 100%;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* ==============================================
   MAIN CONTENT
   ============================================== */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 90px;
}

/* ==============================================
   ARTICLE & PAGE STRUCTURES
   ============================================== */
.post {
  background: var(--color-white);
  margin-bottom: 3rem;
  width: 100%;
}

.post header, .page header {
  position: relative;
  margin: 0 0 2rem;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

.post h1 {
  color: #fff !important;
  text-transform: none;
  max-width: var(--article-width);
}

.post header { height: 400px; }
.page header { height: 600px; }

.featured-image, .hero-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.featured-image img, .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.post header::before, .page header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.post header::before { background: rgba(0, 0, 0, 0.50); }
.page header::before { background: rgba(0, 0, 0, 0.30); }

.post header > *:not(.featured-image), .page header > *:not(.hero-image) {
  position: relative;
  z-index: 3;
}

.meta {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 500;
}

.page {
  text-align: center;
  width: 100%;
  padding: 80px 24px;
}

.post .content {
  margin: 0 auto;
  max-width: var(--article-width);
  padding: 1rem;
}

.page .content {
  margin: 0 auto;
  max-width: var(--page-width);
  padding: 1rem;
  text-align: start;
}

.page h1 {
  display: inline-block;
  margin: 0 auto 2rem auto;
  border-bottom: 1px solid var(--color-silver);
}

/* ==============================================
   BLOG LISTING
   ============================================== */
.blog-listing {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.blog-listing a {
  border-bottom: none !important;
  text-decoration: none;
  display: block;
}

.blog-card {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  border-radius: 10px;
  overflow: hidden;
  min-height: 350px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
}

.blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover::after { transform: scale(1.05); }

.blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
  transition: background 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover::before { background: rgba(0, 0, 0, 0.65); }

.blog-card > * {
  position: relative;
  z-index: 3;
}

.blog-card-date {
  margin: 0 0 0.8rem 0;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.95;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-card-date { transform: translateY(-5px); }

.blog-card-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-card-title { transform: translateY(-5px); }

.blog-card-excerpt {
  margin: 1.2rem auto 0 auto;
  line-height: 1.6;
  color: #f5f5f5;
  font-size: 0.95rem;
  max-width: 90%;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card:hover .blog-card-excerpt {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================================
   TABLES
   ============================================== */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--color-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

table thead { background: var(--color-primary); color: white; }
table tbody { background: var(--color-white); }

table thead th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

table tbody tr {
  border-bottom: 1px solid var(--color-silver);
  transition: all 0.3s ease;
}

table tbody tr:last-child { border-bottom: none; }
table tbody tr:hover { background: #F9F9F9; }

table tbody td {
  padding: 1rem;
  color: var(--color-text);
}

table tbody td code { font-size: 0.85rem; }

table th, table td { border-right: 1px solid var(--color-silver); }
table th:last-child, table td:last-child { border-right: none; }

/* ==============================================
   IMAGES & FIGURES
   ============================================== */
figure {
  margin: 2.5rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

figure img {
  width: 100%;
  display: block;
  margin: 0;
  border-radius: 0;
}

figcaption {
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  text-align: center;
  font-style: italic;
  background: var(--color-white);
}

/* ==============================================
   FOOTER
   ============================================== */
footer {
  background: linear-gradient(135deg, var(--color-primary) 0%, #3a1857 100%);
  color: var(--color-white);
  padding: 3rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-social a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--color-secondary);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 22px;
  height: 22px;
  fill: var(--color-white);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a:hover { color: var(--color-secondary); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.breadcrumb { display: none; }

/* ==============================================
   HOME: HERO
   ============================================== */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #5a2d7a 100%);
  color: var(--color-white);
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(252, 204, 48, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  color: var(--color-white);
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-svg {
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

/* ==============================================
   HOME: SERVICES
   ============================================== */
.services {
  background-color: #F9F9F9;
  width: 100%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background-color: var(--color-white);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(79, 33, 112, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
}

.service-card h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.service-card p {
  color: #666;
  line-height: 1.8;
}

/* ==============================================
   HOME: ABOUT
   ============================================== */
.about {
  background: linear-gradient(135deg, rgba(79, 33, 112, 0.05) 0%, rgba(252, 204, 48, 0.05) 100%);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.about::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 33, 112, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-content h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.about-content p {
  font-size: 1.2rem;
  color: #555;
  line-height: 2;
  margin-bottom: 1.5rem;
}

/* ==============================================
   HOME: TESTIMONIALS
   ============================================== */
.testimonials {
  background-color: var(--color-white);
  width: 100%;
}

.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial-container {
  overflow: hidden;
  border-radius: 20px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial {
  min-width: 100%;
  padding: 3rem;
  text-align: center;
  background: linear-gradient(135deg, #F9F9F9 0%, var(--color-silver) 100%);
}

.testimonial-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-white);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(79, 33, 112, 0.2);
}

.testimonial-text {
  font-size: 1.3rem;
  font-style: italic;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonial-role {
  color: #999;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(79, 33, 112, 0.2);
}

.slider-btn:hover {
  background-color: var(--color-secondary);
  color: var(--color-dark);
  transform: scale(1.1);
}

/* ==============================================
   CONTACT PAGE
   ============================================== */
.contact-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #5a2d7a 100%);
  color: var(--color-white);
  padding: 5rem 2rem;
  text-align: center;
  width: 100%;
}

.contact-hero h1 {
  color: var(--color-white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.contact-hero p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-section {
  background-color: #F9F9F9;
  padding: 6rem 2rem;
  width: 100%;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  color: var(--color-primary);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--color-silver);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 33, 112, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-info {
  padding: 2rem;
}

.contact-info h2 {
  color: var(--color-primary);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.contact-item {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--color-white);
  padding: 1rem;
  border-radius: 20px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.contact-item-title {
  font-size: 1rem;
  margin-bottom: 0.5rem !important;
  color: var(--color-primary) !important;
}

.contact-item-content p {
  color: #666;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--color-secondary);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-white);
}

.alert {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  border: 2px solid;
  border-radius: 10px;
}

.alert svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border-color: #34d399;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border-color: #f87171;
}

.error-items {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
}

.error-items li {
  padding: 0.25rem 0;
}

.error-items li::before {
  content: '• ';
  margin-right: 0.5rem;
}

/* ==============================================
   RECIPE VOTE BOX
   ============================================== */
.recipe-vote-wrap {
  max-width: var(--article-width);
  width: calc(100% - 2rem);
  margin: 0 auto 2rem;
  padding: 2rem 2.5rem;
  background: var(--color-primary);
  border-radius: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.recipe-vote-wrap .rv-left {
  flex: 0.5;
  text-align: center;
  padding-right: 2.5rem;
  border-right: 1px solid rgba(252, 204, 48, 0.2);
}

.recipe-vote-wrap .rv-score {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -0.03em;
}

.recipe-vote-wrap .rv-stars-row {
  font-size: 1.3rem;
  letter-spacing: 2px;
  line-height: 1;
  margin: 0.4rem 0 0.25rem;
}

.rv-icon--filled { color: var(--color-secondary); }
.rv-icon--partial {
  background: linear-gradient(90deg, var(--color-secondary) 50%, #555 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rv-icon--blank { color: #555; }

.recipe-vote-wrap .rv-total {
  font-size: 0.78rem;
  color: var(--color-silver);
}

.recipe-vote-wrap .rv-right {
  flex: 1;
  text-align: center;
}

.recipe-vote-wrap .rv-heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 0.2rem;
}

.recipe-vote-wrap .rv-subheading {
  font-size: 0.82rem;
  color: var(--color-silver);
  margin: 0 0 1.2rem;
}

.recipe-vote-wrap .rv-picker {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  direction: rtl;
}

.recipe-vote-wrap .rv-picker input { display: none; }

.recipe-vote-wrap .rv-picker label {
  font-size: 2.2rem;
  color: #555;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  line-height: 1;
}

.recipe-vote-wrap .rv-picker label:hover,
.recipe-vote-wrap .rv-picker label:hover ~ label,
.recipe-vote-wrap .rv-picker input:checked ~ label {
  color: var(--color-secondary);
}

.recipe-vote-wrap .rv-picker label:hover { transform: scale(1.2); }

.recipe-vote-wrap .rv-send {
  --rv-accent: var(--color-secondary);
  --rv-accent-soft: rgba(252, 204, 48, 0.2);
  --rv-muted: #555;
  display: inline-block;
  padding: 0.65rem 2.2rem;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #e6b82a 100%);
  color: var(--color-dark);
  border: none;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 15px rgba(252, 204, 48, 0.3);
}

.recipe-vote-wrap .rv-send:hover {
  box-shadow: 0 6px 25px rgba(252, 204, 48, 0.5);
  transform: translateY(-1px);
}

.recipe-vote-wrap .rv-send:active { transform: translateY(0); }

@media (max-width: 640px) {
  .recipe-vote-wrap {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.25rem;
    text-align: center;
    margin: 0 auto 2rem;
  }
  .recipe-vote-wrap .rv-left {
    padding-right: 0;
    border-right: none;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(252, 204, 48, 0.2);
  }
  .recipe-vote-wrap .rv-picker label { font-size: 1.8rem; }
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.25rem;
  }
}

/* ==============================================
   RESPONSIVE — 1100px
   ============================================== */
@media (max-width: 1100px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
}

/* ==============================================
   RESPONSIVE — 1024px
   ============================================== */
@media (max-width: 1024px) {
  .blog-listing {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==============================================
   RESPONSIVE — 900px
   ============================================== */
@media (max-width: 900px) {
  /* Home */
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-illustration { order: -1; }
  .hero-svg { max-width: 300px; }

  /* Contact */
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* ==============================================
   RESPONSIVE — 700px
   ============================================== */
@media (max-width: 700px) {
  .nav-desktop { display: none; }
  .burger-menu { display: flex; }

  .sidebar-mobile {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(135deg, var(--color-primary) 0%, #3a1857 100%);
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 1100;
    overflow-y: auto;
  }

  .sidebar-mobile.active { right: 0; }

  .sidebar-mobile nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .sidebar-mobile a {
    display: block;
    font-size: 1.1rem;
    padding: 0.75rem 0;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
  }

  .sidebar-mobile a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
  }

  .sidebar-mobile a:hover::after,
  .sidebar-mobile a.active::after {
    width: 100%;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
  }

  .nav-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .section-header h2 { font-size: 2rem; }
  section { padding: 4rem 1.5rem; }

  .btn {
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  /* Home */
  .hero { padding: 4rem 1.5rem; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1.1rem; }
  .services-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-hero h1 { font-size: 2.2rem; }
  .contact-form { padding: 2rem 1.5rem; }
}

/* ==============================================
   RESPONSIVE — 640px
   ============================================== */
@media (max-width: 640px) {
  .blog-listing {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   AUTHOR BOX
   ============================================= */
.author-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: var(--article-width);
    width: calc(100% - 2rem);
    margin: 0 auto 2rem;
    padding: 2rem 2.5rem;
    background: var(--color-primary);
    border-radius: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.author-box-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}
.author-box-info {
    flex: 1;
    min-width: 0;
}
.author-box-name {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text, #1F2937);
    margin-bottom: 0.25rem;
}
.author-box-bio {
    font-size: 0.875rem;
    color: var(--text-light, #6B7280);
    line-height: 1.5;
    margin: 0;
}




/* ── Lazarre : badge catégorie + ligne méta article ── */
.blog-card { position: relative; }
.blog-card-cover { position: absolute; inset: 0; z-index: 4; }
.blog-card-category { position: absolute; top: 1rem; left: 1rem; z-index: 5; display: inline-block; padding: 0.34em 0.85em; line-height: 1.4; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none; border-radius: 999px; background: var(--bg-beige, var(--bg-soft, var(--panel, var(--color-white, var(--white, #fff))))); color: var(--color-dark, var(--ink, #1a1a1a)); box-shadow: 0 2px 8px rgba(0,0,0,0.18); transition: opacity 0.2s ease, transform 0.2s ease; }
.blog-card-category:hover { transform: translateY(-1px); opacity: 0.9; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; margin: 0.5rem 0 0; font-size: 0.9rem; }
.article-meta-sep { opacity: 0.45; }
.article-meta a { color: inherit; text-decoration: none; font-weight: 600; transition: opacity 0.2s ease; }
.article-meta a:hover { opacity: 0.72; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a.author-box-name { color: inherit; text-decoration: none; }
a.author-box-name:hover { text-decoration: underline; text-underline-offset: 2px; }
