/* =========================================================
   AIDE - CSS PROFESSIONNEL COMPLET
   Site institutionnel / ONG / développement territorial
   Couleurs officielles conservées
   Textes justifiés + tailles équilibrées
   ========================================================= */

:root {
  --color-green: #2e7d32;
  --color-green-soft: #e8f5e9;

  --color-blue: #1565c0;
  --color-blue-dark: #0d47a1;
  --color-blue-soft: #e3f2fd;

  --color-white: #ffffff;
  --color-light: #f5f7fa;
  --color-soft: #f8fbff;

  --color-text: #4f5f72;
  --color-muted: #718096;
  --color-heading: #12305c;

  --color-border: rgba(13, 71, 161, 0.12);

  --shadow-light: 0 10px 30px rgba(15, 43, 84, 0.07);
  --shadow-soft: 0 18px 50px rgba(15, 43, 84, 0.09);
  --shadow-hover: 0 26px 70px rgba(15, 43, 84, 0.16);
  --shadow-dark: 0 35px 90px rgba(0, 0, 0, 0.22);

  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --transition: all 0.35s ease;
}

/* =========================================================
   BASE GÉNÉRALE
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  font-size: 15.5px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -10;
  background:
    radial-gradient(circle at top left, rgba(21, 101, 192, 0.07), transparent 32%),
    radial-gradient(circle at top right, rgba(46, 125, 50, 0.07), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", Arial, sans-serif;
  color: var(--color-heading);
  font-weight: 800;
  line-height: 1.22;
  margin-top: 0;
  text-align: inherit;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 0.96rem;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  margin-top: 0;
}

::selection {
  background: var(--color-blue);
  color: var(--color-white);
}

/* =========================================================
   TOPBAR
   ========================================================= */

.topbar {
  background: linear-gradient(90deg, #08264d, #0d3b77);
  color: rgba(255, 255, 255, 0.9);
  padding: 9px 0;
  font-size: 0.86rem;
  position: relative;
  z-index: 1001;
}

.topbar-inner,
.topbar-contact,
.topbar-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-contact a,
.topbar-contact span,
.topbar-social a {
  color: rgba(255, 255, 255, 0.9);
}

.topbar-contact a:hover,
.topbar-social a:hover {
  color: var(--color-white);
}

.topbar i {
  margin-right: 6px;
}

.topbar-social a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.topbar-social a:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* =========================================================
   NAVBAR
   ========================================================= */

.main-navbar {
  top: 41px;
  padding: 13px 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(13, 71, 161, 0.08);
  box-shadow: 0 14px 38px rgba(15, 43, 84, 0.08);
  z-index: 1000;
  transition: var(--transition);
}

.main-navbar.scrolled {
  top: 0;
  padding: 9px 0;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 20px 55px rgba(15, 43, 84, 0.14);
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 900;
  color: var(--color-blue-dark);
}

.navbar-brand:hover,
.footer-brand:hover {
  color: var(--color-blue-dark);
}

.navbar-brand img,
.footer-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.navbar-brand span,
.footer-brand span {
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.navbar-nav {
  gap: 2px;
}

.navbar-nav .nav-link {
  position: relative;
  color: #24456f;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 10px;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-green), var(--color-blue));
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-blue-dark);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: calc(100% - 20px);
}

.navbar-toggler {
  border: none;
  box-shadow: none !important;
}

/* =========================================================
   BOUTONS
   ========================================================= */

.btn-donation,
.btn-primary-custom,
.btn-light-solid,
.newsletter-form button {
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  text-align: center;
}

.btn-donation,
.btn-primary-custom {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-green), var(--color-blue));
  box-shadow: 0 16px 38px rgba(21, 101, 192, 0.25);
}

.btn-donation:hover,
.btn-primary-custom:hover {
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(21, 101, 192, 0.33);
}

.btn-outline-light-custom {
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: var(--color-white);
  font-size: 0.92rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  text-align: center;
}

