/*
Theme Name: RAAD CONSULTING
Theme URI: https://raadconsulting.fr/
Author: RAAD CONSULTING
Author URI: https://raadconsulting.fr/
Description: Theme for project management, infrastructure, datacenters, digital transformation, cybersecurity, systems engineering and databases.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: raadconsulting
*/

:root {
    --navy: #07111f;
    --navy-2: #0b1728;
    --blue: #1677ff;
    --blue-dark: #0758ca;
    --cyan: #19c7e6;
    --white: #ffffff;
    --off-white: #f6f8fc;
    --light: #edf2f8;
    --text: #172337;
    --muted: #68768a;
    --border: #dfe6ef;
    --success: #1bb47e;
    --shadow: 0 20px 60px rgba(8, 25, 48, 0.10);
    --radius: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.section {
    padding: 110px 0;
}

.section-sm {
    padding: 70px 0;
}

.section-dark {
    color: var(--white);
    background: var(--navy);
}

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

/* Header */

.site-header {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    color: var(--white);
}

.site-header.scrolled {
    position: fixed;
    background: rgba(7, 17, 31, 0.94);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 8px 25px rgba(22,119,255,.35);
}

.logo-mark::before {
    content: "RC";
    font-weight: 900;
}

.site-logo span {
    color: var(--cyan);
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation a {
    color: rgba(255,255,255,.86);
    font-size: 14px;
    font-weight: 600;
    transition: .2s ease;
}

.main-navigation a:hover {
    color: var(--white);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 9px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    transition: .2s ease;
}

.header-cta:hover {
    background: white;
    color: var(--navy);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: white;
    font-size: 27px;
    cursor: pointer;
}

/* Hero */

.hero {
    position: relative;
    min-height: 820px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
    background:
        radial-gradient(circle at 80% 30%, rgba(25,199,230,.18), transparent 30%),
        radial-gradient(circle at 20% 70%, rgba(22,119,255,.16), transparent 35%),
        linear-gradient(135deg, #06101d 0%, #0a192d 55%, #071321 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 60%;
    padding-top: 90px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: var(--cyan);
}

.hero h1 {
    max-width: 850px;
    margin: 0 0 26px;
    font-size: clamp(46px, 6vw, 78px);
    line-height: 1.03;
    letter-spacing: -3px;
}

.hero h1 strong {
    color: var(--cyan);
    font-weight: inherit;
}

.hero p {
    max-width: 680px;
    margin: 0 0 35px;
    color: rgba(255,255,255,.70);
    font-size: 19px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--blue), #3592ff);
    box-shadow: 0 12px 30px rgba(22,119,255,.30);
}

.btn-primary:hover {
    box-shadow: 0 16px 38px rgba(22,119,255,.40);
}

.btn-outline {
    color: white;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.04);
}

.btn-outline:hover {
    background: rgba(255,255,255,.10);
}

.hero-visual {
    position: absolute;
    z-index: 1;
    right: 5%;
    top: 50%;
    width: 410px;
    height: 410px;
    transform: translateY(-38%);
}

.orbit {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(25,199,230,.22);
    border-radius: 50%;
    transform: rotate(-20deg);
}

.orbit:nth-child(2) {
    inset: 45px;
    transform: rotate(40deg);
    border-color: rgba(22,119,255,.25);
}

.orbit:nth-child(3) {
    inset: 90px;
    transform: rotate(70deg);
    border-color: rgba(255,255,255,.13);
}

.core {
    position: absolute;
    inset: 125px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, #1687ff, #073e85);
    box-shadow: 0 0 90px rgba(22,119,255,.45);
    color: white;
    font-size: 62px;
    font-weight: 900;
}

.node {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 25px rgba(25,199,230,.8);
}

.node-1 { top: 8%; left: 47%; }
.node-2 { top: 49%; right: 2%; }
.node-3 { bottom: 7%; left: 35%; }
.node-4 { top: 35%; left: 3%; }

/* Stats */

.stats {
    position: relative;
    z-index: 5;
    margin-top: -75px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.stat {
    padding: 30px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    display: block;
    color: var(--navy);
    font-size: 30px;
    line-height: 1.2;
}

.stat span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
}

/* Typography */

.section-heading {
    max-width: 730px;
    margin-bottom: 55px;
}

.section-heading.center {
    margin-inline: auto;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 17px;
    color: var(--navy);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.12;
    letter-spacing: -1.7px;
}

.section-dark .section-heading h2 {
    color: white;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.section-dark .section-heading p {
    color: rgba(255,255,255,.62);
}

/* Services */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    transition: .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(22,119,255,.30);
    box-shadow: var(--shadow);
}

.service-number {
    color: #b4bfcd;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin: 22px 0;
    border-radius: 13px;
    color: var(--blue);
    background: #eaf3ff;
    font-size: 23px;
    font-weight: 900;
}

.service-card h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 21px;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* About */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.about-visual {
    min-height: 480px;
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(22,119,255,.88), rgba(7,17,31,.97)),
        #07111f;
}

.about-grid-lines {
    position: absolute;
    inset: 0;
    opacity: .20;
    background-image:
        linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
    background-size: 50px 50px;
}

