/**
 * at-style.css — base partagée new_at/
 * Aucune dépendance WordPress / Thrive.
 * Inclure avec : <link rel="stylesheet" href="/new_at/assets/css/at-style.css?v=1">
 */

/* ─── Reset minimal ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --bg:          #FAFBFA;
  --bg-soft:     #F3FBF7;
  --white:       #FFFFFF;
  --text:        #24302A;
  --muted:       #6E7C75;
  --green:       #2A8C5F;
  --green-2:     #3FAF7C;
  --green-dark:  #073F2A;
  --green-soft:  #E9F7F1;
  --orange:      #F4A261;
  --orange-2:    #F7B77A;
  --line:        rgba(42,140,95,.18);
  --shadow:      0 18px 50px rgba(42,140,95,.12);
  --shadow-soft: 0 10px 28px rgba(42,140,95,.08);
  --radius:      24px;
  --max:         1160px;
}

/* ─── Base ──────────────────────────────────────────────── */

/* Footer toujours en bas : body en colonne flex */
html { height: 100%; }
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(63,175,124,.16), transparent 34%),
    linear-gradient(180deg, #fff, var(--bg));
  line-height: 1.5;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Le <main> absorbe l'espace restant → footer poussé en bas */
main { flex: 1; }

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

/* ─── Layout ────────────────────────────────────────────── */
.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* ─── Header ────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; }
.brand img { height: 62px; width: auto; }

.nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover       { background: var(--green-soft); color: var(--green); }
.nav a.is-active   { color: var(--green); }
.nav .nav-cta {
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  color: #3A2313;
  box-shadow: 0 10px 24px rgba(244,162,97,.25);
}
.nav .nav-cta:hover { transform: translateY(-1px); }

/* ─── Footer ────────────────────────────────────────────── */
footer {
  margin-top: 40px;
  background: #F7FCFA;
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--muted);
  font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.footer-title { color: var(--text); font-weight: 900; margin-bottom: 10px; }
footer a { display: block; margin: 6px 0; font-weight: 700; }
footer a:hover { color: var(--green); }
.copyright { text-align: center; margin-top: 24px; font-size: 13px; color: #9ABFAF; }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 980px) {
  .header-inner  { flex-direction: column; padding: 16px 0; min-height: auto; }
  .nav           { justify-content: center; }
  .footer-grid   { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav a { font-size: 13px; padding: 8px 12px; }
}
