/* ============================================
   GRS – General Ruben Services | style.css
   Colors: #00041d (navy) & #ac600c (gold)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Raleway:wght@300;400;500;600;700;800&display=swap');

:root {
    --navy:        #00041d;
    --navy-mid:    #0a0f3a;
    --navy-light:  #121a4a;
    --gold:        #ac600c;
    --gold-light:  #d4820f;
    --gold-pale:   #e8a848;
    --white:       #ffffff;
    --grey-light:  #f5f5f5;
    --grey-mid:    #e0e0e0;
    --text-dark:   #1a1a2e;
    --text-grey:   #666;
}

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

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-dark);
    background: var(--grey-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 60px 0; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }

/* ============ BUTTONS ============ */
.btn-primary {
    display: inline-block;
    padding: 13px 32px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 2px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 2px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s;
}
.btn-outline:hover { background: var(--gold); color: var(--white); }

.btn-white-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--white);
    color: var(--white);
    border-radius: 2px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s;
}
.btn-white-outline:hover { background: var(--white); color: var(--navy); }

/* ============ SECTION TITLES ============ */
.section-title {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.section-subtitle {
    font-size: 15px;
    color: var(--text-grey);
    margin-bottom: 40px;
}
.gold-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 20px;
}
.gold-line.center { margin-left: auto; margin-right: auto; }

/* ============ NAVBAR ============ */
.main-navbar {
    background: var(--navy);
    height: 75px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 20px rgba(0,0,0,0.5);
    border-bottom: 2px solid var(--gold);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo img { height: 52px; filter: drop-shadow(0 2px 6px rgba(172,96,12,0.4)); }

.desktop-menu { display: flex; gap: 5px; }
.desktop-menu a {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    padding: 8px 14px;
    border-radius: 2px;
    transition: all 0.3s;
}
.desktop-menu a:hover,
.desktop-menu a.active { color: var(--gold-pale); background: rgba(172,96,12,0.15); }

.nav-cta {
    background: var(--gold) !important;
    color: var(--white) !important;
    padding: 9px 18px !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

.hamburger-menu { display: none; font-size: 24px; cursor: pointer; color: var(--white); }

/* ============ OFF-CANVAS ============ */
.offcanvas-menu {
    position: fixed; top: 0; right: -320px;
    width: 320px; height: 100vh;
    background: var(--navy);
    border-left: 2px solid var(--gold);
    z-index: 2000;
    transition: 0.4s ease;
    padding: 25px;
}
.offcanvas-menu.active { right: 0; }
.offcanvas-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid rgba(172,96,12,0.4); padding-bottom: 15px; }
.offcanvas-header img { height: 45px; }
.close-btn { font-size: 28px; cursor: pointer; color: var(--white); }

.offcanvas-links li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.offcanvas-links a {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    display: block;
    padding: 14px 0;
    transition: color 0.3s;
}
.offcanvas-links a:hover { color: var(--gold-pale); }
.mobile-cta-link { color: var(--gold) !important; }

.overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,4,29,0.7);
    z-index: 1500; display: none;
}
.overlay.active { display: block; }

/* ============ TOP BAR ============ */
.top-bar {
    background: var(--navy-mid);
    padding: 8px 0;
    border-bottom: 1px solid rgba(172,96,12,0.3);
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}
.top-bar a { color: var(--gold-pale); margin-left: 15px; }
.top-bar i { margin-right: 5px; }

/* ============ HERO SECTION ============ */
.hero-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #0c1445 100%);
    min-height: 620px;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(172,96,12,0.10) 0%, transparent 55%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ac600c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Two-column hero layout */
.hero-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 0;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

/* Right image block */
.hero-image-block {
    flex: 0 0 420px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: flex-end;
}

.hero-image-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(172,96,12,0.35) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    z-index: 0;
}

.hero-agent-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    object-position: bottom;
    /* Remove black background from image */
    mix-blend-mode: lighten;
    filter: drop-shadow(0 0 40px rgba(172,96,12,0.3));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(172,96,12,0.2);
    border: 1px solid rgba(172,96,12,0.5);
    color: var(--gold-pale);
    padding: 6px 14px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 8px;
}
.hero-content h1 span { color: var(--gold-pale); }

.hero-slogan {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    font-style: italic;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 35px; }

.hero-stats {
    display: flex;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(172,96,12,0.3);
}
.stat-item { text-align: left; }
.stat-number {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--gold-pale);
    display: block;
}
.stat-label { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 1px; text-transform: uppercase; }

/* ============ REASSURANCE BAR ============ */
.reassurance-bar {
    background: var(--gold);
    padding: 18px 0;
}
.reassurance-flex { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 15px; }
.reassurance-item { display: flex; align-items: center; gap: 12px; color: var(--white); }
.reassurance-item i { font-size: 20px; }
.reassurance-item strong { display: block; font-size: 13px; font-weight: 700; }
.reassurance-item span { font-size: 11px; opacity: 0.85; }

/* ============ SERVICES GRID ============ */
.services-section { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }

.service-card {
    padding: 40px 25px;
    text-align: center;
    border-right: 1px solid var(--grey-mid);
    border-bottom: 1px solid var(--grey-mid);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s;
}
.service-card:hover { background: var(--navy); }
.service-card:hover h3,
.service-card:hover p { color: var(--white); }
.service-card:hover .service-icon { background: rgba(172,96,12,0.3); color: var(--gold-pale); }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
    width: 70px; height: 70px;
    background: rgba(0,4,29,0.07);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--navy);
    transition: all 0.3s;
}
.service-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    transition: color 0.3s;
}
.service-card p { font-size: 13px; color: var(--text-grey); line-height: 1.6; transition: color 0.3s; }

