/* ==============================================
   THEME 4 - ELEGANT BEIGE
   Style épuré, tons beiges/violets, typographie Fraunces + Inter
   ============================================== */

/* ==============================================
   FONT FACES
   ============================================== */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('https://seovarna.fr/fonts/inter/inter-v20-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('https://seovarna.fr/fonts/inter/inter-v20-latin-500.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('https://seovarna.fr/fonts/inter/inter-v20-latin-600.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  src: url('https://seovarna.fr/fonts/fraunces/fraunces-v38-latin-700.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 700;
  src: url('https://seovarna.fr/fonts/fraunces/fraunces-v38-latin-700italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 800;
  src: url('https://seovarna.fr/fonts/fraunces/fraunces-v38-latin-800.woff2') format('woff2');
}

/* ==============================================
   VARIABLES & RESET
   ============================================== */
:root {
  --color-primary: #F6F2EA;
  --color-secondary: #FCCC30;
  --color-silver: #E1E1E1;
  --color-white: #FFFFFF;
  --color-dark: #1A1A1A;
  --color-text: #333333;
  --text-primary: #4A3F39;
  --text-secondary: #877F79;
  --bg-beige: #F6F2EA;
  --color-accent: #7E5AF0;
  font-family: 'Inter', -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;
}

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

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

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

/* ==============================================
   TYPOGRAPHY
   ============================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  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; }
em { font-style: italic; }

/* ==============================================
   HEADER & NAVIGATION
   ============================================== */
header {
  position: fixed;
  top: 0;
  z-index: 998;
  background: rgba(246, 242, 234, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  width: 100%;
}

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

.logo {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.nav-desktop {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-desktop a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 0.5rem 0.75rem;
  display: inline-block;
  white-space: nowrap;
  transition: color 280ms cubic-bezier(.22,.61,.36,1);
}

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

.nav-desktop a:hover {
  color: var(--color-accent);
}

.nav-desktop a:hover::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: 32px;
  top: 26px;
}

.burger-menu span {
  width: 28px;
  height: 3px;
  background-color: var(--text-primary);
  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;
}

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

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

/* ==============================================
   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 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;
}

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

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

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

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

/* ==============================================
   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 {
  font-family: 'Fraunces', serif;
  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);
}

/* ==============================================
   ARTICLE TYPOGRAPHY
   ============================================== */
.post .content ul,
.post .content ol,
.page .content ul,
.page .content ol,
article .content ul,
article .content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.post .content li,
.page .content li,
article .content li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
  position: relative;
  padding-left: 0.5rem;
}

.post .content ul li::before,
.page .content ul li::before,
article .content 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%;
}

.post .content li > p,
.page .content li > p,
article .content li > p {
  margin-bottom: 0.75rem;
}

/* ==============================================
   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(--bg-beige); }
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: var(--bg-beige);
  padding: 80px 0 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  font-size: 28px;
  color: var(--color-accent);
  font-weight: 600;
}

.footer-tagline { font-size: 15px; }

.footer-column .column-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  font-size: 15px;
  transition: color 280ms cubic-bezier(.22,.61,.36,1);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 14px;
}

.breadcrumb { display: none; }

/* ==============================================
   ANIMATIONS
   ============================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==============================================
   HOME: HERO
   ============================================== */
