/*
Theme Name: PureEV
Theme URI: https://pureev.info
Description: Thème éditorial PureEV – actualité des mobilités électriques
Author: PureeV
Version: 1.0
*/

/* === PureeV container global === */

/* === Header PureEV === */

.pureev-header-site {
  border-bottom: 1px solid #eee;
  background: #fff;
}

.pureev-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.pureev-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.pureev-brand a {
  font-weight: 700;
  font-size: 1.25rem;
  color: #000;
  text-decoration: none;
}

.pureev-brand a:hover {
  text-decoration: underline;
}

.pureev-nav-list {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pureev-nav-item a {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #222;
  text-decoration: none;
}

.pureev-nav-item a:hover {
  color: #0a7cff;
}

.pureev-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  width: 100%;
}

.alignwide,
.alignfull {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* === Home page structure === */

.pureev-home {
  display: block;
}

.pureev-home-content {
  margin-bottom: 64px;
}

/* === Hero épuré – Home V3 === */

.pureev-hero {
  margin: 36px 0 56px;
}

.pureev-hero-title {
  font-size: 2.35rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}

/* Lignes IA : respiration éditoriale */
.pureev-hero-ai {
  margin-top: 6px;
  padding-left: 2px;
}

.pureev-hero-ai-line {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #666;
  font-weight: 400;
  margin: 0 0 4px;
}

.pureev-hero-ai-line::before {
  content: "– ";
  color: #ccc;
}

/* Ancienne description (fallback éventuel) */
.pureev-hero-desc {
  display: block;
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 400;
  color: #777;
}

/* === Home layout === */

.pureev-home-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}

/* ===============================
   Colonne principale – PureEV
   =============================== */

.pureev-main {
  max-width: 760px;
}

.pureev-main > h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
  padding-bottom: 10px;
  border-bottom: 2px solid #000;
}

.pureev-card {
  padding: 24px 0 28px;
}


.pureev-card:last-child {
  border-bottom: none;
}

.pureev-card h3 {
  font-size: 1.45rem;
  line-height: 1.25;
}


.pureev-card h3 a {
  color: #000;
  text-decoration: none;
}

.pureev-card h3 a:hover {
  text-decoration: underline;
}

.pureev-card:first-child {
  padding-top: 8px;
}

.pureev-card:first-child h3 {
  font-size: 1.7rem;
}

.pureev-side {
  padding-top: 8px;
  border-left: 1px solid #eee;
  padding-left: 32px;
}

.pureev-side > h2 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: #666;
}

.pureev-mini {
  margin-bottom: 14px;
}

.pureev-mini h4 {
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 500;
}

.pureev-mini a {
  text-decoration: none;
  color: #222;
}

.pureev-mini a:hover {
  text-decoration: underline;
}

.pureev-mini:nth-child(n+5) {
  opacity: 0.75;
}

.pureev-card .article-chapeau {
  font-size: 1.02rem;
  line-height: 1.6;
}

.encart-important {
  border-left: 4px solid #0a7cff;
  background: linear-gradient(to right, #f6f9fc, #ffffff);
  padding: 18px;
  margin: 32px 0;
  border-radius: 6px;
  margin-left: 0;
  margin-right: 0;
}

.encart-important strong {
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .05em;
  color: #0a7cff;
}

.a-retenir {
  background: #fcfcfc;
  border: 1px solid #eaeaea;
  padding: 18px;
  margin-top: 32px;
  border-radius: 6px;
  margin-left: 0;
  margin-right: 0;
}

/* ========== PureeV Single Article ========== */

.pureev-single {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}

.pureev-single > * {
  padding-left: 8px;
  padding-right: 8px;
}

.pureev-category {
  font-size: 13px;
  font-weight: 700;
  color: #0a7cff;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pureev-title {
  font-size: 2.3rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.pureev-chapeau {
  font-size: 1.15rem;
  line-height: 1.55;
  color: #555;
}

.pureev-content p {
  margin-bottom: 1.2em;
}

.pureev-content {
  max-width: 700px;
  margin: 0 auto;
}

.pureev-content h2 {
  margin-top: 2.4em;
  padding-top: 0.4em;
  border-top: 1px solid #eee;
}

.pureev-ad {
  border: 1px dashed #ccc;
  padding: 14px;
  margin: 24px 0;
  text-align: center;
  color: #777;
  font-weight: 600;
}

.pureev-article-footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  font-size: 12.5px;
  color: #777;
}

@media (max-width: 600px) {
  .pureev-title {
    font-size: 1.7rem;
  }
  .pureev-single {
    padding-left: 18px;
    padding-right: 18px;
  }
}

body {
  line-height: 1.7;
  font-size: 17px;
}

@media (max-width: 900px) {
  .pureev-home-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pureev-hero {
    margin-top: 32px;
  }
}


/* ===============================
   Category pages – PureEV
   =============================== */

/* === Article à la une – Catégorie === */

.pureev-category-featured {
  margin: 56px 0 72px;
  padding-bottom: 32px;
  border-bottom: 2px solid #000;
}

.pureev-category-featured-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
  color: #000;
}

