/* ===========================================
   SYNATEK Landing Page — Identique à l'app Angular
   =========================================== */

:root {
    --teal: #3ec1d5;
    --teal-dark: #2aa8bb;
    --dark-bg: rgba(0, 0, 0, 0.8);
    --about-bg: rgba(0, 0, 0, 0.8);
    --footer-bg: #f9f9f9;
    --footer-bottom-bg: #f1f1f1;
    --services-bg: #f7f5f4;
    --text-white: #ffffff;
    --text-dark: #444;
    --text-muted: #666;
    --transition: all 0.3s ease;
}

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

/* Container */
.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Landing Page */
.landing-page {
    overflow-x: hidden;
    font-family: 'Open Sans', 'Roboto', sans-serif;
    color: var(--text-dark);
}

/* ======= HEADER ======= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease;
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.8);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1170px;
    margin: 0 auto;
    padding: 15px 15px;
}

.logo h1 {
    margin: 0;
    font-size: 0;
}

.logo h1 a {
    color: var(--text-white);
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 2px;
    cursor: pointer;
}

.logo h1 a span {
    color: var(--teal);
}

.nav-menu {
    display: flex;
    gap: 0;
}

.nav-menu a {
    color: #fafefe;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 16px;
    transition: var(--transition);
    cursor: pointer;
}

.nav-menu a:hover {
    color: var(--teal);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 4px;
    align-items: center;
}

.mobile-toggle .material-icons {
    font-size: 28px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        padding: 10px 0;
    }
    .nav-menu.open a {
        padding: 12px 24px;
    }
    .mobile-toggle {
        display: flex;
    }
}

/* ======= HERO SLIDER ======= */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}

.slides-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 30px;
}

.slide-title {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-white);
    margin: 0 0 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.slide-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--text-white);
    margin: 0 0 30px;
    line-height: 1.2;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.slide-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.slide-btn {
    display: inline-block;
    padding: 12px 40px;
    border: 2px solid var(--text-white);
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 30px;
    transition: var(--transition);
    background: transparent;
    cursor: pointer;
}

.slide-btn:hover {
    background: var(--teal);
    border-color: var(--teal);
}

.slide-btn.slide-btn-cta {
    background: var(--teal);
    border-color: var(--teal);
}

.slide-btn.slide-btn-cta:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
}

/* Arrows */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: var(--text-white);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.slider-prev .material-icons,
.slider-next .material-icons {
    font-size: 28px;
}

.slider-prev:hover,
.slider-next:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.dot.active {
    border-color: var(--teal);
    background: var(--teal);
}

.dot:hover {
    border-color: var(--text-white);
}

/* ======= SERVICES SECTION ======= */
.services-section {
    padding: 70px 0 80px;
    background: var(--services-bg);
}

.section-headline {
    text-align: center;
    margin-bottom: 50px;
}

.section-headline h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    position: relative;
    display: inline-block;
}

.section-headline h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--teal);
    margin: 15px auto 0;
}

.section-subline {
    color: var(--text-muted);
    font-size: 15px;
    margin: 20px 0 0;
}

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

.service-card {
    text-align: center;
    padding: 30px 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon .material-icons {
    color: var(--teal);
}

.service-card:hover h4 {
    color: var(--teal);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon .material-icons {
    font-size: 36px;
    color: var(--text-dark);
    transition: var(--transition);
}

.service-card h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 12px;
    text-transform: uppercase;
    transition: var(--transition);
}

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

@media (max-width: 968px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ======= ABOUT SECTION ======= */
.about-section .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

.about-content {
    background: var(--about-bg);
    color: var(--text-white);
    padding: 60px 50px;
}

.about-content h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
    text-transform: uppercase;
    color: var(--text-white);
}

.about-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 25px;
}

.about-content > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 25px;
}

.about-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    padding: 5px 0;
    line-height: 1.6;
}

.about-checklist .material-icons {
    color: var(--teal);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

@media (max-width: 968px) {
    .about-section .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .about-content { padding: 40px 20px; }
}

/* ======= CTA BANNER ======= */
.cta-section {
    background: var(--teal);
    padding: 30px 15px;
    text-align: center;
}

.cta-section h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 20px;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    padding: 12px 40px;
    background: var(--text-white);
    color: var(--teal);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: var(--transition);
}

.cta-btn:hover {
    background: #f2f2f2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .cta-section h3 { font-size: 15px; }
}