.hero-home {
  min-height: 90vh;
  background: linear-gradient(to bottom, #DCD7F4, #F5E6EC, #E8DFF5);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
}

.hero-content {
  max-width: 900px;
  animation: fadeUp 800ms cubic-bezier(.22,.61,.36,1);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
  padding: 12px 24px;
  border-radius: 20px;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-badge-icon { font-size: 20px; }

.hero-badge-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.hero-home h1 {
  font-size: 72px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-input-wrapper {
  position: relative;
  max-width: 640px;
  margin: 0 auto 16px;
}

.hero-input {
  width: 100%;
  height: 68px;
  padding: 0 180px 0 32px;
  border-radius: 9999px;
  border: none;
  background: var(--color-white);
  font-size: 17px;
  box-shadow: 0 0 0 2px #CDB6FF, 0 8px 24px rgba(205, 182, 255, 0.15);
  transition: all 280ms cubic-bezier(.22,.61,.36,1);
}

.hero-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px #CDB6FF, 0 12px 32px rgba(205, 182, 255, 0.25);
}

.hero-input::placeholder { color: var(--text-secondary); }

.hero-submit {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--color-accent), #B785FF);
  color: var(--color-white);
  border: none;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 280ms cubic-bezier(.22,.61,.36,1);
  box-shadow: 0 4px 16px rgba(126, 90, 240, 0.3);
}

.hero-submit:hover {
  transform: translateY(-52%);
  box-shadow: 0 8px 24px rgba(126, 90, 240, 0.4);
}

.hero-link {
  font-size: 15px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

/* ==============================================
   HOME: TESTIMONIALS
   ============================================== */
.testimonials-home {
  background: #F6F2EA;
  padding: 140px 0;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 64px;
  color: var(--text-primary);
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 32px;
}

.testimonial-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 280ms cubic-bezier(.22,.61,.36,1);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-quote {
  font-size: 96px;
  color: rgba(0, 0, 0, 0.04);
  position: absolute;
  top: 20px;
  left: 30px;
  line-height: 1;
}

.testimonial-text {
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), #B785FF);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 600;
  font-size: 20px;
}

.testimonial-info p { font-size: 14px; }

/* ==============================================
   HOME: HOW IT WORKS
   ============================================== */
.how-it-works {
  background: #FBF8F4;
  padding: 140px 0;
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
  font-size: 18px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.step { text-align: center; }

.step-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #F2ECE6;
  border-radius: 16px;
  margin-bottom: 24px;
  position: relative;
}

.step-icon { font-size: 28px; }

.step-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  background: #5C524D;
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.step p { font-size: 16px; }

/* ==============================================
   HOME: FEATURES
   ============================================== */
.features-section {
  background: #E7ECEF;
  padding: 140px 0;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 32px;
}

.feature-block:last-child { margin-bottom: 0; }
.feature-block:nth-child(even) .feature-image { order: 2; }

.feature-image {
  background: linear-gradient(135deg, rgba(126, 90, 240, 0.1), rgba(183, 133, 255, 0.1));
  border-radius: 24px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.feature-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.feature-content h2 em { font-style: italic; }

.feature-list {
  list-style: none;
  margin-top: 32px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 17px;
}

.feature-check {
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #6B625C;
  font-size: 14px;
}

/* ==============================================
   HOME: QUOTES
   ============================================== */
.quotes-section {
  background: #EDE8F4;
  padding: 120px 0;
}

.large-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.large-quote-card {
  background: var(--color-white);
  padding: 56px;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.large-quote-text {
  font-family: 'Fraunces', serif;
  font-size: 38px;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 40px;
}

.large-quote-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.large-quote-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), #B785FF);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 600;
  font-size: 28px;
  margin-bottom: 16px;
}

.author-name {
  font-family: 'Inter', sans-serif;
  font-size: 18px !important;
  font-weight: 600;
  margin-bottom: 4px;
}

.large-quote-author p { font-size: 15px; }

/* ==============================================
   HOME: PRIVACY PANEL
   ============================================== */
.privacy-panel {
  background: #344C41;
  border-radius: 36px;
  padding: 80px;
  margin: 140px auto;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.privacy-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  color: var(--color-white);
  margin-bottom: 24px;
  line-height: 1.1;
}

.privacy-content p {
  color: #D0E2D7;
  font-size: 18px;
  margin-bottom: 32px;
}

.privacy-cta {
  display: inline-block;
  padding: 16px 32px;
  background: var(--color-white);
  color: var(--text-primary);
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 280ms cubic-bezier(.22,.61,.36,1);
}

.privacy-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.privacy-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.privacy-feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.privacy-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #D0E2D7;
  flex-shrink: 0;
}

.privacy-feature h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 8px;
}

.privacy-feature p {
  color: #D0E2D7;
  font-size: 16px;
}

/* ==============================================
   HOME: ENJOYABLE
   ============================================== */
.enjoyable-section {
  background: #FBF8F4;
  padding: 140px 0;
}

.enjoyable-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.enjoyable-grid h2 {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  line-height: 1.1;
  color: var(--text-primary);
}

.enjoyable-items {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.enjoyable-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.enjoyable-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--icon-taupe);
  flex-shrink: 0;
}

.enjoyable-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.enjoyable-item p {
  font-size: 16px;
  line-height: 1.6;
}

/* ==============================================
   HOME: FAQ
   ============================================== */