.pureev-featured-item {
  max-width: 760px;
}

.pureev-featured-item-title {
  font-size: 1.9rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.pureev-featured-item-title a {
  color: #000;
  text-decoration: none;
}

.pureev-featured-item-title a:hover {
  text-decoration: underline;
}

.pureev-featured-item-excerpt {
  max-width: 680px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: #444;
}

.pureev-category-header {
  margin: 64px 0 48px;
}

.pureev-category-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a7cff;
  margin-bottom: 12px;
}

.pureev-category-title {
  font-size: 2.4rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.pureev-category-description {
  max-width: 680px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
}

.pureev-category-list {
  margin-bottom: 72px;
}

.pureev-category-item {
  max-width: 760px;
  padding: 28px 0 32px;
  border-bottom: 1px solid #eaeaea;
}

.pureev-category-item:last-child {
  border-bottom: none;
}

.pureev-category-item-title {
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.pureev-category-item-title a {
  color: #000;
  text-decoration: none;
}

.pureev-category-item-title a:hover {
  text-decoration: underline;
}

.pureev-category-item-excerpt {
  max-width: 680px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
}

.pureev-category-item-meta {
  margin-top: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
}

/* Pagination */

.pureev-pagination {
  margin-top: 48px;
  font-size: 0.85rem;
}

.pureev-pagination a {
  text-decoration: none;
  color: #222;
}

.pureev-pagination a:hover {
  color: #0a7cff;
}

/* ===============================
   Footer – PureEV
   =============================== */

.pureev-footer {
  border-top: 1px solid #eee;
  margin-top: 96px;
  padding: 48px 0 32px;
  background: #fafafa;
}

.pureev-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.pureev-footer-brand strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.pureev-footer-brand p {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #666;
}

.pureev-footer-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pureev-footer-nav li {
  margin: 0;
}

.pureev-footer-nav a {
  font-size: 0.85rem;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.pureev-footer-nav a:hover {
  color: #0a7cff;
  text-decoration: underline;
}

.pureev-footer-bottom {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  font-size: 0.75rem;
  color: #777;
}

/* Mobile */

@media (max-width: 700px) {
  .pureev-footer-inner {
    flex-direction: column;
    gap: 24px;
  }
  .pureev-footer-nav ul {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===============================
   Pages légales – PureEV
   =============================== */

.pureev-legal h1 {
  font-size: 2.2rem;
  margin-bottom: 32px;
}

.pureev-legal h2 {
  font-size: 1.2rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.pureev-legal p {
  max-width: 700px;
  line-height: 1.7;
  margin-bottom: 12px;
  color: #444;
}

/* ===============================
   Page Contact – PureEV
   =============================== */

.pureev-contact {
  max-width: 700px;
}

.pureev-contact h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}

.pureev-contact-intro {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 32px;
}

.pureev-contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
}

.pureev-contact-form input,
.pureev-contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}

.pureev-contact-form textarea {
  resize: vertical;
}

.pureev-contact-form button {
  background: #000;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.pureev-contact-form button:hover {
  background: #0a7cff;
}

.pureev-contact-consent {
  font-size: 0.8rem;
  color: #777;
}

.pureev-contact-success {
  background: #f0f8ff;
  border-left: 4px solid #0a7cff;
  padding: 14px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

/* Sécurité finale : le main ne peut jamais être full-width */

main {
  width: 100%;
}

main > section {
  width: 100%;
}

/* ===============================
   RSS et RS
   =============================== */

.pureev-header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.pureev-header-tools a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  text-decoration: none;
  line-height: 1;
}

.pureev-header-tools a:hover {
  border-color: #cfd9ff;
  background: #f7f9ff;
}

@media (max-width: 720px) {
  .pureev-header {
    flex-wrap: wrap;
    gap: 14px;
  }

  .pureev-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
  }

  .pureev-header-tools {
    order: 2;
  }
}
