/* ==========================================================================
   SEO Expert — Design System CSS Partagé (sxo-*)
   Ce fichier est chargé automatiquement sur toutes les pages du site.
   L'IA enrichit ce fichier lors de la création de pages via le Créateur de Pages.
   ========================================================================== */

:root {
    --sxo-primary: #008080;
    --sxo-secondary: #f0f6fc;
    --sxo-bg: #ffffff;
    --sxo-text: #1d2327;
}

/* Container */
.sxo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typographie */
.sxo-container h1,
.sxo-container h2,
.sxo-container h3 {
    font-family: var(--sxo-font);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--sxo-text);
    line-height: 1.15;
}
.sxo-container h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
.sxo-container h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-top: 0; }
.sxo-container h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
.sxo-container p {
    font-family: var(--sxo-font);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--sxo-text-light);
}

/* Hero Banner */
.sxo-hero-banner {
    text-align: center;
    padding: 100px 20px 80px;
    position: relative;
}
.sxo-hero-banner h1 {
    margin-bottom: 24px;
}
.sxo-hero-banner p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Sections */
.sxo-content-section {
    padding: 100px 20px;
}
.sxo-content-section.sxo-alt-bg {
    background-color: var(--sxo-secondary);
}

/* Bouton Principal */
.sxo-btn-primary {
    display: inline-block;
    padding: 18px 42px;
    border-radius: 50px;
    background: var(--sxo-primary);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--sxo-font);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: var(--sxo-transition);
    border: none;
    cursor: pointer;
}
.sxo-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    filter: brightness(1.08);
}

/* Grille de Cartes */
.sxo-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 40px 0;
}
.sxo-grid-cards li,
.sxo-card {
    background: #fff;
    border-radius: var(--sxo-radius);
    padding: 40px;
    box-shadow: var(--sxo-shadow);
    transition: var(--sxo-transition);
}
.sxo-grid-cards li:hover,
.sxo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sxo-shadow-hover);
}

/* Images de Contenu */
.sxo-content-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--sxo-radius);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    margin: 40px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .sxo-hero-banner { padding: 60px 16px 40px; }
    .sxo-content-section { padding: 60px 16px; }
    .sxo-grid-cards { grid-template-columns: 1fr; gap: 20px; }
    .sxo-grid-cards li, .sxo-card { padding: 24px; }
    .sxo-btn-primary { padding: 14px 32px; }
}


/* === CSS Généré par le Builder (2026-04-10 09:42) === */
/* Global Reset & Base Styles (Apple/Awwwards level) */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--sxo-text);
    background-color: var(--sxo-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
}

a {
    text-decoration: none;
    color: var(--sxo-primary); /* Default link color for better accessibility */
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    opacity: 0.85;
}

/* Typography - Titres h1/h2 (Très larges, font-weight 700/800, letter-spacing -0.03em) */
h1, h2, h3, h4, h5, h6 {
    color: var(--sxo-text);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 0.8em;
}

h1 {
    font-size: clamp(2.8rem, 7vw, 4.8rem); /* Responsive 'très large' font size */
    font-weight: 800;
}

h2 {
    font-size: clamp(2.2rem, 5vw, 3.4rem); /* Responsive 'très large' font size */
    font-weight: 700;
}

/* .sxo-btn-primary : Bouton massif, padding 18px 40px, border-radius 50px, background var(--sxo-primary), couleur blanc, hover sublime. */
.sxo-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 50px;
    background: var(--sxo-primary);
    color: #ffffff; /* Couleur blanc */
    font-size: 1.125rem; /* Massif feel */
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); /* Sublime transition */
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.2); /* Initial subtle shadow */
}

.sxo-btn-primary:hover {
    transform: translateY(-4px); /* Lift effect */
    box-shadow: 0 14px 35px rgba(0, 128, 128, 0.38); /* Deeper shadow on hover */
    background-color: #006b6b; /* Slightly darker primary on hover for depth */
}

.sxo-btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 128, 128, 0.25);
}

/* .sxo-grid-cards : display: grid; responsive; gap 40px; list-style: none. */
.sxo-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* .sxo-grid-cards li, .sxo-card : fond blanc, border-radius 24px, padding 40px, ombre ultra-douce. */
.sxo-grid-cards li,
.sxo-card {
    background: var(--sxo-bg);
    border-radius: 24px;
    padding: 40px;
    /* Ombre ultra-douce */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth interaction */
}

.sxo-card:hover { /* Optional: subtle hover effect for cards */
    transform: translateY(-5px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.03);
}

/* .sxo-content-img : border-radius 24px, 100%, ombre profonde, object-fit cover. */
.sxo-content-img {
    border-radius: 24px;
    width: 100%; /* 100% width */
    height: 100%; /* Important for object-fit to work effectively when parent has defined height */
    display: block; /* Ensures no extra space below image */
    /* Ombre profonde */
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18), 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    object-position: center; /* Default, can be customized */
}

/* .sxo-hero-banner : texte centré, grand espace, marge basse. */
.sxo-hero-banner {
    text-align: center;
    padding-top: 120px; /* Grand espace */
    padding-bottom: 120px; /* Grand espace */
    margin-bottom: 80px; /* Marge basse */
    /* Optional: subtle background for hero section */
    /* background: linear-gradient(180deg, var(--sxo-secondary) 0%, rgba(255,255,255,0) 100%); */
}

/* .sxo-content-section : padding vertical 100px. */
.sxo-content-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* .sxo-content-section.sxo-alt-bg : fond --sxo-secondary. */
.sxo-content-section.sxo-alt-bg {
    background-color: var(--sxo-secondary);
}

/* .sxo-container : max-width 1200px, margin auto. */
.sxo-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px; /* Horizontal padding for smaller screens */
    padding-right: 24px; /* Horizontal padding for smaller screens */
}

/* Responsive adjustments for a polished experience */
@media (max-width: 992px) {
    .sxo-hero-banner {
        padding-top: 100px;
        padding-bottom: 100px;
        margin-bottom: 60px;
    }

    .sxo-content-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

@media (max-width: 768px) {
    .sxo-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sxo-hero-banner {
        padding-top: 80px;
        padding-bottom: 80px;
        margin-bottom: 50px;
    }

    .sxo-content-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .sxo-grid-cards {
        gap: 30px;
    }

    .sxo-grid-cards li,
    .sxo-card {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .sxo-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    h1 {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
    }

    h2 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .sxo-btn-primary {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .sxo-grid-cards {
        grid-template-columns: 1fr; /* Single column on very small screens */
        gap: 24px;
    }

    .sxo-grid-cards li,
    .sxo-card {
        padding: 24px;
        border-radius: 20px;
    }

    .sxo-content-img {
        border-radius: 20px;
    }

    .sxo-hero-banner {
        padding-top: 60px;
        padding-bottom: 60px;
        margin-bottom: 40px;
    }

    .sxo-content-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}