/* ==============================================
   THEME 5 - AGENCY BLUE
   Landing page claire, accents bleu gradient, typographie Inter
   ============================================== */

/* ==============================================
   FONT FACES
   ============================================== */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('https://seovarna.fr/theme-3/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/theme-3/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/theme-3/fonts/inter/inter-v20-latin-600.woff2') format('woff2');
}

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

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

/* ==============================================
   VARIABLES & RESET
   ============================================== */
html {
  max-width: 100vw;
  overflow-x: hidden;
}

:root {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 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;
  --color-bg: #0A1128;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #0E1B4D;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  background: #FFFFFF;
}

/* ==============================================
   TITRES FLUIDES
   ============================================== */
h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.25;
  margin-bottom: 0.9rem;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

h4 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.35;
  margin-bottom: 0.7rem;
}

h5 {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

h6 {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

/* ==============================================
   UTILITY CLASSES
   ============================================== */
section {
  width: 100%;
}

.gradient-text {
  background: linear-gradient(135deg, #00D0FF 0%, #0080FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

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

.section-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==============================================
   BUTTONS
   ============================================== */
.btn-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #00D0FF 0%, #0061FF 100%);
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 208, 255, 0.4);
  transition: all 0.3s ease;
  width: fit-content;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 208, 255, 0.6);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0061FF;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  background: #fff;
  border: 2px solid #0061FF;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #0061FF;
  color: #fff;
}

/* ==============================================
   NAVIGATION
   ============================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background-color: var(--color-bg);
  border-bottom: 1px solid rgba(14, 27, 77, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  color: white;
}

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

.nav-desktop a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00D0FF;
  transition: width 0.3s ease;
}

.nav-desktop a:hover {
  color: #00D0FF;
}

.nav-desktop a:hover::after {
  width: 100%;
}

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

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

.burger-menu span {
  width: 28px;
  height: 3px;
  background-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;
}

/* ==============================================
   FOOTER
   ============================================== */
footer {
  background: var(--color-bg);
  color: #B8C5E0;
  padding: 60px 24px 40px;
  border-top: 1px solid rgba(0, 208, 255, 0.1);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin: 32px 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: #B8C5E0;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #00D0FF;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 208, 255, 0.1);
  font-size: 14px;
}

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

/* ==============================================
   ARTICLE & PAGE STRUCTURES
   ============================================== */
.page .content {
  width: 100%;
  max-width: var(--page-width);
  text-align: start;
  margin: 0 auto;
}

.post {
  background: #FFFFFF;
  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;
  color: #fff;
  z-index: 1;
}

.post header {
  height: 400px;
}

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

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

.meta {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 500;
}

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

.page h1 {
  display: inline-block;
  margin: 0 auto 2rem auto;
  border-bottom: 1px solid #E1E1E1;
}

.post h1 {
  max-width: var(--article-width);
}

/* ==============================================
   ARTICLE TYPOGRAPHY
   ============================================== */
.post .content {
  max-width: var(--article-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

article h1, article h2, article h3, article h4, article h5, article h6 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

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

article a {
  color: #0061FF;
  text-decoration: underline;
}

article a:hover {
  color: #00D0FF;
}

blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: #F9F9F9;
  border-left: 4px solid #0061FF;
  font-style: italic;
  color: #555;
}

code {
  background: #F5F5F5;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #0061FF;
}

pre {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
}

pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.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: #0E1B4D;
  border-radius: 50%;
}

/* ==============================================
   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: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

table tbody {
  background: #FFFFFF;
}

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 #E1E1E1;
  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: #0E1B4D;
}

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

/* Breadcrumb caché (SEO) */
.breadcrumb {
  display: none;
}

/* ==============================================
   HOME: HERO
   ============================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top left, #ACE0FF 0%, #f8fcff 50%);
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.hero .container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
  color: #0E1B4D;
  text-align: center;
}

.hero p {
  font-size: 20px;
  color: #6B7280;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Decorative blocks */
.deco-block {
  position: absolute;
  border-radius: 24px;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.deco-block-1 {
  top: 10%;
  right: 5%;
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, rgba(0, 208, 255, 0.15) 0%, rgba(0, 97, 255, 0.08) 100%);
}

.deco-block-2 {
  bottom: 15%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(0, 97, 255, 0.12) 0%, rgba(0, 208, 255, 0.06) 100%);
  border-radius: 50%;
}

