/* AP-HP family-specific colors */
:root {
    --ig-status-text-color: rgb(21, 61, 138); /* 1. IG Title and status text color */
    --navbar-bg-color: rgb(0, 99, 175); /* 2. Header container color */
    --footer-bg-color: rgb(208, 215, 216); /* 3. Footer background color*/
    --footer-container-bg-color: rgb(0, 99, 175); /* 4. Footer container color */
    --stripe-bg-color: rgb(208, 215, 216); /* 5. Header strip color */
    --btn-hover-color: rgb(21, 61, 138); /* 6. Menu button hover color */
    --btn-active-color: rgb(0, 162, 224); /* 7. Menu button active color */
    --btn-text-color: rgb(244, 242, 242); /* 8. Menu button text color */
    --btn-gradient-start-color: rgb(0, 162, 224); /* 9. Menu item gradient start color */
    --btn-gradient-end-color: rgb(0, 99, 175); /* 10. Menu item gradient end  color */
    --btn-gradient-start-color-alpha: rgba(0, 162, 224, 1); /* 11. Menu item gradient start color (with alpha) */
    --btn-gradient-end-color-alpha: rgba(0, 99, 175, 1); /* 12. Menu item gradient end color (with alpha) */
    --link-color: rgb(0, 99, 175); /* 13. Hyperlink text color */
    --link-hover-color: rgb(21, 61, 138); /* 14. Hyperlink text hover color */
    --publish-box-bg-color: rgb(255, 222, 20); /* 15. Publish box background color */
    --publish-box-border: 1px solid rgb(234, 91, 12); /* 16.  Publish box border definition */
    --toc-box-bg-color: rgba(255, 222, 20, .25); /* 17.  TOC box background color */
    --toc-box-border: 1px solid rgb(255, 208, 0); /* 18. TOC box border definition */
    --ig-header-color: rgb(244, 242, 242); /* 21. Header color (sides) */
    --ig-header-container-color: rgb(255, 255, 255); /* 22. Header container color (center) */
    --footer-nav-bg-color: rgb(244, 242, 242); /* 23. Footer navigation background color*/
    --footer-text-color: rgb(255, 255, 255); /* 24. Footer highlight font color */
    --footer-hyperlink-text-color: rgb(91, 197, 242); /* 25. Footer hyperlinks font color */
    --footer-highlight-text-color: rgb(244, 242, 242);; /* 26. Footer highlight font color */
    --breadcrumb-bg-color: rgb(255, 255, 255); /* 27. Breadcrumb background color */
    --breadcrumb-text-color: rgb(0, 99, 175); /* 28. Breadcrumb font color */
    --white: #fff;
    --box-shadow-lg: 0 1.5rem 4rem rgba(52, 56, 82, 0.1);
    --border-radius-md: 5rem;
    --gray-400: #dee0ea;
    --primary: rgb(21, 61, 138);
    --secondary: rgb(91, 197, 242);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Responsive pour tablettes */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Responsive pour mobiles */
@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    h2 {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }

    body {
        padding: 30px 15px;
    }

    .card-image {
        height: 180px;
    }
}

.header-principal {
    justify-items: center;
    border-bottom: 2px solid rgb(0, 99, 175);
    clear: left;
    text-align: center;
    font-size: 11px;
    padding: 16px 0;
}

.header-title {
    font-weight: bold;
    color: var(--primary);
    font-size: x-large;
}

.header-description {
    font-size: 16px;
    margin: 16px 0;
}

.ig-description-list {
    list-style: square;
}

.card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    background-color: var(--white);
    box-shadow: 0 0 1.4rem rgba(52, 56, 82, .1);
    border: .1rem solid var(--gray-400, #dee0ea);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgb(21, 61, 138) 0%, rgb(56, 129, 190) 50%, rgb(91, 197, 242) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.card-description {
    color: var(--primary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-button {
    display: inline-block;
    margin-left: 20px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgb(21, 61, 138) 0%, rgb(56, 129, 190) 50%, rgb(91, 197, 242) 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: opacity 0.3s ease;
}

.card-button:hover {
    opacity: 0.9;
}

/*.card-title {
    font-size: large;
    font-weight: bold;
    color: var(--primary);
}*/

/*.card-content {
    margin: 16px 0;
}*/

.card-footer {
    padding: 32px 0;
}

.card .lock-icon {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 24px;
}

.disclaimer-warning {
  display: flex;
  align-items: flex-start;
  padding: 16px;
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 6px;
  color: #856404;
}

.disclaimer-icon {
  font-size: 24px;
  margin-right: 12px;
  flex-shrink: 0;
}

body {
    margin: 0;
    font-family: "Montserrat", "Open Sans", sans-serif;
    line-height: 1.5;
}

#packages-container {
    margin-top: 10px;
}

#footer {
    border-top: 2px solid var(--navbar-bg-color);
    clear: left;
    text-align: center;
    font-size: 11px;
    padding-top: 10px;
    padding-bottom: 10px;
}

ul.horz-list {
    margin: 0 30%;
    padding: 1.5em 0;
    border-top: 2px solid lightgrey;
}

#footer ul.horz-list li {
    list-style-type: none;
    display: inline;
    padding-left: 8px;
    padding-right: 10px;
    border-right: 1px solid var(--navbar-bg-color);
}


.responsive-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 50px;
    font-size: 18px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    margin: 0 8px;
}

.responsive-button::after {
    content: "→";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: white;
    transition: transform 0.3s ease-in-out;
}

.responsive-button:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.responsive-button:hover::after {
    transform: translateY(-50%) translateX(5px); /* Déplacement à droite au survol */
}