.btn-outline-light-custom:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.btn-light-solid {
  background: var(--color-white);
  color: var(--color-blue-dark);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13);
}

.btn-light-solid:hover {
  color: var(--color-blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section-padding {
  padding: 90px 0;
  position: relative;
}

.section-soft {
  background:
    radial-gradient(circle at top left, rgba(21, 101, 192, 0.05), transparent 30%),
    linear-gradient(180deg, rgba(227, 242, 253, 0.5), rgba(245, 247, 250, 0.97));
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-heading.text-center,
.section-heading.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin: 16px 0 14px;
}

.section-heading p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 0;
  text-align: justify;
  text-justify: inter-word;
}

.section-heading.text-center h2,
.section-heading.text-center .section-badge {
  text-align: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(21, 101, 192, 0.09);
  color: var(--color-blue-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-align: center;
}

.badge-light {
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* =========================================================
   HERO ACCUEIL
   ========================================================= */

.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 155px 0 85px;
  color: var(--color-white);
  background: url("../images/developpement-territorial.png") center/cover no-repeat;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  left: -160px;
  top: 170px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(21, 101, 192, 0.16);
  filter: blur(26px);
  z-index: 0;
}

.hero-section::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -160px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(46, 125, 50, 0.22);
  filter: blur(22px);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5, 24, 54, 0.93), rgba(5, 24, 54, 0.58)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.3));
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  color: var(--color-white);
  font-size: clamp(2.25rem, 4vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 20px 0;
  text-align: left;
}

.hero-content p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
}

.hero-actions,
.hero-trust,
.cta-actions,
.footer-social,
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 30px;
}

.hero-trust {
  margin-top: 36px;
  gap: 18px;
}

.trust-item {
  min-width: 165px;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
}

.trust-item strong {
  display: block;
  color: var(--color-white);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1.65rem;
  line-height: 1;
  margin-bottom: 8px;
}

.trust-item span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 600;
}

.glass-card {
  padding: 34px;
  border-radius: var(--radius-xl);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.21);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-dark);
}

.glass-card h2 {
  color: var(--color-white);
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
  line-height: 1.22;
  margin: 14px 0 14px;
  text-align: left;
}

.glass-card p {
  color: rgba(255, 255, 255, 0.9);
  text-align: justify;
}

.hero-card-label {
  color: rgba(255, 255, 255, 0.84);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 900;
  font-size: 0.78rem;
}

/* =========================================================
   BANNIÈRES INTERNES
   ========================================================= */

.page-banner {
  position: relative;
  padding: 190px 0 100px;
  color: var(--color-white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-banner::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(46, 125, 50, 0.24);
  filter: blur(14px);
}

.banner-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.banner-content h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 18px 0 16px;
  text-align: left;
}

.banner-content p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
}

/* =========================================================
   CARTES GÉNÉRALES
   ========================================================= */

.info-card,
.value-card,
.testimonial-card,
.stat-card,
.content-card,
.sidebar-card,
.team-card,
.domain-card,
.partner-profile,
.form-card,
.mini-card,
.faq-item,
.reassurance-card,
.contact-panel {
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.info-card,
.value-card,
.testimonial-card,
.stat-card,
.content-card,
.sidebar-card,
.domain-card,
.partner-profile,
.mini-card,
.faq-item,
.reassurance-card,
.contact-panel {
  padding: 28px;
}

.info-card:hover,
.value-card:hover,
.testimonial-card:hover,
.project-card:hover,
.news-card:hover,
.team-card:hover,
.domain-card:hover,
.partner-profile:hover,
.content-card:hover,
.sidebar-card:hover,
.mini-card:hover,
.faq-item:hover,
.reassurance-card:hover,
.contact-panel:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(21, 101, 192, 0.2);
}

.info-card h3,
.value-card h3,
.testimonial-card h3,
.domain-card h2,
.partner-profile h2,
.form-card h2,
.reassurance-card h3,
.mini-card h3,
.faq-item h3,
.project-card-content h3,
.news-card-content h3,
.team-content h3 {
  font-size: 1.08rem;
  line-height: 1.3;
  margin: 16px 0 12px;
}

