/* ==================================================
PAGE D'ACCUEIL
CATALOGUE DES BILLETS EURO
================================================== */

/* ==================================================
RESET
================================================== */

* {
  box-sizing: border-box;
  }

html {

font-family:
    Arial,
    Helvetica,
    sans-serif;

background: #f1f3f5;

color: #20252b;

}

body {

margin: 0;

min-height: 100vh;

background: #f1f3f5;

}

/* ==================================================
CONTENU PRINCIPAL
================================================== */

.home-page {

width: calc(100% - 40px);

max-width: 1500px;

margin: 0 auto;

padding-top: 80px;

}

/* ==================================================
HERO
================================================== */

.home-hero {

position: relative;

display: grid;

grid-template-columns:
    minmax(0, 1fr)
    minmax(420px, 0.9fr);

align-items: center;

gap: 30px;

margin-top: 20px;

padding: 45px 40px;

overflow: hidden;

background: #213865;

color: white;

border-radius: 10px;

box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.18);

}

.home-hero::before {

content: "";

position: absolute;

width: 420px;

height: 420px;

right: -170px;

top: -220px;

border-radius: 50%;

background:
    rgba(255, 255, 255, 0.035);

}

.hero-content {

position: relative;

z-index: 5;

width: 100%;

max-width: 850px;

}

.hero-label {

margin: 0 0 12px;

color: #d7e2f2;

font-size: 12px;

font-weight: bold;

letter-spacing: 2px;

}

.home-hero h1 {

margin: 0 0 20px;

color: white;

font-size: 38px;

line-height: 1.2;

}

.hero-text {

max-width: 720px;

margin: 0;

color: #eef3fa;

font-size: 17px;

line-height: 1.6;

}

/* ==================================================
BOUTONS HERO
================================================== */

.hero-buttons {

display: flex;

justify-content: flex-start;

gap: 12px;

margin-top: 30px;

flex-wrap: wrap;

}

.home-button {

display: inline-flex;

align-items: center;

justify-content: center;

min-height: 44px;

padding: 0 20px;

border-radius: 6px;

text-decoration: none;

font-size: 14px;

font-weight: bold;

transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;

}

.home-button:hover {

transform: translateY(-2px);

}

.home-button-primary {

background: white;

color: #213865;

border: 1px solid white;

}

.home-button-primary:hover {

background: #e9eef5;

box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.15);

}

.home-button-secondary {

background: #2F75B5;

color: white;

border: 1px solid #5b94c8;

}

.home-button-secondary:hover {

background: #24649c;

box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.15);

}

/* ==================================================
BILLETS DU HERO
================================================== */

.hero-banknotes {

position: relative;

z-index: 2;

width: 100%;

max-width: 540px;

height: 300px;

margin: 0 auto;

}

.banknote {

position: absolute;

width: 78%;

max-width: 370px;

height: auto;

border-radius: 6px;

box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.30);

transition:
    transform 0.3s ease,
    filter 0.3s ease;

}

.banknote-20 {

left: 0;

top: 55px;

transform: rotate(-8deg);

z-index: 1;

}

.banknote-50 {

left: 11%;

top: 15px;

transform: rotate(2deg);

z-index: 3;

}

.banknote-100 {

right: 0;

top: 55px;

transform: rotate(9deg);

z-index: 2;

}

.banknote:hover {

filter: brightness(1.06);

}

.banknote-20:hover {

transform:
    translateY(-8px)
    rotate(-8deg);

}

.banknote-50:hover {

transform:
    translateY(-8px)
    rotate(2deg);

}

.banknote-100:hover {

transform:
    translateY(-8px)
    rotate(9deg);

}

/* ==================================================
SECTIONS
================================================== */

.home-section {

margin-top: 20px;

padding: 30px;

background: white;

border: 1px solid #d9dde1;

border-radius: 8px;

box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.04);

}

/* ==================================================
TITRES DE SECTIONS
================================================== */

.section-heading {

display: flex;

align-items: flex-start;

gap: 15px;

margin-bottom: 25px;

}

.section-number {

display: flex;

align-items: center;

justify-content: center;

flex-shrink: 0;

width: 38px;

height: 38px;

background: #213865;

color: white;

border-radius: 6px;

font-size: 12px;

font-weight: bold;

}