.deco-block-3 {
  top: 20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(0, 208, 255, 0.08) 0%, rgba(0, 97, 255, 0.04) 100%);
  border-radius: 50%;
  filter: blur(40px);
}

.deco-block-4 {
  top: 30%;
  right: -8%;
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, rgba(0, 208, 255, 0.1) 0%, rgba(0, 97, 255, 0.05) 100%);
  border-radius: 50%;
  filter: blur(60px);
}

.deco-block-5 {
  bottom: 20%;
  left: 40%;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(0, 97, 255, 0.15) 0%, rgba(0, 208, 255, 0.08) 100%);
}

/* ==============================================
   HOME: EXPERTISE
   ============================================== */
.expertise-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #1A2758 0%, #0E1B4D 100%);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: left;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 32px;
  text-shadow: 0 2px 10px rgba(0, 208, 255, 0.2);
  color: #FFFFFF;
}

.section-header p {
  font-size: 18px;
  color: #B8C5E0;
  line-height: 1.8;
  max-width: 900px;
  margin-bottom: 16px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.expertise-card {
  background: linear-gradient(180deg, #0F1A3A 0%, #14224C 100%);
  border: 2px solid rgba(0, 208, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 208, 255, 0.15) inset, 0 0 30px rgba(0, 208, 255, 0.1), 0 10px 40px rgba(0, 0, 0, 0.4);
  border-radius: 24px;
  padding: 40px 32px;
  transition: all 0.4s ease;
}

.expertise-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 208, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(0, 208, 255, 0.3) inset, 0 0 50px rgba(0, 208, 255, 0.2), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.expertise-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 28px;
}

.expertise-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.3;
}

.expertise-card p {
  color: #B8C5E0;
  line-height: 1.7;
  font-size: 16px;
}

/* ==============================================
   HOME: PRICING
   ============================================== */
.pricing-section {
  padding: 120px 0;
  background: #FFFFFF;
}

.pricing-section h2 {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  color: #0E1B4D;
}

