
/* ========================================
   E-JARNAULD SOFT - ASTUCES INFORMATIQUES
   Style Moderne - Rouge Vif (#FF0000) & Blanc
   ======================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cooper+Black&family=Abadi:wght@400;500;600;700&display=swap');

/* ===== VARIABLES ===== */
:root {
    --primary-red: #FF0000;
    --primary-red-dark: #CC0000;
    --primary-red-light: #FF3333;
    --white: #FFFFFF;
    --off-white: #F8F8F8;
    --light-gray: #F0F0F0;
    --dark-gray: #1A1A1A;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --border-color: #E0E0E0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(255, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Abadi', 'Lucida Grande', 'Lucida Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== TYPOGRAPHIE - TITRES ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cooper Black', cursive;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== STAGE MARQUEE ===== */
.stage-marquee {
    background: var(--primary-red);
    color: var(--white);
    padding: 12px 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}

.stage-marquee p {
    text-align: center;
    font-weight: 600;
    animation: marquee 15s linear infinite;
    white-space: nowrap;
}

.stage-marquee a {
    color: var(--white);
}

.stage-marquee a:hover {
    text-decoration: underline;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ===== HEADER ===== */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 45px;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
}

.logo span {
    font-family: 'Cooper Black', cursive;
}

nav ul {
    display: flex;
    gap: 25px;
}

nav ul li a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-red);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* WhatsApp Button */
.btn-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    vertical-align: middle;
    line-height: 1.2;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Booking Button */
.btn-booking {
    padding: 12px 28px;
    background-color: var(--primary-red);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-booking:hover {
    background-color: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)),
                url('image/astuces.jpeg') center/cover;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 115px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 20px;
    color: var(--off-white);
    max-width: 700px;
    line-height: 1.6;
    margin: 0 auto;
}

/* ===== SECTIONS ===== */
.tips-section {
    padding: 80px 0;
    background: var(--white);
}

.tips-section.section-alt {
    background: var(--off-white);
}

.section-title {
    font-size: 36px;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 50px;
}

/* ===== TIPS GRID ===== */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ===== ASTUCE CARD ===== */
.astuce-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.astuce-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-red);
}

.astuce-image {
    width: 280px;
    min-width: 280px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.astuce-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.astuce-card:hover .astuce-image img {
    transform: scale(1.1);
}

.img-placeholder {
    font-size: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-red-light), var(--primary-red));
    color: var(--white);
}

.astuce-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.astuce-content h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.astuce-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ===== TOUCHES CLAVIER ===== */
.touches {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 40px;
    padding: 0 15px;
    background: linear-gradient(180deg, #3a3a3a 0%, #1a1a1a 100%);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 
        0 4px 0 #0a0a0a,
        0 6px 10px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.key:hover {
    background: linear-gradient(180deg, #4a4a4a 0%, #2a2a2a 100%);
}

.key:active {
    transform: translateY(2px);
    box-shadow: 
        0 2px 0 #0a0a0a,
        0 3px 5px rgba(0, 0, 0, 0.3);
}

.plus {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 18px;
}

/* ===== FILTRES / NEWS (pour Actualité.html) ===== */
.filters {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    background: var(--off-white);
}

.filter-btn {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--primary-red);
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.3);
}

.filter-btn.active {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.news-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card .card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card h2 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.news-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.read-more {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.read-more:hover {
    color: var(--primary-red-dark);
    padding-left: 5px;
}

.tag {
    background: var(--primary-red);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.tag.future {
    background: var(--dark-gray);
}

/* ===== HERO pour Actualités ===== */
.hero h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 20px;
    color: var(--off-white);
    max-width: 700px;
    line-height: 1.6;
}

/* RESPONSIVE NEWS */
@media (max-width: 992px) {
    .news-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .filters {
        padding: 30px 15px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .news-list {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
    
    .news-card h2 {
        font-size: 18px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .news-card img {
        height: 180px;
    }
    
    .news-card .card-body {
        padding: 20px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 14px;
    }
}

/* ===== CTA SECTION ===== */
.cta {

    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)),
                url('https://images.unsplash.com/photo-1551434678-e076c223a692?w=1920') center/cover;
    padding: 80px 0;
    text-align: center;
}

.cta .container h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 700;
}

.cta .container p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.7;
    font-weight: 400;
}

.cta .container {
    max-width: 800px;
}

.btn-white {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-red);
    position: relative;
    z-index: 2;
}

.btn-white:hover {
    background: var(--white);
    color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,0,0,0.4), 0 0 20px rgba(255,0,0,0.4);
    border-color: var(--primary-red);
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
    margin: 0;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .tips-grid {
        gap: 25px;
    }
    
    .astuce-image {
        width: 250px;
        min-width: 250px;
    }
}