.section-label {

margin: 0 0 6px;

color: #2F75B5;

font-size: 10px;

font-weight: bold;

letter-spacing: 1.5px;

}

.home-section h2 {

margin: 0;

color: #213865;

font-size: 24px;

line-height: 1.3;

}

/* ==================================================
PRÉSENTATION
================================================== */

.introduction-content {

max-width: 1000px;

padding-left: 53px;

}

.home-section p {

margin: 0 0 12px;

color: #505860;

font-size: 15px;

line-height: 1.6;

}

.home-section p:last-child {

margin-bottom: 0;

}

/* ==================================================
CARTES
================================================== */

.home-cards {

display: grid;

grid-template-columns:
    repeat(3, 1fr);

gap: 15px;

}

.home-card {

position: relative;

padding: 25px;

background: #f8f9fa;

border: 1px solid #d9dde1;

border-radius: 7px;

transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;

}

.home-card:hover {

transform: translateY(-3px);

border-color: #c2cbd4;

box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.10);

}

.home-card-icon {

display: flex;

align-items: center;

justify-content: center;

width: 45px;

height: 45px;

margin-bottom: 15px;

background: #213865;

color: white;

border-radius: 6px;

font-size: 21px;

font-weight: bold;

}

.home-card-icon-warning {

background: #2F75B5;

}

.home-card-icon-question {

background: #4b617e;

}

.home-card-number {

position: absolute;

top: 25px;

right: 25px;

color: #c7cdd3;

font-size: 12px;

font-weight: bold;

}

.home-card h3 {

margin: 0 0 10px;

color: #213865;

font-size: 18px;

}

.home-card p {

margin-bottom: 18px;

font-size: 14px;

line-height: 1.5;

}

.card-link {

color: #213865;

font-size: 14px;

font-weight: bold;

text-decoration: none;

}

.card-link span {

display: inline-block;

margin-left: 4px;

transition:
    transform 0.2s ease;

}

.card-link:hover {

text-decoration: underline;

}

.card-link:hover span {

transform: translateX(4px);

}

/* ==================================================
CRITÈRES
================================================== */

.criteria-grid {

display: grid;

grid-template-columns:
    repeat(2, 1fr);

gap: 10px;

}

.criteria-item {

display: flex;

align-items: center;

gap: 13px;

padding: 15px;

background: #f1f3f5;

border-left: 4px solid #2F75B5;

border-radius: 5px;

}

.criteria-icon {

display: flex;

align-items: center;

justify-content: center;

flex-shrink: 0;

width: 34px;

height: 34px;

background: #213865;

color: white;

border-radius: 5px;

font-size: 12px;

font-weight: bold;

}

.criteria-item strong {

display: block;

margin-bottom: 5px;

color: #213865;

font-size: 14px;

}

.criteria-item span {

display: block;

color: #626a72;

font-size: 13px;

line-height: 1.4;

}

/* ==================================================
BLOC COLLECTION
================================================== */

.collection-banner {

position: relative;

display: flex;

align-items: center;

justify-content: space-between;

gap: 30px;

margin-top: 20px;

padding: 35px 40px;

overflow: hidden;

background: #213865;

color: white;

border-radius: 8px;

box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.12);

}

.collection-banner::after {

content: "€";

position: absolute;

right: 30px;

bottom: -65px;

color: rgba(255, 255, 255, 0.035);

font-size: 220px;

font-weight: bold;

line-height: 1;

}

.collection-banner-content {

position: relative;

z-index: 2;

max-width: 700px;

}

.collection-banner .section-label {

color: #a9c7e5;

}

.collection-banner h2 {

margin: 0 0 10px;

color: white;

font-size: 25px;

}

.collection-banner p:not(.section-label) {

margin: 0;

color: #dce7f2;

font-size: 14px;

line-height: 1.6;

}

.collection-values {

position: relative;

z-index: 2;

display: flex;

gap: 8px;

flex-wrap: wrap;

justify-content: flex-end;

}

.collection-values span {

padding: 8px 12px;

background: rgba(255, 255, 255, 0.10);

border: 1px solid rgba(255, 255, 255, 0.18);

border-radius: 5px;

color: white;

font-size: 12px;

font-weight: bold;

}

/* ==================================================
COMPTEUR
================================================== */