.faq-section {
  background: var(--color-white);
  padding: 140px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.faq-intro h2 {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.faq-intro p { font-size: 18px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: var(--color-white);
  overflow: hidden;
  transition: all 280ms cubic-bezier(.22,.61,.36,1);
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: all 280ms cubic-bezier(.22,.61,.36,1);
}

.faq-question:hover { color: var(--color-accent); }

.faq-chevron {
  font-size: 14px;
  transition: transform 280ms cubic-bezier(.22,.61,.36,1);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms cubic-bezier(.22,.61,.36,1);
}

.faq-answer-content {
  padding: 0 24px 24px;
  font-size: 16px;
  line-height: 1.6;
}

/* ==============================================
   CONTACT PAGE
   ============================================== */
.hero-contact {
  min-height: 40vh;
  background: linear-gradient(to bottom, #DCD7F4, #F5E6EC, #E8DFF5);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 32px 64px;
}

.hero-contact .hero-content {
  max-width: 700px;
}

.hero-contact h1 {
  font-family: 'Fraunces', serif;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.contact-section {
  padding: 80px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.form-card {
  max-width: 640px;
  margin: 0 auto 64px;
  background: var(--color-white);
  padding: 56px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group { margin-bottom: 24px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

input,
textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: var(--color-white);
  transition: all 280ms cubic-bezier(.22,.61,.36,1);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #CDB6FF;
  box-shadow: 0 0 0 3px rgba(205, 182, 255, 0.15);
}

input::placeholder,
textarea::placeholder { color: var(--text-secondary); }

textarea {
  min-height: 140px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--color-accent), #B785FF);
  color: var(--color-white);
  border: none;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 280ms cubic-bezier(.22,.61,.36,1);
  box-shadow: 0 4px 16px rgba(126, 90, 240, 0.3);
  font-family: 'Inter', sans-serif;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(126, 90, 240, 0.4);
}

.alert {
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.alert-success {
  background: #D0E2D7;
  color: #344C41;
  border: 1px solid rgba(52, 76, 65, 0.1);
}

.alert-error {
  background: #F5E6EC;
  color: #4A3F39;
  border: 1px solid rgba(74, 63, 57, 0.1);
}

.alert-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.error-items {
  list-style: none;
  margin-top: 8px;
  padding-left: 0;
}

.error-items li {
  margin-bottom: 4px;
  font-size: 14px;
}

.contact-info {
  margin: 0 auto;
  padding: 56px;
  border-radius: 24px;
}

.contact-info h2 {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  text-align: center;
  margin-bottom: 48px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.info-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.info-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.info-content p {
  font-size: 15px;
  line-height: 1.6;
}

.info-content a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 280ms cubic-bezier(.22,.61,.36,1);
}

.info-content a:hover { color: #B785FF; }

/* ==============================================
   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(--bg-beige);
  border: 1px solid var(--color-silver);
  border-radius: 10px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, 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 var(--color-silver);
}

.recipe-vote-wrap .rv-score {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  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%, var(--text-secondary) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rv-icon--blank { color: var(--color-silver); }

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

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

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

.recipe-vote-wrap .rv-subheading {
  font-size: 0.82rem;
  color: var(--text-secondary);
  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: var(--color-silver);
  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-accent);
  --rv-accent-soft: rgba(126, 90, 240, 0.15);
  --rv-muted: var(--text-secondary);
  display: inline-block;
  padding: 0.65rem 2.2rem;
  background: var(--color-accent);
  color: #fff;
  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.2s ease;
  box-shadow: 0 4px 15px rgba(126, 90, 240, 0.3);
}

.recipe-vote-wrap .rv-send:hover {
  background: #6B45E0;
  box-shadow: 0 6px 25px rgba(126, 90, 240, 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 var(--color-silver);
  }
  .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);
  }

  .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: rgba(246, 242, 234, 0.98);
    backdrop-filter: blur(12px);
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    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(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 280ms cubic-bezier(.22,.61,.36,1);
  }

  .sidebar-mobile a:hover { color: var(--color-accent); }

  .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;
  }

  /* Home */
  .hero-home h1 { font-size: 56px; }
  .section-title { font-size: 42px; }
  .feature-content h2 { font-size: 42px; }
  .feature-block { grid-template-columns: 1fr; gap: 48px; }
  .feature-block:nth-child(even) .feature-image { order: 1; }
  .privacy-panel { grid-template-columns: 1fr; padding: 56px 40px; }
  .enjoyable-grid { grid-template-columns: 1fr; gap: 48px; }
  .faq-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ==============================================
   RESPONSIVE — 768px
   ============================================== */
@media (max-width: 768px) {
  /* Contact */
  .hero-contact h1 { font-size: 42px; }
  .form-card { padding: 40px 28px; }
  .form-row { grid-template-columns: 1fr; gap: 24px; }
  .contact-info { padding: 40px 28px; }
  .info-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==============================================
   RESPONSIVE — 700px
   ============================================== */
@media (max-width: 700px) {
  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-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Home */
  .hero-home h1 { font-size: 42px; }
  .hero-input { height: 56px; padding: 0 140px 0 24px; }
  .hero-submit { padding: 12px 24px; font-size: 14px; }
  .section-title { font-size: 32px; }
  .testimonial-cards { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .large-quotes { grid-template-columns: 1fr; }
  .large-quote-card { padding: 40px 28px; }
  .large-quote-text { font-size: 28px; }
  .privacy-panel { padding: 40px 28px; margin: 80px 20px; }
  .privacy-content h2 { font-size: 36px; }
  .enjoyable-grid h2 { font-size: 36px; }
  .faq-intro h2 { font-size: 32px; }
  .faq-question { font-size: 16px; padding: 20px; }
  .faq-answer-content { padding: 0 20px 20px; font-size: 15px; }
}

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

/* ==============================================
   RESPONSIVE — 480px
   ============================================== */
@media (max-width: 480px) {
  .large-quotes,
  .feature-block,
  .enjoyable-grid,
  .faq-grid,
  .testimonial-cards {
    padding: 0;
  }

  .privacy-panel { margin: 80px 0; }
}

/* =============================================
   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(--bg-beige);
    border: 1px solid var(--color-silver);
    border-radius: 10px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, 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;
}