/* ========================================
   SENECODAN - Stylesheet Principal
   Charte: Bleu #184894 | Rouge #E71E25
   Polices: Poppins (titres+corps) / Bahnschrift (accents)
   ======================================== */

:root {
    --blue: #184894;
    --blue-dark: #0f2d5e;
    --blue-navy: #111d3a;
    --red: #E71E25;
    --red-dark: #c4181e;
    --green: #28a745;
    --green-dark: #1e7e34;
    --white: #ffffff;
    --gray-50: #f7f8fa;
    --gray-100: #eef1f5;
    --gray-200: #dde2ea;
    --gray-300: #c5ccd6;
    --gray-500: #8993a4;
    --gray-600: #6b7280;
    --gray-700: #4a5568;
    --gray-800: #2d3748;
    --gray-900: #1a202c;
    --font: 'Poppins', 'Segoe UI', sans-serif;
    --font-alt: 'Bahnschrift', 'Poppins', sans-serif;
    --shadow-sm: 0 2px 6px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius: 6px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--gray-800); line-height: 1.6; background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 55px 0; }

/* Utility */
.text-red { color: var(--red); }
.text-blue { color: var(--blue); }
.text-underline-red { position: relative; }
.text-underline-red::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 3px; background: var(--red); }
.mt-15 { margin-top: 15px; }

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--white);
    padding: 12px 0;
    position: relative;
    z-index: 1000;
}
.container-fluid {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 25px;
}
.top-bar-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}
.top-bar-logo {
    flex-shrink: 0;
}
.top-bar-logo img {
    height: 52px;
    width: auto;
}
/* Blue info bar - rounded container */
.top-bar-infos-bar {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--blue);
    border-radius: 8px;
    padding: 10px 20px;
    color: var(--white);
    gap: 0;
}
.top-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    flex: 1;
}
.top-info-icon-circle {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.top-info-icon-circle i {
    font-size: 0.85rem;
    color: var(--white);
}
.top-info-label {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    opacity: 0.75;
    letter-spacing: 0.5px;
    font-weight: 500;
    white-space: nowrap;
}
.top-info-value {
    display: block;
    font-weight: 700;
    font-size: 0.78rem;
    line-height: 1.3;
    white-space: nowrap;
}
.top-info-divider {
    width: 1px;
    height: 35px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}
.whatsapp-circle {
    width: 32px;
    height: 32px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}
.whatsapp-circle i {
    font-size: 1.1rem;
    color: var(--white);
}
.whatsapp-circle:hover {
    transform: scale(1.1);
    background: #1ebe57;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px; height: 44px;
    background: none; border: none; cursor: pointer; gap: 5px; z-index: 1002;
}
.hamburger span {
    display: block; width: 26px; height: 3px;
    background: var(--blue-navy); border-radius: 2px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ========== MAIN NAV ========== */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky; top: 0; z-index: 999;
    transition: box-shadow var(--transition);
}
.main-nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
}
.nav-link {
    display: block;
    padding: 18px 22px;
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--blue-navy);
    letter-spacing: 0.3px;
    position: relative;
    transition: var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 3px;
    background: var(--red);
    transition: var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after { width: 80%; }
.nav-link:hover { color: var(--red); }
.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}
.nav-cta-link {
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--red);
    text-align: center;
    line-height: 1.35;
    transition: var(--transition);
    white-space: nowrap;
}
.nav-cta-link:hover {
    color: var(--red-dark);
}
.nav-hamburger-desktop {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 38px; height: 38px;
    background: none; border: none; cursor: pointer; gap: 6px;
}
.nav-hamburger-desktop span {
    display: block;
    width: 28px; height: 3px;
    background: var(--blue-navy);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-hamburger-desktop:hover span { background: var(--red); }

.nav-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* ========== HERO BANNER ========== */
.hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-filter {
    position: absolute; inset: 0;
    background: linear-gradient(110deg, rgba(24,72,148,0.92) 0%, rgba(24,72,148,0.78) 40%, rgba(180,200,230,0.45) 65%, rgba(200,210,230,0.3) 100%);
}
/* Snowflake decorations */
.hero-snowflake {
    position: absolute;
    z-index: 1;
    color: rgba(255,255,255,0.15);
    font-size: 4.5rem;
    pointer-events: none;
}
.hero-snowflake-left {
    bottom: 60px;
    left: 40px;
    font-size: 3rem;
    color: rgba(255,255,255,0.2);
}
.hero-snowflake-right-top {
    top: 30px;
    right: 60px;
    font-size: 5.5rem;
    color: rgba(100,140,200,0.25);
}
.hero-snowflake-right-bottom {
    bottom: 80px;
    right: 30px;
    font-size: 3rem;
    color: rgba(255,255,255,0.15);
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    min-height: 520px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 25px;
}
/* Left zone: technicien + transition box */
.hero-left-zone {
    flex: 0 0 45%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation: heroSlideLeft 0.9s ease-out 0.2s both;
}
.hero-transition-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    padding: 15px 0 0 20px;
    color: var(--white);
}
.hero-old-logo {
    height: 55px;
    width: auto;
}
.hero-becomes-text {
    font-size: 1.4rem;
    font-weight: 500;
    font-style: italic;
    color: var(--white);
}
.hero-chevrons {
    display: inline-flex;
    gap: 0;
}
.hero-chevrons i {
    font-size: 1.2rem;
    color: var(--red);
    font-weight: 900;
}
.hero-technicien {
    max-height: 440px;
    width: auto;
    object-fit: contain;
    margin-top: -10px;
    filter: drop-shadow(4px 8px 25px rgba(0,0,0,0.25));
}