.about-panel {
    position: absolute;
    right: 30px;
    bottom: 30px;
    left: 30px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 15px;
    color: white;
    background: rgba(7,17,31,.76);
    backdrop-filter: blur(10px);
}

.about-panel strong {
    display: block;
    margin-bottom: 5px;
    font-size: 30px;
}

.about-panel span {
    color: rgba(255,255,255,.62);
    font-size: 13px;
}

.about-content h2 {
    margin: 0 0 20px;
    color: var(--navy);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.about-content > p {
    color: var(--muted);
    font-size: 17px;
}

.check-list {
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    margin: 13px 0;
    padding-left: 31px;
    color: var(--text);
    font-weight: 600;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: var(--success);
    font-size: 12px;
    font-weight: 900;
}

/* Process */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.process-step {
    position: relative;
}

.process-step::after {
    content: "";
    position: absolute;
    top: 24px;
    left: 65px;
    width: calc(100% - 50px);
    height: 1px;
    background: rgba(255,255,255,.12);
}

.process-step:last-child::after {
    display: none;
}

.process-number {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border: 1px solid rgba(25,199,230,.4);
    border-radius: 50%;
    color: var(--cyan);
    background: var(--navy);
    font-weight: 800;
}

.process-step h3 {
    margin: 0 0 10px;
    color: white;
    font-size: 18px;
}

.process-step p {
    margin: 0;
    color: rgba(255,255,255,.58);
    font-size: 14px;
}

/* CTA */

.cta {
    position: relative;
    overflow: hidden;
    color: white;
    background: linear-gradient(135deg, #0867dc, #063c8c);
}

.cta::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -150px;
    width: 500px;
    height: 500px;
    border: 80px solid rgba(255,255,255,.05);
    border-radius: 50%;
}

.cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta h2 {
    max-width: 700px;
    margin: 0 0 10px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.cta p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.72);
}

/* Footer */

.site-footer {
    padding: 75px 0 25px;
    color: rgba(255,255,255,.62);
    background: #040b14;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 55px;
}

.footer-brand p {
    max-width: 340px;
    margin-top: 20px;
    font-size: 14px;
}

.footer-title {
    margin: 0 0 18px;
    color: white;
    font-size: 14px;
}

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

.footer-links li {
    margin: 9px 0;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,.09);
    font-size: 12px;
}

/* Page */

.page-hero {
    padding: 180px 0 100px;
    color: white;
    background:
        radial-gradient(circle at 75% 30%, rgba(25,199,230,.15), transparent 30%),
        var(--navy);
}

.page-hero h1 {
    max-width: 800px;
    margin: 0 0 18px;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.page-hero p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.65);
    font-size: 18px;
}

.page-content {
    max-width: 850px;
    margin-inline: auto;
    padding: 90px 0;
}

.page-content h2 {
    color: var(--navy);
    line-height: 1.2;
}

.page-content p {
    color: var(--muted);
}

.page-content ul {
    color: var(--muted);
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
}

.contact-info h2 {
    margin-top: 0;
    color: var(--navy);
    font-size: 40px;
    line-height: 1.15;
}

.contact-info p {
    color: var(--muted);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.contact-item-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--blue);
    background: #eaf3ff;
    font-weight: 800;
}

.contact-item strong {
    display: block;
    color: var(--navy);
}

.contact-item span {
    color: var(--muted);
    font-size: 14px;
}

.contact-form {
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow);
}

.contact-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    color: var(--text);
    background: #fbfcfe;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(22,119,255,.08);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* WordPress */

.wp-caption {
    max-width: 100%;
}

.alignleft {
    float: left;
    margin: 0 25px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 25px;
}

.aligncenter {
    display: block;
    margin-inline: auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Responsive */

@media (max-width: 1000px) {
    .hero-content {
        width: 72%;
    }

    .hero-visual {
        right: -120px;
        opacity: .45;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .process-step::after {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(calc(100% - 30px), var(--container));
    }

    .section {
        padding: 75px 0;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: fixed;
        inset: 88px 0 0;
        display: none;
        padding: 30px;
        background: var(--navy);
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        display: block;
    }

    .main-navigation li {
        margin-bottom: 20px;
    }

    .main-navigation a {
        font-size: 18px;
    }

    .hero {
        min-height: 760px;
    }

    .hero-content {
        width: 100%;
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 47px;
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-visual {
        width: 300px;
        height: 300px;
        right: -100px;
        bottom: -20px;
        top: auto;
        transform: none;
        opacity: .25;
    }

    .core {
        inset: 90px;
        font-size: 40px;
    }

    .orbit:nth-child(2) {
        inset: 35px;
    }

    .orbit:nth-child(3) {
        inset: 65px;
    }

    .stats {
        margin-top: -30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat {
        border-bottom: 1px solid var(--border);
    }

    .stat:nth-child(2) {
        border-right: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        display: block;
    }

    .cta .btn {
        margin-top: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom span {
        display: block;
        margin-top: 7px;
    }

    .contact-form {
        padding: 25px;
    }
}