.info-card p,
.value-card p,
.testimonial-card p,
.domain-card p,
.partner-profile p,
.content-card p,
.mini-card p,
.faq-item p,
.reassurance-card p,
.project-card-content p,
.news-card-content p,
.contact-panel p,
.form-card p {
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 0;
  text-align: justify;
  text-justify: inter-word;
}

/* =========================================================
   DOMAINES AVEC IMAGES
   ========================================================= */

.domain-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.domain-image {
  width: 100%;
  height: 170px;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 20px;
  background: var(--color-light);
}

.domain-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.domain-card:hover .domain-image img {
  transform: scale(1.07);
}

.domain-card h2 {
  min-height: 45px;
}

.domain-card p {
  flex-grow: 1;
  margin-bottom: 18px;
}

.domain-card .text-link {
  margin-top: auto;
}

/* =========================================================
   CARTES INFO ALIGNÉES
   ========================================================= */

.info-card {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.info-card h3 {
  min-height: 42px;
}

.info-card p {
  flex-grow: 1;
}

/* =========================================================
   ICÔNES
   ========================================================= */

.info-card i,
.value-card i,
.reassurance-card i,
.domain-icon i,
.feature-item i {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(46, 125, 50, 0.13), rgba(21, 101, 192, 0.13));
  color: var(--color-blue-dark);
  font-size: 1.18rem;
  flex-shrink: 0;
}

/* =========================================================
   IMAGES
   ========================================================= */

.image-panel,
.project-card,
.news-card,
.team-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background: var(--color-white);
}

.image-panel {
  min-height: 460px;
  position: relative;
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(13, 71, 161, 0.08));
  pointer-events: none;
}

.image-panel img,
.project-card img,
.news-card img,
.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card img,
.news-card img {
  height: 250px;
}

.team-card img {
  height: 320px;
}

/* =========================================================
   PROJETS / ACTUALITÉS / ÉQUIPE
   ========================================================= */

.project-card,
.news-card {
  height: 100%;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card-content,
.news-card-content,
.team-content {
  padding: 28px;
}

.project-card-content,
.news-card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}

.project-card-content h3,
.news-card-content h3 {
  min-height: 38px;
}

.project-card-content p,
.news-card-content p {
  flex-grow: 1;
}

.project-card-content .text-link,
.news-card-content .text-link {
  margin-top: auto;
}

.project-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  text-align: center;
}

.project-status.ongoing {
  background: rgba(21, 101, 192, 0.1);
  color: var(--color-blue-dark);
}

.project-status.done {
  background: rgba(46, 125, 50, 0.12);
  color: var(--color-green);
}

.small-meta,
.testimonial-card span,
.news-card-content span,
.team-content span {
  color: var(--color-muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.team-content span {
  display: inline-block;
  margin-bottom: 12px;
}

/* =========================================================
   STATISTIQUES
   ========================================================= */

.stats-section {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(46, 125, 50, 0.28), transparent 30%),
    linear-gradient(135deg, #0d47a1, #1565c0);
}

.stat-card {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.stat-card h2 {
  color: var(--color-white);
  font-size: 2.45rem;
  margin-bottom: 8px;
  text-align: center;
}

.stat-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

/* =========================================================
   PARTENAIRES
   ========================================================= */

.partner-profile {
  text-align: center;
  padding: 34px 30px;
}

.partner-card {
  padding: 28px;
  background: var(--color-white);
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.partner-card img,
.partner-profile img,
.partner-logo {
  width: 175px;
  height: 105px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0 auto 22px;
  display: block;
}

.partner-profile h2 {
  font-size: 1.18rem;
  text-align: center;
}

.partner-profile p {
  font-size: 0.95rem;
  text-align: center;
}

/* =========================================================
   LIENS
   ========================================================= */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-blue);
  font-size: 0.92rem;
  font-weight: 900;
  text-align: left;
}

.text-link:hover {
  color: var(--color-green);
  gap: 12px;
}

/* =========================================================
   LISTES ET BLOCS
   ========================================================= */

.feature-list {
  margin-top: 28px;
}

.feature-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(13, 71, 161, 0.08);
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.feature-item p {
  margin-bottom: 0;
  text-align: justify;
}

.category-list,
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li,
.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
}

.category-list a {
  color: var(--color-blue-dark);
  font-weight: 800;
}

.category-list a:hover {
  color: var(--color-green);
  padding-left: 4px;
}

/* =========================================================
   FORMULAIRES
   ========================================================= */

.form-card,
.contact-panel {
  padding: 34px;
}

.form-ui label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-heading);
  font-weight: 900;
  font-size: 0.9rem;
}