/* Right zone: centered text content */
.hero-right-zone {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0 60px;
    animation: heroSlideRight 0.9s ease-out 0.4s both;
}
.hero-right-content {
    text-align: center;
    color: var(--white);
    max-width: 550px;
}
.hero-brand-logo {
    height: 55px;
    width: auto;
    margin: 0 auto 18px;
    filter: brightness(0) invert(1);
}
.hero-tagline {
    font-family: var(--font);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 18px;
    color: var(--white);
}
.hero-services-line {
    font-size: 0.95rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 6px;
    color: var(--red);
}
.hero-tags-line {
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 25px;
    opacity: 0.9;
    color: var(--white);
}
.hero-cta-btn {
    display: inline-block;
}
.hero-cta-btn img {
    height: 56px;
    width: auto;
    transition: var(--transition);
}
.hero-cta-btn:hover img { transform: scale(1.05); filter: brightness(1.08); }

/* Bottom bar */
.hero-bottom-bar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 3;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    padding: 10px 0;
    text-align: center;
}
.hero-bottom-bar span {
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.5px;
    font-style: italic;
}

/* ========== LABELS SECTION ========== */
.labels-section {
    position: relative;
    padding: 35px 0;
    overflow: hidden;
}
.labels-bg-wrapper {
    position: absolute; inset: 0; z-index: 0;
}
.labels-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.12;
}
.labels-section .container { position: relative; z-index: 1; }
.section-label-title {
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.labels-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}
.label-logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: grayscale(15%);
    transition: var(--transition);
}
.label-logo:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* ========== SECTION SURTITLES ========== */
.section-surtitle {
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--gray-500);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

/* ========== RAISON D'ÊTRE ========== */
.raison-section {
    background: var(--gray-50);
}
.raison-title {
    font-family: var(--font);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--blue-navy);
    margin-bottom: 25px;
    line-height: 1.3;
}
.raison-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
.raison-text { flex: 1; }
.raison-text p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 12px;
}
.raison-image {
    flex: 0 0 340px;
}
.raison-image img {
    width: 100%;
    border-radius: 10px;
    filter: drop-shadow(0 5px 20px rgba(0,0,0,0.1));
}

/* ========== PRESTATIONS ========== */
.prestations-section { background: var(--white); }
.prestations-title {
    font-family: var(--font);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--blue-navy);
    margin-bottom: 30px;
}
.prestations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}
.presta-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.presta-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.presta-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    color: var(--white);
    font-family: var(--font);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.presta-header.blue { background: var(--blue); }
.presta-header.red { background: var(--red); }
.presta-header img {
    width: 28px; height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.presta-body {
    padding: 16px 14px;
}
.presta-body p {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--gray-700);
    margin-bottom: 14px;
    min-height: 52px;
}
.discover-link img {
    height: 22px;
    width: auto;
    transition: var(--transition);
}
.discover-link:hover img {
    transform: translateX(5px);
    filter: brightness(0.8);
}

/* ========== POURQUOI NOUS CHOISIR ========== */
.pourquoi-section { background: var(--gray-50); }
.pourquoi-title {
    font-family: var(--font);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--blue-navy);
    margin-bottom: 30px;
    font-style: italic;
}
.pourquoi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.pourquoi-card {
    text-align: left;
    padding: 0;
}
.pourquoi-icon-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.pourquoi-icon-wrap img {
    width: 40px; height: 40px;
    object-fit: contain;
}
.pourquoi-card h4 {
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--blue-navy);
    margin-bottom: 6px;
    display: inline;
    vertical-align: middle;
}
.pourquoi-card p {
    font-size: 0.78rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ========== RÉALISATIONS ========== */
.realisations-section { background: var(--white); }
.realisations-title {
    font-family: var(--font);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--blue-navy);
    margin-bottom: 25px;
}
.realisations-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.carousel-arrow {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border: none;
    background: rgba(24,72,148,0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.carousel-arrow:hover { background: var(--blue); }
.carousel-arrow:hover img { filter: brightness(0) invert(1); }
.carousel-arrow img { width: 16px; height: 16px; object-fit: contain; }
.arrow-flip { transform: scaleX(-1); }
.realisations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    flex: 1;
    overflow: hidden;
}
.realisation-card { text-align: center; }
.realisation-img {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.realisation-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}
.realisation-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(17,29,58,0.7) 100%);
    opacity: 0;
    transition: var(--transition);
}
.realisation-card:hover .realisation-img img { transform: scale(1.08); }
.realisation-card:hover .realisation-img::after { opacity: 1; }
.realisation-card h4 {
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--blue-navy);
    margin-top: 10px;
    line-height: 1.3;
}

