/**
 * Theme Name: Thème Institut Cochin
 * Author: Comconnect
 * Author URI: https://comconnect.fr
 */


/*
################################################################################################
╔═══════╗                       ╔═══════╗                                                     ╔═╗           ╔═════╗
║ ╔═════╝ ╔═══════╗ ╔═════════╗ ║ ╔═════╝ ╔═══════╗ ╔═══════╗ ╔═══════╗   ╔═══╗   ╔═══════╗ ╔═╝ ╚═╗         ║ ╔═══╝ ╔═╗ ╔═══╗
║ ║       ║ ╔═══╗ ║ ║ ╔═╗ ╔═╗ ║ ║ ║       ║ ╔═══╗ ║ ║ ╔═══╗ ║ ║ ╔═══╗ ║ ╔═╝   ╚═╗ ║ ╔═════╝ ╚═╗ ╔═╝       ╔═╝ ╚═╗   ║ ╚═╝ ╔═╝
║ ║       ║ ║   ║ ║ ║ ║ ║ ║ ║ ║ ║ ║       ║ ║   ║ ║ ║ ║   ║ ║ ║ ║   ║ ║ ║ ╔═════╝ ║ ║         ║ ║         ╚═╗ ╔═╝   ║ ╔═══╝
║ ╚═════╗ ║ ╚═══╝ ║ ║ ║ ║ ║ ║ ║ ║ ╚═════╗ ║ ╚═══╝ ║ ║ ║   ║ ║ ║ ║   ║ ║ ║ ╚═════╗ ║ ╚═════╗   ║ ╚═══╗ ╔═╗   ║ ║     ║ ║
╚═══════╝ ╚═══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═══════╝ ╚═══════╝ ╚═╝   ╚═╝ ╚═╝   ╚═╝ ╚═══════╝ ╚═══════╝   ╚═════╝ ╚═╝   ╚═╝     ╚═╝
################################################################################################
*/


@font-face {
    font-family: "Calibri";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/calibri-regular.woff2") format("woff2");
}
@font-face {
    font-family: "Calibri";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/calibri-bold.woff2") format("woff2");
}
@font-face {
    font-family: "Conqueror";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/awconquerorsans-light.woff2") format("woff2");
}



/*                       Normalize STYLE
    -----------------------------*/
.main-navigation li,
.main-navigation li a,
.chips-list,
.chips-item  {
    list-style-type: none;
    text-decoration: none;
}

.hero-title > span,
.member-title > span {
    display: block;
}

.hero-image,
.member-photo,
.co-founder-img {
    width: 100%;
    height: auto;
}

address {
    font-style: normal;
    font-weight: 400;
}



/*                               ROOT
    -----------------------------*/
:root {
    --primary-color: #006499;
    --secondary-color: #303863;
    --text-color: #494949;
    --accent-color: #eaa723;
    --background-one: #f6f6f6;
    --background-one: #F0F4F8;
    --background-one: #F2F5F8;
    --text-size: 1.2rem;
}



/*                           TOOLS
******************************
******************************
******************************
******************************
****************************** */

.mt-small { margin-top: 3rem; }

.text-align-left { text-align: left!important; }
.text-align-right { text-align: right!important; }
.text-decoration-none { text-decoration: none!important; }
.list-style-none { list-style-type: none!important; }

.bold { font-weight: 700; }
.italic { font-style: italic; }

.align-items-center { align-items: center; }
.align-items-end { align-items: end; }
.align-self-center { align-self: center; }

.emphase1 p {
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}



/* GRIDS
----------------------- */

/* Toutes les grilles sont à 1 seule colonne sur mobile par défaut */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 769px) {
    .xx-grid    { grid-template-columns: 1fr 1fr;       }
    .xx-x-grid  { grid-template-columns: 1.5fr 1fr;     }
    .x-xx-grid  { grid-template-columns: 1fr 1.5fr;     }
    .xxx-grid   { grid-template-columns: 1fr 1fr 1fr;   }
}



/*                            INTRO
******************************
******************************
******************************
******************************
****************************** */

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Calibri", sans-serif;
}



/*                                  FONTS
************************************
************************************
************************************
************************************
************************************
************************************ */



/* GENERAL
------------------------ */
p,
ul {
    font-size: var(--text-size);
    color: var(--text-color);
}