/* ======= FAQ SECTION ======= */
.faq-section {
    padding: 70px 0 80px;
    background: var(--services-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
    margin-bottom: 6px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.faq-item.open .faq-question {
    color: var(--teal);
    border-left: 3px solid var(--teal);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    gap: 12px;
}

.faq-question span:first-child {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Raleway', sans-serif;
    transition: var(--transition);
    flex: 1;
}

.faq-question .material-icons {
    color: var(--teal);
    flex-shrink: 0;
    font-size: 22px;
}

.faq-question:hover span:first-child {
    color: var(--teal);
}

.faq-answer {
    display: none;
    padding: 0 20px 18px 23px;
    border-left: 3px solid var(--teal);
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-answer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
}

/* ======= CONTACT SECTION ======= */
.contact-inner {
    position: relative;
    padding: 70px 0 80px;
    background: #1a1a2e;
}

.contact-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-section .section-headline h2 {
    color: var(--text-white);
}

.contact-icons-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-icon-box {
    text-align: center;
}

.contact-icon-box .material-icons {
    font-size: 40px;
    color: var(--teal);
    margin-bottom: 15px;
}

.contact-icon-box p {
    color: var(--text-white);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.contact-icon-box a {
    color: var(--text-white);
    text-decoration: none;
}

.contact-icon-box a:hover {
    color: var(--teal);
    text-decoration: underline;
}

.contact-icon-box span {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--teal);
    background: rgba(255, 255, 255, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .form-actions {
    text-align: center;
}

.contact-form .form-actions button {
    padding: 12px 40px;
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition);
    font-family: inherit;
}

.contact-form .form-actions button:hover:not(:disabled) {
    background: var(--teal);
    border-color: var(--teal);
}

.contact-form .form-actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contact-success {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-white);
}

.contact-success .material-icons {
    font-size: 56px;
    color: var(--teal);
    margin-bottom: 16px;
}

.contact-success p {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.contact-success button {
    padding: 10px 30px;
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--teal);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition);
    font-family: inherit;
}

.contact-success button:hover {
    background: var(--teal);
}

@media (max-width: 768px) {
    .contact-icons-row { grid-template-columns: 1fr; gap: 20px; }
}

/* ======= FOOTER ======= */
.site-footer {
    border-top: 3px solid var(--teal);
}

.footer-area {
    background: var(--footer-bg);
    padding: 50px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-col h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 4px;
}

.footer-col h2 span {
    color: var(--teal);
}

.footer-col h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 15px;
}

.footer-col > p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 15px;
}

.footer-tagline {
    color: var(--teal) !important;
    font-size: 12px !important;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 12px !important;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: rgba(62, 193, 213, 0.08);
}

.footer-social a svg {
    display: block;
}

.footer-contacts p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contacts .material-icons {
    font-size: 16px;
    color: var(--teal);
    flex-shrink: 0;
}

.footer-contacts a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-contacts a:hover {
    color: var(--teal);
}

.footer-contacts span {
    color: var(--teal);
    font-weight: 600;
}

.instagram-handle {
    margin: -8px 0 10px;
}

.instagram-handle a {
    color: var(--teal);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.instagram-handle a:hover {
    text-decoration: underline;
}

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

.instagram-grid a {
    display: block;
    position: relative;
    overflow: hidden;
}

.instagram-grid a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(62, 193, 213, 0.55);
    opacity: 0;
    transition: var(--transition);
}

.instagram-grid a:hover::after {
    opacity: 1;
}

.instagram-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.footer-bottom {
    background: var(--footer-bottom-bg);
    padding: 18px 0;
    text-align: center;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom p {
    color: #555;
    font-size: 14px;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-legal-links a {
    color: #555;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--teal);
}

.footer-legal-links span {
    color: #aaa;
    font-size: 13px;
}

@media (max-width: 968px) {
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .footer-bottom-inner { flex-direction: column; gap: 6px; }
}

/* ======= BACK TO TOP ======= */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--text-white);
    border: none;
    cursor: pointer;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    padding: 0;
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    background: var(--teal-dark);
    transform: translateY(-3px);
}

.back-to-top .material-icons {
    font-size: 24px;
}

/* ======= MODALS ======= */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 2px solid var(--teal);
}

.modal-header h2 {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-header button {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 4px;
}

.modal-header button:hover {
    color: var(--teal);
}

.modal-body {
    padding: 16px 24px 24px;
}

.legal-content {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}

.legal-content h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--teal);
    margin: 20px 0 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-content p {
    margin: 0 0 12px;
}

.legal-content a {
    color: var(--teal);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ======= RESPONSIVE SLIDER ======= */
@media (max-width: 768px) {
    .slide-title { font-size: 16px; }
    .slide-subtitle { font-size: 26px; }
}

@media (max-width: 480px) {
    .slide-subtitle { font-size: 22px; }
    .slide-btn { font-size: 14px; padding: 10px 28px; }
    .slider-prev, .slider-next { width: 40px; height: 40px; }
    .slider-prev .material-icons, .slider-next .material-icons { font-size: 22px; }
}