.home-counter {

margin-top: 20px;

padding: 25px;

text-align: center;

background: white;

border: 1px solid #d9dde1;

border-radius: 8px;

box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.04);

}

.home-counter .section-label {

margin-bottom: 5px;

}

.home-counter h2 {

margin: 0 0 8px;

color: #213865;

font-size: 20px;

}

.home-counter p:not(.section-label) {

margin: 0 0 15px;

color: #6d747b;

font-size: 13px;

}

.visitor-counter {

display: flex;

justify-content: center;

align-items: center;

min-height: 70px;

}

.visitor-counter iframe {

display: block;

width: 220px;

height: 70px;

border: 0;

}

/* ==================================================
FOOTER
================================================== */

footer {

margin-top: 30px;

padding: 25px;

text-align: center;

color: #858c93;

font-size: 13px;

}

footer p {

margin: 0;

}

/* ==================================================
TABLETTE
================================================== */

@media (max-width: 1100px) {

.home-hero {

    grid-template-columns: 1fr;

    text-align: center;

    padding: 45px 30px;

}


.hero-content {

    max-width: 850px;

    margin: 0 auto;

}


.hero-text {

    margin: 0 auto;

}


.hero-buttons {

    justify-content: center;

}


.hero-banknotes {

    height: 270px;

    max-width: 500px;

}


.home-cards {

    grid-template-columns: 1fr;

}


.collection-banner {

    flex-direction: column;

    align-items: flex-start;

}


.collection-values {

    justify-content: flex-start;

}

}

/* ==================================================
TABLETTE PETITE
================================================== */

@media (max-width: 800px) {

.home-page {

    width: calc(100% - 30px);

}


.criteria-grid {

    grid-template-columns: 1fr;

}


.home-section {

    padding: 25px;

}


.introduction-content {

    padding-left: 0;

}

}

/* ==================================================
MOBILE
================================================== */

@media (max-width: 600px) {

.home-page {

    width: calc(100% - 20px);

    padding-top: 65px;

}


/* HERO */

.home-hero {

    margin-top: 10px;

    padding: 35px 18px;

    border-radius: 7px;

}


.hero-label {

    font-size: 9px;

    letter-spacing: 1.3px;

}


.home-hero h1 {

    margin-bottom: 15px;

    font-size: 25px;

}


.hero-text {

    font-size: 14px;

    line-height: 1.5;

}


.hero-buttons {

    flex-direction: column;

    gap: 8px;

    margin-top: 22px;

}


.home-button {

    width: 100%;

}


/* BILLETS */

.hero-banknotes {

    height: 190px;

    margin-top: 15px;

}


.banknote {

    width: 72%;

}


.banknote-20 {

    top: 40px;

}


.banknote-50 {

    top: 15px;

}


.banknote-100 {

    top: 40px;

}


/* SECTIONS */

.home-section {

    padding: 20px 15px;

}


.section-heading {

    gap: 10px;

    margin-bottom: 20px;

}


.section-number {

    width: 32px;

    height: 32px;

    font-size: 10px;

}


.home-section h2 {

    font-size: 20px;

}


.home-section p {

    font-size: 13px;

}


/* CARTES */

.home-card {

    padding: 20px;

}


/* CRITERES */

.criteria-item {

    padding: 12px;

}


.criteria-icon {

    width: 31px;

    height: 31px;

}


.criteria-item strong {

    font-size: 13px;

}


.criteria-item span {

    font-size: 12px;

}


/* BLOC COLLECTION */

.collection-banner {

    padding: 25px 20px;

}


.collection-banner h2 {

    font-size: 21px;

}


.collection-banner p:not(.section-label) {

    font-size: 13px;

}


.collection-values {

    gap: 5px;

}


.collection-values span {

    padding: 7px 9px;

    font-size: 10px;

}


/* COMPTEUR */

.home-counter {

    padding: 20px 10px;

}


/* FOOTER */

footer {

    padding: 20px 10px;

    font-size: 11px;

}

}

/* ==================================================
TRÈS PETITS TELEPHONES
================================================== */

@media (max-width: 400px) {

.home-page {

    padding-top: 65px;

}


.home-hero h1 {

    font-size: 22px;

}


.hero-text {

    font-size: 13px;

}


.hero-banknotes {

    height: 165px;

}


.banknote {

    width: 75%;

}


.home-stat strong {

    font-size: 13px;

}


}