ul { line-height: 1.6; }

.hero-title,
.section-title {
    font-family: "Conqueror", sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--primary-color);
}

.section-title,
.description,
.cite {
    text-align: center;
}

.cite {
    font-size: 1.3rem;
    font-weight: 700;
}



/* HERO
------------------------ */
.hero-title {
    margin-top: 0rem;
    margin-bottom: 0rem;
}
.hero-title .ln1 {
    margin-bottom: 0.7rem;
    text-transform: none;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}
.hero-title .ln2 {
    font-size: 2.5rem;
    line-height: 1.2;
}
@media (min-width: 769px)   { .hero-title .ln2 { font-size: 2.5rem; } }


.hero-description {
    margin-top: 10px;
    font-size: 1.3rem;
    line-height: 1.6;
}
.hero-description a {
    color: var(--text-color);
}

.grid-four-card--title,
.grid-four-card--texte {
    color: #fff;
}
.grid-four-card--title {
    font-size: 1.6rem;
    text-wrap: balance;
}
.grid-four-card--texte {
    font-size: 1.3rem;
    line-height: 1.6;
}
@media (min-width: 1000px) {
    .grid-four-card--texte {
            padding-inline: 1rem;
    }
}



/* SECTION PROJETS RECHERCHE
--------------------------------- */
.section-projets-recherche .description {
    font-weight: 700;
    text-align: left;
}

/* numéros */
.stat-number {
    display: block;
    font-size: 3rem;
}



/* NEWSLETTER
--------------------------------- */
.newsletter-section .section-title,
.newsletter-section p,
.newsletter-section label {
    color: #fff;
}



/* FOOTER
--------------------------------- */
.site-footer p {
    font-size: 0.975rem;
    line-height: 1.25;
    margin: 0;
    color: #fff;
}

.site-footer a {
    color: #fff;
    text-decoration: underline;
}

.site-footer p .dashicons {
    vertical-align: middle;
    margin-right: 8px; /* Espace entre l'icône et le texte */
}





/*                                 LAYOUTS
************************************
************************************
************************************
************************************
************************************ */


