Files
houses-flowautomate/public/css/style.css
Claude 3593acd338 Restyle site to match flowautomate.ai design system
Replace Navy (#1B3A5C) / Gold (#C9A94E) with flowautomate.ai's
red (#FF1F1F) / dark neutral (#171717, #262626) theme. Add Inter +
Poppins Google Fonts, update logo, email templates, and CSP headers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 05:24:27 +01:00

513 lines
14 KiB
CSS

/* === Fonts (matching flowautomate.ai: Inter body + Poppins headings) === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');
/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: 'Inter', sans-serif;
color: #262626;
background: #fff;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: transparent;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Poppins', sans-serif;
font-weight: 600;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
/* === Layout (matching flowautomate.ai: max-width 80rem = 1280px, px-4 = 1rem) === */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.section { padding: 4rem 0; }
.section--dark {
background: linear-gradient(to bottom right, #171717, #262626);
color: #fff;
}
.section--light { background: #f9fafb; }
/* === Header === */
.header {
position: sticky;
top: 0;
z-index: 50;
background: rgba(255,255,255,0.97);
backdrop-filter: blur(8px);
border-bottom: 1px solid #e5e7eb;
padding: 0;
}
.header .container {
display: flex;
align-items: center;
justify-content: space-between;
height: 4rem;
gap: 1rem;
}
.header__logo { height: 2rem; width: auto; }
.header__right { display: flex; align-items: center; gap: 1.5rem; }
.header__phone {
color: #262626;
font-weight: 500;
font-size: 0.875rem;
white-space: nowrap;
display: flex;
align-items: center;
gap: 0.375rem;
transition: color 0.2s;
}
.header__phone:hover { color: #FF1F1F; }
.header__phone svg { fill: #FF1F1F; }
/* === Buttons (matching flowautomate.ai: primary-600 bg, rounded-md, px-6 py-3, font-medium) === */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
background: #FF1F1F;
color: #fff;
font-weight: 500;
font-size: 0.875rem;
padding: 0.75rem 1.5rem;
border: none;
border-radius: 0.375rem;
cursor: pointer;
transition: all 0.2s cubic-bezier(.4,0,.2,1);
text-align: center;
white-space: nowrap;
font-family: 'Inter', sans-serif;
}
.btn:hover { background: #E60000; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,31,31,0.3); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--outline {
background: transparent;
border: 2px solid #FF1F1F;
color: #FF1F1F;
}
.btn--outline:hover { background: #FF1F1F; color: #fff; }
.btn--dark {
background: #262626;
color: #fff;
}
.btn--dark:hover { background: #434343; box-shadow: 0 4px 12px rgba(38,38,38,0.3); }
.btn--block { display: block; width: 100%; }
/* === Hero (matching flowautomate.ai: dark gradient bg, py-20 md:py-32) === */
.hero {
background: linear-gradient(to bottom right, #0d0d0d, #171717);
color: #fff;
padding: 5rem 0;
position: relative;
overflow: hidden;
}
.hero .container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
align-items: center;
}
.hero__content h1 {
font-size: 3rem;
font-weight: 700;
line-height: 1;
margin-bottom: 1rem;
letter-spacing: -0.025em;
}
.hero__content h1 span {
background: linear-gradient(to right, #FF1F1F, #FF3E3E);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.hero__content p {
font-size: 1.125rem;
color: #9e9e9e;
margin-bottom: 1.5rem;
line-height: 1.75;
}
.hero__badges {
display: flex;
gap: 1.5rem;
margin-top: 1.5rem;
}
.hero__badge {
display: flex;
align-items: center;
gap: 0.375rem;
font-size: 0.875rem;
color: #9e9e9e;
}
.hero__badge svg { width: 1rem; height: 1rem; fill: #FF1F1F; flex-shrink: 0; }
/* === Lead Form === */
.lead-form {
background: #fff;
border-radius: 0.5rem;
padding: 2rem;
box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.lead-form h2 {
color: #262626;
font-size: 1.25rem;
margin-bottom: 1.25rem;
text-align: center;
}
.form-group { margin-bottom: 0.875rem; }
.form-group label {
display: block;
font-size: 0.875rem;
font-weight: 500;
color: #262626;
margin-bottom: 0.25rem;
}
.form-group input,
.form-group select {
width: 100%;
padding: 0.625rem 0.875rem;
font-size: 0.875rem;
border: 1px solid #d1d5db;
border-radius: 0.375rem;
font-family: 'Inter', sans-serif;
background: #fff;
color: #262626;
transition: all 0.2s;
}
.form-group input:focus,
.form-group select:focus {
outline: none;
border-color: #FF1F1F;
box-shadow: 0 0 0 2px rgba(255,31,31,0.15);
}
.form-group input.error,
.form-group select.error {
border-color: #dc2626;
}
.form-group input::placeholder { color: #9ca3af; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-consent {
display: flex;
align-items: flex-start;
gap: 0.5rem;
margin: 1rem 0;
font-size: 0.75rem;
color: #7b7b7b;
line-height: 1.5;
}
.form-consent input[type="checkbox"] {
margin-top: 2px;
width: 1rem;
height: 1rem;
flex-shrink: 0;
accent-color: #FF1F1F;
}
.form-note {
text-align: center;
font-size: 0.75rem;
color: #7b7b7b;
margin-top: 0.75rem;
}
.form-note svg { width: 0.875rem; height: 0.875rem; fill: #22c55e; vertical-align: -2px; margin-right: 0.25rem; }
.form-success {
text-align: center;
padding: 1.5rem 0;
display: none;
}
.form-success svg { width: 3rem; height: 3rem; fill: #22c55e; margin: 0 auto; }
.form-success h3 { color: #262626; margin: 0.75rem 0 0.5rem; font-size: 1.25rem; }
.form-success p { color: #7b7b7b; font-size: 0.875rem; }
.form-error {
background: #fee2e2;
color: #dc2626;
padding: 0.625rem 0.875rem;
border-radius: 0.375rem;
font-size: 0.875rem;
margin-bottom: 0.875rem;
display: none;
}
.hp-field { position: absolute; left: -9999px; }
/* === Trust Bar === */
.trust-bar {
background: #fff;
border-bottom: 1px solid #e5e7eb;
padding: 1.25rem 0;
}
.trust-bar .container {
display: flex;
justify-content: center;
align-items: center;
gap: 2.5rem;
flex-wrap: wrap;
}
.trust-item {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.875rem;
font-weight: 500;
color: #555;
}
.trust-item svg { width: 1.25rem; height: 1.25rem; fill: #FF1F1F; flex-shrink: 0; }
/* === Steps === */
.steps { text-align: center; }
.steps h2 {
font-size: 1.875rem;
color: #262626;
margin-bottom: 3rem;
letter-spacing: -0.025em;
}
.steps__grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
}
.step { padding: 0 0.75rem; }
.step__number {
width: 3.5rem;
height: 3.5rem;
border-radius: 9999px;
background: linear-gradient(135deg, #FF1F1F, #FF3E3E);
color: #fff;
font-size: 1.25rem;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1rem;
font-family: 'Poppins', sans-serif;
}
.step h3 { font-size: 1.125rem; color: #262626; margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: #7b7b7b; line-height: 1.6; }
/* === Benefits Cards (matching flowautomate.ai: rounded-lg, shadow-md, p-6, hover:shadow-lg) === */
.benefits h2 { font-size: 1.875rem; color: #262626; text-align: center; margin-bottom: 3rem; letter-spacing: -0.025em; }
.benefits__grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
}
.benefit-card {
background: #fff;
border-radius: 0.5rem;
padding: 1.5rem;
border: 1px solid #e5e7eb;
transition: all 0.2s cubic-bezier(.4,0,.2,1);
}
.benefit-card:hover {
transform: translateY(-4px);
box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
border-color: transparent;
}
.benefit-card__icon {
width: 2.5rem;
height: 2.5rem;
background: #FFE1E1;
border-radius: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1rem;
}
.benefit-card__icon svg { width: 1.25rem; height: 1.25rem; fill: #FF1F1F; }
.benefit-card h3 { font-size: 1rem; color: #262626; margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.875rem; color: #7b7b7b; line-height: 1.6; }
/* === Situations === */
.situations h2 { font-size: 1.875rem; margin-bottom: 0.75rem; text-align: center; letter-spacing: -0.025em; }
.situations > .container > p { color: #9e9e9e; font-size: 1rem; margin-bottom: 2rem; text-align: center; }
.situations__grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
max-width: 44rem;
margin: 0 auto;
}
.situation-item {
display: flex;
align-items: center;
gap: 0.625rem;
font-size: 0.9375rem;
padding: 0.875rem 1rem;
background: rgba(255,255,255,0.06);
border-radius: 0.5rem;
border-left: 3px solid #FF1F1F;
transition: background 0.2s;
}
.situation-item:hover { background: rgba(255,255,255,0.1); }
.situation-item svg { width: 1.125rem; height: 1.125rem; fill: #FF1F1F; flex-shrink: 0; }
/* === Testimonials === */
.testimonials h2 { font-size: 1.875rem; color: #262626; text-align: center; margin-bottom: 3rem; letter-spacing: -0.025em; }
.testimonials__grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
}
.testimonial-card {
background: #fff;
border-radius: 0.5rem;
padding: 1.5rem;
border: 1px solid #e5e7eb;
transition: box-shadow 0.2s;
}
.testimonial-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.testimonial-card__stars { color: #FF1F1F; font-size: 1rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.testimonial-card p { font-size: 0.875rem; color: #555; line-height: 1.75; margin-bottom: 1rem; font-style: italic; }
.testimonial-card__author {
display: flex;
align-items: center;
gap: 0.625rem;
}
.testimonial-card__initials {
width: 2.5rem;
height: 2.5rem;
background: linear-gradient(135deg, #FF1F1F, #FF3E3E);
color: #fff;
border-radius: 9999px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
font-size: 0.75rem;
font-family: 'Poppins', sans-serif;
}
.testimonial-card__name { font-size: 0.875rem; font-weight: 600; color: #262626; }
.testimonial-card__loc { font-size: 0.75rem; color: #9e9e9e; }
/* === FAQ === */
.faq h2 { font-size: 1.875rem; color: #262626; text-align: center; margin-bottom: 3rem; letter-spacing: -0.025em; }
.faq__list { max-width: 48rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e5e7eb; }
.faq-item:first-child { border-top: 1px solid #e5e7eb; }
.faq-item__q {
width: 100%;
background: none;
border: none;
padding: 1.125rem 0;
font-size: 1rem;
font-weight: 600;
color: #262626;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
text-align: left;
font-family: 'Inter', sans-serif;
transition: color 0.2s;
}
.faq-item__q:hover { color: #FF1F1F; }
.faq-item__q svg {
width: 1.25rem;
height: 1.25rem;
fill: #FF1F1F;
transition: transform 0.2s;
flex-shrink: 0;
margin-left: 0.75rem;
}
.faq-item.active .faq-item__q svg { transform: rotate(180deg); }
.faq-item__a {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
.faq-item.active .faq-item__a { max-height: 300px; }
.faq-item__a p {
padding: 0 0 1.125rem;
font-size: 0.875rem;
color: #7b7b7b;
line-height: 1.75;
}
/* === CTA Banner === */
.cta-banner {
text-align: center;
padding: 5rem 0;
}
.cta-banner h2 { font-size: 2.25rem; margin-bottom: 1rem; letter-spacing: -0.025em; }
.cta-banner p { color: #9e9e9e; font-size: 1.125rem; margin-bottom: 2rem; }
.cta-banner .btn { margin: 0 0.5rem; }
/* === Footer (matching flowautomate.ai: secondary-900/800 bg, gray-400 text) === */
.footer {
background: linear-gradient(to bottom, #171717, #0d0d0d);
color: #9e9e9e;
padding: 3rem 0 1.5rem;
font-size: 0.875rem;
}
.footer__grid {
display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 2rem;
margin-bottom: 2rem;
}
.footer h4 { color: #fff; font-size: 0.9375rem; margin-bottom: 1rem; }
.footer__brand p { line-height: 1.75; margin-top: 0.75rem; font-size: 0.875rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a { color: #9e9e9e; font-size: 0.875rem; transition: color 0.2s; }
.footer ul a:hover { color: #FF1F1F; }
.footer__bottom {
border-top: 1px solid rgba(255,255,255,0.08);
padding-top: 1.25rem;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 0.75rem;
font-size: 0.75rem;
color: #7b7b7b;
}
.footer__disclaimer {
font-size: 0.6875rem;
color: #555;
max-width: 38rem;
line-height: 1.6;
}
/* === Responsive === */
@media (min-width: 768px) {
.section { padding: 6rem 0; }
.hero { padding: 8rem 0; }
.hero__content h1 { font-size: 3.75rem; }
.steps h2, .benefits h2, .testimonials h2, .faq h2, .situations h2 { font-size: 2.25rem; }
.cta-banner h2 { font-size: 2.75rem; }
}
@media (max-width: 1024px) {
.hero .container { grid-template-columns: 1fr; gap: 2.5rem; }
.hero__content { text-align: center; }
.hero__badges { justify-content: center; }
.lead-form { max-width: 32rem; margin: 0 auto; }
.footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
.header__phone { display: none; }
.hero__content h1 { font-size: 2.25rem; }
.hero__content p { font-size: 1rem; }
.hero__badges { flex-direction: column; gap: 0.5rem; align-items: center; }
.form-row { grid-template-columns: 1fr; }
.steps__grid { grid-template-columns: 1fr; gap: 1.75rem; }
.benefits__grid { grid-template-columns: 1fr; }
.situations__grid { grid-template-columns: 1fr; }
.testimonials__grid { grid-template-columns: 1fr; }
.cta-banner .btn { display: block; margin: 0.5rem 0; }
.footer__grid { grid-template-columns: 1fr; }
.footer__bottom { flex-direction: column; text-align: center; }
.trust-bar .container { gap: 1.25rem; }
}
/* === Utility === */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0,0,0,0);
border: 0;
}