/* === DÉCLARATION DE LA POLICE HERO (OTF) === */

/* Version Normale (Regular) */
@font-face {
    font-family: 'Hero';
    /* Ajuste le chemin si ton dossier s'appelle différemment */
    src: url('../fonts/Hero-Regular.otf') format('opentype'); 
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Version Grasse (Bold) */
@font-face {
    font-family: 'Hero';
    src: url('../fonts/Hero-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* === APPLICATION AUX TITRES === */
h1, h2, h3, h4, h5, h6, 
.navbar-brand, 
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.fw-bold {
    font-family: 'Hero', sans-serif !important;
}


/* --- SECTION AGENCE --- */
.section-agency {
    padding: 100px 0;
}

.agency-visual {
    position: relative;
    padding-left: 20px;
}

.main-img {
    transition: transform 0.3s;
}

.agency-visual:hover .main-img {
    transform: scale(1.02);
}

.stat-float {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s ease-in-out infinite;
    max-width: 220px;
}

.stat-float i {
    font-size: 1.5rem;
}

.stat-float strong {
    display: block;
    line-height: 1.2;
    font-size: 1rem;
    color: var(--dark);
}

.stat-float small {
    font-size: 0.8rem;
    color: var(--text);
}

.float-1 {
    bottom: 40px;
    left: 0;
}

.float-2 {
    top: 40px;
    right: -20px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.icon-check {
    width: 28px;
    height: 28px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.ls-2 {
    letter-spacing: 2px;
    font-size: 0.85rem;
}


/* --- SECTION SERVICES --- */
.section-services {
    padding: 100px 0;
    background-color: #f8fafc;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

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

.border-primary {
    border-color: rgba(89, 86, 233, 0.2) !important;
}

.popular-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--purple);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.bg-blue-light {
    background: rgba(37, 99, 235, 0.1);
}

.bg-purple-light {
    background: rgba(89, 86, 233, 0.1);
}

.bg-green-light {
    background: rgba(61, 220, 137, 0.1);
}

.text-purple {
    color: var(--purple) !important;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text);
}

.btn-arrow {
    font-weight: 700;
    text-decoration: none;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-arrow:hover {
    gap: 12px;
}


/* --- HERO COLORFUL --- */
.hero-colorful {
    padding: 140px 0 100px 0;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.hero-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 60px;
}

/* Texte Hero */
.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f1f5f9;
    color: var(--dark);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 30px;
    margin-bottom: 25px;
}

.dot-live {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    50% {
        opacity: 0.5;
    }
}

.main-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 25px;
}

.magic-underline {
    background: linear-gradient(120deg, var(--primary), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 480px;
}

.lead-text strong {
    color: var(--dark);
    font-weight: 700;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-solid {
    background: var(--dark);
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.btn-solid:hover {
    transform: translateY(-3px);
    background: #000;
    color: white;
}

.btn-link-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-link-custom:hover {
    color: var(--primary);
}

.btn-link-custom:hover i {
    transform: translateX(5px);
}

.mini-proof {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatars {
    display: flex;
}

.av {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    margin-left: -10px;
}

.av:first-child {
    margin-left: 0;
}

.mini-proof p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}


/* Mosaïque Hero (Droite) */
.hero-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 200px;
    gap: 20px;
    position: relative;
    padding: 20px;
}

.color-card {
    border-radius: 24px;
    padding: 30px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.color-card:hover {
    transform: translateY(-5px) scale(1.02);
    z-index: 5;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(5px);
    margin-bottom: 15px;
}

.color-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.color-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.4;
}


/* Styles spécifiques cartes */
.blue-card {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    grid-column: 1;
    grid-row: 1;
}

.visual-element {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
}

.fake-btn {
    width: 30px;
    height: 10px;
    background: white;
    border-radius: 4px;
    margin-bottom: 8px;
}

.fake-line {
    width: 80%;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

.purple-card {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-content: flex-start;
}

.purple-card .card-icon {
    margin-top: 30px;
    width: 70px;
    height: 70px;
    font-size: 2rem;
}

.top-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--purple);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
}

.wave-visual {
    margin-top: auto;
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 60px;
    justify-content: center;
}

.wave-visual span {
    width: 8px;
    background: white;
    border-radius: 4px;
    animation: waveBig 1.2s infinite ease-in-out;
}

.wave-visual span:nth-child(1) {
    height: 40%;
}

.wave-visual span:nth-child(2) {
    height: 80%;
    animation-delay: 0.1s;
}

.wave-visual span:nth-child(3) {
    height: 100%;
    animation-delay: 0.2s;
}

.wave-visual span:nth-child(4) {
    height: 60%;
    animation-delay: 0.3s;
}

.wave-visual span:nth-child(5) {
    height: 30%;
    animation-delay: 0.4s;
}

@keyframes waveBig {
    0%, 100% {
        height: 20%;
    }
    50% {
        height: 100%;
    }
}

.green-card {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    grid-column: 1;
    grid-row: 2;
}

.check-badge {
    margin-top: 15px;
    background: white;
    color: var(--green);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Bouton Primaire (Style Moderne) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* Espace icône/texte */
  padding: 0.75rem 1.5rem;
  font-family: 'Montserrat', sans-serif; /* Ta police */
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); /* Dégradé Bleu (exemple) */
  border: none;
  border-radius: 50px; /* Bords arrondis "Pill" */
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2), 
              0 2px 4px -1px rgba(37, 99, 235, 0.1); /* Ombre douce */
  transition: all 0.3s ease;
  text-decoration: none; /* Pour les balises <a> */
  line-height: 1.5;
}

/* État Hover (Survol) */
.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px); /* Léger soulèvement */
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3), 
              0 4px 6px -2px rgba(37, 99, 235, 0.15); /* Ombre accentuée */
  color: #ffffff;
}

/* État Active (Clic) */
.btn-primary-custom:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px -1px rgba(37, 99, 235, 0.2); /* Retour ombre normale */
}

/* État Focus (Accessibilité Clavier) */
.btn-primary-custom:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Blobs */
.blob-color {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: rgba(37, 99, 235, 0.15);
    top: -50px;
    left: -50px;
}

.blob-2 {
    width: 250px;
    height: 250px;
    background: rgba(34, 197, 94, 0.15);
    bottom: -50px;
    right: 50%;
}
