/*
Theme Name: Pinpret
Theme URI: https://pretparticipatiffrance.fr/
Author: Pinpret
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: pinpret
*/

:root {
  --pretfr-primary: #2B4A66;
  --pretfr-primary-dark: #1E3347;
  --pretfr-secondary: #3D8BFD;
  --pretfr-accent: #EAC54F;
  --pretfr-accent-dark: #BFA140;
  --pretfr-accent-soft: #FBF3D4;
  --pretfr-bg: #F7F8F4;
  --pretfr-surface: #FFFFFF;
  --pretfr-text: #1B2620;
  --pretfr-muted: #5E6B62;
  --pretfr-border: #DEE5DC;
  --pretfr-success: #1E7A4B;
  --pretfr-danger: #C2463B;
  --pretfr-shadow: 0 4px 18px rgba(20,83,45,.08);
  --pretfr-shadow-lg: 0 14px 40px rgba(20,83,45,.16);
  --pretfr-radius: 14px;
  --pretfr-radius-sm: 8px;
  --pretfr-font-head: 'Hanken Grotesk', Georgia, serif;
  --pretfr-font-body: 'Lora', system-ui, -apple-system, sans-serif;
  --pretfr-maxw: 1180px;
  --pretfr-gradient: linear-gradient(135deg, #2B4A66 0%, #3D8BFD 100%);
}

/* Reset base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--pretfr-font-body);
  font-size: 16px;
  line-height: 1.74;
  color: var(--pretfr-text);
  background: var(--pretfr-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pretfr-secondary); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--pretfr-primary); }

h1, h2, h3, h4 {
  font-family: var(--pretfr-font-head);
  font-weight: 400;
  line-height: 1.18;
  color: var(--pretfr-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(--pretfr-border); margin: 2.4em 0; }

/* ============================================================
   PIED DE PAGE – variante F1 (mega 4 colonnes)
   ============================================================ */
.pretfr-footer {
  background: var(--pretfr-primary);
  color: var(--pretfr-surface);
}

.pretfr-footer-grid {
  max-width: var(--pretfr-maxw);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.4rem;
}

.pretfr-footer-brand-name {
  font-family: var(--pretfr-font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pretfr-accent);
  margin: 0 0 .5rem;
}
.pretfr-footer-tagline {
  font-size: .9rem;
  font-style: italic;
  color: rgba(255,255,255,.6);
  margin: 0 0 .8rem;
}
.pretfr-footer-about {
  font-size: .83rem;
  line-height: 1.65;
  color: rgba(255,255,255,.68);
  margin: 0;
}

.pretfr-footer-col-heading {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pretfr-accent);
  margin: 0 0 .9rem;
}
.pretfr-footer-col h4 { margin-top: 0; }

.pretfr-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 .6rem;
}
.pretfr-footer-menu li { margin-bottom: .45rem; }
.pretfr-footer-menu a {
  font-size: .86rem;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .18s ease;
}
.pretfr-footer-menu a:hover { color: var(--pretfr-accent); }

.pretfr-footer-note {
  font-size: .78rem;
  line-height: 1.6;
  color: rgba(255,255,255,.5);
  margin: .8rem 0 0;
  padding-top: .8rem;
  border-top: 1px solid rgba(255,255,255,.12);
}

/* Barre inferieure */
.pretfr-footer-bottom {
  max-width: var(--pretfr-maxw);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.pretfr-footer-bottom a {
  color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: color .18s ease;
}
.pretfr-footer-bottom a:hover { color: var(--pretfr-accent); }

@media (max-width: 960px) {
  .pretfr-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pretfr-footer-col--brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 540px) {
  .pretfr-footer-grid {
    grid-template-columns: 1fr;
  }
  .pretfr-footer-bottom {
    flex-direction: column;
    gap: .4rem;
    text-align: center;
  }
}