/* ------------------------------------ WEBSITE GENERAL LAYOUTS */
.sitebox {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
@media (max-width: 440px) {
    .sitebox {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

.sitebox--xl {
    max-width: 1500px;
}

.contentbox {
    max-width: 600px;
    margin: 0 auto;
}

.page-main{
    padding-block: 6rem;
}



/* ------------------------------------ SECTIONS SPECIALES LAYOUTS */

/* HEADER */
.site-header {
    height: 40px;
    padding-top: 20px;
    background-color: var(--background-one);
    box-sizing: border-box;
}

.custom-logo { width: 30%; }
@media (min-width: 340px)   { .custom-logo { width: 25%; } }
@media (min-width: 470px)   { .custom-logo { width: 20%; } }
@media (min-width: 660px)   { .custom-logo { width: 15%; } }
@media (min-width: 769px)   { .custom-logo { width: 25%; } }
@media (min-width: 900px)   { .custom-logo { width: 20%; } }
@media (min-width: 1000px)  { .custom-logo { width: 15%; } }


/* HERO SECTION */
.hero-section {
    background-color: var(--background-one);
    padding: 6rem 0rem;
}

.hero-section .grid {
    gap: 3rem;
}

.hero-cell {
    padding: 1rem;
}

.overlay {
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
@media (min-width: 1000px) {
    .overlay {
        padding: 4rem 5rem;
    }
}

.overlay::before {
    content: "";
    background-image: url("img/institut-cochin-batiment-mechain-700.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

.overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.overlay--1::after { background-color: rgba(0, 100, 153, 0.9); }

.overlay--2::after { background-color: rgba(0, 100, 153, 0.6); }

.overlay--3::before { transform: scaleX(-1); }

.overlay--3::after { background-color: rgba(48, 56, 99, 0.9); }

.overlay * {
    position: relative;
    z-index: 2;
}


/* SECTION PROJETS RECHERCHE */
.section-projets-recherche .cardsfull {
    margin-top: 4rem;
}

.section-projets-recherche {
    padding: 5rem 0;
}


/* SECTION ENGAGEMENTS */
.section-engagements {
    padding: 5rem 0;
}


/* SECTION NEWSLETTER */
.newsletter-section {
    padding: 3rem 0;
    background-color: var(--primary-color);
    /* background-color: var(--background-one); */
}

.newsletter-section .sitebox {
    align-items: center;
    gap: 5rem;
}


/* SECTION DONS */
.section-don {
    padding: 5rem 0;
    background-color: var(--background-one);
}

.section-don .section-title,
.section-don .description {
   text-align: left;
}

.section-don .grid {
    gap: 5rem;
}

/* SECTION CO-FONDATEURS */
.section-co-fondateurs {
    padding: 8rem 0;
}

.section-co-fondateurs img {
    border-radius: 8px;
    box-shadow: 2px 2px 4px #b9b9b9;
}

/* SECTION MEMBRES FONDATION */
.member-list {
    gap: 3rem;
}

.member-card {
    border-radius: 8px;
    background-color: var(--primary-color);
    color: #fff;
    overflow: hidden;
}

.member-card-content {
    padding: 1rem;
}

.member-card p {
    color: #fff;
}

/* FOOTER */
.site-footer {
    background-color: var(--primary-color);
    padding-top: 1.5rem;
    padding-bottom: 0rem;
}

.site-footer .sitebox {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-footer p {
    color: #fff;
    margin-bottom: 0;
}
.footer-logo {
    width: 225px;
}
p.mentions-legales {
    margin-top: 14px!important;
    font-size: 0.8rem!important;
}
.mentions-legales a {
    text-decoration: none!important;
}

@media (max-width: 499px) {
    .site-footer .sitebox {
        flex-direction: column-reverse;
        gap: 1rem;
    }
}



/*              CARDSFULL
********************************
********************************
********************************
********************************
******************************** */

.cardsfull-card {
    padding: 1rem;
    border-radius: 8px;
    background-color: white;
    position: relative;

}

.cardsfull-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cardsfull-card--1 .cardsfull-card-title {
    color: var(--primary-color);
    color: var(--secondary-color);

}

.cardsfull-card--2 .cardsfull-card-title {
    color: var(--secondary-color);

}

.cardsfull-card--3 .cardsfull-card-title {
    color: var(--accent-color);
    color: var(--secondary-color);

}

.cardsfull-card--1::before {
    border: 1px solid var(--primary-color);
    border: 1px solid var(--secondary-color);

    border-radius: 8px;
}

.cardsfull-card--2::before {
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
}

.cardsfull-card--3::before {
    border: 1px solid var(--accent-color);
    border: 1px solid var(--secondary-color);

    border-radius: 8px;
}

.cardsfull-card * {
    position: relative;
    z-index: 1;
}



/*                                NAVIGATION
********************************
********************************
********************************
********************************
******************************** */
.main-navigation .menu {
        display: flex;
    gap: 1rem;
    margin: 0;
}

.main-navigation a {
    font-size: 1rem;
    text-decoration: none;
}

.language-switcher {
    position: relative;
    display: flex;
    justify-content: end;
}



/*                                   BOUTONS
    ********************************
    ********************************
    ********************************
    ********************************
    ******************************** */

.boxbtn {
    display: flex;
    justify-content: end;
}

.btn {
  border: 1px solid transparent;
  border-radius: 3px;
  box-shadow: rgba(255, 255, 255, .4) 0 1px 0 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  outline: none;
  padding: 8px .8em;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
}

.btn--blue {
  background-color: var(--primary-color);
}

.btn--or {
  background-color: var(--accent-color);
}


.btn-1:hover,
.btn-1:focus {
  background-color: #07c;
}

.btn-1:focus {
  box-shadow: 0 0 0 4px rgba(0, 149, 255, .15);
}

.btn-1:active {
  background-color: #0064bd;
  box-shadow: none;
}


/* --- Style de base du bouton (Material Design 3 Filled Button) --- */
.btn--material-or {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* Espace si vous ajoutez une icône */

  width: 100%; /* S'adapte à toute la largeur de la carte formulaire */
  min-height: 52px; /* Hauteur généreuse pour un confort tactile (touch-target) */
  padding: 14px 28px;
  margin-top: 20px;
  margin-bottom: 14px;

  /* Couleurs de la charte */
  background-color: #EAA723; /* Orange/Or officiel Charte Cochin */
  color: #303863; /* Bleu Nuit officiel pour un contraste hyper lisible */

  /* Typographie */
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase; /* Donne de l'impact au CTA */
  text-decoration: none;

  /* Forme & Bordure */
  border: none;
  border-radius: 12px; /* Coins arrondis modernes M3 (ou 26px pour effet pilule) */
  cursor: pointer;

  /* Elevation & Ombres Material */
  box-shadow:
    0px 2px 4px 0px rgba(0, 0, 0, 0.12),
    0px 1px 2px 0px rgba(0, 0, 0, 0.08);

  /* Transitions fluides pour toutes les interactions */
  transition:
    background-color 0.2s ease,
    transform 0.2s cubic-bezier(0.2, 0, 0, 1),
    box-shadow 0.2s cubic-bezier(0.2, 0, 0, 1);
}

/* --- Effet au survol (Hover - Elevation-2 + Légère brillance) --- */
.btn--material-or:hover {
  background-color: #f1b333; /* Teinte légèrement plus lumineuse */
  transform: translateY(-2px); /* Léger soulèvement tactile */
  box-shadow:
    0px 4px 12px 0px rgba(234, 167, 37, 0.35), /* Halo or très doux */
    0px 2px 6px 0px rgba(0, 0, 0, 0.12);
}

/* --- Effet au clic (Active / Pressed) --- */
.btn--material-or:active {
  background-color: #d9961a; /* Teinte plus soutenue */
  transform: translateY(0); /* Le bouton s'enfonce sous le doigt/clic */
  box-shadow:
    0px 1px 3px 0px rgba(0, 0, 0, 0.2);
}

/* --- Accessibilité au clavier (Focus Outline Material) --- */
.btn--material-or:focus-visible {
  outline: 3px solid var(--primary-color); /* Bleu Cochin officiel */
  outline-offset: 3px;
}


/* Btn Material du HERO - modifications */
.hero-section .btn--material-or {
    width: auto;
    margin-top: 0;
    margin-bottom: 0;
    min-height: 0;
    padding: 12px 22px;
}









/* --- Bouton Newsletter / Action Secondaire --- */
.btn-newsletter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  height: 48px; /* Hauteur alignée avec le champ e-mail */
  padding: 0 24px;

  /* Couleurs Charte : Bleu Nuit officiel */
  background-color: #303863;
  color: #ffffff;

  /* Typographie */
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  text-transform: uppercase; /* Texte en majuscules, comme le bouton de don */
  white-space: nowrap; /* Empêche le texte de passer à la ligne */

  /* Forme & Bordures */
  border: none;
  border-radius: 8px; /* Arrondi élégant et moderne */
  cursor: pointer;

  /* Ombre subtile */
  box-shadow: 0px 2px 4px rgba(48, 56, 99, 0.15);

  /* Transitions fluides */
  transition:
    background-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

/* --- Effet au survol (Hover) --- */
.btn-newsletter:hover {
  background-color: #424b7a; /* Bleu Nuit plus clair et lumineux */
  transform: translateY(-2px);
  box-shadow: 0px 4px 12px rgba(48, 56, 99, 0.3); /* Ombre bien visible */
}

/* --- Effet au clic (Active) --- */
.btn-newsletter:active {
  background-color: #232949; /* Plus sombre au clic */
  transform: translateY(0);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

/* --- Focus Clavier (Accessibilité) --- */
.btn-newsletter:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}






/*                                   FORMS
    ---------------------------------
    ---------------------------------
    ---------------------------------
    ---------------------------------
    --------------------------------- */

/*
--------------- GENERAL */

.donation-form {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow:
        0px 1px 3px 0px rgba(0, 0, 0, 0.10),
        0px 4px 8px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.donation-form:hover {
    transform: translateY(-2px);
    box-shadow:
        0px 4px 8px -1px rgba(48, 56, 99, 0.08),
        0px 8px 24px 0px rgba(48, 56, 99, 0.12);
}
@media (max-width: 440px) {
    .donation-form {
        padding: 20px;
    }
}


.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* --- Conteneur du champ de saisie --- */
.form-group {
  position: relative;
  margin-bottom: 20px;
  width: 100%;
}


.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 10px;
}


/* --- Le champ de saisie (input / select) --- */
.input-field {
  width: 100%;
  padding: 8px 16px;
  font-size: 15px;
  font-family: inherit;
  color: #1d1b20;
  background-color: transparent;
  border: 1px solid #79747e; /* Gris bordure Material M3 standard */
  border-radius: 8px; /* Arrondi Material M3 */
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-form .input-field {
  border: 1px solid #fff; /* Blanc pour la newsletter */
  color: #fff; /* Blanc pour la newsletter */
}



/* --- Étiquette flottante (Label) --- */
.label-field {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 6px;
  color: #49454f;
  background-color: #fff; /* Fond blanc pour le label */
  font-size: 15px;
  pointer-events: none; /* Laisse cliquer au travers */
  transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}


.newsletter-form .label-field {
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;

  margin: 0 !important;
  line-height: 1 !important;
  height: auto !important;
  color: #fff !important;
  width: auto !important;
  white-space: nowrap !important;
  background-color: var(--primary-color) !important; /* Fond bleu officiel */
  padding: 0 6px !important;
  pointer-events: none; /* Permet de cliquer à travers le label pour ouvrir l'input */
  transition: all 0.2s ease !important;
}




.form-group-radio {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.radio-label-title {
    color: #49454f; /* Même couleur que les labels des autres champs */
    font-weight: bold;
}

.radio-label {
    display: flex;
    align-items: flex-start;
    color: #49454f; /* Même couleur que les labels des autres champs */
}

/* Option sélectionnée : le texte prend le même bleu que les labels au focus */
.radio-label:has(input:checked) {
    color: var(--primary-color); /* Bleu officiel Cochin (comme les labels au focus) */
    font-weight: 600;
}

/* Séparateur subtil avant le bouton d'envoi du formulaire de don */
.form-separator {
    border: 0;
    border-top: 1px solid rgba(0, 100, 153, 0.15);
    margin: 1.5rem 0;
}

/* Message d'information affiché selon le moyen de paiement choisi
   (remplace l'ancienne case de consentement du formulaire de don). */
.form-group-notice {
    margin-top: 0.5rem;

    font-style: italic;
    color: #49454f; /* Même couleur que les labels des autres champs */
    text-align: left;
}

.form-group-notice p {
    margin: 0;
    font-size: 0.95rem;
}

.form-group-notice a {
    color: var(--primary-color);
}


.newsletter-form .form-group-checkbox {
    margin-bottom: 10px;
}


/* --- Effet Focus : Quand le champ est sélectionné ou rempli --- */
.input-field:focus,
.input-field:not(:placeholder-shown) {
  border-color: var(--primary-color); /* Bleu Pantone 641 U de la charte */
  border-width: 2px;
  padding: 13px 15px; /* Ajustement compensation épaisseur bordure */
}


.newsletter-form .input-field:focus,
.newsletter-form .input-field:not(:placeholder-shown) {
  border-color: #fff; /* Blanc pour la newsletter au focus */
  color: #fff; /* Blanc pour la newsletter au focus */
}


/* Animation du label vers le haut (encoche dans la bordure) */
/* Uniquement pour les champs de saisie de texte (.input-field) :
   les boutons radio ne doivent pas hériter de ce transform. */
.form-group:has(.input-field:focus) label,
.form-group:has(.input-field:not(:placeholder-shown)) label {
  top: 0;
  transform: translateY(-50%) scale(0.85);
  color: var(--primary-color); /* Bleu officiel au focus */
  font-weight: 600;
}


.newsletter-form .form-group:has(.input-field:focus) label,
.newsletter-form .form-group:has(.input-field:not(:placeholder-shown)) label {
  color: #fff; /* Blanc pour la newsletter au focus */
  top: 0 !important; /* Remonte sur la bordure supérieure */
  transform: translate(-50%, -50%) !important;
  font-size: 12px !important;
}



/**                                   ALERTES DE FORMS
    ********************************
    ********************************
    ********************************
    ********************************
    ******************************** */

/* Conteneur global d'alertes */
.donation-alert-container {
    background-color: var(--background-one);
    max-width: 100%;
    z-index: -1;
    position: relative;
}

/* Base de l'alerte */
.donation-alert {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-block: 4rem;
    border-radius: 6px;
    font-family: 'Calibri', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    animation: fadeInSlide 0.3s ease-out;
}

/* Version de Succès (Bleu Institutionnel Cochin #0070e4 ou Vert Soft) */
.donation-alert-success {
    background-color: #cbe3ff;
    /* border-left: 5px solid #0070e4; */
    color: #1e3a5f;
}

.donation-alert-success .alert-icon {
    color: #0070e4;
}

/* Version d'Erreur */
.donation-alert-error {
    background-color: #fdf2f2;
    border-left: 5px solid #e02424;
    color: #741b1b;
}

.donation-alert-error .alert-icon {
    color: #e02424;
}

/* Structure interne de l'alerte */
.alert-icon {
    font-size: 28px;
    width: 28px;
    height: 28px;
    margin-right: 15px;
    flex-shrink: 0;
}

.alert-content h3 {
    margin: 0 0 5px 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.alert-content p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
}

/* Animation douce d'apparition */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/*                                   CHIPS
    ********************************
    ********************************
    ********************************
    ********************************
    ******************************** */
.chips-list {
    margin-top: 3rem;
    margin-bottom: 4rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.chips-item  {
    height: 48px;
    padding: 2px 24px;
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    box-sizing: border-box;
    z-index: 0;
    font-weight: 400;
    text-align: center;
    color: white;
    background-color: var(--secondary-color);
    box-shadow: rgba(0, 0, 0, .2) 0 3px 5px -1px,rgba(0, 0, 0, .14) 0 6px 10px 0,rgba(0, 0, 0, .12) 0 1px 18px 0;
    text-transform: none;
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
    transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1),opacity 15ms linear 30ms,transform 270ms cubic-bezier(0, 0, .2, 1) 0ms;
    will-change: transform,opacity;
    overflow: visible;
}

.chips-item:hover {
  background: #F6F9FE;
  color: #174ea6;
}

.chips-item:active {
  box-shadow: 0 4px 4px 0 rgb(60 64 67 / 30%), 0 8px 12px 6px rgb(60 64 67 / 15%);
  outline: none;
}

.chips-item:focus {
  outline: none;
  border: 2px solid #4285f4;
}

.chips-item:not(:disabled) {
  box-shadow: rgba(60, 64, 67, .3) 0 1px 3px 0, rgba(60, 64, 67, .15) 0 4px 8px 3px;
}

.chips-item:not(:disabled):hover {
  box-shadow: rgba(60, 64, 67, .3) 0 2px 3px 0, rgba(60, 64, 67, .15) 0 6px 10px 4px;
}

.chips-item:not(:disabled):focus {
  box-shadow: rgba(60, 64, 67, .3) 0 1px 3px 0, rgba(60, 64, 67, .15) 0 4px 8px 3px;
}

.chips-item:not(:disabled):active {
  box-shadow: rgba(60, 64, 67, .3) 0 4px 4px 0, rgba(60, 64, 67, .15) 0 8px 12px 6px;
}

.chips-item:disabled {
  box-shadow: rgba(60, 64, 67, .3) 0 1px 3px 0, rgba(60, 64, 67, .15) 0 4px 8px 3px;
}

/* Chips-liens : rendu identique aux chips simples, cliquables sur toute la pastille */
.chips-item a {
    color: inherit;
    text-decoration: none;
    border-radius: inherit;
}

.chips-item a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: inherit;
}



/*                          BACKGROUNDS
********************************
********************************
********************************
********************************
******************************** */

.hero-section {
    background-image: url("img/logo_svg.svg");
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: 1rem 1rem;
}

.section-projets-recherche {
    background-image: url("img/ic-beige.svg");
    background-size: 25%;
    background-repeat: no-repeat;
    background-position: top center;
}

.section-engagements {
    background-image: url("img/logo_svg.svg");
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center left;
}

.section-don {
    background-image: url(img/ic-beige.svg);
    background-size: 45%;
    background-repeat: no-repeat;
    background-position: bottom left 20%;
}

.section-co-fondateurs {
    background-image: url(img/ic-beige.svg);
    background-size: 36%;
    background-position: center right 20%;
    background-repeat: no-repeat;
}
