/*
Theme Name: Pretdigital
Theme URI: https://pretparticipatifenligne.fr/
Author: Pretdigital
Description: Tema proprio — perfis de plataforma, avaliacoes, comparativos e otimizacao para motores de resposta.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: pretdigital
*/

:root {
  --preton-primary: #2A2E33;
  --preton-primary-dark: #1D2023;
  --preton-secondary: #19C3A6;
  --preton-accent: #4ADE80;
  --preton-accent-dark: #22C55E;
  --preton-accent-soft: #DCFCE7;
  --preton-bg: #F5F5FB;
  --preton-surface: #FFFFFF;
  --preton-text: #191832;
  --preton-muted: #5E5C7A;
  --preton-border: #E2E1F0;
  --preton-success: #22C55E;
  --preton-danger: #E2445C;
  --preton-shadow: 0 4px 18px rgba(45,42,110,.08);
  --preton-shadow-lg: 0 14px 40px rgba(45,42,110,.16);
  --preton-radius: 14px;
  --preton-radius-sm: 8px;
  --preton-font-head: 'Lexend', Georgia, serif;
  --preton-font-body: 'Bitter', system-ui, -apple-system, sans-serif;
  --preton-maxw: 1180px;
  --preton-gradient: linear-gradient(135deg, #2A2E33 0%, #19C3A6 100%);
}

/* Reset base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--preton-font-body);
  font-size: 16px;
  line-height: 1.74;
  color: var(--preton-text);
  background: var(--preton-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--preton-secondary); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--preton-primary); }

h1, h2, h3, h4 {
  font-family: var(--preton-font-head);
  font-weight: 400;
  line-height: 1.18;
  color: var(--preton-primary);
  margin: 1.5em 0 .5em;
}
h1 { font-size: clamp(32px, 4.6vw, 50px); margin-top: 0; letter-spacing: .2px; }
h2 { font-size: clamp(25px, 3.2vw, 34px); }
h3 { font-size: clamp(19px, 2.3vw, 24px); }
h4 { font-size: 18px; }
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1.25em; }
li { margin-bottom: .45em; }
strong { font-weight: 700; }
blockquote { margin: 1.6em 0; }
hr { border: 0; border-top: 1px solid var(--preton-border); margin: 2.4em 0; }

/* ============================================================
   PIED DE PAGE – variante F6 (CTA-split newsletter + liens)
   ============================================================ */
.preton-footer {
  background: var(--preton-primary);
  color: var(--preton-surface);
}

/* Split principal */
.preton-footer-split {
  padding: 3rem 0 2rem;
}
.preton-footer-split-inner {
  max-width: var(--preton-maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Bloc newsletter */
.preton-footer-nl-heading {
  font-family: var(--preton-font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--preton-accent);
  margin: 0 0 .6rem;
}
.preton-footer-nl-sub {
  font-size: .88rem;
  line-height: 1.65;
  color: rgba(255,255,255,.7);
  margin: 0 0 1.2rem;
}
.preton-footer-nl-label {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-bottom: .4rem;
}
.preton-footer-nl-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.preton-footer-nl-input {
  flex: 1 1 180px;
  padding: .6rem .9rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--preton-radius-sm);
  background: rgba(255,255,255,.08);
  color: var(--preton-surface);
  font-size: .88rem;
  font-family: var(--preton-font-body);
}
.preton-footer-nl-input::placeholder { color: rgba(255,255,255,.35); }
.preton-footer-nl-input:focus {
  outline: 2px solid var(--preton-accent);
  outline-offset: 1px;
  background: rgba(255,255,255,.12);
}
.preton-footer-nl-btn {
  padding: .6rem 1.2rem;
  background: var(--preton-accent);
  color: var(--preton-primary);
  border: none;
  border-radius: var(--preton-radius-sm);
  font-size: .88rem;
  font-weight: 700;
  font-family: var(--preton-font-body);
  cursor: pointer;
  transition: background .18s ease;
}
.preton-footer-nl-btn:hover { background: var(--preton-accent-dark); }
.preton-footer-nl-legal {
  font-size: .75rem;
  color: rgba(255,255,255,.38);
  margin: .6rem 0 0;
}

/* Groupes de liens */
.preton-footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.preton-footer-links-heading {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--preton-secondary);
  margin: 0 0 .7rem;
}
.preton-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.preton-footer-menu li { margin-bottom: .4rem; }
.preton-footer-menu a {
  font-size: .86rem;
  color: rgba(255,255,255,.68);
  text-decoration: none;
  transition: color .18s ease;
}
.preton-footer-menu a:hover { color: var(--preton-accent); }

/* Note slim de risque */
.preton-footer-disc {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 0;
}
.preton-footer-disc-inner {
  max-width: var(--preton-maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.preton-footer-note {
  font-size: .78rem;
  line-height: 1.6;
  color: rgba(255,255,255,.45);
  margin: 0;
}

/* Barre inferieure */
.preton-footer-bottom {
  max-width: var(--preton-maxw);
  margin: 0 auto;
  padding: .9rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8rem;
}
.preton-footer-copy { color: rgba(255,255,255,.38); }
.preton-footer-llms {
  font-size: .8rem;
  color: rgba(255,255,255,.38);
  text-decoration: none;
  transition: color .18s ease;
}
.preton-footer-llms:hover { color: var(--preton-accent); }

@media (max-width: 760px) {
  .preton-footer-split-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 480px) {
  .preton-footer-nl-row {
    flex-direction: column;
  }
  .preton-footer-bottom {
    flex-direction: column;
    gap: .4rem;
    text-align: center;
  }
}