/* ============ WHY CHOOSE US ============ */
.why-section { background: var(--navy); padding: 70px 0; }
.why-section .section-title { color: var(--white); }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 40px; }
.why-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(172,96,12,0.25);
    border-radius: 2px;
    padding: 30px 25px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: background 0.3s, border-color 0.3s;
}
.why-card:hover { background: rgba(172,96,12,0.1); border-color: var(--gold); }
.why-card i {
    font-size: 22px;
    color: var(--gold);
    margin-top: 3px;
    flex-shrink: 0;
}
.why-card h4 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.why-card p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* ============ ZONES ============ */
.zones-section { background: var(--grey-light); }
.zones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 40px; }
.zone-card {
    background: var(--white);
    border-top: 4px solid var(--gold);
    padding: 35px 25px;
    text-align: center;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s;
}
.zone-card:hover { transform: translateY(-5px); }
.zone-card i { font-size: 36px; color: var(--gold); margin-bottom: 15px; }
.zone-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 8px;
}
.zone-card p { font-size: 13px; color: var(--text-grey); }

/* ============ CTA BANNER ============ */
.cta-banner {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    padding: 60px 0;
    text-align: center;
}
.cta-banner h2 {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    color: var(--white);
    margin-bottom: 10px;
}
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 16px; margin-bottom: 30px; }
.cta-phones { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; margin-top: 25px; }
.cta-phone-item { color: var(--white); font-size: 18px; font-weight: 700; }
.cta-phone-item i { margin-right: 8px; }

/* ============ CONTACT SECTION ============ */
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: start; }

.contact-info h3 {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 20px;
}
.contact-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.contact-detail i {
    width: 40px; height: 40px;
    background: var(--navy);
    color: var(--gold);
    border-radius: 2px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 3px; }
.contact-detail span { font-size: 13px; color: var(--text-grey); }

.contact-form { background: var(--grey-light); padding: 35px; border-radius: 4px; }
.contact-form h3 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 25px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--grey-mid);
    border-radius: 2px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ============ ABOUT HERO ============ */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(172,96,12,0.15) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    color: var(--white);
    margin-bottom: 10px;
}
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 550px; }
.breadcrumb { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 15px; letter-spacing: 1px; text-transform: uppercase; }
.breadcrumb a { color: var(--gold-pale); }

/* ============ ABOUT PAGE ============ */
.about-mission { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img-block {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: 4px;
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.about-img-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(172,96,12,0.2) 0%, transparent 60%);
}
.shield-icon-big {
    font-size: 120px;
    color: rgba(172,96,12,0.4);
    position: relative;
    z-index: 2;
}
.about-img-block .logo-big {
    width: 180px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 5px 20px rgba(172,96,12,0.4));
}

/* ============ SERVICES PAGE ============ */
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.service-detail-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.service-detail-card-header {
    background: var(--navy);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.service-detail-card-header i { font-size: 28px; color: var(--gold); }
.service-detail-card-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: var(--white);
}
.service-detail-card-body { padding: 25px 30px; }
.service-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--grey-mid);
    font-size: 14px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.service-list li:last-child { border: none; }
.service-list li::before {
    content: '▸';
    color: var(--gold);
    font-size: 12px;
    flex-shrink: 0;
}

/* ============ FOOTER ============ */
.main-footer { background: var(--navy); padding-top: 60px; }
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(172,96,12,0.3);
    margin-bottom: 40px;
}
.footer-logo { width: 110px; margin-bottom: 15px; }
.footer-about p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
    width: 35px; height: 35px;
    border: 1px solid rgba(172,96,12,0.4);
    border-radius: 2px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: all 0.3s;
}
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

.footer-col h4 {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    color: var(--gold-pale);
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul a {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 7px;
}
.footer-col ul a::before { content: '›'; color: var(--gold); }
.footer-col ul a:hover { color: var(--white); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-item i { color: var(--gold); font-size: 13px; margin-top: 2px; }
.footer-contact-item span { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.4; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.35); transition: color 0.3s; }
.footer-legal a:hover { color: var(--gold-pale); }

/* ============ ZONES PAGE ============ */
.zones-detail { background: var(--white); }
.big-zones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.big-zone-card {
    background: var(--navy);
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
}
.big-zone-header {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    padding: 30px;
}
.big-zone-header i { font-size: 40px; color: var(--white); }
.big-zone-body { padding: 30px; }
.big-zone-body h3 {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 15px;
}
.big-zone-body p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .desktop-menu { display: none; }
    .hamburger-menu { display: block; }
    .about-grid { grid-template-columns: 1fr; }
    .service-detail-grid { grid-template-columns: 1fr; }
    /* Hero: réduire l'image sur tablette */
    .hero-image-block { flex: 0 0 320px; }
}

@media (max-width: 768px) {
    /* Hero passe en colonne sur mobile */
    .hero-container {
        flex-direction: column;
        align-items: center;
        padding-bottom: 0;
        gap: 0;
    }
    .hero-content { text-align: center; }
    .hero-content h1 { font-size: 30px; }
    .hero-badge { margin: 0 auto 20px; }
    .gold-line { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image-block {
        flex: none;
        width: 100%;
        max-width: 320px;
        margin-top: 20px;
    }
    .hero-agent-img { max-width: 300px; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .zones-grid { grid-template-columns: 1fr; }
    .big-zones-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-stats { gap: 15px; flex-wrap: wrap; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .page-hero h1 { font-size: 28px; }
    .cta-banner h2 { font-size: 24px; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
}
