:root {
    --color-perdrigues: #01ffb4;
    --border-hover: rgba(0, 255, 180, 0.35);
    --gris: #6B7A99;
    --mono: 'Space Mono', monospace;
    --card: #111620;
    --card-hoover: #161C2C;;
}

html{
    scroll-behavior: smooth;
    scroll-padding-top: 150px; /* hauteur navbar */
}

body {
    position: relative;
    min-height: 100%;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 100%;
    background-image: url('img/fond_perdrigues.png');
    background-size: auto;
    pointer-events: none;
    z-index: -1;
}

.text-perdrigues {
    color: var(--color-perdrigues) !important;
    font-family: var(--mono);
}

.navbar-nav .nav-link:hover, .nav-dropdown-menu li a:hover {
    color: var(--color-perdrigues) !important;
}

.nav-dropdown-menu {
    list-style: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.nav-dropdown-menu li a {
    color: var(--gris);
    text-decoration: none;
    font-size: 0.75rem;
    font-family: var(--mono);
    letter-spacing: 0.1em;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.2s;
}

.nav-dropdown-menu.open {
    max-height: 200px;
    padding: 0.5rem 0 0 1rem;
    margin-bottom: 0.5rem;
}

section {
    min-height: 100vh;
}

.btn-contacter {
    border: 1px solid var(--color-perdrigues);
    color: var(--color-perdrigues) !important;
    padding: 8px 24px;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.btn-contacter:hover {
    background-color: var(--color-perdrigues);
    color: #060505 !important;
}

.section-tag, .section-tag-contact {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-perdrigues);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-titre {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    max-width: 600px;
}

.section-desc {
    color: var(--gris);
    max-width: 540px;
    margin-bottom: 4rem;
    font-size: 1rem;
    line-height: 1.8;
}

.section-tag::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--color-perdrigues);
}

.btn-section-home {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: 1px solid var(--border-hover);
    color: white;
    text-decoration: none;
    transition: border-color 0.2s;
}
 
.btn-section-home:hover { border-color: var(--color-perdrigues); color: var(--color-perdrigues); }

.card-text {
    color: var(--gris);
}

.card-approche {
    background: #212529;
    border: none;
    max-width: 540px;
}

.svg-approche {
    border: 1px solid var(--color-perdrigues); 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 64px; 
    height: 64px;
}

.approche-visuel {
    position: relative;
    height: 420px;
}

.terminal {
    background: var(--card);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.terminal-onglet {
    background: var(--card-hoover);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--color-perdrigues);
}

.btn-radio {
    width: 10px;
    height: 10px;
    border-radius: 50%;
  }
 
  .btn-radio-r { background: #FF5F57; }
  .btn-radio-y { background: #FFBD2E; }
  .btn-radio-g { background: #27C840; }

.terminal-titre {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--gris);
    margin-left: 0.5rem;
    letter-spacing: 0.08em;
}

  .terminal-body {
    padding: 1.5rem;
    flex: 1;
    font-family: var(--mono);
    font-size: 0.78rem;
    line-height: 2;
    color: var(--muted);
    overflow: hidden;
  }
 
  .terminal-body .cmd { color: var(--color-perdrigues); }
  .terminal-body .ok { color: greenyellow; }
  .terminal-body .warn { color: orange; }
  .terminal-body .info { color: cyan; }

.section-tag-contact::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--color-perdrigues);
}

@media (max-width: 991px) {
    .nav-contacter {
        padding-top: 1rem;
    }
}

.card-services,
.card-equipe,
.card-contact {
    background: var(--card);
    transition: background 0.25s;
    cursor: default;
    border: 0.1px solid var(--color-perdrigues);
}

.card-services { padding: 2.5rem; }
.card-equipe { height: 350px; width: 350px; }
.card-contact { padding: 2.5rem; height: 250px; width: 250px; margin: 0 auto; }

.card-services:hover,
.card-equipe:hover,
.card-contact:hover { background: var(--card-hoover); }

.card-title,
.section-titre { color: white; }

.navbar,
.footer {
    background-color: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(10px);
}