.form-ui input,
.form-ui select,
.form-ui textarea,
.newsletter-form input,
.search-box input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(13, 71, 161, 0.15);
  border-radius: 14px;
  background: #fbfcff;
  color: var(--color-text);
  outline: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.form-ui textarea {
  resize: vertical;
}

.form-ui input:focus,
.form-ui select:focus,
.form-ui textarea:focus,
.newsletter-form input:focus,
.search-box input:focus {
  border-color: rgba(21, 101, 192, 0.5);
  box-shadow: 0 0 0 5px rgba(21, 101, 192, 0.08);
  background: var(--color-white);
}

.search-box {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.search-box button {
  width: 54px;
  min-width: 54px;
  border: 0;
  border-radius: 14px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-green), var(--color-blue));
}

/* =========================================================
   CONTACT
   ========================================================= */

.footer-contact i {
  margin-right: 8px;
}

.sidebar-card .category-list a,
.sidebar-card p,
.contact-panel .footer-contact li,
.contact-panel .footer-contact a {
  color: var(--color-text);
}

.contact-panel .footer-contact a:hover {
  color: var(--color-blue-dark);
}

.map-placeholder {
  margin-top: 28px;
  padding: 36px 22px;
  border-radius: 22px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(227, 242, 253, 0.96), rgba(232, 245, 233, 0.96));
  border: 1px solid rgba(13, 71, 161, 0.08);
}

.map-placeholder i {
  font-size: 2rem;
  color: var(--color-blue-dark);
  margin-bottom: 14px;
}

.map-placeholder p {
  text-align: center;
}

/* =========================================================
   DONS / FAQ / RÉASSURANCE
   ========================================================= */

.donation-types,
.reassurance-grid,
.faq-list {
  display: grid;
  gap: 18px;
}

.donation-types {
  grid-template-columns: 1fr;
}

.reassurance-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-card h3 i {
  color: var(--color-blue-dark);
}

/* =========================================================
   CTA FINAL
   ========================================================= */

.final-cta {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.13), transparent 30%),
    radial-gradient(circle at bottom right, rgba(46, 125, 50, 0.34), transparent 32%),
    linear-gradient(135deg, rgba(13, 71, 161, 0.98), rgba(46, 125, 50, 0.95));
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 46px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 85px rgba(0, 0, 0, 0.13);
}

.cta-panel h2,
.cta-panel p {
  color: var(--color-white);
}

.cta-panel h2 {
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.cta-panel p {
  text-align: justify;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #08264d, #0d3b77);
  color: rgba(255, 255, 255, 0.8);
  padding: 86px 0 26px;
  text-align: left;
}

.site-footer h3 {
  color: var(--color-white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: left;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  text-align: justify;
}

.footer-brand {
  color: var(--color-white);
  margin-bottom: 18px;
}

.footer-brand span {
  color: var(--color-white);
}

.footer-brand:hover {
  color: var(--color-white);
}

.footer-links,
.footer-contact {
  text-align: left;
}

.footer-links a,
.footer-contact li,
.footer-contact a {
  color: #d6e4ff;
  font-size: 0.94rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--color-white);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.09);
}

.footer-social a:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.newsletter-form input {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.newsletter-form button {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-green), var(--color-blue));
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  text-align: center;
}