.pricing-subtitle {
  text-align: center;
  font-size: 18px;
  color: #6B7280;
  margin-bottom: 60px;
  line-height: 1.7;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.pricing-card {
  background: #FFFFFF;
  border: 2px solid #E5E7EB;
  border-radius: 24px;
  padding: 48px 40px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: #00D0FF;
  box-shadow: 0 20px 40px rgba(0, 208, 255, 0.2);
}

.pricing-card.featured {
  background: linear-gradient(180deg, #1A2758 0%, #0E1B4D 100%);
  border-color: #00D0FF;
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(0, 208, 255, 0.3);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-card.featured h3,
.pricing-card.featured .price,
.pricing-card.featured .pricing-features li {
  color: #FFFFFF;
}

.pricing-card h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #0E1B4D;
}

.price {
  font-size: 48px;
  font-weight: 800;
  color: #0061FF;
  margin-bottom: 8px;
}

.price-unit {
  font-size: 18px;
  font-weight: 400;
  color: #6B7280;
}

.pricing-card.featured .price {
  background: linear-gradient(135deg, #00D0FF 0%, #0080FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-features {
  list-style: none;
  margin: 32px 0;
}

.pricing-features li {
  padding: 12px 0;
  color: #0E1B4D;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features li:before {
  content: "✓";
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00D0FF 0%, #0061FF 100%);
  color: #fff;
  text-align: center;
  line-height: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ==============================================
   HOME: STATS
   ============================================== */
.stats-section {
  padding: 120px 0;
  background: radial-gradient(circle at center, #ACE0FF 0%, #f8fcff 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 60px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 88px;
  font-weight: 800;
  background: linear-gradient(135deg, #00D0FF 0%, #0061FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.stat-item span {
  font-size: 20px;
  color: #0E1B4D;
  font-weight: 600;
}

/* ==============================================
   HOME: AGENCY
   ============================================== */
.agency-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #1A2758 0%, #0E1B4D 100%);
}

.agency-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.agency-text h2 {
  font-size: 48px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 32px;
}

.agency-text p {
  font-size: 18px;
  color: #B8C5E0;
  line-height: 1.8;
  margin-bottom: 20px;
}

.agency-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 208, 255, 0.3);
}

.agency-image svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ==============================================
   HOME: PROJECTS
   ============================================== */
.projects-section {
  padding: 120px 0;
  background: #FFFFFF;
}

.projects-section h2 {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  color: #0E1B4D;
}

.project-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.project-info {
  padding: 40px;
}

.project-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, #00D0FF 0%, #0061FF 100%);
  color: #fff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.project-title {
  font-size: 40px;
  font-weight: 800;
  color: #0E1B4D;
  margin-bottom: 20px;
}

#project-desc {
  font-size: 18px;
  color: #6B7280;
  line-height: 1.8;
  margin-bottom: 40px;
}

.carousel-controls {
  display: flex;
  gap: 16px;
  margin-top: 48px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(0, 208, 255, 0.3);
  background: rgba(0, 208, 255, 0.1);
  color: #00D0FF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(0, 208, 255, 0.2);
  border-color: rgba(0, 208, 255, 0.6);
}

.project-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ==============================================
   HOME: FAQ
   ============================================== */
.faq-section {
  padding: 120px 0;
  background: #FFFFFF;
}

.faq-section h2 {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  color: #0E1B4D;
}

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  border: 2px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: #00D0FF;
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  background: #FFFFFF;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #0E1B4D;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #F9FAFB;
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-icon.open {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 28px;
  background: #F9FAFB;
}

.faq-answer.open {
  max-height: 500px;
  padding: 24px 28px;
}

.faq-answer p {
  color: #6B7280;
  line-height: 1.8;
  font-size: 16px;
}

/* ==============================================
   HOME: CTA BANNER
   ============================================== */
.cta-banner {
  background: linear-gradient(180deg, #1A2758 0%, #0E1B4D 100%);
  border-radius: 32px;
  padding: 80px 60px;
  text-align: center;
  color: #FFFFFF;
  margin: 80px 0;
  box-shadow: 0 20px 60px rgba(0, 208, 255, 0.3);
}

.cta-banner h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-banner p {
  font-size: 18px;
  color: #B8C5E0;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ==============================================
   CONTACT PAGE
   ============================================== */
.hero-contact {
  padding: 100px 0 60px;
  text-align: center;
  background: radial-gradient(circle at top left, #ACE0FF 0%, #f8fcff 50%);
}

.hero-contact h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
  color: #0E1B4D;
}

.hero-contact p {
  font-size: 20px;
  color: #6B7280;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.contact-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #1A2758 0%, #0E1B4D 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

.form-card {
  padding: 48px 40px;
}

.form-card h2 {
  color: #FFFFFF;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 32px;
}

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

.form-group label {
  display: block;
  color: #B8C5E0;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00D0FF;
  box-shadow: 0 0 0 3px rgba(0, 208, 255, 0.15);
  background: rgba(255, 255, 255, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

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

.form-actions {
  margin-top: 32px;
}

.alert {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 15px;
}

.alert-success {
  background: rgba(0, 208, 255, 0.15);
  border: 1px solid rgba(0, 208, 255, 0.4);
  color: #00D0FF;
}

.alert-error {
  background: rgba(255, 59, 48, 0.15);
  border: 1px solid rgba(255, 59, 48, 0.4);
  color: #FF3B30;
}

.alert ul {
  margin: 8px 0 0 20px;
  list-style-type: disc;
}

.alert li {
  margin: 4px 0;
}

.info-card {
  background: linear-gradient(180deg, #0F1A3A 0%, #14224C 100%);
  border: 2px solid rgba(0, 208, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 208, 255, 0.15) inset, 0 0 30px rgba(0, 208, 255, 0.1), 0 10px 40px rgba(0, 0, 0, 0.4);
  border-radius: 24px;
  padding: 40px 32px;
}

.info-card h2 {
  color: #FFFFFF;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 32px;
}

.info-item {
  margin-bottom: 28px;
}

.info-item h3 {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-item p,
.info-item a {
  color: #B8C5E0;
  font-size: 15px;
  text-decoration: none;
  line-height: 1.7;
}

.info-item a:hover {
  color: #00D0FF;
}

.info-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}

/* ==============================================
   ANIMATIONS
   ============================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================================
   RECIPE VOTE BOX
   ============================================== */
.recipe-vote-wrap {
  max-width: var(--article-width);
  width: calc(100% - 2rem);
  margin: 0 auto 2rem;
  padding: 2rem 2.5rem;
  background: #F5F5F8;
  border: 1px solid #E0E0E8;
  border-radius: 10px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 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 #E0E0E8;
}

.recipe-vote-wrap .rv-score {
  font-size: 3rem;
  font-weight: 700;
  color: #0E1B4D;
  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: #0061FF; }
.rv-icon--partial {
  background: linear-gradient(90deg, #0061FF 50%, #B8C5E0 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rv-icon--blank { color: #B8C5E0; }

.recipe-vote-wrap .rv-total {
  font-size: 0.78rem;
  color: #666;
}

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

.recipe-vote-wrap .rv-heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0E1B4D;
  margin: 0 0 0.2rem;
}

.recipe-vote-wrap .rv-subheading {
  font-size: 0.82rem;
  color: #666;
  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: #B8C5E0;
  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: #0061FF;
}

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

.recipe-vote-wrap .rv-send {
  --rv-accent: #0061FF;
  --rv-accent-soft: rgba(0, 97, 255, 0.15);
  --rv-muted: #666;
  display: inline-block;
  padding: 0.65rem 2.2rem;
  background: linear-gradient(135deg, #00D0FF 0%, #0061FF 100%);
  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;
}

.recipe-vote-wrap .rv-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 208, 255, 0.6);
}

.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 #E0E0E8;
  }
  .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 — 1024px
   ============================================== */
@media (max-width: 1024px) {
  .blog-listing {
    grid-template-columns: repeat(2, 1fr);
  }

  .agency-content,
  .project-showcase {
    grid-template-columns: 1fr;
  }
}

/* ==============================================
   RESPONSIVE — 768px
   ============================================== */
@media (max-width: 768px) {
  .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: var(--color-bg);
    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: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
  }

  .sidebar-mobile a:hover {
    color: #00D0FF;
  }

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

  .container {
    padding: 0 20px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 14px 32px;
    font-size: 15px;
  }

  .blog-listing {
    grid-template-columns: 1fr;
  }

  /* Home */
  .hero {
    min-height: auto;
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 40px;
  }

  .expertise-section,
  .pricing-section,
  .stats-section,
  .agency-section,
  .projects-section,
  .faq-section {
    padding: 80px 0;
  }

  .section-header h2,
  .pricing-section h2,
  .agency-text h2,
  .projects-section h2,
  .faq-section h2,
  .cta-banner h2 {
    font-size: 36px;
  }

  .cta-banner {
    padding: 60px 32px;
    margin: 60px 0;
  }

  .expertise-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-contact {
    padding: 80px 0 50px;
  }

  .contact-section {
    padding: 60px 0;
  }

  .form-card,
  .info-card {
    padding: 32px 24px;
  }
}

/* ==============================================
   RESPONSIVE — 480px
   ============================================== */
@media (max-width: 480px) {
  .logo {
    font-size: 20px;
  }

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

  .btn-primary,
  .btn-secondary {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* =============================================
   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: #F5F5F8;
    border: 1px solid #E0E0E8;
    border-radius: 10px;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 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;
}




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