@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
        position: relative;
    }

    .hamburger {
        display: flex;
        order: 3;
        z-index: 10000 !important;
    }

    .hamburger span {
        background-color: #FF0000 !important;
    }

    .hamburger.active span:nth-child(1) {
        background-color: #FF0000 !important;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        padding: 100px 30px 30px;
        transition: var(--transition);
        z-index: 9999 !important;
    }

    nav.active {
        right: 0 !important;
        opacity: 1 !important;
        transform: translateX(0) !important;
        z-index: 9999 !important;
        transition: all 0.3s ease;
    }

    nav ul {
        flex-direction: column;
        gap: 25px;
    }

    nav ul li a {
        font-size: 1.1rem;
        display: block;
        padding: 10px 0;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .astuce-card {
        flex-direction: column;
    }
    
    .astuce-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 350px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .tips-section {
        padding: 60px 0;
    }
    
    .astuce-content {
        padding: 20px;
    }
    
    .astuce-content h3 {
        font-size: 18px;
    }
    
    .astuce-content p {
        font-size: 14px;
    }
    
    .cta h2 {
        font-size: 28px;
    }
    
    .cta p {
        font-size: 16px;
    }
    
    /* Match contact footer centering at 768px (from style.css/contact.css) */
    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 300px;
        margin-top: 100px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .key {
        min-width: 35px;
        height: 35px;
        padding: 0 10px;
        font-size: 11px;
    }
    
    .plus {
        font-size: 14px;
    }
    
    .btn-white {
        padding: 12px 30px;
        font-size: 14px;
    }

    /* Centrage footer petits écrans */
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
    }

    .footer-columns {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 350px;
        gap: 25px;
    }

    .footer-column {
        width: 100%;
        max-width: 300px;
        padding: 0 15px;
    }

    .footer-column h3 {
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-contact p {
        text-align: center;
        margin-bottom: 12px;
    }

    .footer-bottom {
        width: 100%;
        text-align: center;
        padding-top: 30px;
        margin-top: auto;
    }
}

body.menu-open {
    overflow: hidden;
}

/* ===== NOUVEAUTÉ BUTTON & MODAL ===== */
.nouveaute-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    font-weight: 700;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
    z-index: 1002;
    transition: var(--transition);
    animation: pulse 2s infinite;
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nouveaute-btn:hover {
    background: var(--primary-red-dark);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 0, 0, 0.5);
    animation: none;
}

@keyframes pulse {
    0% { box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4); }
    50% { box-shadow: 0 8px 35px rgba(255, 0, 0, 0.6); }
    100% { box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4); }
}

.nouveaute-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1003;
    animation: fadeIn 0.3s ease;
}

.nouveaute-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--white);
    margin: 2rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.4s ease;
    position: relative;
}

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

.modal-header {
    padding: 25px 30px 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
    color: var(--primary-red);
    font-family: 'Cooper Black', cursive;
}

.close {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.close:hover {
    color: var(--primary-red);
    transform: scale(1.2);
}

.modal-body {
    padding: 25px 30px 30px;
}

.modal-body h4 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-body p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 16px;
}

.modal-footer {
    text-align: center;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

#nouveaute-raccourci {
    margin-top: 15px;
}

#nouveaute-raccourci .key {
    font-size: 12px !important;
    min-width: 40px !important;
    height: 35px;
}

/* Mobile responsive for modal/button */
@media (max-width: 768px) {
    .nouveaute-btn {
        width: 60px;
        height: 60px;
        font-size: 8px;
        letter-spacing: 0.3px;
        bottom: 20px;
        right: 20px;
    }
    
    .modal-content {
        margin: 1rem;
        width: 95%;
    }
    
    .modal-header, .modal-body {
        padding-left: 20px;
        padding-right: 20px;
    }
}

