/* ===== Polices locales ===== */
/* Didot */
@font-face {
    font-family: 'Didot';
    src: url("../fonts/Didot-ZwtmEE_.otf") format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Didot';
    src: url("../fonts/Didot-Bold-ag8jQeB.otf") format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Didot';
    src: url("../fonts/Didot-Italic-WTMbcGx.otf") format('opentype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* Montserrat */
@font-face {
    font-family: 'Montserrat';
    src: url("../fonts/Montserrat-Regular-hcBn2o3.ttf") format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url("../fonts/Montserrat-Medium-uYGB_Vs.ttf") format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url("../fonts/Montserrat-SemiBold-C7LqmRh.ttf") format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url("../fonts/Montserrat-Bold-almxg2n.ttf") format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ===== Variables globales ===== */
:root {
    --color-primary: #1a2332;
    --color-secondary: #d4af37;
    --color-accent: #8b0000;
    --color-light: #f8f9fa;
    --color-dark: #343a40;
    --font-main: 'Montserrat', sans-serif;
    --font-title: 'Didot', serif;
    --spacing-unit: 1rem;
    --border-radius: 4px;
    --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ===== Reset et base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Header global ===== */
.global-header {
    background-color: var(--color-primary);
    color: white;
    padding: var(--spacing-unit) 0;
    box-shadow: var(--box-shadow);
}

.global-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
}

.global-nav ul {
    display: flex;
}

.global-nav li {
    margin-left: var(--spacing-unit);
}

.global-nav a {
    color: white;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.global-nav a:hover {
    color: var(--color-secondary);
}

.nav-login {
    border: 1px solid var(--color-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

/* ===== Contenu principal ===== */
.main-content {
    min-height: 70vh;
    padding: 2rem 0;
}

/* ===== Pied de page global ===== */
.global-footer {
    background-color: var(--color-primary);
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 2rem;
}

.global-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-copyright {
    margin-bottom: 1rem;
}

.footer-copyright ul {
    display: flex;
    gap: 1.5rem;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

.footer-motto {
    margin: 1rem 0;
    font-family: var(--font-title);
    font-style: italic;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.cta {
  border: none;
  background: none;
  cursor: pointer;
}

.cta span {
  padding-bottom: 7px;
  letter-spacing: 4px;
  font-size: 14px;
  padding-right: 15px;
  text-transform: uppercase;
}

.cta svg {
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.cta:hover svg {
  transform: translateX(0);
}

.cta:active svg {
  transform: scale(0.9);
}

.hover-underline-animation {
  position: relative;
  color: black;
  padding-bottom: 20px;
}

.hover-underline-animation:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #000;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.cta:hover .hover-underline-animation:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* ===== Carte Partner ===== */

/* ===== Produits ===== */
.products-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.product {
    background: white;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--box-shadow);
}

.product h2 {
    color: var(--color-accent);
    font-family: var(--font-title);
}

/* ===== Boutons ===== */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--color-accent);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--color-secondary);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .global-header .container {
        flex-direction: column;
    }

    .global-nav ul {
        margin-top: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .global-nav li {
        margin: 0.5rem 0;
    }

    .footer-links ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}
