/* ============================================================
   Allo-SEO v2 — Design System Navy + Or
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0f1f3d;
  --navy-mid:   #1a3560;
  --navy-light: #243f75;
  --gold:       #e8a020;
  --gold-dark:  #c4841a;
  --gold-light: #fdf3e3;
  --gray-50:    #f8f9fb;
  --gray-100:   #eef0f3;
  --gray-200:   #dde1e7;
  --white:      #ffffff;
  --text:       #2d3748;
  --text-light: #64748b;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14);
  --transition: .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; }

/* ---- TOPBAR ---- */
.topbar {
  background: var(--navy);
  color: #b8c8e8;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 9px 0;
  text-align: center;
}
.topbar a { color: var(--gold); font-weight: 700; transition: opacity var(--transition); }
.topbar a:hover { opacity: .8; }

/* ---- NAVBAR ---- */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.logo { flex-shrink: 0; }
.brand-logo { height: 46px; width: auto; }

/* ---- MENU ---- */
.menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.menu a {
  color: var(--navy);
  font-size: .9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.menu a:hover, .menu a.is-active { background: var(--navy); color: var(--white); }

/* ---- BTN CONTACT ---- */
.btn-contact {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  font-size: .85rem;
  padding: 10px 20px;
  border-radius: 6px;
  letter-spacing: .02em;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.btn-contact:hover { background: var(--gold-dark); transform: translateY(-1px); }

/* ---- HAMBURGER ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 8px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

@media (max-width: 900px) {
  .menu {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .menu.active { display: flex; }
  .menu a { padding: 10px 12px; width: 100%; }
  .hamburger { display: flex; }
  .btn-contact { display: none; }
  .nav-inner { position: relative; }
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1e4080 100%);
  color: var(--white);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(232,160,32,.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { max-width: 900px; margin: 0 auto; position: relative; }
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 28px;
}
.hero .intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #b8cce8;
  margin-bottom: 20px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 1.7rem; }
}

/* ---- HERO TAG ---- */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,160,32,.18);
  border: 1px solid rgba(232,160,32,.35);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

/* ---- HERO STATS ---- */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
  justify-content: center;
  text-align: left;
}
.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hero-stat span { font-size: .82rem; color: #8aaad0; margin-top: 4px; display: block; }

/* ---- CTA SECTION ---- */
.cta-section {
  background: var(--gold-light);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid #f0ddb8;
  padding: 28px 0;
}
.cta-wrapper { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  padding: 14px 28px;
  border-radius: 8px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.cta-btn:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cta-btn-outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}
.cta-btn-outline:hover { background: var(--navy); color: var(--white); }

/* ---- SECTION LABELS & TITLES ---- */
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 16px;
  text-align: center;
}
.section-intro {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto 56px;
  line-height: 1.7;
  text-align: center;
}

/* ---- EXPERTISE ---- */
.expertise { background: var(--white); padding: 96px 0; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.expertise-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.expertise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}
.expertise-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.expertise-card:hover::before { opacity: 1; }

