/* ============================================
   LICENCETAXI.FR - CSS BLOG & ARTICLES
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

:root {
  --pink: #E91E63;
  --pink-dark: #C2185B;
  --pink-light: #FCE4EC;
  --yellow: #FFC107;
  --dark: #1a1a1a;
  --gray: #666;
  --green: #22c55e;
  --max-width: 1200px;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
}

/* NAVBAR (même style que site principal) */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 16px 20px;
}
.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.navbar-logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--pink-dark);
}
.navbar-menu {
  display: flex;
  gap: 28px;
  list-style: none;
}
.navbar-menu a {
  font-weight: 500;
  color: var(--dark);
  transition: 0.3s;
  font-size: 15px;
}
.navbar-menu a:hover, .navbar-menu a.active { color: var(--pink-dark); }
.navbar-cta {
  background: var(--pink);
  color: #fff;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 700;
  transition: 0.3s;
  font-size: 14px;
}
.navbar-cta:hover { background: var(--pink-dark); transform: translateY(-2px); }
.navbar-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.navbar-burger span {
  width: 24px; height: 3px; background: var(--dark); border-radius: 2px;
}

/* HERO BLOG */
.page-hero {
  background: linear-gradient(135deg, var(--pink-light) 0%, #FFFBEB 100%);
  padding: 60px 20px 40px;
  text-align: center;
}
.page-hero-inner { max-width: 900px; margin: 0 auto; }
.page-hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}
.page-hero h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 19px;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* BREADCRUMB */
.breadcrumb {
  padding: 16px 20px;
  background: #fafafa;
  font-size: 14px;
  color: #666;
}
.breadcrumb-inner { max-width: var(--max-width); margin: 0 auto; }
.breadcrumb a { color: var(--pink-dark); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #999; }

/* SECTIONS */
.section {
  padding: 60px 20px;
}
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-eyebrow {
  display: inline-block;
  color: var(--pink-dark);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.section-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 17px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* GRILLE ARTICLES */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.article-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.article-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
}
.article-card-image svg { width: 80px; height: 80px; }
.article-card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.article-card-category {
  display: inline-block;
  background: var(--pink-light);
  color: var(--pink-dark);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.article-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.article-card-excerpt {
  color: #666;
  font-size: 14px;
  margin-bottom: 16px;
  flex-grow: 1;
  line-height: 1.5;
}
.article-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #999;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}
.article-card-link {
  color: var(--pink-dark);
  font-weight: 700;
}

/* ARTICLE UNIQUE */
.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 20px;
}
.article-category-tag {
  display: inline-block;
  background: var(--pink-light);
  color: var(--pink-dark);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.article-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 20px;
}
.article-meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #666;
  padding-bottom: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
}
.article-meta-item { display: flex; align-items: center; gap: 6px; }
.article-lede {
  font-size: 20px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 30px;
  padding: 20px 24px;
  background: var(--pink-light);
  border-left: 4px solid var(--pink);
  border-radius: 8px;
}
.article-content { font-size: 17px; color: #333; line-height: 1.8; }
.article-content h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin: 40px 0 18px;
  line-height: 1.3;
}
.article-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin: 30px 0 14px;
  line-height: 1.3;
}
.article-content p { margin-bottom: 18px; }
.article-content ul, .article-content ol {
  margin: 0 0 20px 20px;
  padding-left: 20px;
}
.article-content li { margin-bottom: 10px; }
.article-content strong { color: var(--dark); font-weight: 700; }
.article-content a { color: var(--pink-dark); font-weight: 600; text-decoration: underline; }
.article-content blockquote {
  border-left: 4px solid var(--yellow);
  padding: 16px 24px;
  background: #FFFBEB;
  margin: 24px 0;
  font-style: italic;
  color: #555;
  border-radius: 4px;
}
.article-content .info-box {
  background: var(--pink-light);
  padding: 20px 24px;
  border-radius: 12px;
  margin: 24px 0;
  border-left: 4px solid var(--pink);
}
.article-content .info-box h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--pink-dark);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  border-radius: 8px;
  overflow: hidden;
}
.article-content table th {
  background: var(--dark);
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.article-content table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
}
.article-content table tr:hover { background: #fafafa; }

/* CTA EN FIN D'ARTICLE */
.article-cta {
  background: linear-gradient(135deg, var(--dark) 0%, #333 100%);
  color: #fff;
  padding: 40px 32px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 40px;
}
.article-cta h3 {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 14px;
  color: #fff;
}
.article-cta p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 24px;
}
.btn-primary {
  background: var(--pink);
  color: #fff;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(233, 30, 99, 0.3);
  transition: 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--pink-dark); transform: translateY(-3px); }
.btn-secondary {
  background: #fff;
  color: var(--dark);
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--dark);
  transition: 0.3s;
}
.btn-secondary:hover { background: var(--dark); color: #fff; }

/* ARTICLES SIMILAIRES */
.related-articles {
  padding: 50px 20px;
  background: #fafafa;
}

/* FOOTER */
.footer {
  background: var(--dark);
  color: #aaa;
  padding: 50px 20px 30px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.footer h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer a { transition: 0.3s; font-size: 14px; }
.footer a:hover { color: var(--pink); }
.footer-logo {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}
.footer p { font-size: 14px; line-height: 1.6; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 13px;
}
.footer-bottom a { color: var(--pink); font-weight: 600; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: 0.3s;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
  color: #555;
  line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 800px; margin-top: 14px; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-toggle {
  font-size: 26px;
  font-weight: 300;
  color: var(--pink);
  transition: 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
}

/* GUIDES GRID */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.guide-card {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
  border-top: 4px solid var(--pink);
}
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.guide-card-icon {
  width: 56px;
  height: 56px;
  background: var(--pink-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-dark);
  margin-bottom: 18px;
}
.guide-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.guide-card p {
  color: #666;
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}
.guide-card a {
  color: var(--pink-dark);
  font-weight: 700;
  font-size: 14px;
}

/* FORM */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  transition: 0.3s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--pink);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* RESPONSIVE */
@media (max-width: 968px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .navbar-menu { display: none; }
  .navbar-burger { display: flex; }
  .navbar.menu-open .navbar-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 20px;
    box-shadow: var(--shadow);
    gap: 14px;
  }
  .page-hero { padding: 40px 16px 30px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero p { font-size: 16px; }
  .section { padding: 40px 16px; }
  .section-title { font-size: 26px; }
  .article-container { padding: 30px 16px; }
  .article-title { font-size: 28px; }
  .article-content h2 { font-size: 22px; }
  .article-content h3 { font-size: 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .article-content table { font-size: 13px; }
  .article-content table th, .article-content table td { padding: 8px; }
}