/* =========================================================
   BOUTON RETOUR EN HAUT
   ========================================================= */

#backToTop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-green), var(--color-blue));
  box-shadow: 0 18px 45px rgba(21, 101, 192, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: var(--transition);
  z-index: 999;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  transform: translateY(-4px);
}

/* =========================================================
   ACCESSIBILITÉ
   ========================================================= */

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(21, 101, 192, 0.35);
  outline-offset: 3px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199.98px) {
  .section-padding {
    padding: 82px 0;
  }

  .hero-content h1 {
    font-size: 3.25rem;
  }

  .domain-image {
    height: 165px;
  }
}

@media (max-width: 991.98px) {
  .topbar {
    display: none;
  }

  .main-navbar {
    top: 0;
    padding: 12px 0;
  }

  .navbar-collapse {
    margin-top: 16px;
    padding: 18px;
    background: var(--color-white);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding-top: 135px;
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }

  .hero-card {
    margin-top: 20px;
  }

  .image-panel {
    min-height: 380px;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .reassurance-grid {
    grid-template-columns: 1fr;
  }

  .domain-image {
    height: 210px;
  }

  .section-heading h2 {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 15px;
  }

  .section-padding {
    padding: 65px 0;
  }

  .hero-section {
    padding: 125px 0 65px;
  }

  .hero-content h1 {
    font-size: 2.15rem;
  }

  .hero-content p,
  .banner-content p,
  .section-heading p,
  p {
    font-size: 0.95rem;
    text-align: left;
  }

  .hero-actions,
  .hero-trust,
  .cta-actions,
  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-trust .trust-item {
    width: 100%;
  }

  .btn-donation,
  .btn-primary-custom,
  .btn-outline-light-custom,
  .btn-light-solid {
    width: 100%;
    text-align: center;
  }

  .page-banner {
    padding: 145px 0 78px;
  }

  .banner-content h1 {
    font-size: 1.9rem;
  }

  .section-heading h2 {
    font-size: 1.7rem;
  }

  .domain-card h2,
  .info-card h3,
  .project-card-content h3,
  .news-card-content h3 {
    min-height: auto;
  }

  .domain-image {
    height: 185px;
  }

  .project-card img,
  .news-card img,
  .team-card img {
    height: 230px;
  }

  .info-card,
  .value-card,
  .testimonial-card,
  .stat-card,
  .content-card,
  .sidebar-card,
  .domain-card,
  .partner-profile,
  .form-card,
  .mini-card,
  .faq-item,
  .reassurance-card,
  .contact-panel {
    padding: 24px;
  }

  .cta-panel {
    padding: 30px;
  }

  .partner-card img,
  .partner-profile img,
  .partner-logo {
    width: 150px;
    height: 90px;
  }

  .partner-profile p,
  .stat-card p,
  .footer-bottom p,
  .map-placeholder p {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img,
  .footer-brand img {
    width: 44px;
    height: 44px;
  }

  .navbar-brand span,
  .footer-brand span {
    font-size: 1.12rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .glass-card {
    padding: 24px;
  }

  .feature-item {
    flex-direction: column;
  }

  .domain-image {
    height: 165px;
  }

  .site-footer {
    padding-top: 70px;
  }
}
/* Ajustements suivant les remarques du manager */
.navbar-brand img { width: 86px; height: 60px; object-fit: contain; }
.footer-brand img { width: 110px; height: 76px; object-fit: contain; background: white; border-radius: 6px; }
.support-highlight { color: #fff !important; font-weight: 700; background: #125442; border-left: 4px solid #f9cc54; padding: 14px 18px; border-radius: 6px; }
.about-page .info-card { border-top: 4px solid #158260; background: linear-gradient(135deg, #fff, #edf8f3); }
.about-page .content-card.tall-card { border-top: 4px solid #168260; }
.news-empty { padding: 36px; border-left: 4px solid #158260; background: #edf8f3; color: #17344c; }