.expertise-icon, .cause-icon {
  width: 56px; height: 56px;
  background: var(--gray-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.expertise-icon img, .cause-icon img {
  width: 32px; height: 32px;
  object-fit: contain;
}
.expertise-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; min-height: auto; text-align: left; }
.expertise-card p { font-size: .9rem; color: var(--text-light); line-height: 1.6; margin-bottom: 20px; flex-grow: 1; text-align: left; }
.expertise-btn {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--navy-mid); font-size: .85rem; font-weight: 600;
  border-bottom: 2px solid var(--gold); padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.expertise-btn:hover { color: var(--gold-dark); border-color: var(--gold-dark); }
.expertise-btn::after { content: ' →'; }

@media (max-width: 900px) { .expertise-grid { grid-template-columns: 1fr; } }

/* ---- CONSULTANTE ---- */
.consultante { background: var(--navy); color: var(--white); padding: 96px 0; }
.consultante-title { text-align: center; font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; color: var(--white); margin-bottom: 16px; letter-spacing: -.02em; }
.consultante-intro { text-align: center; max-width: 680px; margin: 0 auto 56px; color: #8aaad0; line-height: 1.7; }
.consultante-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.consultante-item {
  display: flex; gap: 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 28px 24px;
  transition: background var(--transition), border-color var(--transition);
}
.consultante-item:hover { background: rgba(255,255,255,.09); border-color: rgba(232,160,32,.3); }
.consultante-icon {
  font-size: 1.8rem; flex-shrink: 0;
  width: 48px; height: 48px;
  background: rgba(232,160,32,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.consultante-item h3 { font-size: .95rem; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.consultante-item p { font-size: .88rem; color: #a8bdd8; line-height: 1.6; }

@media (max-width: 768px) { .consultante-grid { grid-template-columns: 1fr; } }

/* ---- MÉTHODE ---- */
.methode { background: var(--gray-50); padding: 96px 0; }
.methode-title { text-align: center; font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; color: var(--navy); margin-bottom: 16px; letter-spacing: -.02em; }
.methode-intro { text-align: center; max-width: 680px; margin: 0 auto 56px; color: var(--text-light); line-height: 1.7; }
.methode-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; }
.methode-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}
.methode-number { font-size: 3.5rem; font-weight: 900; color: var(--gray-100); line-height: 1; position: absolute; top: 16px; right: 20px; user-select: none; }
.methode-card h3 { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; padding-top: 4px; }
.methode-card h3::before { content: ''; display: block; width: 32px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 14px; }
.methode-card p { font-size: .88rem; color: var(--text-light); line-height: 1.65; }
.methode-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.methode-box { background: var(--navy); color: var(--white); border-radius: 12px; padding: 36px 32px; }
.methode-box h3 { font-size: 1.05rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.methode-box p { font-size: .9rem; color: #8aaad0; margin-bottom: 20px; line-height: 1.65; }
.methode-box ul { list-style: none; padding: 0; }
.methode-box li { font-size: .88rem; color: #b8cce8; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.07); display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; margin-bottom: 0; }
.methode-box li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.methode-box li:last-child { border-bottom: none; }

@media (max-width: 900px) { .methode-grid { grid-template-columns: 1fr 1fr; } .methode-bottom { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .methode-grid { grid-template-columns: 1fr; } }

/* ---- CAUSES SEO ---- */
.causes-seo { background: var(--white); padding: 96px 0; }
.causes-title { text-align: center; font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 800; color: var(--navy); margin-bottom: 56px; letter-spacing: -.01em; line-height: 1.3; }
.causes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cause-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition);
}
.cause-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cause-card h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; min-height: auto; text-align: left; }
.cause-card p { font-size: .88rem; color: var(--text-light); line-height: 1.6; text-align: left; }

@media (max-width: 900px) { .causes-grid { grid-template-columns: 1fr; } }

/* ---- PILIERS SEO ---- */
.piliers-seo { padding: 96px 0; background: var(--gray-50); }
.piliers-box { background: var(--white); border: 1px solid var(--gray-200); border-radius: 16px; padding: 56px 48px; box-shadow: var(--shadow-sm); }
.piliers-title { text-align: center; font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 800; color: var(--navy); margin-bottom: 48px; letter-spacing: -.02em; }
.piliers-grid { display: grid; grid-template-columns: 200px 1fr; row-gap: 0; }
.piliers-label { font-weight: 800; color: var(--navy); font-size: 1rem; padding: 28px 28px 28px 0; border-right: 3px solid var(--gold); border-bottom: 1px solid var(--gray-100); display: flex; align-items: flex-start; }
.piliers-text { font-size: .9rem; color: var(--text-light); line-height: 1.75; padding: 28px 0 28px 32px; border-bottom: 1px solid var(--gray-100); }
.piliers-label:last-of-type, .piliers-text:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .piliers-grid { grid-template-columns: 1fr; }
  .piliers-label { border-right: none; border-bottom: 2px solid var(--gold); padding-right: 0; padding-bottom: 8px; }
  .piliers-text { padding-left: 0; }
  .piliers-box { padding: 32px 24px; }
}

/* ---- FAQ ---- */
.faq { background: var(--white); padding: 96px 0; }
.faq-title { text-align: center; font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 800; color: var(--navy); margin-bottom: 48px; letter-spacing: -.02em; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); margin-bottom: 0; }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: .95rem; font-weight: 600; color: var(--navy);
  text-align: left; transition: color var(--transition); border-radius: 0;
}
.faq-question:hover { color: var(--gold-dark); }
.faq-answer { display: none; padding-bottom: 20px; border: none; border-radius: 0; background: transparent; }
.faq-answer p { font-size: .9rem; color: var(--text-light); line-height: 1.75; }
.faq-answer strong { color: var(--navy); }

/* ---- BLOG ---- */
.blog { background: var(--gray-50); padding: 96px 0; text-align: left; }
.blog-title { text-align: center; font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -.02em; }
.blog-subtitle { text-align: center; max-width: 560px; margin: 0 auto 48px; color: var(--text-light); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--gray-200); text-align: left; transition: box-shadow var(--transition), transform var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-image-link img, .blog-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.blog-content { padding: 24px; }
.blog-meta { font-size: .78rem; color: var(--text-light); margin-bottom: 10px; font-weight: 500; }
.blog-content h3, .blog-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.blog-content h3 a, .blog-card h3 a { color: var(--navy); transition: color var(--transition); }
.blog-content h3 a:hover { color: var(--gold-dark); }
.blog-content p, .blog-card p { font-size: .85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.blog-link { font-size: .85rem; font-weight: 600; color: var(--navy-mid); border-bottom: 2px solid var(--gold); padding-bottom: 1px; transition: color var(--transition); }
.blog-link:hover { color: var(--gold-dark); }
.blog-btn-wrapper { text-align: center; margin-top: 40px; }
.blog-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: var(--white); font-weight: 700; padding: 12px 28px; border-radius: 8px; font-size: .9rem; transition: background var(--transition); }
.blog-btn:hover { background: var(--navy-light); }
.bt-empty { color: var(--text-light); font-style: italic; }

@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---- FOOTER ---- */
.footer { background: var(--navy); color: #8aaad0; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-col h3 { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.footer-col h4 { font-size: .85rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col p { font-size: .88rem; line-height: 1.7; color: #6a8aaa; margin-bottom: 0; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li { margin-bottom: 0; }
.footer-col ul a, .footer-col a { font-size: .88rem; color: #6a8aaa; transition: color var(--transition); }
.footer-col ul a:hover, .footer-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.footer-social a:hover { background: var(--gold); }
.footer-social img { width: 18px; height: 18px; object-fit: contain; filter: brightness(10); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer-bottom p { text-align: center; font-size: .8rem; color: #4a6a8a; }
.footer-bottom a { color: #6a8aaa; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col:first-child { grid-column: span 2; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } .footer-col:first-child { grid-column: span 1; } .footer-social { justify-content: center; } }
