/* ================= Hero Banner ================= */
.hero-banner {
    position: relative;
    height: 90vh;
    min-height: 500px;
    width: 100%;
    overflow: hidden;
    padding: 20px 5%;
    box-sizing: border-box;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(4px) brightness(0.7);
    transition: opacity 0.5s ease;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    transition: opacity 0.5s ease;
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    max-width: 450px;
    color: #fff;
    text-align: center;
    transition: opacity 0.5s ease;
}

.hero-content h1 {
    font-size: 60px;
    margin: 0 0 10px;
}

.hero-content p {
    font-size: 24px;
    margin: 0;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.5s ease;
}

.hero-banner:hover .hero-video {
    opacity: 1;
    z-index: 0;
}

.hero-banner:hover .hero-bg,
.hero-banner:hover .hero-overlay,
.hero-banner:hover .hero-content {
    opacity: 0;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F6EDE7;
    opacity: 0.6;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.hero-banner .hero-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #F6EDE7;
    color: #111;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 2;
    text-align: center;
}

.hero-banner .hero-button:hover {
    background-color: #e0d4c7;
    color: #000;
}

/* Responsive Hero */
@media(max-width:768px){
  .hero-banner { height: 65vh; }
  .hero-content { max-width: 90%; font-size: 1rem; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
}

/* ================= Sections Pleine Largeur ================= */
section {
    width: 100%;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    color: #111;
}

/* Alternance de fond */
section:nth-of-type(odd) { background-color: #FFFFFF; }
section:nth-of-type(even) { background-color: #F6EDE7; }

/* Titres filigranes */
section h2 {
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0,0,0,0.08);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
}

@media (max-width: 768px) { section h2 { font-size: 4rem; } }
@media (max-width: 480px) { section h2 { font-size: 2.5rem; } }

/* Contenu au-dessus du filigrane */
section > .container,
section > div {
    position: relative;
    z-index: 1;
    color: #111;
}

section .content, section .image {
    position: relative;
    z-index: 1;
}

section p {
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

section.visible p {
    opacity: 1;
    transform: translateY(0);
}

/* ================= SEO / Comptes ================= */
.realisation-seo-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    text-align: center;
}

.realisation-seo-section .seo-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.realisation-seo-section .seo-card {
    background: #FFFAF5;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    flex: 1 1 250px;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.realisation-seo-section .seo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.realisation-seo-section .counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: #393837;
    display: block;
}

.realisation-seo-section .counter-label {
    font-size: 1.2rem;
    color: #555;
    margin-top: 10px;
    display: block;
}

/* ================= Solution Cards ================= */
.realisation-solution-cards {
    padding: 4rem 1rem;
    background-color: #f9f9f9;
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ================= Realisation Objectives ================= */
.realisation-objectives {
    display: flex;
    flex-direction: column;
    justify-content: center; /* centre vertical */
    align-items: center;     /* centre horizontal */
    text-align: center;      /* texte centré */
    min-height: 300px;
}

.realisation-objectives .container {
    text-align: center;
}

.realisation-objectives .content {
    font-family: 'Anton', sans-serif;
    font-size: 28px;
    line-height: 1.4;
    color: #111;
    text-align: center;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.realisation-objectives .content p {
    display: inline-block;
    margin: 0 auto;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Bouton Objectifs */
.objectives-button {
    display: inline-block;
    margin: 20px auto 0 auto;
    padding: 12px 24px;
    background-color: #393837;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.objectives-button:hover {
    background-color: #2a2a29;
    transform: translateY(-2px);
}

/* ================= Miscellaneous ================= */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    pointer-events: none;
    background-color: rgba(0,0,0,0.3);
    transform: translate(-50%, -50%);
    transition: background-color 0.2s ease, transform 0.1s ease;
}
.cursor.active {
    background-color: rgba(0,0,0,0.8);
}

/* Tous les paragraphes généraux */
section p {
    color: #111 !important;
}