/* ========== TÉMOIGNAGES ========== */
.temoignages-section { background: var(--gray-50); }
.temoignages-title {
    font-family: var(--font);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--blue-navy);
    margin-bottom: 25px;
}
.temoignages-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    flex: 1;
}
.temoignage-card {
    background: var(--white);
    padding: 22px 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--blue);
    transition: var(--transition);
}
.temoignage-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.temoignage-card h4 {
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--blue-navy);
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.4;
}
.temoignage-text {
    font-size: 0.78rem;
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.55;
    margin-bottom: 14px;
}
.temoignage-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rating-label {
    font-size: 0.68rem;
    color: var(--gray-500);
}
.stars-img {
    height: 14px;
    width: auto;
}

/* ========== FINANCEMENT ========== */
.financement-section {
    position: relative;
    padding: 45px 0;
    overflow: hidden;
}
.financement-bg {
    position: absolute; inset: 0; z-index: 0;
}
.financement-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.financement-section .container { position: relative; z-index: 1; }
.financement-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: var(--white);
}
.financement-text h2 {
    font-family: var(--font);
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.financement-text p {
    font-size: 0.82rem;
    opacity: 0.9;
    margin-bottom: 5px;
}
.financement-btn img {
    height: 38px;
    width: auto;
    transition: var(--transition);
}
.financement-btn:hover img { transform: scale(1.05); }

/* ========== CTA SECTION ========== */
.cta-section {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
}
.cta-bg {
    position: absolute; inset: 0; z-index: 0;
}
.cta-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.cta-text h2 {
    font-family: var(--font);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--blue-navy);
    margin-bottom: 8px;
    line-height: 1.3;
}
.cta-text p {
    font-size: 0.85rem;
    color: var(--gray-700);
}
.cta-devis-btn img {
    height: 38px;
    width: auto;
    transition: var(--transition);
}
.cta-devis-btn:hover img { transform: scale(1.05); }

/* ========== FOOTER ========== */
.footer {
    background: var(--blue-navy);
    color: var(--white);
    padding: 45px 0 0;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 1.4fr 0.8fr 0.9fr 0.9fr 1fr;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
    height: 35px;
    width: auto;
    margin-bottom: 8px;
}
.footer-slogan {
    font-size: 0.78rem;
    opacity: 0.8;
    font-style: italic;
}
.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.72rem;
    opacity: 0.85;
    line-height: 1.4;
}
.footer-icon {
    width: 16px; height: 16px;
    object-fit: contain;
    margin-top: 2px;
    flex-shrink: 0;
}
.footer-email {
    font-size: 0.72rem;
    opacity: 0.85;
}
.footer-heading {
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 8px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 25px; height: 2px;
    background: var(--red);
}
.footer-col p {
    font-size: 0.72rem;
    opacity: 0.8;
    line-height: 1.55;
}
.footer-links li { margin-bottom: 5px; }
.footer-links li a {
    font-size: 0.72rem;
    opacity: 0.8;
    transition: var(--transition);
}
.footer-links li a:hover {
    opacity: 1;
    color: var(--red);
    padding-left: 4px;
}
.footer-social {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}
.footer-social a img {
    width: 28px; height: 28px;
    border-radius: 4px;
    transition: var(--transition);
}
.footer-social a:hover img { transform: scale(1.15); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 0.7rem;
    opacity: 0.6;
}
.footer-credit {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-style: italic;
}
.visibility-logo {
    height: 16px;
    width: auto;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 44px; height: 44px;
    background: var(--red);
    color: var(--white);
    border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 100;
    font-size: 1rem;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--red-dark); transform: translateY(-3px); }

/* ========== ANIMATIONS ========== */
.anim-fade {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.anim-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.anim-slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.anim-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.anim-slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.anim-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.anim-stagger {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.anim-stagger.visible {
    opacity: 1;
    transform: translateY(0);
}
.anim-stagger.visible > * {
    opacity: 0;
    animation: staggerIn 0.45s ease-out forwards;
}
.anim-stagger.visible > *:nth-child(1) { animation-delay: 0.05s; }
.anim-stagger.visible > *:nth-child(2) { animation-delay: 0.12s; }
.anim-stagger.visible > *:nth-child(3) { animation-delay: 0.19s; }
.anim-stagger.visible > *:nth-child(4) { animation-delay: 0.26s; }
.anim-stagger.visible > *:nth-child(5) { animation-delay: 0.33s; }

@keyframes staggerIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero entrance */
.hero-content .hero-left { animation: heroSlideLeft 0.9s ease-out 0.2s both; }
.hero-content .hero-right { animation: heroSlideRight 0.9s ease-out 0.4s both; }

@keyframes heroSlideLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes heroSlideRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Hover tilt for presta cards */
.presta-card:hover .presta-header img {
    animation: iconPop 0.35s ease;
}
@keyframes iconPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .anim-fade, .anim-slide-left, .anim-slide-right, .anim-stagger {
        opacity: 1; transform: none;
    }
}
